在朗之万动力学训练中避免不安全集合 Avoiding unsafe sets when training with Langevin Dynamics 预印本
原文摘要
查看英文原文摘要
Training a model with noisy gradient descent can be idealized as overdamped Langevin dynamics, and a natural safety question is to bound the probability $ν_t(\mathcal{A}_H) = \mathbb{P}(Q_t \in \mathcal{A}_H)$ that the trajectory lies in a designated failure region $\mathcal{A}_H$. We study this for a smooth, strongly convex loss in $d$ dimensions, with $\mathcal{A}_H$ separated from the minimizer by an energy gap. At the end of training, the equilibrium mass $π(\mathcal{A}_H)$ is exponentially small in $d$, with a complementary energy-barrier rate when the noise is small. Along the trajectory, a shape-free bound $ν_t(\mathcal{A}_H) \le π(\mathcal{A}_H)(1 + \sqrt{χ_0^2/π(\mathcal{A}_H)}\,e^{-mt})$ shows the in-set probability relaxes to (twice) the static value after a burn-in of order $d$, using only the global spectral gap $m$. A worked Ornstein-Uhlenbeck example shows this burn-in is necessary: an angular slice of the equilibrium shell can transiently swell by a factor exponential in $d$, though its equilibrium mass is tiny. To rule this out we introduce a local relaxation rate, defined through the spectral measure of the region's centered indicator rather than a Dirichlet-form Rayleigh quotient. For geometrically isolated regions this rate exceeds the global one, shrinking the burn-in, and with a maximum-principle ceiling it caps the trajectory probability uniformly in time. Strong convexity sets how fast training relaxes, but the shape of the unsafe set decides whether the trajectory bulges through it on the way to equilibrium.
📚 参考文献 (31 条)
查看全部 31 条
- [1] A. Arnold, P. Markowich, G. Toscani, and A. Unterreiter, On convex Sobolev inequal- ities and the rate of convergence to equilibrium for Fokker–Planck type equations, Com- munications in Partial Differential Equations, 26 (2001), pp. 43–100, https://doi.org/10. 1081/PDE-100002246.
- [2] D. Bakry and M. ´Emery, Diffusions hypercontractives, in S´eminaire de Probabilit´es XIX 1983/84, J. Az´ema and M. Yor, eds., vol. 1123 of Lecture Notes in Mathematics, Springer, Berlin, Heidelberg, 1985, pp. 177–206, https://doi.org/10.1007/BFb0075847.
- [3] D. Bakry, I. Gentil, and M. Ledoux, Analysis and Geometry of Markov Diffusion Operators, vol. 348 of Grundlehren der mathematischen Wissenschaften, Springer, Cham, 2014, https: //doi.org/10.1007/978-3-319-00227-9.
- [4] D. G. T. Barrett and B. Dherin, Implicit gradient regularization, in International Conference on Learning Representations (ICLR 2021), 2021, https://arxiv.org/abs/2009.11162.
- [5] Y. Bengio, O. Richardson, T. Gavenˇciak, M. Cohen, R. Svarc, D. Fornasiere, G. Gen- dron, D. Hyland, A. Kamanda, A. Oberman, F. R. Ward, A. Gavenˇciak, J. L. Slosser, V. Mai, I. Serban, and J. Ghosn, Safety from honesty in a disinterested AI predictor, 2026, https://arxiv.org/abs/2606.29657.
- [6] A. Bovier, M. Eckhoff, V. Gayrard, and M. Klein, Metastability in reversible diffusion processes I: Sharp asymptotics for capacities and exit times, Journal of the European Mathematical Society, 6 (2004), pp. 399–424, https://doi.org/10.4171/JEMS/14.
- [7] A. Bovier, V. Gayrard, and M. Klein, Metastability in reversible diffusion processes II: Precise asymptotics for small eigenvalues, Journal of the European Mathematical Society, 7 (2005), pp. 69–99, https://doi.org/10.4171/JEMS/22.
- [8] H. J. Brascamp and E. H. Lieb, On extensions of the Brunn–Minkowski and Pr´ekopa– Leindler theorems, including inequalities for log concave functions, and with an appli- cation to the diffusion equation, Journal of Functional Analysis, 22 (1976), pp. 366–389, https://doi.org/10.1016/0022-1236(76)90004-5.
- [9] P. Cattiaux and A. Guillin, Semi log-concave Markov diffusions, S´eminaire de Probabilit´es, XLVI (2014), pp. 231–292. Surveys the Poincare constant under (semi) log-concavity, a standing assumption of Theorem 4.1.
- [10] S. Chewi, Log-concave sampling. Book draft, https://chewisinho.github.io/main.pdf, 2024.
- [11] S. Chewi, M. A. Erdogdu, M. B. Li, R. Shen, and M. S. Zhang, Analysis of Langevin Monte Carlo from Poincar´e to log-Sobolev, in Proceedings of the 35th Conference on Learning Theory (COLT 2022), vol. 178 of Proceedings of Machine Learning Research, PMLR, 2022, pp. 1–2, https://arxiv.org/abs/2112.12662.
- [12] X. Dai and Y. Zhu, On large batch training and sharp minima: A Fokker–Planck perspective, arXiv preprint arXiv:2112.00987, (2021), https://arxiv.org/abs/2112.00987.
- [13] M. A. Erdogdu, R. Hosseinzadeh, and S. Zhang, Convergence of Langevin Monte Carlo in chi-squared and R´enyi divergence, in Proceedings of the 25th International Conference on Artificial Intelligence and Statistics (AISTATS 2022), vol. 151 of Proceedings of Machine Learning Research, PMLR, 2022, pp. 8151–8175, https://arxiv.org/abs/2007.11612.
- [14] R. Holley and D. Stroock, Logarithmic Sobolev inequalities and stochastic Ising mod- els, Journal of Statistical Physics, 46 (1987), pp. 1159–1194, https://doi.org/10.1007/ BF01011161.
- [15] W. Hu, C. J. Li, L. Li, and J.-G. Liu, On the diffusion approximation of nonconvex stochastic gradient descent, Annals of Mathematical Sciences and Applications, 4 (2019), pp. 3–32, https://arxiv.org/abs/1705.07562.
- [16] E. Hubinger, C. van Merwijk, V. Mikulik, J. Skalse, and S. Garrabrant, Risks from learned optimization in advanced machine learning systems, tech. report, Machine Intelli- gence Research Institute, 2019, https://arxiv.org/abs/1906.01820.
- [17] Y. T. Lee and S. S. Vempala, Eldan’s stochastic localization and the KLS conjecture: Isoperimetry, concentration and mixing, Annals of Mathematics, 199 (2024), pp. 1043– 1092, https://doi.org/10.4007/annals.2024.199.3.2.
- [18] Q. Li, C. Tai, and W. E, Stochastic modified equations and dynamics of stochastic gradient algorithms I: Mathematical foundations, Journal of Machine Learning Research, 20 (2019), pp. 1–47, https://arxiv.org/abs/1811.01558.
- [19] L. Lov´asz and M. Simonovits, Random walks in a convex body and an improved volume algorithm, Random Structures & Algorithms, 4 (1993), pp. 359–412, https://doi.org/10. 1002/rsa.3240040402.
- [20] L. Lov´asz and S. Vempala, The geometry of logconcave functions and sampling algorithms, Random Structures & Algorithms, 30 (2007), pp. 307–358, https://doi.org/10.1002/rsa.
- AVOIDING UNSAFE SETS WHEN TRAINING WITH LANGEVIN DYNAMICS 21 20135.
- [21] S. Mandt, M. D. Hoffman, and D. M. Blei, Stochastic gradient descent as approximate Bayesian inference, Journal of Machine Learning Research, 18 (2017), pp. 1–35, https: //arxiv.org/abs/1704.04289.
- [22] P. A. Markowich and C. Villani, On the trend to equilibrium for the Fokker–Planck equa- tion: an interplay between physics and functional analysis, Matem´atica Contemporˆanea, 19 (2000), pp. 1–29.
- [23] G. Menz and A. Schlichting, Poincar´e and logarithmic Sobolev inequalities by decomposition of the energy landscape, The Annals of Probability, 42 (2014), pp. 1809–1884, https://doi. org/10.1214/14-AOP908.
- [24] G. A. Pavliotis, Stochastic Processes and Applications: Diffusion Processes, the Fokker– Planck and Langevin Equations, vol. 60 of Texts in Applied Mathematics, Springer, New York, 2014, https://doi.org/10.1007/978-1-4939-1323-7.
- [25] M. Raginsky, A. Rakhlin, and M. Telgarsky, Non-convex learning via stochastic gradient Langevin dynamics: A nonasymptotic analysis, in Proceedings of the 30th Conference on Learning Theory (COLT 2017), vol. 65 of Proceedings of Machine Learning Research, PMLR, 2017, pp. 1674–1703, https://arxiv.org/abs/1702.03849.
- [26] J. Skalse, N. H. R. Howe, D. Krasheninnikov, and D. Krueger, Defining and character- izing reward hacking, in Advances in Neural Information Processing Systems 35 (NeurIPS 2022), 2022, https://arxiv.org/abs/2209.13085.
- [27] S. L. Smith, B. Dherin, D. G. T. Barrett, and S. De, On the origin of implicit regularization in stochastic gradient descent, in International Conference on Learning Representations (ICLR 2021), 2021, https://arxiv.org/abs/2101.12176.
- [28] S. S. Vempala and A. Wibisono, Rapid convergence of the unadjusted Langevin algorithm: Isoperimetry suffices, in Advances in Neural Information Processing Systems 32 (NeurIPS 2019), 2019, pp. 8094–8106, https://arxiv.org/abs/1903.08568.
- [29] M. Welling and Y. W. Teh, Bayesian learning via stochastic gradient Langevin dynamics, in Proceedings of the 28th International Conference on Machine Learning (ICML 2011), 2011, pp. 681–688.
- [30] Y. Zhang, P. Liang, and M. Charikar, A hitting time analysis of stochastic gradient Langevin dynamics, in Proceedings of the 30th Conference on Learning Theory (COLT 2017), vol. 65 of Proceedings of Machine Learning Research, PMLR, 2017, pp. 1980–2022, https://arxiv.org/abs/1702.05575.