arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.00170cs.LGcs.AI
收藏

我的数学transformer在做什么?--关于可解释性和推广性的三个结果

What is my math transformer doing? -- Three results on interpretability and generalization

Meta AI

François Charton

摘要:

本文研究了故障情况下和分布外的行为训练的Transformers器矩阵求逆和特征值分解。我表明,不正确的模型预测仍然保留深的数学性质的解决方案(例如正确的特征值,单位范数的特征向量),几乎所有的模型故障可以归因于,并预测,属性的问题或解决方案。这表明,当有疑问时,数学Transformers不会产生荒谬的解决方案(正如有时提出的那样),而是保持“大致正确”。我还表明,精心选择训练数据集可以加速训练,同时允许模型从其训练分布中泛化,使Transformers“仅仅插值”的想法无效。

英文摘要:

This paper investigates the failure cases and out-of-distribution behavior of transformers trained on matrix inversion and eigenvalue decomposition. I show that incorrect model predictions still retain deep mathematical properties of the solution (e.g. correct eigenvalues, unit norm of eigenvectors), and that almost all model failures can be attributed to, and predicted from, properties of the problem or solution. This demonstrates that, when in doubt, math transformers do not hallucinate absurd solutions (as was sometimes proposed) but remain ``roughly right''. I also show that the careful choice of a training dataset can accelerate training, while allowing the model to generalize out of its training distribution, invalidating the idea that transformers ``merely interpolate'' from memorized examples.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑