TLDR: FGBench is a new dataset of 625,000 molecular property reasoning problems with detailed functional group information, designed to improve large language models’ understanding of chemistry beyond molecule-level predictions. A benchmark study using FGBench reveals that current LLMs struggle with reasoning about functional group impacts and interactions, highlighting a need for more advanced chemical reasoning capabilities in AI.
Large language models, or LLMs, have made significant strides in various fields, and chemistry is no exception. From predicting molecular properties to generating new molecules, these AI models are becoming increasingly valuable tools. However, a new research paper introduces a critical challenge: most existing datasets for LLMs in chemistry focus on predicting properties at the entire molecule level, often overlooking the crucial role of smaller, specific parts of molecules known as functional groups.
Functional groups are specific clusters of atoms within a molecule that are responsible for its characteristic chemical reactions and physical properties. For instance, a hydroxyl group (-OH) makes a molecule polar and capable of forming hydrogen bonds, while a carboxylic group (-COOH) is key to many organic reactions. Scientists have long relied on understanding these groups to predict and explain molecular behavior. Incorporating this fine-grained, functional group-level information into LLMs can provide valuable prior knowledge, linking molecular structures with their textual descriptions. This can lead to more interpretable and structure-aware LLMs, ultimately advancing fields like molecular design and drug discovery.
To address this gap, researchers from the University of Illinois Urbana-Champaign have introduced FGBench, a novel dataset and benchmark specifically designed for molecular property reasoning at the functional group level. FGBench comprises an impressive 625,000 molecular property reasoning problems, each enriched with precise annotations and localization of functional groups within molecules. This detailed annotation ensures the dataset’s interoperability and opens doors for future multimodal applications.
The FGBench dataset includes both regression and classification tasks across 245 different functional groups, categorized into three main types of molecular property reasoning: (1) how a single functional group impacts properties, (2) how multiple functional groups interact, and (3) direct molecular comparisons. The dataset was meticulously constructed using a new data processing pipeline that includes a “validation-by-reconstruction” strategy. This process involves taking existing molecular property datasets, identifying similar molecule pairs, calculating their functional group differences, and then validating these differences by virtually removing and replacing functional groups to ensure the modified molecule remains chemically valid and structurally sound.
A key aspect of FGBench is its benchmark study, which evaluated state-of-the-art LLMs on a curated subset of 7,000 data points. The results from this benchmark are quite telling: current LLMs, including powerful models like GPT-4o and Llama-3.1, generally struggle with functional group-level property reasoning. This difficulty is particularly pronounced in tasks involving interactions between multiple functional groups. For example, some models showed a significant drop in accuracy when moving from single functional group impact tasks to multiple functional group interaction tasks. This highlights a clear limitation in how LLMs currently understand and reason about the intricate effects of these molecular components.
Interestingly, some LLMs performed better on direct molecular comparison tasks, which might be attributed to their prior training on existing molecule-level datasets. However, the overall performance indicates that relying solely on molecule-level data is insufficient for developing robust functional group-level reasoning capabilities in LLMs. The study also noted that larger models generally showed improved performance, but model architecture and training data remain critical factors, as some smaller, specialized models underperformed despite their size.
The researchers anticipate that FGBench will serve as a foundational framework for generating new question-answer pairs, enabling LLMs to better grasp fine-grained molecular structure-property relationships. This work is a significant step towards developing more capable and interpretable AI models for chemistry, paving the way for advancements in molecular design, drug discovery, and other scientific domains. While the current version of FGBench focuses on functional group identity and some types of isomerism, future developments could incorporate more fine-grained structural distinctions like position and stereoisomerism, which are crucial for advanced structure-activity relationship reasoning.
Also Read:
- New Benchmark Assesses AI’s Quantitative Chemistry Skills
- MolReasoner: Advancing AI’s Grasp of Molecular Chemistry
For more details, you can read the full research paper here.


