用新指标发现大模型时间问答错误常被精确匹配忽略
Time to Revist Exact Match
- 将时间问答转为数值估计任务,用sMAPE和MASE评估误差
- 部分模型高精确匹配但误差大,说明EM与真实误差脱节
- ±1偏差是常见错误,新指标能更好捕捉这类细小但关键的失误
时间问答是评估大模型时间推理能力的成熟方法。期望答案多为数值型(如日期或时长),但现有评估仍采用文本精确匹配(EM),无法区分小误差与大误差。本文将时间问答视为数值估计任务,提出TempAnswerQA基准,源自Test of Time和TempTabQA,所有问题需数值回答,支持超越EM的评估。采用对称平均绝对百分比误差(sMAPE)和平均绝对缩放误差(MASE)进行分析。结果显示,误差大小与EM解耦:部分模型虽有低EM(~20%),但sMAPE仍高;另一些模型虽高EM,sMAPE却显著偏高。使用MASE(以真实值偏差为尺度)重新排序模型,发现其排名与EM差异明显,暴露出模型在时间领域知识理解上的差距,尤其在合成数据训练下更严重。模型最常见的错误是仅偏离真实值±1。相比之下,sMAPE和MASE能合理加权此类误差。研究强调应为时间问答任务设计专用评估指标。代码与数据见https://github.com/aauss/temporal-answer-qa。
原文摘要 · Abstract (English)
Temporal question answering is an established method for evaluating temporal reasoning in large language models. Expected answers are often numeric (e.g., dates or durations), yet model responses are evaluated like regular text with exact match (EM), unable to distinguish small from large errors. In this investigative work, we frame temporal question answering as a numerical estimation task to assess the shortcomings of EM. We introduce TempAnswerQA, a benchmark distilled from Test of Time and TempTabQA, where all questions require a numerical, temporal answer, allowing us to evaluate models beyond EM. We use the forecasting metrics symmetric mean absolute percentage error (sMAPE) and mean absolute scaled error (MASE). With sMAPE, we find that error size and EM are decoupled. Models with low EM still have low sMAPE (both ~20%), and some models have high sMAPE despite high EM. Scaling errors by the deviation of the ground truth data with MASE reshuffles model rankings compared to EM, revealing gaps in models' understanding of temporal domain knowledge, especially when trained with synthetic data. Lastly, the models' most frequent error is to deviate by only $\pm1$ from the ground truth. sMAPE and MASE, unlike EM, adequately weight these errors. Our findings underscore the need for specialised metrics for temporal QA tasks. Code and data are available on https://github.com/aauss/temporal-answer-qa.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。