LANTERN:照亮语言模型中的隐藏数学知识
研究论文 · 2026/10/01
语言模型现在可以证明定理,但人们仍然决定研究哪些问题。我们探究模型的内部表示是否有助于识别有前景的数学联系。我们开发了LANTERN,一个快速、成本高效的流程,使用预训练模型激活上的分类器对候选关系进行排序,随后进行分阶段过滤、假设生成、可执行验证和分析检查。应用于整数序列在线百科全书(OEIS),LANTERN在10,000个频繁引用的序列中对5000万对进行了排序,并在没有现有OEIS交叉引用的配对之间产生了62个已验证的关系。内容筛选保留了13个值得展示的关系;其中9个具有信息性或洞察力,包括据我们所知完全新颖的4个:这些关系既未出现在OEIS中,也未出现在我们的针对性文献搜索中。整个端到端过程包括分类器训练、候选排序、过滤和验证,耗时不到8小时。
该工作展示了如何利用语言模型的内部表示高效发现数学知识,在OEIS上发现了新的数学关系,且流程快速低成本,为AI辅助数学发现提供了新思路。
Language models can now prove theorems, but people still decide which problems to pursue. We ask whether a model's internal representations can help identify promising mathematical connections. We develop LANTERN, a fast, cost-efficient pipeline that uses a classifier over pretrained-model activations to rank candidate relations, followed by staged filtering, hypothesis generation, executable verification, and analytical checking. Applied to the On-Line Encyclopedia of Integer Sequences (OEIS), LANTERN ranked 50 million pairs among 10,000 frequently referenced sequences and produced 62 verified relations between pairs without an existing OEIS cross-reference. A content screen retained 13 relations worth presenting; nine of these are informative or insightful, including four which are entirely novel to the best of our knowledge: none appears in the OEIS or in our targeted literature search. The entire end-to-end process including classifier training, candidate ranking, filtering and verification took under 8 hours.