[2410.03140] In-context Learning in Presence of Spurious Correlations

[2410.03140] In-context Learning in Presence of Spurious Correlations

arXiv - Machine Learning 3 min read

About this article

Abstract page for arXiv paper 2410.03140: In-context Learning in Presence of Spurious Correlations

Computer Science > Machine Learning arXiv:2410.03140 (cs) [Submitted on 4 Oct 2024 (v1), last revised 1 Apr 2026 (this version, v2)] Title:In-context Learning in Presence of Spurious Correlations Authors:Hrayr Harutyunyan, Rafayel Darbinyan, Samvel Karapetyan, Hrant Khachatrian View a PDF of the paper titled In-context Learning in Presence of Spurious Correlations, by Hrayr Harutyunyan and 3 other authors View PDF HTML (experimental) Abstract:Large language models exhibit a remarkable capacity for in-context learning, where they learn to solve tasks given a few examples. Recent work has shown that transformers can be trained to perform simple regression tasks in-context. This work explores the possibility of training an in-context learner for classification tasks involving spurious features. We find that the conventional approach of training in-context learners is susceptible to spurious features. Moreover, when the meta-training dataset includes instances of only one task, the conventional approach leads to task memorization and fails to produce a model that leverages context for predictions. Based on these observations, we propose a novel technique to train such a learner for a given classification task. Remarkably, this in-context learner matches and sometimes outperforms strong methods like ERM and GroupDRO. However, unlike these algorithms, it does not generalize well to other tasks. We show that it is possible to obtain an in-context learner that generalizes to unsee...

Originally published on April 03, 2026. Curated by AI News.

Related Articles

Llms

My Unsupervised Compliance Layer Project

A bit of context, my work has been mostly around building agentic pipelines. I really love the craft. My latest side project was a delibe...

Reddit - Artificial Intelligence · 1 min ·
Llms

I’m 17 and built an AI that flirts, remembers you, watches your shows, and replies to your reels…

V3 is done and it’s getting… weird. This thing now: auto-replies to DMs with tone adjustment reads images, transcribes voice notes, repli...

Reddit - Artificial Intelligence · 1 min ·
Llms

Claude Mythos AI unauthorised access claim probed by Anthropic

submitted by /u/unserious-dude [link] [comments]

Reddit - Artificial Intelligence · 1 min ·
Google makes an interesting choice with its new agent building tool for enterprises | TechCrunch
Llms

Google makes an interesting choice with its new agent building tool for enterprises | TechCrunch

Gemini Enterprise Agent Platform takes an interesting approach: it is geared for IT and technical users.

TechCrunch - AI · 4 min ·
More in Llms: This Week Guide Trending

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime