K. Abdel Sadek*, F. Di Gennaro*, F. Yang
* Equal contribution, alphabetical order
arXiv preprint, 2026
Abstract
Training models on their own outputs has attracted widespread attention as a possible route to advance AI capabilities. One prominent approach is self-distillation, where a model is trained to match the token-level predictions it would have produced when given access to additional context, such as a cue, feedback, or instruction. However, the safety properties of this training procedure are poorly understood. In this paper, we present a surprising safety failure of recursive self-distillation, where each self-distilled model becomes the teacher for the next round of training. We observe that when a safe model is recursively self-distilled on its own (safe) generations while receiving an additional non-harmful cue, it becomes increasingly misaligned across a diverse set of harmful queries; we call this Progressive Misalignment. We show this failure mode in both the Qwen3 and Phi-4 model families on SORRY-Bench and StrongREJECT. Progressive misalignment also occurs in a more realistic setup, where the fixed cue is replaced by feedback from a simulated user with benign intent. Using a gradient-based method, we are also able to find benign prompts that lead to progressive misalignment when applying recursive self-distillation, showing that harmful training prompts are not necessary for this failure mode to emerge. We hope our work encourages future investigations of the safety properties of AI systems recursively trained on their own data.
R. De Santi*, F. Di Gennaro*, A. Gnazzo*, S. Tang, P. Chatterjee, F. Yang, İ. İ. Ceylan, M. M. Bronstein, A. Krause
* Equal contribution, alphabetical order
arXiv preprint, 2026
Abstract
Generative discovery in science requires coupling high-level scientific reasoning with the ability to generate samples respecting the structure of a design space. Yet these capabilities remain largely separated: foundation LLMs encode broad chemical and biological knowledge, while domain-specific flow- and diffusion-based generators capture the priors needed to produce valid sequences and geometries. We study how to align such scientific generators to high-level natural-language discovery goals without requiring an explicit proxy reward, which is often unavailable or poorly captured by learned predictors in experimental sciences. We introduce LLM-to-Flow Distillation (LFD), where a frozen LLM acts as an adaptive teacher for a domain-specific generator. Given a goal such as ‘generate peptides with promising anticancer activity’, the teacher constructs a curriculum of intermediate sub-goals aware of the flow’s current capabilities, and progressively directs them toward the original discovery goal. At each round, the LLM judges sampled candidates under the current objective. These judgments induce preferences that are iteratively distilled into the generator through DPO. This procedure provides dense learning signals even when the initial model places negligible probability on designs satisfying the final goal, enabling adaptation toward poorly covered, out-of-distribution regions. Experiments on therapeutic peptides and small-molecule structure design demonstrate that LFD enables a new form of generative control: aligning arbitrary domain-specific scientific generators to scientific discovery tasks expressed via high-level natural-language goals.
F. Di Gennaro*, A. Shevchenko*, F. Yang
* Equal contribution
arXiv preprint, 2026
Abstract
Language-model unlearning updates a trained model to behave as if it had not seen selected training examples, while preserving utility and avoiding costly retraining. Existing approaches typically fine-tune the pretrained model with a fixed training budget and select the final model afterwards by evaluating several saved checkpoints on downstream validation data. Two sources of unnecessary computation limit scalability: training beyond the desired forget-retain trade-off, and checkpoint selection that requires extra storage and repeated evaluations. To address these limitations, we introduce MArgin Self-Correction (MASC), an efficient unlearning method with an online stopping rule that does not require downstream evaluation. Given a text sequence to be forgotten, MASC actively reduces the logit gap between the original next token and the most likely alternatives. It outputs a final model once this gap is small on average over a sufficiently large proportion of token positions across all forget sequences. On TOFU, MUSE News, and MUSE Books, MASC achieves a competitive forget-retain trade-off at a fraction of the computational cost of existing baselines. We further observe that as we increase model size (a.k.a. number of parameters), the trade-offs improve for both MASC and SimNPO – the forget metrics remain comparable while retain utility increases.
T. Wegel, F. Di Gennaro*, G. So*, F. Yang
* Equal contribution
International Conference on Machine Learning (ICML), Spotlight (top 2.2%), 2026
Abstract
When a learner faces a new task with few samples, it must leverage any available side information. In practice, this often comes in the form of model evaluations on related tasks in public benchmarks. A key question then is how to model task relatedness such that it is both realistic and the benchmark evaluations lead to provable gains. Empirically, we observe that weak monotonicity is often approximately satisfied: if a model dominates another on many benchmarks, it also tends to outperform on the new task. We explore the statistical complexity of learning under (approximate) weak monotonicity, leveraging it within two learning paradigms: transfer learning and model selection aggregation. We show that not only can we prune the model class based on monotonicity, but we can also further adapt to the geometry of the available trade-offs by hedging on the frontier.
F. Di Gennaro, S. Chakraborty, N. Zhivotovskiy
International Conference on Artificial Intelligence and Statistics (AISTATS), 2026
Abstract
This paper explores the Exponential Weights (EW) algorithm with an isotropic Gaussian prior for online logistic regression. Our analysis establishes a near-optimal worst-case regret bound of order $O\left(d \log(Bn)\right)$ against the best linear predictor of norm at most $B$ (Kakade and Ng, 2005), together with a practical implementation whose total worst-case runtime is $\tilde O(B^3 n^5)$ – a substantial improvement over the $O(B^{18} n^{37})$ complexity of prior work achieving the same regret rate (Foster et al., 2018). Beyond efficiency, we characterize EW in the linearly separable regime: as $B\to\infty$, the posterior converges to a truncated Gaussian supported on the version cone, and the resulting predictor converges to a solid-angle vote over separating directions. In addition, the mode of this (truncated Gaussian) distribution aligns in direction with the hard-margin SVM solution. As a consequence, we show that, non-asymptotically and once $B$ exceeds a margin-dependent threshold, the regret becomes independent of $B$ and scales only logarithmically with the margin. Overall, our results demonstrate that EWA can be both computationally tractable and geometrically adaptive in online classification.