paper-with-me

Papers

The Alchemy of Thought: Understanding In-Context Learning Through Supervised Classification

2026-01-03 · Harshita Narnoli, Mihai Surdeanu arxiv

In-context learning (ICL) has become a prominent paradigm to rapidly customize LLMs to new tasks without fine-tuning. However, despite the empirical evidence of its usefulness, we still do not truly understand how ICL works. In this paper, we compare the behavior of in-context learning with supervised classifiers trained on ICL demonstrations to investigate three research questions: (1) Do LLMs with ICL behave similarly to classifiers trained on the same examples? (2) If so, which classifiers are closer, those based on gradient descent (GD) or those based on k-nearest neighbors (kNN)? (3) When they do not behave similarly, what conditions are associated with differences in behavior? Using text classification as a use case, with six datasets and three LLMs, we observe that LLMs behave similarly to these classifiers when the relevance of demonstrations is high. On average, ICL is closer to kNN than logistic regression, giving empirical evidence that the attention mechanism behaves more similarly to kNN than GD. However, when demonstration relevance is low, LLMs perform better than these classifiers, likely because LLMs can back off to their parametric memory, a luxury these classifiers do not have.

📄 PDF Abstract BibTeX arXiv:2601.01290

Code (0)

등록된 구현이 없습니다.

Tasks

Text Classification

Similar Papers 제목 키워드 기반

A model-based approach to meta-Reinforcement Learning: Transformers and tree search

2022-08-24 · Brieuc Pinon, Jean-Charles Delvenne, Raphaël Jungers

Meta-learning is a line of research that develops the ability to leverage past experiences to efficiently solve new learning problems. Meta-Reinforcement Learning (meta-RL) methods demonstrate a capability to learn behav…

Meta-LearningMeta Reinforcement Learningreinforcement-learningReinforcement Learning (RL)

LinguAlchemy: Fusing Typological and Geographical Elements for Unseen Language Generalization

2024-01-11 · Muhammad Farid Adilazuarda, Samuel Cahyawijaya, Alham Fikri Aji, Genta Indra Winata 외

Pretrained language models (PLMs) have become remarkably adept at task and language generalization. Nonetheless, they often fail when faced with unseen languages. In this work, we present LinguAlchemy, a regularization m…

intent-classificationIntent ClassificationLanguage ModellingNews Classification+1

Alchemy: A Quantum Chemistry Dataset for Benchmarking AI Models

2019-06-22 · Guangyong Chen, Pengfei Chen, Chang-Yu Hsieh, Chee-Kong Lee 외

We introduce a new molecular dataset, named Alchemy, for developing machine learning models useful in chemistry and material science. As of June 20th 2019, the dataset comprises of 12 quantum mechanical properties of 119…

BenchmarkingBIG-bench Machine LearningDiversityGraph Neural Network

How to Learn and Represent Abstractions: An Investigation using Symbolic Alchemy

2021-12-14 · Badr AlKhamissi, Akshay Srinivasan, Zeb-Kurth Nelson, Sam Ritter

Alchemy is a new meta-learning environment rich enough to contain interesting abstractions, yet simple enough to make fine-grained analysis tractable. Further, Alchemy provides an optional symbolic interface that enables…

Meta-Learning

A Simple and Plug-and-play Method for Unsupervised Sentence Representation Enhancement

2023-05-13 · Lingfeng Shen, Haiyun Jiang, Lemao Liu, Shuming Shi

Generating proper embedding of sentences through an unsupervised way is beneficial to semantic matching and retrieval problems in real-world scenarios. This paper presents Representation ALchemy (RepAL), an extremely sim…

RetrievalSentenceSentence EmbeddingSentence-Embedding