随机二进制序列下的上下文内学习动态
In-Context Learning Dynamics with Random Binary Sequences
AI总结:
该研究以随机二进制序列为探针,提出无需观察内部激活的上下文内学习动态分析框架,发现GPT-3.5及更新模型能从随机行为突变为确定性重复,并涌现随机数生成与形式语言学习能力。
摘要:
在海量文本数据集语料上训练的大型语言模型(LLM)展现出引人关注的能力,在其并未接受过显式训练的任务上达到最先进性能。LLM能力的确切本质往往神秘莫测,而不同提示可通过上下文内学习激发不同能力。我们提出一个框架,使我们能够分析上下文内学习动态,以理解LLM行为模式背后的潜在概念。相比非成即败的评估基准,这提供了更细致的理解,同时又不像对电路进行机制解释那样需要观察内部激活。受人类随机性感知认知科学启发,我们采用随机二进制序列作为上下文,并通过操纵上下文数据的属性(如序列长度)来研究上下文内学习的动态。在最新的GPT-3.5及更新模型中,我们发现了生成看似随机数字以及学习基本形式语言的涌现能力,并观察到显著的上下文内学习动态:模型输出从看似随机的行为急剧转变为确定性的重复。
英文摘要:
Large language models (LLMs) trained on huge corpora of text datasets demonstrate intriguing capabilities, achieving state-of-the-art performance on tasks they were not explicitly trained for. The precise nature of LLM capabilities is often mysterious, and different prompts can elicit different capabilities through in-context learning. We propose a framework that enables us to analyze in-context learning dynamics to understand latent concepts underlying LLMs' behavioral patterns. This provides a more nuanced understanding than success-or-failure evaluation benchmarks, but does not require observing internal activations as a mechanistic interpretation of circuits would. Inspired by the cognitive science of human randomness perception, we use random binary sequences as context and study dynamics of in-context learning by manipulating properties of context data, such as sequence length. In the latest GPT-3.5+ models, we find emergent abilities to generate seemingly random numbers and learn basic formal languages, with striking in-context learning dynamics where model outputs transition sharply from seemingly random behaviors to deterministic repetition.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。