arXiv AI

Convergent Emergence of In-Context Learning Across Modalities

The paper investigates whether few-shot in-context learning (ICL) emerges similarly across different data modalities. Using a controlled cross-modality framework, the authors test the Convergent Emergence Hypothesis, which posits that tasks benefiting from ICL in one modality will also benefit in others. They find that paired-mapping ICL appears in six modalities—language, genome, integer sequences, time series, images, and proteins—outperforming baselines and showing correlated task effects in five of them, supporting the hypothesis in some but not all cases.

arXiv AI
Nov 5

Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs

The paper examines how Large Language Models’ internal representations become sparser as task difficulty rises, finding that harder inputs lead to more concentrated activation patterns in the last hidden state. This sparsity–difficulty relationship holds across various models and domains, indicating that models learn dense representations for familiar patterns but default to sparse activations for unfamiliar ones. Leveraging this insight, the authors propose Sparsity‑Guided Curriculum In‑Context Learning (SG‑ICL), which selects few‑shot demonstrations based on sparsity and outperforms standard CoT and Auto‑CoT baselines on the MATH‑500 benchmark.

By Mingyu Jin, Yutong Yin, Jingcheng Niu, Qingcheng Zeng, Wujiang Xu, Mengnan Du, Wei Cheng, Zhaoran Wang, Tianlong Chen, Dimitris N. Metaxas
arXiv Machine Learning
Oct 23

How Depth Growth and Looping Shape In-Context Learning in Language Models

The paper investigates how depth growth and looping in language models influence in-context learning (ICL). It shows that models with these architectural features rely more on contextual information, acquire ICL earlier, and retain it better than fully dense counterparts. Attention analysis reveals that depth growth propagates early induction heads across layers, and ablations confirm that these models depend more on induction-ranked heads for few‑shot performance and token prediction.

By Ferdinand Kapl, Kaitlin Maile, Stefan Bauer, Johannes von Oswald
arXiv Machine Learning
Jul 7

A Unified Framework for In-Context Learning with Causal and Masked Language Models

arXiv:2607. 04081v1 Announce Type: new Abstract: In-context learning (ICL) has emerged as a central capability of pretrained language models, yet its theoretical analysis has focused primarily on causal language models trained by left-to-right autoregressive prediction, such as GPT-style models.

By Chenrui Liu, Chuanlong Xie, Falong Tan, Yicheng Zeng, Lixing Zhu
Hugging Face Trending Papers
Jun 25

Structure Before Collapse: Transient semantic geometry in next-token prediction

Neural Collapse predicts that balanced one-hot classification pushes model representations to be equally far from each other; a symmetric configuration that depends only on the output label and ignores any semantic similarity in the inputs. This creates a puzzle: next-token prediction language models are trained predominantly (as context length increases) with one-hot labels: the same context is very unlikely to appear twice in training with different labels.

arXiv AI
Nov 5

Context--Answer Metamodels: Forecasting LLM Activations Before the First Answer Token

The paper introduces context–answer metamodels that predict the activations a language model will produce during its answer phase based solely on the activations observed while reading the context. Experiments show that four families of metamodels can forecast mean‑pooled answer activations with high fidelity, capture rollout variability, and improve with larger training sets, while also generalizing zero‑shot to out‑of‑domain data. Moreover, activations from one model (Qwen2.5) can predict answer activations of other models (Qwen3.5, Gemma 4), indicating cross‑model transferability.

By Tommy He, Thomas Jiralerspong
arXiv Computation and Language
Oct 23

In-Context Learning Beyond Copying: A Training-Time Analysis of Abstractive ICL

The paper investigates the relationship between in-context copying and the emergence of abstractive in-context learning (ICL) in large language models. By introducing Hapax, a training regime that removes loss contributions from tokens predictable by induction circuits, the authors show that abstractive ICL can still develop even when copying signals are largely suppressed. Attention analysis reveals that Hapax-trained models exhibit fewer and weaker induction heads, indicating a weaker developmental link between induction circuits and abstractive ICL than previously thought.

By Kerem Sahin, Sheridan Feucht, Adam Belfki, Jannik Brinkmann, Aaron Mueller, David Bau, Chris Wendler