arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.00864stat.MLcs.AIcs.LGmath.OCphysics.comp-ph
收藏

通过梯度流实现显式且数据高效的编码

Explicit and data-Efficient Encoding via Gradient Flow

ETH Zurich(苏黎世联邦理工学院)

Kyriakos Flouris, Anna Volokitin, Gustav Bredell, Ender Konukoglu

AI总结:

提出一种基于梯度流和ODE的decoder-only编码方法,通过伴随训练、二阶加速与自适应求解实现显式、高精度且数据高效的编码。

摘要:

autoencoder模型通常使用编码器将数据映射到较低维的潜在空间,并用解码器重建数据。然而,依赖编码器进行反演可能产生次优表示,在精度至关重要的物理科学中尤其具有局限性。我们提出一种仅使用解码器的方法,利用梯度流将数据直接编码到由常微分方程(ODE)定义的潜在空间中。该方法消除了对近似编码器反演的需求。我们通过伴随方法训练解码器,并表明可以避免计算成本高昂的积分,同时只造成极小的精度损失。此外,我们提出一种二阶ODE变体,近似Nesterov加速梯度下降,以实现更快收敛。为处理刚性ODE,我们采用优先考虑损失最小化的自适应求解器,从而提高鲁棒性。与传统autoencoder相比,我们的方法展现出显式编码和更优的数据效率,这对于物理科学中数据稀缺的场景至关重要。此外,本工作为将机器学习集成到精确且高效编码至关重要的科学工作流中铺平了道路。本工作的代码可在https://github.com/k-flouris/gfe获取。

英文摘要:

The autoencoder model typically uses an encoder to map data to a lower dimensional latent space and a decoder to reconstruct it. However, relying on an encoder for inversion can lead to suboptimal representations, particularly limiting in physical sciences where precision is key. We introduce a decoder-only method using gradient flow to directly encode data into the latent space, defined by ordinary differential equations (ODEs). This approach eliminates the need for approximate encoder inversion. We train the decoder via the adjoint method and show that costly integrals can be avoided with minimal accuracy loss. Additionally, we propose a $2^{nd}$ order ODE variant, approximating Nesterov's accelerated gradient descent for faster convergence. To handle stiff ODEs, we use an adaptive solver that prioritizes loss minimization, improving robustness. Compared to traditional autoencoders, our method demonstrates explicit encoding and superior data efficiency, which is crucial for data-scarce scenarios in the physical sciences. Furthermore, this work paves the way for integrating machine learning into scientific workflows, where precise and efficient encoding is critical. \footnote{The code for this work is available at \url{https://github.com/k-flouris/gfe}.}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑