Evidence map›Paper›PMID 42562944›Full record

ArticleJournal of computer-aided molecular design2026

Which chemical features are captured by ChemBERTa's attention?

Seyed Hassan Alavi, Fatameh Zare-Mirakabad, Sajjad Gharaghani

Abstract read
PubMed Publisher
In one paragraph

Article in Journal of computer-aided molecular design, 2026. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

3 authors.

Seyed Hassan AlaviDepartment of Mathematics and Computer Science, Computational Biology Research Center (CBRC), Amirkabir University of Technology, Tehran, Iran.ORCID 0009-0009-5519-1186
Fatameh Zare-MirakabadDepartment of Mathematics and Computer Science, Computational Biology Research Center (CBRC), Amirkabir University of Technology, Tehran, Iran. f.zare@aut.ac.ir.ORCID 0000-0003-2849-3778
Sajjad GharaghaniLaboratory of Bioinformatics and Drug Design (LBD), Institute of Biochemistry and Biophysics, University of Tehran, Tehran, Iran.

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

Transformer-based models such as ChemBERTa have demonstrated strong performance across a wide range of molecular prediction tasks by learning contextual representations from SMILES strings. Despite this success, the internal organization of the chemical and structural information learned by these models remains poorly understood. In this work, we investigate which chemical concepts, functional groups, and structural features are captured by ChemBERTa's attention mechanisms across layers and heads. To address this question, we formulate the Attention Matrix Pattern Capture (AMPC) problem and introduce two complementary algorithms: AMPC-Chem-FG, which assesses whether attention patterns reflect predefined chemical concepts and functional groups, and AMPC-Struct, which evaluates the alignment between attention patterns and three-dimensional molecular structure represented by Coulomb matrices. Using a curated dataset derived from the ZINC database, our framework identifies specialized layer-head pairs that consistently emerge as statistical outliers and exhibit strong associations with chemically meaningful features. The results reveal specialized attention patterns related to ring structures, bond types, chirality, and functional groups. Furthermore, a layer-head pair achieves approximately 65% similarity to Coulomb-matrix representations, suggesting that ChemBERTa can capture information related to three-dimensional molecular organization despite being trained solely on SMILES strings. Finally, we demonstrate that embeddings constructed from AMPC-identified attention heads can improve downstream prediction performance compared with randomly selected heads and conventional ChemBERTa representations, highlighting the practical utility of the discovered specialization. Together, these findings provide new insights into how molecular transformers organize chemical information and offer a pathway toward more interpretable and task-informed molecular representations.

Indexed as

Models, ChemicalAlgorithmsModels, MolecularMolecular StructureAttention mechanismsExplainable AIMolecular language modelsSMILESTransformer models

Identifiers

What OpenQuestion holds

Textmetadata
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.