arXiv:2610.01712v1 cs.LG

단일 인덱스 타깃의 문맥 내 학습: 커널 학습자와 특징 학습자 비교

In-context Learning of Single-index Targets: Comparing Kernel and Feature Learners

Haotian Gu, Yizhou Xu, Lenka Zdeborová

제출 2026-10-01

한국어 초록

문맥 내 학습(ICL)은 사전학습된 모델이 파라미터를 업데이트하지 않고도 시연(demonstration)으로부터 태스크를 추론할 수 있도록 합니다. 기존 이론의 상당 부분은 선형 타깃 함수에 초점을 맞추고 있는 반면, 본 논문에서는 동일한 단일 인덱스(single-index) 태스크 계열에서 두 가지 단일 층 어텐션 아키텍처를 비교하여 비선형적인 경우를 연구합니다. 커널 학습자는 먼저 고정된 비선형 특징 맵을 통해 입력을 매핑한 후 선형 어텐션을 적용하는 반면, 특징 학습자는 원본 입력에 어텐션을 적용한 후 학습된 비선형 판독(readout)을 거칩니다. 우리는 복제본 방법(replica method)을 사용하여 사전학습 크기, 태스크 풀의 다양성, 학습 및 추론 컨텍스트 길이의 효과를 유지하면서 이들의 암기 및 일반화 오차에 대한 예측치를 유도합니다. 그 결과로 도출된 예측치는 광범위한 체제 전반에 걸쳐 수치 실험과 밀접하게 일치합니다. 우리의 분석은 사전학습 데이터의 양, 태스크 다양성, 컨텍스트 길이가 변함에 따라 각 아키텍처가 언제 유리한지를 규명하는 위상도(phase diagram)를 산출합니다. 나아가 두 학습자에 대해 질적으로 서로 다른 컨텍스트 길이 스케일링을 식별합니다. 종합적으로, 이러한 결과들은 아키텍처 선택이 데이터셋과 어떻게 상호작용하고 비선형 문맥 내 학습을 지배하는지 명확히 밝힙니다.

원문 초록

In-context learning (ICL) enables a pretrained model to infer a task from demonstrations without updating its parameters. While much of the existing theory focuses on linear target functions, in this paper we study nonlinear cases by comparing two one-layer attention architectures on the same family of single-index tasks. A kernel learner first maps inputs through a fixed nonlinear feature map and then applies linear attention, whereas a feature learner applies attention to the original input, followed by a learned nonlinear readout. We derive predictions for their memorization and generalization errors using the replica method, retaining the effects of pretraining size, task-pool diversity, and training and inference context lengths. The resulting predictions closely match numerical experiments across a broad range of regimes. Our analysis yields phase diagrams that characterize when each architecture is advantageous as the amount of pretraining data, task diversity, and context lengths vary. We further identify qualitatively different context-length scalings for the two learners. Together, these results clarify how architectural choices interact with the dataset and govern nonlinear in-context learning.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2610.01712v1

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.