Robustly Train Normalizing Flows via KL Divergence Regularization
Kun Song, Ruben Solozabal, Hao Li, Martin Takác, Lu Ren, Fakhri Karray
Abstract
In this paper, we find that the training of Normalizing Flows (NFs) are easily affected by the outliers and a small number (or high dimensionality) of training samples. To solve this problem, we propose a Kullback–Leibler (KL) divergence regularization on the Jacobian matrix of NFs. We prove that such regularization is equivalent to adding a set of samples whose covariance matrix is the identity matrix to the training set. Thus, it reduces the negative influence of the outliers and the small sample number on the estimation of the covariance matrix, simultaneously. Therefore, our regularization makes the training of NFs robust. Ultimately, we evaluate the performance of NFs on out-of-distribution (OoD) detection tasks. The excellent results obtained demonstrate the effectiveness of the proposed regularization term. For example, with the help of the proposed regularization, the OoD detection score increases at most 30% compared with the one without the regularization.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ff29feca-3505-48e7-b1fa-7ac5316aecd3Builds on5
- Implicit Regularization in Deep Learning May Not Be Explainable by NormsNoam Razin, Nadav CohenNeurIPS 2020 · 178 citations
- Training Normalizing Flows with the Information Bottleneck for Competitive Generative ClassificationLynton Ardizzone, Radek Mackowiak, Carsten Rother, Ullrich KötheNeurIPS 2020 · 62 citations
- On the Out-of-distribution Generalization of Probabilistic Image ModellingMingtian Zhang, Andi Zhang, Steven McDonaghNeurIPS 2021 · 51 citations
- Local Implicit Normalizing Flow for Arbitrary-Scale Image Super-ResolutionJie-En Yao, Li-Yuan Tsao, Yi-Chen Lo, Roy Tseng et al.CVPR 2023
- Generative Classifiers as a Basis for Trustworthy Image ClassificationRadek Mackowiak, Lynton Ardizzone, Ullrich Köthe, Carsten RotherCVPR 2021
Related papers
- Why Normalizing Flows Fail to Detect Out-of-Distribution DataPolina Kirichenko, Pavel Izmailov, Andrew Gordon WilsonNeurIPS 2020 · 370 citations
- Noise-Robust Density Estimation for Tabular Data Anomaly DetectionDazhi Fu, Zhao Zhang, Jicong FanICML 2026
- Density-driven Regularization for Out-of-distribution DetectionWenjian Huang, Hao Wang, Jiahao Xia, Chengyan Wang et al.NeurIPS 2022 · 17 citations
- Unsupervised Anomaly Detection by Robust Density EstimationBoyang Liu, Pang-Ning Tan, Jiayu ZhouAAAI 2022 · 31 citations
- Rectangular Flows for Manifold LearningAnthony L. Caterini, Gabriel Loaiza-Ganem, Geoff Pleiss, John P. CunninghamNeurIPS 2021 · 58 citations
