paper-with-me

홈 › Papers

Transformers Handle Endogeneity in In-Context Linear Regression

2024-10-02 · Haodong Liang, Krishnakumar Balasubramanian, Lifeng Lai

We explore the capability of transformers to address endogeneity in in-context linear regression. Our main finding is that transformers inherently possess a mechanism to handle endogeneity effectively using instrumental variables (IV). First, we demonstrate that the transformer architecture can emulate a gradient-based bi-level optimization procedure that converges to the widely used two-stage least squares $(\textsf{2SLS})$ solution at an exponential rate. Next, we propose an in-context pretraining scheme and provide theoretical guarantees showing that the global minimizer of the pre-training loss achieves a small excess loss. Our extensive experiments validate these theoretical findings, showing that the trained transformer provides more robust and reliable in-context predictions and coefficient estimates than the $\textsf{2SLS}$ method, in the presence of endogeneity.

📄 PDF Abstract BibTeX arXiv:2410.01265

Code (0)

등록된 구현이 없습니다.

Tasks

regression

Similar Papers 제목 키워드 기반

Stochastic Online Instrumental Variable Regression: Regrets for Endogeneity and Bandit Feedback

2023-02-18 · Riccardo Della Vecchia, Debabrota Basu

Endogeneity, i.e. the dependence of noise and covariates, is a common phenomenon in real data due to omitted variables, strategic behaviours, measurement errors etc. In contrast, the existing analyses of stochastic onlin…

Causal Inferenceregression

Endogenous Heteroskedasticity in Linear Models

2024-12-03 · Javier Alejo, Antonio F. Galvao, Julian Martinez-Iriarte, Gabriel Montes-Rojas

Linear regressions with endogeneity are widely used to estimate causal effects. This paper studies a framework that involves two common issues: endogeneity of the regressors and heteroskedasticity that depends on endogen…

valid

One-step smoothing splines instrumental regression

2023-07-27 · Jad Beyhum, Elia Lapenta, Pascal Lavergne

We extend nonparametric regression smoothing splines to a context where there is endogeneity and instrumental variables are available. Unlike popular existing estimators, the resulting estimator is one-step and relies on…

regression

Transformers Learn Robust In-Context Regression under Distributional Uncertainty

2026-03-19 · Hoang T. H. Cao, Hai D. V. Trinh, Tho Quan, Lan V. Truong arxiv

Recent work has shown that Transformers can perform in-context learning for linear regression under restrictive assumptions, including i.i.d. data, Gaussian noise, and Gaussian regression coefficients. However, real-worl…

How Well Can Transformers Emulate In-context Newton's Method?

2024-03-05 · Angeliki Giannou, Liu Yang, Tianhao Wang, Dimitris Papailiopoulos 외

Transformer-based models have demonstrated remarkable in-context learning capabilities, prompting extensive research into its underlying mechanisms. Recent studies have suggested that Transformers can implement first-ord…

In-Context Learningregression