paper-with-me

Papers

Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent

2026-05-07 · Chenyang Zhang, Yuan Cao arxiv

Transformers have demonstrated remarkable in-context learning (ICL) capabilities. The strong ICL performance of transformers is commonly believed to arise from their ability to implicitly execute certain algorithms on the context, thereby enhancing prediction and generation. In this work, we investigate how transformers with softmax attention perform in-context learning on linear classification data. We first construct a class of multi-layer transformers that can perform in-context logistic regression, with each layer exactly performing one step of normalized gradient descent on an in-context loss. Then, we show that our constructed transformer can be obtained through (i) training a single self-attention layer supervised by one-step gradient descent, and (ii) recurrently applying the trained layer to obtain a looped model. Training convergence guarantees of the self-attention layer and out-of-distribution generalization guarantees of the looped model are provided. Our results advance the theoretical understanding of ICL mechanism by showcasing how softmax transformers can effectively act as in-context learners.

📄 PDF Abstract BibTeX arXiv:2605.06609

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

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

Efficient and Minimax Optimal In-context Nonparametric Regression with Transformers

2026-01-21 · Michelle Ching, Ioana Popescu, Nico Smith, Tianyi Ma 외 arxiv

We study in-context learning for nonparametric regression with $α$-Hölder smooth regression functions, for some $α>0$. We prove that, with $n$ in-context examples and $d$-dimensional regression covariates, a pretrained t…

A Fused Elastic Net Logistic Regression Model for Multi-Task Binary Classification

2013-12-30 · Venelin Mitov, Manfred Claassen

Multi-task learning has shown to significantly enhance the performance of multiple related learning tasks in a variety of situations. We present the fused logistic regression, a sparse multi-task learning approach for bi…

Binary ClassificationGeneral ClassificationMulti-Task Learningregression

PLUTO: Penalized Unbiased Logistic Regression Trees

2014-11-25 · Wenwen Zhang, Wei-Yin Loh

We propose a new algorithm called PLUTO for building logistic regression trees to binary response data. PLUTO can capture the nonlinear and interaction patterns in messy data by recursively partitioning the sample space.…

regressionSelection biasVariable Selection

Logarithmic Regret for parameter-free Online Logistic Regression

2019-02-26 · Joseph De Vilmarest, Olivier Wintenberger

We consider online optimization procedures in the context of logistic regression, focusing on the Extended Kalman Filter (EKF). We introduce a second-order algorithm close to the EKF, named Semi-Online Step (SOS), for wh…

regression