Compiling Learning Problems into Adaptation Programs for Language Models
Rebecca Ramnauth, Brian Scassellati
Key points
From the paper's conclusion- We introduce adaptation compilation, which reframes model adaptation as a joint prediction and decision problem.
- Compiler-selected programs on Llama-3.1-8B approach exhaustive search while outperforming global and objective-specific defaults.
- Adaptation search can be amortized across related learning problems, turning prior adaptation experience into a basis for deciding how future learning should occur.
Abstract
Model adaptation is typically governed by a fixed recipe, even though different update programs can produce substantially different behavioral outcomes. We introduce adaptation compilation, which reframes where, how, and to what extent a model should adapt as a joint prediction and decision problem. Rather than searching over candidate programs anew for each learning episode, a compiler learns from prior adaptations to predict a vector-valued counterfactual response surface over candidate programs---their expected effects on acquisition, transfer, boundedness, and preservation---and selects a program before adaptation begins. Because this predicted geometry captures multiple behavioral consequences rather than a single winner or scalar score, it can be reused under different downstream priorities without retraining. Across five learning types, preferred programs vary meaningfully across episodes, and this variation is predictable from pre-adaptation information. On Llama-3.1-8B, compiler-selected programs approach exhaustive search while outperforming global and objective-specific defaults. Replication on Gemma-2-9B preserves program heterogeneity and selection headroom, but shows that exploiting this headroom requires accounting for uncertainty when departing from strong defaults. Together, these results show that adaptation search can be amortized across related learning problems, turning prior adaptation experience into a basis for deciding how future learning should occur.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We introduce adaptation compilation, which reframes model adaptation as a joint prediction and decision problem.
- Compiler-selected programs on Llama-3.1-8B approach exhaustive search while outperforming global and objective-specific defaults.
- Adaptation search can be amortized across related learning problems, turning prior adaptation experience into a basis for deciding how future learning should occur.
Readers' thoughts
No reader thoughts yet.
Related papers
- Where to Adapt Matters: Layer-Selective Fine-Tuning for Capability RetentionarXiv · 2026
- Steerable Multi-Objective Group-Relative Preference Optimization with Jointly Trained Low-Rank AdaptersarXiv · 2026
- Load-Adaptive Curriculum Distillation for Procedural Planning in Small Language ModelsApplied Sciences · 2026
- Failure-Guided Co-Evolution of Prompts and Training DataarXiv · 2026
- AgentPRO: Coordinating Compiler Optimizations for LLM Agent WorkflowsarXiv · 2026
- CogAdapt: Cognition-informed Sparse Adaptation of Code LLMsarXiv · 2026