Reproduce “Unveiling Latent Knowledge in Chemistry Language Models through Sparse Autoencoders” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jaron Cohen, Alexander G. Hasson, Sara Tanovic

Researchers applied sparse autoencoders to a chemistry language model, SMI-TED, to interpret its internal representations and uncover latent chemical knowledge. This approach successfully disentangled features corresponding to specific substructures, physicochemical properties, and pharmacological relationships, enabling causal steering of molecular properties and achieving an F1 score of 1.000 for detecting rare chemical motifs like nitrate groups.

Key insights

  • Sparse Autoencoders effectively decompose entangled latent representations of CLMs into a more interpretable and causally relevant feature basis.
  • CLM internal representations encode a rich, hierarchical landscape of chemical concepts, including local structural motifs, global physicochemical properties, and higher-level functional classifications.
  • Individual SAE features can be causally steered to modify specific molecular structures or properties, offering a novel approach for rational and targeted molecular design and control.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.