arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06322cs.LG
收藏

SMolLM: 小型语言模型学习小型分子语法

SMolLM: Small Language Models Learn Small Molecular Grammar

Carey Business School Johns Hopkins University(约翰霍普金斯大学Carey商学院)

Akhil Jindal, Harang Ju

AI总结:

本文提出SMolLM,一个53K参数的小型权重共享Transformer,通过固定层次结构学习SMILES语法,在ZINC-250K数据集上以95%的有效性生成分子,优于参数多10倍的GPT模型。

摘要:

用于分子设计的语言模型已扩展到数亿个参数,但人们对它们如何学习化学语法知之甚少。我们训练了SMolLM,一个53K参数的权重共享Transformer,在ZINC-250K药物样分子基准上生成新颖的SMILES,有效性达95%,优于参数多10倍的标准GPT。从机制上看,同一模块在多次前向传播中以固定层次结构解决SMILES约束:首先是括号,其次是环,最后是化合价,这一点通过错误分类和线性探测得到证明,并通过消融实验隔离出括号匹配头。综合这些结果,我们得到了一个紧凑、可机械解释的分子生成器,以及一个用于研究形式语言领域迭代计算的测试平台。

英文摘要:

Language models for molecular design have scaled to hundreds of millions of parameters, yet how they learn chemical grammar is poorly understood. We train SMolLM, a 53K-parameter weight-shared transformer, to generate novel SMILES with 95% validity on the ZINC-250K drug-like-molecule benchmark, outperforming a standard GPT with 10 times more parameters. Mechanistically, the same block resolves SMILES constraints across passes in a fixed hierarchy: brackets first, rings second, and valence last, as shown by error classification and linear probing, with ablation isolating the bracket-matching head. Together, these results yield a compact, mechanistically interpretable molecular generator and a testbed for studying iterative computation in formal-language domains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑