arrow
返回

Arithmetic with language models: From memorization to computation

delete2024-11-01
delete0
delete
OA
AI
D
Davide Maltoni
M
Matteo Ferrara *
DOI:10.1016/j.neunet.2024.106550delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
A better understanding of the emergent computation and problem-solving capabilities of recent large language models is of paramount importance to further improve them and broaden their applicability. This work investigates how a language model, trained to predict the next token, can perform arithmetic computations generalizing beyond training data. Binary addition and multiplication constitute a good testbed for this purpose, since they require a very small vocabulary and exhibit relevant input/output discontinuities making smooth input interpolation ineffective for novel data. We successfully trained a light language model to learn these tasks and ran a number of experiments to investigate the extrapolation capabilities and internal information processing. Our findings support the hypothesis that the language model works as an Encoding-Regression- Decoding machine where the computation takes place in the value space once the input token representation is mapped to an appropriate internal representation.
Keyword:
Language models
AI explainability
Probing
Interpretability
Arithmetic
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Neural Networks 封面图
Neural Networks
IF:
6.3
论文数:
7.8K
被引数:
3.0W

机构

U
University of Bologna
学者数:
4.5W
论文数: 3.8W
被引数: 4.1W
引用论文

引用论文

Support for public provision of a private good with top-up and opt-out: A controlled laboratory experiment
err2015-03-01
err0
errOAAI
errNeil Buckley; Katherine Cuff; Jeremiah Hurley; Stuart Mestelman; Stephanie Thomas; David Cameron
err分享
err收藏
Knowledge and viewpoint of adolescent girls regarding child marriage, its causes and consequences
err2021-10-06
err0
errOAAI
errSomayyeh Naghizadeh; Mojgan Mirghafourvand; Azam Mohammadi; Marzieh Azizi; Saba Taghizadeh-Milani; Hadiseh Ganbari
err分享
err收藏
err分享
err收藏
A Mononuclear Mn(II) Pseudoclathrochelate Complex Studied by Multi-Frequency Electron-Paramagnetic-Resonance Spectroscopy
err2014-02-19
err0
PREAI
errMykhailo Azarkh; Larysa V. Penkova; Svitlana V. Kats; Oleg A. Varzatskii; Yan Z. Voloshin; Edgar J. J. Groenen
err分享
err收藏
没有更多内容