Test-Time Self-Distillation
Abstract
We study the discovery problem in difficult binary-reward tasks, where the goal is to find a solution in as little attempts as possible. Whereas prior approaches rely on repeatedly sampling from the base model reflecting on past failures, we introduce a Test-Time Training (TTT) method that enables the model to continue learning at test-time well beyond its limited context length. Previous applications of TTT to discovery problems have been limited to continuous rewards, since they allow hill-climbing on suboptimal solutions with scalar rewards. This fails in binary-reward tasks where the reward only provides a learning signal once a solution has already been found. We introduce Test-Time Self-Distillation, which converts environment feedback on past failures into dense learning signals through Self-Distillation Policy Optimization (SDPO). SDPO treats the current model conditioned on feedback as a self-teacher and distills its feedback-informed next-token predictions back into the policy. In this way, SDPO leverages the model's ability to retrospectively identify its own mistakes in-context. On difficult competitive programming problems from LiveCodeBench, test-time self-distillation achieves the same discovery probability as best-of-$k$ sampling or multi-turn conversations with $3\times$ fewer attempts.
BibTeX
@inproceedings{hubotter2026test,
author = {Jonas Hübotter and Frederike Lübeck and Lejs Deen Behric and Anton Baumann and Marco Bagatella and Daniel Marta and Ido Hakimi and Idan Shenfeld and Thomas Kleine Buening and Carlos Guestrin and Andreas Krause},
title = {{Test-Time Self-Distillation}},
booktitle = {RSI @ ICLR},
year = {2026},
url = {https://openreview.net/forum?id=iEmRSwdzyw},
}Ask Althea to put this paper to the test.
Loading related content...