计算机科学 > 机器学习
[提交于 2022年11月9日]
标题:Linear algebra with transformers
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Transformers can learn to perform numerical computations from examples only. I study nine problems of linear algebra, from basic matrix operations to eigenvalue decomposition and inversion, and introduce and discuss four encoding schemes to represent real numbers. On all problems, transformers trained on sets of random matrices achieve high accuracies (over 90%). The models are robust to noise, and can generalize out of their training distribution. In particular, models trained to predict Laplace-distributed eigenvalues generalize to different classes of matrices: Wigner matrices or matrices with positive eigenvalues. The reverse is not true.
提交历史
来自:François Charton[v1] 2022年11月9日 星期三 00:00:00 UTC