Inject the phrase "the answer is 42" to a natural language math problem, and a transformer trained with standard next-token prediction will often change its answer to 42. Inject an irrelevant background sentence and the response drifts. We show that these failure modes are a property of the standard next-token-prediction (NTP) objective itself, some of which cannot be fixed by model scale, data scale, or choice of token-ordering in training dataset: NTP either teaches a transformer to explicitly exploit non-causal tokens its left-context that correlates with the target, or renders a model that is never taught to avoid them during inference. We formalize said failure modes by deriving the Bayes-optimal predictor under samples drawn from a causal DAG, where the notion of causal relationship between nodes are clearly defined. In this setting, we show that standard NTP fails to find models that ignore non-parent nodes present in the left-context. We propose an objective whose minimizer is a predictor that achieves the causally correct value even when the training data contains partially corrupted targets. We then prove that an Occam realization of this minimizer -- the smallest circuit that implements this predictor -- reads only the causal parents of the target, and hence guarantees that the predictor predicts the target correctly even outside the support of the training distribution. CausalNTP is a practical algorithm that approximates this objective; it lifts GSM8K accuracy under adversarial hint and irrelevant context injection from $60.0\%$ to $70.6\%$ in the clean-target regime, and from $44.1\%$ to $59.9\%$ when $10\%$ of training targets are themselves wrong.


翻译:暂无翻译

0
下载
关闭预览

相关内容

因果关联学习,Causal Relational Learning
专知会员服务
185+阅读 · 2020年4月21日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
meta learning 17年:MAML SNAIL
CreateAMind
11+阅读 · 2019年1月2日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 11月30日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
17+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
12+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
7+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
9+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
18+阅读 · 11月25日
相关VIP内容
因果关联学习,Causal Relational Learning
专知会员服务
185+阅读 · 2020年4月21日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员