我的嵌入是否反映了 $A = B$?评估嵌入模型中的数学等价性 Does My Embedding Reflect That $A = B$? Evaluating Mathematical Equivalence in Embedding Models 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-22
👁️ 预览文献
💡 AI 中文简介
数学高度抽象,同一命题在不同子领域表述差异巨大,但现有嵌入模型可能只按术语而非数学本质聚类。本文构建了MELD数据集,包含数学等价但用词迥异的陈述对,发现当前最优模型确实按术语分组。为此,作者提出对比学习方法,让非形式化陈述与不同形式化表述对齐。实验表明,该方法不仅提升了非形式化-形式化检索任务,在纯自然语言的MELD上也取得改进,有助于跨数学语言的高效导航。
领域自然语言处理 / 数学文本表示学习
适合谁读需要一定专业背景(了解嵌入模型和对比学习)
核心贡献1. 构建了MELD数据集,首次系统评估嵌入模型对数学等价性的捕捉能力;2. 提出对比学习方法,通过对齐不同形式化表述来学习数学文本嵌入,显著提升等价性识别性能。
关键数据当前最优嵌入模型倾向于按术语而非数学本质分组;所提方法在非形式化-形式化检索和MELD数据集上均取得改进。
推荐理由如果你关心AI能否真正理解数学,这篇论文揭示了嵌入模型的盲点,并给出了简单有效的改进方案,值得一读。
关键词["嵌入模型", "数学等价性", "对比学习", "形式化数学", "自然语言处理", "检索"]

原文摘要

查看英文原文摘要

Because mathematics is highly abstract, a single statement can take very different forms depending on what subfield it is framed in. There are many examples where breakthroughs occurred after researchers discovered that a question had already been answered in a different field. At the same time, the growth of new resources related to formalization has increased the need for tools that enable efficient and reliable navigation between mathematical 'languages' (e.g., from Lean to natural language). In this paper, we investigate whether current embedding models capture mathematical equivalence. To do this, we introduce the Mathematically Equivalent but Lexically Different Pairs (MELD) Dataset, a collection of mathematically equivalent statements that are expressed in very different language. We show that current state-of-the-art embedding models tend to group statements by the terminology used to make them instead of the underlying math. Motivated by this, we propose a contrastive approach to learning embeddings of mathematical text that focuses on aligning informal statements with different formalizations. Our experiments demonstrate that this leads to improvements not only on informal-formal retrieval tasks but also on MELD, which only contains natural language statements.