arXiv:2610.35533cs.CLOct 2026

Manuscript Offprint

arXiv:2610.35533

An Algorithmic Account of Few-Shot Concept Induction in Language Models

Michael A. Lepori, Laila Johnston, Aalok Sathe, Zhuonan Yang, Roman Feiman, Ellie Pavlick

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Both models and minds not only encode features that describe an entity, but can specifically represent which features of that entity are relevant for a given context. This core capability underlies in-context learning in language models and a variety of cognitive phenomena in minds, yet it is unclear how intelligent systems identify and promote relevant features. In this work, we propose Amortized Direction Accentuation (ADA), an algorithmic hypothesis that provides an explanation for how relevance is determined in the context of few-shot concept induction—the ability to infer a latent concept from a small number of positive examples. Under ADA, concept induction proceeds by forming a summary representation of the examples in a feature space that is shaped by amortized knowledge about which features tend to be useful for finding commonalities between items. We investigate and validate ADA in language models using a few-shot concept induction task. This work provides a novel perspective on the mechanisms supporting contextualization in language models and a promising hypothesis for a core aspect of cognition.

1 Introduction

A fundamental component of intelligence is the ability to identify what different things have in common. This competency underlies a variety of cognitive capabilities: inducing categories from exemplars (Hume, 1740; Nosofsky, 1986; Tenenbaum, 1999), learning words for entire concepts (Locke, 1689; Landau et al., 1988; Xu and Tenenbaum, 2007), forming analogies (Gentner, 1983), and constructing intuitive theories of classes of observations (Carey, 1985). Despite its central role in intelligence, this ability has proven notoriously difficult to formalize. The problem is that, to some degree and along some dimension, everything is similar to everything else. The core challenge thus becomes identifying the relevant ways in which things are similar—and relevance is context-dependent. What is irrelevant in one context can become relevant in another, leaving any intelligent system with a combinatorially explosive number of possible similarity metrics to search over — a challenge first articulated as “the frame problem” (McCarthy and Hayes, 1969; Fodor, 1987; Dennett, 1990).

A paradigmatic example of this problem is few-shot concept induction, a setting where one is presented with only positive examples of a latent concept. This is especially tricky because the relevant feature dimensions cannot be contrastively inferred from negative examples of that concept or positive examples of other concepts (Tenenbaum, 1998). Nevertheless, humans (and now language models) can reliably accomplish this.

Classic approaches to category learning, such as the generalized context model (GCM; Nosofsky (1986)), ALCOVE (Kruschke, 1990), and their successors (Love et al., 2004; Battleday et al., 2020), tackle this problem in two parts: (i) identifying a geometric feature space for encoding their data (which defines a set of possible similarity metrics) and (ii) executing simple, distance-based algorithms to classify novel inputs based on prototypes or stored exemplars of their observed inputs (Gärdenfors, 2000; Gärdenfors and Williams, 2001). These feature spaces are typically either learned in order to facilitate discrimination, or are borrowed from high-dimensional featurizers like neural vision models. Being discriminative models, they do not provide an account of the feature space required to infer a latent concept from only a few positive examples (likewise, see Phillips et al., 2019).

Conversely, Bayesian accounts of concept learning directly tackle the problem of inferring a latent concept from a few positive examples (Lake et al., 2015; Overlan et al., 2017; Tenenbaum, 1999; Zhou et al., 2024). To achieve this, these works typically assume access to a highly structured, often compositional space of candidate concepts. Given this set of candidate concepts, few-shot concept induction becomes a matter of Bayesian inference to assign probabilities to each concept based on their probability of having generated the observations. The problem is that the (potentially infinite) space of candidate concepts under consideration by a Bayesian model is already a massive simplification from the range of all possible concepts and compositions of concepts that an intelligent system can potentially call to mind. In practice, researchers specify which hypotheses are relevant by either raw enumeration or hand-crafting a generative grammar that is tailored to the particular inference under study. Bayesian accounts themselves typically do not specify how to construct the space of relevant concepts – only how inference is performed once that space is constructed.

We propose Amortized Direction Accentuation (ADA), an algorithmic hypothesis for how intelligent systems could figure out relevant features given a specific context, and apply it to understand how language models perform few-shot concept induction. In brief, ADA supposes few-shot concept induction is performed in much the same way as the classic theories of discriminative category learning described above — by executing online, distance-based algorithms over a geometric feature space. However, ADA's geometric feature space amortizes knowledge about (i) which features of words are generically useful in all plausible contexts and (ii) which features of words tend to be particularly useful in contexts that require inferring common structure among other words. 1^{1}

We investigate ADA in language models for two reasons. First, language models are concrete computational artifacts already capable of few-shot concept induction (Brown et al., 2020; Ellis, 2023). This is often identified with language models' in-context learning (ICL) abilities, which require dynamically inferring latent features observed in context. Latent features may include transformations (e.g., dog:chien, cat:chat; Brown et al., 2020), broader aspects of semantics (e.g., what a sentence is about; Lubana et al., 2026; Bigelow et al., 2026), aspects of syntax (e.g., how the sentence is structured; Lampinen et al., 2024), etc. Second, we have complete access to the internal states of a language model, enabling us to directly test algorithmic-level hypotheses (i.e., hypotheses about the intermediate representations that support behavior; Marr, 1982). We articulate the commitments of ADA in Section 2, and test them in Sections 4, 5, and 6. We then situate ADA within existing theories of concept induction and describe avenues for future work in Section 7. 2^{2}

References (35)