cs.LGMar 26, 2026

SIGMA: Semantic Identifier Grouping for Molecular Autoregression

Authors: Xinyu Wang, Fei Dou, Jinbo Bi, Minghu Song

Organizations: School of Computing, University of Connecticut, Storrs, CT, USA · Institute for Artificial Intelligence, University of Georgia, Athens, GA, USA · Institute of Hydrobiology, Chinese Academy of Sciences, Wuhan, China

Abstract

Autoregressive molecular models assign probability to molecular serializations even though chemical identity is invariant to serialization. Equivalent serializations can therefore represent a common molecular identity yet induce inconsistent next-token decisions. Randomized strings broaden exposure, but do not reveal which intermediate decisions should agree. We introduce SIGMA, a dense suffix-position objective built from chemically certified same-suffix triplets: two equivalent histories, one non-equivalent history, and a shared suffix. SIGMA aligns corresponding pre-token hidden states along the continuation and separates the negative to a finite relative margin, leaving the language-model objective, decoder, and inference procedure unchanged. We compare SIGMA with canonical training, randomized-serialization training, and last-token alignment across four datasets under SMILES and SELFIES. Across the eight representation-dataset blocks, SIGMA yields clear test-reference Frechet ChemNet Distance reductions in six: all four SELFIES domains and QM9 and ZINC under SMILES, with paired 95% confidence intervals below zero against every control. Position-wise analyses show improved state correspondence, chemical discrimination, and next-token agreement while preserving between-molecule information. On two full-corpus ZINC blocks, compute-matched ablations identify chemically correct state correspondence as the effective ingredient. Beyond generation, SIGMA improves mean predictive performance on all six molecular property benchmarks and reduces sensitivity to equivalent molecular serializations on every task.

Figures & tables

Explore similar work

CardsList
  1. Augmenting Molecular Language Models with Local nn-gram Memory

    Jun 10, 2026Xinni Zhang, Zijing Liu, He Cao +2Memory-Augmented Language ModelsLanguage Modeling