paper-with-me

Papers

In-Context Learning as Nonparametric Conditional Probability Estimation: Risk Bounds and Optimality

2025-08-12 · Chenrui Liu, Falong Tan, Chuanlong Xie, Yicheng Zeng, Lixing Zhu arxiv

This paper investigates the expected excess risk of in-context learning (ICL) for multiclass classification. We formalize each task as a sequence of labeled examples followed by a query input; a pretrained model then estimates the query's conditional class probabilities. The expected excess risk is defined as the average truncated Kullback-Leibler (KL) divergence between the predicted and true conditional class distributions over a specified family of tasks. We establish a new oracle inequality for this risk, based on KL divergence, in multiclass classification. This yields tight upper and lower bounds for transformer-based models, showing that the ICL estimator achieves the minimax optimal rate (up to logarithmic factors) for conditional probability estimation. From a technical standpoint, our results introduce a novel method for controlling generalization error via uniform empirical entropy. We further demonstrate that multilayer perceptrons (MLPs) can also perform ICL and attain the same optimal rate (up to logarithmic factors) under suitable assumptions, suggesting that effective ICL need not be exclusive to transformer architectures.

📄 PDF Abstract BibTeX arXiv:2508.08673

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Nonparametric Estimation of Truncated Conditional Expectation Functions

2021-09-13 · Tomasz Olma

Truncated conditional expectation functions are objects of interest in a wide range of economic applications, including income inequality measurement, financial risk management, and impact evaluation. They typically invo…

Managementregression

Estimating Systemic Risk within Financial Networks: A Two-Step Nonparametric Method

2023-10-28 · Weihuan Huang

CoVaR (conditional value-at-risk) is a crucial measure for assessing financial systemic risk, which is defined as a conditional quantile of a random variable, conditioned on other random variables reaching specific quant…

A Bayesian nonparametric test for conditional independence

2019-10-24 · Onur Teymur, Sarah Filippi

This article introduces a Bayesian nonparametric method for quantifying the relative evidence in a dataset in favour of the dependence or independence of two variables conditional on a third. The approach uses Polya tree…

Causal Discovery

Debiased Nonparametric Regression for Statistical Inference and Distributionally Robustness

2024-12-28 · Masahiro Kato

This study proposes a debiasing method for smooth nonparametric estimators. While machine learning techniques such as random forests and neural networks have demonstrated strong predictive performance, their theoretical …

regression

Tuning parameter selection in econometrics

2024-05-05 · Denis Chetverikov

I review some of the main methods for selecting tuning parameters in nonparametric and $\ell_1$-penalized estimation. For the nonparametric estimation, I consider the methods of Mallows, Stein, Lepski, cross-validation, …

Econometrics