arXiv:2606.09077cs.LG2026-06

用海森矩阵预处理提升神经网络求凸共轭的精度与速度

Neural Legendre-Fenchel transform with Hessian Preconditioning

  • 基于投影极性重述,通过海森矩阵预处理实现仿射不变性优化
  • 在高维与病态函数上收敛更快、数值精度显著提升
  • 适合需要高精度凸共轭的优化与机器学习任务

Legendre-Fenchel(LF)变换是凸分析与机器学习中的基础工具,可将下半连续函数映射为其凸共轭。当无法获得闭式表达时,需借助近似方法。近期的深度LF变换方法虽具通用性,但对病态函数仍具挑战。本文将LF变换重新表述为投影极性,利用其仿射不变性,提出基于海森矩阵的预处理策略:在极小点附近进行仿射变形,使函数的二阶泰勒展开与标准抛物面一致,其共轭映射为恒等映射。以接近恒等的残差网络学习此简化映射,再通过逆变形恢复原共轭。该方法仅需初始化时一次特征分解及每次查询两步矩阵-向量乘法,计算开销低。在多种凸函数,包括高维基准测试中,实验显示收敛速度更快、数值精度更高,尤其在病态问题上优势明显。最后讨论了方法适用范围与局限性。

原文摘要 · Abstract (English)

The Legendre-Fenchel (LF) transform is a fundamental tool in convex analysis and machine learning that maps lower semi-continuous functions to their convex conjugates. In practice, when closed-form formula are not available for expressing convex conjugates of given functions, one must approximate them using various techniques. One recent such versatile numerical method is the deep Legendre transform method which relies on neural networks although it remains challenging particularly for tackling ill-conditioned functions. This work builds on the reformulation of the LF transform as a projective polarity. A notable property of this framework is its affine invariance. We leverage this affine invariance to introduce a Hessian-based preconditioning strategy. Specifically, we apply an affine deformation around a minimizer so that the second-order Taylor approximation of the function coincides with the canonical paraboloid, whose conjugation map is the identity. A residual network initialized near the identity can then learn this simplified mapping, while the original conjugation map is recovered through the inverse deformation. The proposed preconditioning incurs only a modest computational overhead, consisting of a single eigendecomposition during initialization and two matrix-vector multiplications per query. Experiments on a diverse set of convex functions, including high-dimensional benchmarks, demonstrate improved convergence rates and enhanced numerical accuracy of the conjugation, with particularly significant gains for ill-conditioned problems. Finally, we discuss the scope of applicability of our proposed method and highlight several of its limitations.

凸优化神经网络海森矩阵共轭变换

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。