paper-with-me

Papers

Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methods

2025-06-12 · Zhaiming Shen, Alexander Hsu, Rongjie Lai, Wenjing Liao

While in-context learning (ICL) has achieved remarkable success in natural language and vision domains, its theoretical understanding--particularly in the context of structured geometric data--remains unexplored. In this work, we initiate a theoretical study of ICL for regression of H\"older functions on manifolds. By establishing a novel connection between the attention mechanism and classical kernel methods, we derive generalization error bounds in terms of the prompt length and the number of training tasks. When a sufficient number of training tasks are observed, transformers give rise to the minimax regression rate of H\"older functions on manifolds, which scales exponentially with the intrinsic dimension of the manifold, rather than the ambient space dimension. Our result also characterizes how the generalization error scales with the number of training tasks, shedding light on the complexity of transformers as in-context algorithm learners. Our findings provide foundational insights into the role of geometry in ICL and novels tools to study ICL of nonlinear models.

📄 PDF Abstract BibTeX arXiv:2506.10959

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context Learningregression

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Probing Biological and Artificial Neural Networks with Task-dependent Neural Manifolds

2023-12-21 · Michael Kuoch, Chi-Ning Chou, Nikhil Parthasarathy, Joel Dapello 외

Recently, growth in our understanding of the computations performed in both biological and artificial neural networks has largely been driven by either low-level mechanistic studies or global normative approaches. Howeve…

Isotropy in the Contextual Embedding Space: Clusters and Manifolds

2021-01-01 · ICLR 2021 1 · Xingyu Cai, Jiaji Huang, Yuchen Bian, Kenneth Church

The geometric properties of contextual embedding spaces for deep language models such as BERT and ERNIE, have attracted considerable attention in recent years. Investigations on the contextual embeddings demonstrate a st…

Diffusion Model for Manifold Data: Score Decomposition, Curvature, and Statistical Complexity

2026-03-21 · Zixuan Zhang, Kaixuan Huang, Tuo Zhao, Mengdi Wang 외 arxiv

Diffusion models have become a leading framework in generative modeling, yet their theoretical understanding -- especially for high-dimensional data concentrated on low-dimensional structures -- remains incomplete. This …

Stories in Space: In-Context Learning Trajectories in Conceptual Belief Space

2026-05-12 · Eric Bigelow, Raphaël Sarfati, Daniel Wurgaft, Owen Lewis 외 arxiv

Large Language Models (LLMs) update their behavior in context, which can be viewed as a form of Bayesian inference. However, the structure of the latent hypothesis space over which this inference operates remains unclear…

Bayesian Inference

The cell as a token: high-dimensional geometry in language models and cell embeddings

2025-03-26 · William Gilpin

Single-cell sequencing technology maps cells to a high-dimensional space encoding their internal activity. This process mirrors parallel developments in machine learning, where large language models ingest unstructured t…

Language ModelingLanguage Modelling