用于流形学习的矩形流
Rectangular Flows for Manifold Learning
摘要:
规范化流是可逆的神经网络与易处理的体积变化的条款,允许其参数的优化,以有效地执行通过极大似然。然而,感兴趣的数据通常被假设为存在于嵌入在高维环境空间中的一些(通常是未知的)低维流形中。其结果是建模不匹配,因为-通过构造-可逆性要求意味着学习分布的高维支持。内射流,从低维到高维空间的映射,旨在通过学习流形上的分布来解决这种差异,但由此产生的体积变化项变得更具挑战性。目前的方法要么避免完全使用各种数学方法来计算这一项,要么假设流形是预先已知的,因此并不广泛适用。相反,我们提出了两种方法来计算这个术语相对于模型参数的梯度,依赖于仔细使用自动微分和数值线性代数的技术。这两种方法都对投影到该流形上的数据执行端到端的非线性流形学习和密度估计。我们研究了我们提出的方法之间的权衡,经验验证,我们优于忽略体积变化项的方法,更准确地学习流形和相应的分布,并显示出有希望的结果分布外检测。我们的代码可在https://github.com/layer6ai-labs/rectangular-flows上获得。
英文摘要:
Normalizing flows are invertible neural networks with tractable change-of-volume terms, which allow optimization of their parameters to be efficiently performed via maximum likelihood. However, data of interest are typically assumed to live in some (often unknown) low-dimensional manifold embedded in a high-dimensional ambient space. The result is a modelling mismatch since -- by construction -- the invertibility requirement implies high-dimensional support of the learned distribution. Injective flows, mappings from low- to high-dimensional spaces, aim to fix this discrepancy by learning distributions on manifolds, but the resulting volume-change term becomes more challenging to evaluate. Current approaches either avoid computing this term entirely using various heuristics, or assume the manifold is known beforehand and therefore are not widely applicable. Instead, we propose two methods to tractably calculate the gradient of this term with respect to the parameters of the model, relying on careful use of automatic differentiation and techniques from numerical linear algebra. Both approaches perform end-to-end nonlinear manifold learning and density estimation for data projected onto this manifold. We study the trade-offs between our proposed methods, empirically verify that we outperform approaches ignoring the volume-change term by more accurately learning manifolds and the corresponding distributions on them, and show promising results on out-of-distribution detection. Our code is available at https://github.com/layer6ai-labs/rectangular-flows.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。