arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.08362cs.LGstat.ML
收藏

Transformer能够最优地学习回归混合模型

Transformers can optimally learn regression mixture models

UC Berkeley(加州大学伯克利分校);Google Research(谷歌研究院)

Reese Pathak, Rajat Sen, Weihao Kong, Abhimanyu Das

AI总结:

本研究证明Transformer能学习回归混合模型的最优预测器,通过构造生成过程并实验验证其低误差、样本高效及鲁棒性,且理论上证明最优过程可由Transformer实现。

摘要:

混合模型出现在许多回归问题中,但大多数方法由于这些算法的高度定制化和模型特定性而采用有限。另一方面,Transformer是灵活的神经序列模型,它们提供了通用预测方法的可能性,即使在这种混合设置中也是如此。在这项工作中,我们研究了Transformer能够学习回归混合模型的最优预测器的假设。我们构建了一个线性回归混合的生成过程,其决策理论上的最优过程由数据驱动的指数权重在有限参数集上给出。我们观察到Transformer在此过程生成的数据上实现了低均方误差。通过在推理时探测Transformer的输出,我们还表明Transformer通常做出接近最优预测器的预测。我们的实验还证明,Transformer能够以样本高效的方式学习回归混合模型,并且对分布偏移具有一定的鲁棒性。我们通过构造性证明补充了实验观察,即决策理论上的最优过程确实可以由Transformer实现。

英文摘要:

Mixture models arise in many regression problems, but most methods have seen limited adoption partly due to these algorithms' highly-tailored and model-specific nature. On the other hand, transformers are flexible, neural sequence models that present the intriguing possibility of providing general-purpose prediction methods, even in this mixture setting. In this work, we investigate the hypothesis that transformers can learn an optimal predictor for mixtures of regressions. We construct a generative process for a mixture of linear regressions for which the decision-theoretic optimal procedure is given by data-driven exponential weights on a finite set of parameters. We observe that transformers achieve low mean-squared error on data generated via this process. By probing the transformer's output at inference time, we also show that transformers typically make predictions that are close to the optimal predictor. Our experiments also demonstrate that transformers can learn mixtures of regressions in a sample-efficient fashion and are somewhat robust to distribution shifts. We complement our experimental observations by proving constructively that the decision-theoretic optimal procedure is indeed implementable by a transformer.

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

↑