문맥 내 학습을 통한 적응적 평균 추정: 그래디언트 흐름 분석
Adaptive Mean Estimation by In-Context Learning: A Gradient-Flow Analysis
한국어 초록
TabPFN와 같은 PFN(Prior Fitted Networks)은 이제 예측과 추정 과제 전반에서 기존의 통계적 기법들과 대등한 성능을 보인다. 이에 대한 자연스러운 설명은 PFN이 통계적 적응성(statistical adaptivity)이라는 특성을 가진다는 것이다. 즉, 데이터가 어떤 모델에서 생성되었는지 알려주지 않아도, 이질적인 모델 집합에 대해 실제 데이터 생성 모델에 맞춰 설계된 방법과 거의 동등한 성능을 낸다. 우리는 통제된 위치 추정(location-estimation) 문제에서 이러한 적응성이 어떻게 학습되는지를 연구한다. 각 과제는 어떤 분포 계열(family)에서 나왔는지 숨겨진, 레이블 없는 샘플이다: 가우시안(Gaussian) 데이터는 평균을 내는 것이 적절하며 오차 차수는 $n^{-1}$이고, 균등(uniform) 데이터는 극값(extremes)으로부터 추정하는 것이 가장 좋으며 더 빠른 $n^{-2}$ 속도를 보인다. 우리는 또한 대칭 가우시안 혼합(symmetric Gaussian mixture)의 예도 제시하는데, 이 경우 $σ^2_n/n$의 속도를 달성할 수 있다. 스칼라 입력에서, 소프트맥스 어텐션은 경험적 누적생성함수(cumulant-generating function)의 도함수를 계산한다. 따라서 단일한 기본 연산(primitive)이 분포 계열을 구분하는 특징을 제공하는 동시에, 표본 평균(sample mean)과 중간값(mid-range) 사이를 보간하는 추정량을 형성한다. 우리는 소프트맥스 전문가 혼합(mixture of experts) 또는 게이트 선형 유닛(gated linear unit, GLU) 중 하나를 통해 어텐션 전문가(expert)들을 결합하고, 단계적(stagewise) 그래디언트 흐름을 분석한다. $\widetilde{Ω}(n^{1+ε})$개의 사전학습 과제가 주어지면, 학습된 추정량은 가우시안 과제에서 점근적으로 효율적(asymptotically efficient)이며, 균등 과제에서는 최소최대(minimax) 속도의 $n^ε$ 배수 이내이고, 분산이 축소되는(shrinking-variance) 영역에서 혼합 분포에 대해 순서 최적(order-optimal)이다. 이러한 보장은 새로운 위치와 더 긴 컨텍스트로도 확장된다. 위험도 분해(risk decomposition)를 통해 전문가 오차, 라우팅(routing) 오차, 정규화 오차를 분리할 수 있으며, 이는 두 아키텍처 간의 대조를 명확히 한다. 소프트맥스 게이팅(gating)은 정규화와 정확한 이동 등변성(translation equivariance)을 강제하는 반면, GLU는 이를 학습해야 한다: GLU의 동역학은 빠른 바이어스 제거 후 느린 전문가 선택으로 분리된다. 엔드투엔드(end-to-end) 실험은 예측된 전문화(specialization) 양상을 재현한다.
원문 초록
Prior Fitted Networks (PFNs) such as TabPFN now rival established statistical procedures across prediction and estimation tasks. A natural explanation is that PFNs have the property of statistical adaptivity, that is, they perform nearly as well as a method tailored to the true data-generating model for a heterogeneous set of models, while not being told which model the data comes from. We study how such adaptivity is learned in a controlled location-estimation problem. Each task is an unlabeled sample whose family is hidden: Gaussian data call for averaging, with error of order $n^{-1}$, whereas uniform data are best estimated from their extremes, at the faster rate $n^{-2}$. We also provide the example of a symmetric Gaussian mixture, for which a rate of $σ^2_n/n$ can be attained. On scalar inputs, softmax attention computes the derivative of the empirical cumulant-generating function. A single primitive therefore both supplies features that distinguish the families and forms estimators interpolating between the sample mean and the mid-range. We combine attention experts through either a softmax mixture of experts or a gated linear unit (GLU), and analyze stagewise gradient flow. With $\widetildeΩ(n^{1+ε})$ pretraining tasks, the learned estimator is asymptotically efficient on Gaussian tasks, within a factor $n^ε$ of the minimax rate on uniform tasks, and order-optimal on mixtures in a shrinking-variance regime. These guarantees extend to new locations and longer contexts. A risk decomposition separates expert error, routing error and normalization error, which clarifies the architectural contrast. Softmax gating enforces normalization and exact translation equivariance, whereas the GLU must learn it: its dynamics separate into fast bias removal followed by slow expert selection. End-to-end experiments recover the predicted specialization.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.