一种量化语言模型数学推理鲁棒性的因果框架
A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Models
AI总结:
本文提出基于因果图与行为测试的框架,通过干预题目表面形式、操作数和运算符来量化语言模型数学推理的鲁棒性,并发现其鲁棒性并非随规模持续提升,而 GPT-3 Davinci(175B)显著优于其他 GPT 变体。
摘要:
我们最近见证了语言模型在困难数学推理问题上取得的一系列令人瞩目的成果。与此同时,这些模型的鲁棒性也受到质疑;近期研究表明,模型在生成解答时可能依赖问题描述中的浅层模式。基于行为测试的思想,我们提出了一个新颖框架,用于确定输入中各种因素对输出解答的因果效应,例如问题文本的表面形式、操作数和数学运算符。通过将行为分析建立在描述直观推理过程的因果图之上,我们研究了语言模型在输入空间中受到直接干预时的鲁棒性与敏感性表现。我们将该框架应用于一个数学应用题测试平台。分析表明,鲁棒性似乎并不会随着模型规模扩大而持续提升;但与所有其他 GPT 变体相比,GPT-3 Davinci 模型(175B)在鲁棒性和敏感性两方面都取得了显著提升。
英文摘要:
We have recently witnessed a number of impressive results on hard mathematical reasoning problems with language models. At the same time, the robustness of these models has also been called into question; recent works have shown that models can rely on shallow patterns in the problem description when generating a solution. Building on the idea of behavioral testing, we propose a novel framework, which pins down the causal effect of various factors in the input, e.g., the surface form of the problem text, the operands, and math operators on the output solution. By grounding the behavioral analysis in a causal graph describing an intuitive reasoning process, we study the behavior of language models in terms of robustness and sensitivity to direct interventions in the input space. We apply our framework on a test bed of math word problems. Our analysis shows that robustness does not appear to continuously improve as a function of size, but the GPT-3 Davinci models (175B) achieve a dramatic improvement in both robustness and sensitivity compared to all other GPT variants.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。