信号-覆盖矩阵:对语句自动形式化中的类型错误和语义错误进行分层
The Signal-Coverage Matrix: Stratifying Type and Semantic Errors in Statement Autoformalization
AI总结:
提出信号-覆盖矩阵,将LLM自动形式化输出按类型正确性和语义等价性分为四类,揭示类型错误和语义错误的恢复模式,并预测总体正确率变化。
摘要:
LLM自动形式化的标题类型正确率(TC%)在两年内从约53%上升到约76%,但这个标量掩盖了每种方法解决了哪些错误。我们提出一个信号-覆盖矩阵,将Lean解释器(通过/失败)与语义等价判断(等价/不等价)交叉,将每个输出分为四个单元之一:真正成功(TS)、仅类型(TO)、仅语义(SO)或两者都失败(BF)。在ProofNet#和MiniF2F-test上,使用DeepSeek V4-Pro,在Vanilla、Lean-Retry、Sample-Filter和分层自动形式化(SAF)方法下:(1)三种利用解释器反馈的方法的TS增益为+34到+36,其中约64%是类型层恢复,而SO净变化为零(87.5%的原始语义错误被修复,8个新产生)。(2)每种方法的TO到TS率为23/61(Wilson 95% CI [26.6%, 50.3%]),且该层恢复率可预测留出方法上的ΔTS,误差在2/186以内,并使ΔTC在六个(模型,数据集)单元中与Vanilla解释器失败率呈线性关系(R²=0.96)。(3)两位评判者在解释器反馈输出上的分歧为26到37个百分点(对比Vanilla的7个百分点),其中30%到56%的符号评判者假阴性可追溯到解释器强制重写。持续残差减少到两个黄金形式化错误。TC%的增益应归因于哪个单元发生了变化,而非仅凭标量。
英文摘要:
Headline type-correctness (TC\%) of LLM autoformalization has climbed from $\sim$53\% to $\sim$76\% in two years, yet this scalar conceals which errors each method resolves. We propose a signal-coverage matrix that crosses the Lean elaborator (pass/fail) with a semantic-equivalence judgment (equivalent/not), sorting every output into one of four cells: true success (TS), type-only (TO), semantic-only (SO), or both fail (BF). On ProofNet\# and MiniF2F-test with DeepSeek V4-Pro across Vanilla, Lean-Retry, Sample-Filter, and Stratified Autoformalization (SAF): (1) the +34 to +36 TS gain across the three elab-feedback methods is $\sim$64\% type-stratum recovery, with SO flat on net (87.5\% of original semantic errors rescued, 8 newly created). (2) The TO-to-TS rate is 23/61 for each method (Wilson 95\% CI [26.6\%, 50.3\%]), and this stratum-level recovery rate predicts $Δ$TS on held-out methods to within 2/186 and renders $Δ$TC linear in the Vanilla elab-fail rate across six (model, dataset) cells ($R^2=0.96$). (3) The two judges disagree by 26 to 37 pp on elab-feedback outputs (vs. 7 pp on Vanilla), with 30 to 56\% of symbolic-judge false negatives traceable to elaborator-forced rewrites. The persistent residual reduces to two gold-formalization errors. TC\% gains should be credited by which cell moved, not by the scalar alone.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。