Which chemical features are captured by ChemBERTa's attention?

Seyed Hassan Alavi1, Fatameh Zare-Mirakabad2, Sajjad Gharaghani3

  • 1Department of Mathematics and Computer Science, Computational Biology Research Center (CBRC), Amirkabir University of Technology, Tehran, Iran.

Summary

This study decodes ChemBERTa, a transformer model for molecules, revealing how its attention mechanisms capture chemical and structural information. Specialized attention patterns improve molecular predictions, enhancing interpretability.

Related Concept Videos

Inductive Effects on Chemical Shift: Overview01:27

Inductive Effects on Chemical Shift: Overview

The protons in unsubstituted alkanes are strongly shielded with chemical shifts below 1.8 ppm. Methine, methylene, and methyl protons appear at approximately 1.7, 1.2 and 0.7 ppm, while the proton signal from methane appears at 0.23 ppm. An electronegative substituent, such as chlorine, withdraws the electron density from the protons, increasing their chemical shift. Progressive substitution of the hydrogens in methane by chlorine shifts the proton signals increasingly downfield, to 3.05 ppm in...
Tandem Mass Spectrometry01:21

Tandem Mass Spectrometry

Tandem mass spectrometry is a technique that uses multiple mass analyzers in series to obtain a higher selectivity and reduce chemical noise during analyte detection. Instruments with multiple analyzers separated by an interaction cell enable secondary fragmentation and selected study of the fragment ions.Secondary fragmentations occur in the interaction cell and can be induced by various factors. Fragmentation induced by collision with inert gases, such as N2, Ar, He, etc., is called...
NMR Spectroscopy of Benzene Derivatives01:37

NMR Spectroscopy of Benzene Derivatives

Simple unsubstituted benzene has six aromatic protons, all chemically equivalent. Therefore, benzene exhibits only a singlet peak at δ 7.3 ppm in the 1H NMR spectrum. The observed shift is far downfield because the aromatic ring current strongly deshields the protons. Any substitution on the benzene ring makes the aromatic protons nonequivalent, and the protons split each other. The peak is, therefore, no longer a singlet and the splitting pattern and their associated coupling constants depend...
¹³C NMR: Distortionless Enhancement by Polarization Transfer (DEPT)01:20

¹³C NMR: Distortionless Enhancement by Polarization Transfer (DEPT)

When proton-coupled carbon-13 spectra are simplified by a broadband proton decoupling technique, structural information about the coupled protons is lost. Distortionless enhancement by polarization transfer (DEPT) is a technique that provides information on the number of hydrogens attached to each carbon in a molecule. While the DEPT experiment utilizes complex pulse sequences, the pulse delay and flip angle are specifically manipulated. The resulting signals have different phases depending on...
NMR Spectroscopy: Chemical Shift Overview01:15

NMR Spectroscopy: Chemical Shift Overview

The position of the absorption signal of a sample is reported relative to the position of the signal of tetramethylsilane (TMS), which is added as an internal reference while recording spectra. The difference between the absorption frequencies of the sample and TMS (in Hz) is divided by the spectrometer operating frequency (in MHz) to obtain a dimensionless quantity called the chemical shift. It is reported on the δ (delta) scale and expressed in parts per million.
For instance, the proton...
Chemotaxis in E. coli01:27

Chemotaxis in E. coli

Chemotaxis in Escherichia coli is a sensory-driven motility mechanism that enables bacteria to navigate chemical gradients, moving toward beneficial environments while avoiding harmful conditions. This process relies on a signal transduction system integrating external chemical cues with flagellar motor control.Chemoreceptors and Signal DetectionE. coli detects chemical gradients through methyl-accepting chemotaxis proteins (MCPs), which are membrane-bound chemoreceptors that sense attractants...