Unknown

Dataset Information

Out-of-distribution generalization via composition: A lens through induction heads in Transformers.


ABSTRACT: Large language models (LLMs) such as GPT-4 sometimes appear to be creative, solving novel tasks often with a few demonstrations in the prompt. These tasks require the models to generalize on distributions different from those from training data-which is known as out-of-distribution (OOD) generalization. Despite the tremendous success of LLMs, how they approach OOD generalization remains an open and underexplored question. We examine OOD generalization in settings where instances are generated according to hidden rules, including in-context learning with symbolic reasoning. Models are required to infer the hidden rules behind input prompts without any fine-tuning. We empirically examined the training dynamics of Transformers on a synthetic example and conducted extensive experiments on a va

SUBMITTER: Song J 

PROVIDER: S-EPMC11831214 | biostudies-literature | 2025 Feb

REPOSITORIES: biostudies-literature