← News

ResearchSources: arXiv · 1 Dec 2026

Researchers propose supervised similarity for local regression, introducing attention lasso

A new arXiv paper borrows the example-weighting idea behind in-context learning to build local regression methods, with attention lasso as the leading example.

In plain words

The authors propose a way to make predictions for one data point at a time by giving more weight to training examples that are similar to it, where similarity is learned from the prediction task itself rather than fixed in advance. Their main example, attention lasso, fits a personalized model per prediction point while sharing a penalty and blending with a global model to keep complexity controlled.

What was announced

The paper, posted on arXiv, argues that in-context learning, in which transformers adapt to heterogeneous data by attending to relevant training examples, offers a template for improving local regression. Standard local regression weights neighboring points using covariates alone, which the authors describe as potentially suboptimal; their framework instead defines similarity in a supervised manner, upweighting training examples that help prediction for each test observation.

Attention lasso is the leading example: it fits a personalized lasso for each prediction point using the supervised similarity metric. To control complexity, the method shares one lasso penalty across points and blends the local model with a global model through a cross-validated parameter. The authors say the framework also accommodates other learners such as gradient boosting and extends to time series and spatial data. They provide theory for a hard-attention variant that fits lasso models in the nodes of a single CART tree, showing it recovers the support and coefficient signs of each query's local linear model in a sparse, continuous, piecewise affine setting, and achieves lower prediction risk than any global affine fit when the regression function is not affine.

What it does not show

  • The evidence is limited to the paper's abstract, so the methods, proofs and experiments are not independently verified and no benchmark numbers or availability details are given.

Sources

Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 5 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.