用自然语言生成的物理世界测试模型学习效率,发现大模型不如传统方法省样本。
Exploring the Learning Capabilities of Language Models using LEVERWORLDS
- 设计可生成自然语言描述世界的框架LeverWorlds,用于控制实验
- 大模型在任务上表现尚可,但样本效率远低于经典算法
- 提出利用提示学习让大模型调用简单算法,潜力可观
学习随机环境的模型通常需同时掌握通用结构规则与具体实例特征。本文研究不同学习方法中通用与特定知识的交互,重点关注样本效率。我们设计了名为{ extsc{LeverWorlds}}的框架,可生成遵循相似生成过程但分布不同的、基于物理启发的简单世界,其实例可用自然语言表达。该框架支持对各类学习方法的样本复杂度进行可控评估。实验涵盖经典算法及基于Transformer的语言模型(含微调和上下文学习,ICL)。总体发现:(1) 变换器模型普遍能完成任务;(2) 但其样本效率显著低于对结构有更强假设的经典方法,如最大似然估计和逻辑回归。这一结果与当前将变换器作为通用估计器的趋势相矛盾。为此,我们提出一种新方法,利用现代语言模型的上下文学习能力,以应用针对此类数据的简单算法。实验表明,当前模型在此任务上仍具挑战,但展现出良好潜力。
原文摘要 · Abstract (English)
Learning a model of a stochastic setting often involves learning both general structure rules and specific properties of the instance. This paper investigates the interplay between learning the general and the specific in various learning methods, with emphasis on sample efficiency. We design a framework called {\sc LeverWorlds}, which allows the generation of simple physics-inspired worlds that follow a similar generative process with different distributions, and their instances can be expressed in natural language. These worlds allow for controlled experiments to assess the sample complexity of different learning methods. We experiment with classic learning algorithms as well as Transformer language models, both with fine-tuning and In-Context Learning (ICL). Our general finding is that (1) Transformers generally succeed in the task; but (2) they are considerably less sample efficient than classic methods that make stronger assumptions about the structure, such as Maximum Likelihood Estimation and Logistic Regression. This finding is in tension with the recent tendency to use Transformers as general-purpose estimators. We propose an approach that leverages the ICL capabilities of contemporary language models to apply simple algorithms for this type of data. Our experiments show that models currently struggle with the task but show promising potential.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。