cs.AINov 30, 2026

Continuous Learning from Executable Environments: Autonomous Skill Acquisition, Retention, and Transfer in Language Models

Authors: Martin Schroeder

Organizations: Swedish Embedded AB

Abstract

A language model does not keep the experience of a task it completes. Where an attempt can be checked by executing it, that experience can become training data without human-written tasks or labels. We present and evaluate a framework that generates practice tasks, verifies attempts by execution, trains a small adapter (added weights; the base model remains fixed) on the verified records, and repeats, one generation per repetition, evaluating every model on a held-out examination that no stage of the pipeline reads. In predicting the output of Lua programs, using an interpreter as the sole source of labels, a 4-billion-parameter (4B) model's examination accuracy rises from 5.05% to 13.24% over four generations. In editing files with Vim, a larger teacher model writes tasks from the user manual and supplies most verified solutions. Trained on these records, the 4B model solves hand-written examination tasks its base never solves (up to 3.50% of attempts, versus 62.25% for the teacher), whereas a control trained with mismatched task requests solves none. On 228 easier hand-written course exercises, the pass rate rises from 15-16% to 37-41% (exploratory). An iterative protocol then ran three generations with 4B and 8B models, governing every release by a fixed rule. In the first generation, examination gains were one-tenth to one-fifth of the gains on held-out generated tasks. Across training seeds, later candidates averaged 1.2 to 6.1 percentage points above their baselines on generated tasks, implying an expected examination gain of 0.1 to 1.3 points, below the 100-task examination's 2.8-point detection threshold. Consequently, no later examination gain was established, and because outcomes were recorded per attempt rather than per task, whether transfer, acquisition, or retention stalled remains undecided.

Figures & tables

Appendix figures & tables23 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Nov 25, 2026

When Skills Fail to Compose: Compatibility and Retention in Language Models

Skill acquisition alone does not establish a reusable skill library: task proficiency does not specify a compositional interface. Motivated by agents that acquire and refine skills, we study independently learned soft-prompt skills on frozen language models, with skill identities and execution order supplied. Across four digit-task bases and three record-editing models, mean composition accuracy in one call is at most 7.6%, compared with 88.2% to 100% over two calls that add computation and an explicit intermediate output. Neutral-insertion training improves robustness but leaves substantial interference, which block length and per-token norm alone cannot explain on two of four digit bases. Blocks of the same operation need not be interchangeable: after training next to frozen learned partners, a post hoc test on two Qwen bases shows that replacing those partners with independently learned blocks of the same operations lowers median composition accuracy from 98.0% and 95.3% to 12.7% and 0.5%, although every replacement scores at least 90% alone. Repair can improve a composition while impairing the original skill, and rehearsal improves retention while transfer remains limited on Qwen2.5-0.5B. Internal interventions constrain explanations without identifying a shared failure mechanism. These findings motivate evaluating compatibility, retention and transfer alongside acquisition when building skill libraries for self-evolving agents. Code is available at https://github.com/YanLin-Quinne/SkillCompatibility.
Oct 8, 2026

Self-Preservation in Language Models

Continual learning (CL) seeks to adapt pretrained models while preserving prior capabilities. Yet the tasks supplied for preservation cover only part of what a model knows, while forgetting can extend beyond them. Recent work shows that language models can supplement this limited evidence by generating useful replay without access to their original training data. This raises a question about self-preservation: can a model help choose preservation targets that protect its own capabilities more broadly? To study this question, we organize task descriptions and their examples into Task Banks, whose entries can be selected and combined to guide replay generation by a frozen model. Continual instruction tuning with Qwen models of varying sizes yields three findings. First, the new task and learning rate shape which prior capabilities degrade, while tracking previously correct answers reveals losses that average accuracy can conceal. Second, generated replay reduces forgetting on tasks outside the bank. Combining partial banks strengthens this protection, improving mean retention of previously correct answers over either bank alone across the tested sizes. Third, the model can also help choose replay targets: selection informed by the new task improves mean held-out retention over random selection at 4B, with similar new-task gains, although smaller models show no corresponding advantage. Under a fixed example budget, however, replacing new-task examples with replay improves preservation at the cost of smaller new-task gains. Together, these findings show that models can support broader self-preservation by generating replay data and, in some settings, choosing which tasks to replay.
Sep 24, 2026

Post-Training Leaves Behavioral Shadows on Unrelated Decisions

We find that language models can transfer capabilities through task-unrelated text. Post-training typically improves language models using task-specific data. Prior work on subliminal learning shows that information about these updates can pass through unrelated generations, but has largely focused on traits or preferences using extensive teacher outputs. We introduce Active Taskless Distillation (ATD), which achieves capability transfer using only a single word from the teacher per prompt. ATD probes the behavioral shadow of post-training by selecting prompts where the teacher and student's shared public ancestor is nearly indifferent between two ordinary words. A student initialized from this ancestor learns solely from the resulting prompt-word pairs, without target-task examples, teacher logits, or teacher parameters. In the primary coding experiment with Qwen2.5-1.5B, 5,664nses yield a 5.34 pp gain on HumanEval+ over an exact nuisance-matched control thadisrupts prompt-resperiments showtransfer in scientific knowledge, commonsense reasoning, and reading comprehensins across additional model generations, sizes, and families. Functional analyses show that the learned sid composable, andthat its strength tracks the teacher's update strength.