Entropy-Guided Dynamic Tokens for Graph-LLM Alignment in Molecular Understanding
Zihao Jing, Qiuhao Zeng, Ruiyi Fang, Yan Sun, Boyu Wang, Pingzhao Hu
TL;DR
The paper tackles the challenge of aligning molecular graphs with large language models by introducing EDT-Former, a connector that uses entropy-guided dynamic substructure tokens and a Dynamic Query Transformer to fuse frozen graph encoders with frozen LLMs. By replacing fixed-length modality tokens with data-driven, structure-aware patches and anchors, EDT-Former maintains substructure fidelity (including stereochemistry) while enabling efficient training that updates only the bridge (and embedding layer). The approach yields state-of-the-art results across MoleculeQA, Mol-Instructions, and MoleculeNet benchmarks, and it demonstrates strong generalization with reduced compute compared to full LLM fine-tuning. The work provides a scalable, interpretable, and reproducible recipe for multimodal molecular understanding and offers a framework adaptable to broader graph-domain tasks.
Abstract
Molecular understanding is central to advancing areas such as scientific discovery, yet Large Language Models (LLMs) struggle to understand molecular graphs effectively. Existing graph-LLM bridges often adapt the Q-Former-style connector with fixed-length static tokens, which is originally designed for vision tasks. These designs overlook stereochemistry and substructural context and typically require costly LLM-backbone fine-tuning, limiting efficiency and generalization. We introduce EDT-Former, an Entropy-guided Dynamic Token Transformer that generates tokens aligned with informative molecular patches, thereby preserving both local and global structural features for molecular graph understanding. Beyond prior approaches, EDT-Former enables alignment between frozen graph encoders and LLMs without tuning the LLM backbone (excluding the embedding layer), resulting in computationally efficient finetuning, and achieves stateof-the-art results on MoleculeQA, Molecule-oriented Mol-Instructions, and property prediction benchmarks (TDC, MoleculeNet), underscoring its effectiveness for scalable and generalizable multimodal molecular understanding
