paper-with-me

Papers

In-Context Function Learning in Large Language Models

2026-02-12 · Elif Akata, Konstantinos Voudouris, Vincent Fortuin, Eric Schulz arxiv

Large language models (LLMs) can learn from a few demonstrations provided at inference time. We study this in-context learning phenomenon through the lens of Gaussian Processes (GPs). We build controlled experiments where models observe sequences of multivariate scalar-valued function samples drawn from known GP priors. We evaluate prediction error in relation to the number of demonstrations and compare against two principled references: (i) an empirical GP-regression learner that gives a lower bound on achievable error, and (ii) the expected error of a 1-nearest-neighbor (1-NN) rule, which gives a data-driven upper bound. Across model sizes, we find that LLM learning curves are strongly influenced by the function-generating kernels and approach the GP lower bound as the number of demonstrations increases. We then study the inductive biases of these models using a likelihood-based analysis. We find that LLM predictions are most likely under less smooth GP kernels. Finally, we explore whether post-training can shift these inductive biases and improve sample-efficiency on functions sampled from GPs with smoother kernels. We find that both reinforcement learning and supervised fine-tuning can effectively shift inductive biases in the direction of the training data. Together, our framework quantifies the extent to which LLMs behave like GP learners and provides tools for steering their inductive biases for continuous function learning tasks.

📄 PDF Abstract BibTeX arXiv:2602.11863

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningGaussian Processes

Similar Papers 제목 키워드 기반

YABLoCo: Yet Another Benchmark for Long Context Code Generation

2025-05-07 · Aidar Valeev, Roman Garaev, Vadim Lomshakov, Irina Piontkovskaya 외

Large Language Models demonstrate the ability to solve various programming tasks, including code generation. Typically, the performance of LLMs is measured on benchmarks with small or medium-sized context windows of thou…

Code Generation

RepoQA: Evaluating Long Context Code Understanding

2024-06-10 · Jiawei Liu, Jia Le Tian, Vijay Daita, Yuxiang Wei 외

Recent advances have been improving the context windows of Large Language Models (LLMs). To quantify the real long-context capabilities of LLMs, evaluators such as the popular Needle in a Haystack have been developed to …

Code Search

Fisher Random Walk: Automatic Debiasing Contextual Preference Inference for Large Language Model Evaluation

2025-09-06 · Yichi Zhang, Alexander Belloni, Ethan X. Fang, Junwei Lu 외 arxiv

Motivated by the need for rigorous and scalable evaluation of large language models, we study contextual preference inference for pairwise comparison functionals of context-dependent preference score functions across dom…

LICO: Large Language Models for In-Context Molecular Optimization

2024-06-27 · Tung Nguyen, Aditya Grover

Optimizing black-box functions is a fundamental problem in science and engineering. To solve this problem, many approaches learn a surrogate function that estimates the underlying objective from limited historical evalua…

Language ModelingLanguage Modelling

Black-box language model explanation by context length probing

2022-12-30 · Ondřej Cífka, Antoine Liutkus

The increasingly widespread adoption of large language models has highlighted the need for improving their explainability. We present context length probing, a novel explanation technique for causal language models, base…

Language ModelingLanguage Modelling