Steering Away from Memorization: Reachability-Constrained Reinforcement Learning for Text-to-Image Diffusion
Organizations: Stanford University, Stanford, CA, USA · Yonsei University, Seoul, Korea
Abstract
Text-to-image diffusion models often memorize training data, revealing a fundamental failure to generalize beyond the training set. Current mitigation strategies typically sacrifice image quality or prompt alignment to reduce memorization. To address this, we propose Reachability-Aware Diffusion Steering (RADS), an inference-time framework that prevents memorization while preserving generation fidelity. RADS models the diffusion denoising process as a dynamical system and applies concepts from reachability analysis to approximate the "backward reachable tube"--the set of intermediate states that inevitably evolve into memorized samples. We then formulate mitigation as a constrained reinforcement learning (RL) problem, where a policy learns to steer the trajectory away from memorization via minimal perturbations in the caption embedding space. Empirical evaluations show that RADS achieves a superior Pareto frontier between generation diversity (SSCD), quality (FID), and alignment (CLIP) compared to state-of-the-art baselines. Crucially, RADS provides robust mitigation without modifying the diffusion backbone, offering a plug-and-play solution for safe generation. Our website is available at: https://s-karnik.github.io/rads-memorization-project-page/.
Figures & tables
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Time (s) |
|---|---|
| No mitigation | 2.2950 ± 0.1580 |
| Wen et al. (2024) | 2.8983 ± 0.0459 |
| Ren et al. (2024) | 2.7544 ± 0.0404 |
| Hintersdorf et al. (2024) | 104.0895 ± 48.9586 |
| Jain et al. (2025) | 2.2322 ± 0.0368 |
| rads (ours) | 2.9262 ± 0.0335 |
Memorization in Generative Models
Memorization in generative models studies when models retain training examples, how to detect their recall, and how to limit it without losing utility.
See all 85 papers