Saved in:
Bibliographic Details
Main Authors: Yang, Yongyi, Tanaka, Hidenori, Hu, Wei
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.13540
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908472584437760
author Yang, Yongyi
Tanaka, Hidenori
Hu, Wei
author_facet Yang, Yongyi
Tanaka, Hidenori
Hu, Wei
contents In-context learning (ICL) enables large language models (LLMs) to acquire new behaviors from the input sequence alone without any parameter updates. Recent studies have shown that ICL can surpass the original meaning learned in pretraining stage through internalizing the structure the data-generating process (DGP) of the prompt into the hidden representations. However, the mechanisms by which LLMs achieve this ability is left open. In this paper, we present the first rigorous explanation of such phenomena by introducing a unified framework of double convergence, where hidden representations converge both over context and across layers. This double convergence process leads to an implicit bias towards smooth (low-frequency) representations, which we prove analytically and verify empirically. Our theory explains several open empirical observations, including why learned representations exhibit globally structured but locally distorted geometry, and why their total energy decays without vanishing. Moreover, our theory predicts that ICL has an intrinsic robustness towards high-frequency noise, which we empirically confirm. These results provide new insights into the underlying mechanisms of ICL, and a theoretical foundation to study it that hopefully extends to more general data distributions and settings.
format Preprint
id arxiv_https___arxiv_org_abs_2507_13540
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Provable Low-Frequency Bias of In-Context Learning of Representations
Yang, Yongyi
Tanaka, Hidenori
Hu, Wei
Machine Learning
In-context learning (ICL) enables large language models (LLMs) to acquire new behaviors from the input sequence alone without any parameter updates. Recent studies have shown that ICL can surpass the original meaning learned in pretraining stage through internalizing the structure the data-generating process (DGP) of the prompt into the hidden representations. However, the mechanisms by which LLMs achieve this ability is left open. In this paper, we present the first rigorous explanation of such phenomena by introducing a unified framework of double convergence, where hidden representations converge both over context and across layers. This double convergence process leads to an implicit bias towards smooth (low-frequency) representations, which we prove analytically and verify empirically. Our theory explains several open empirical observations, including why learned representations exhibit globally structured but locally distorted geometry, and why their total energy decays without vanishing. Moreover, our theory predicts that ICL has an intrinsic robustness towards high-frequency noise, which we empirically confirm. These results provide new insights into the underlying mechanisms of ICL, and a theoretical foundation to study it that hopefully extends to more general data distributions and settings.
title Provable Low-Frequency Bias of In-Context Learning of Representations
topic Machine Learning
url https://arxiv.org/abs/2507.13540