arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.07135cs.LGcs.AI
收藏

Landscaper:通过多维拓扑分析理解损失景观

Landscaper: Understanding Loss Landscapes Through Multi-Dimensional Topological Analysis

Arizona State University(亚利桑那州立大学);University of California Berkeley(加州大学伯克利分校);Lawrence Berkeley National Laboratory(伯克利国家实验室);Dartmouth College(达特茅斯学院);International Computer Science Institute(国际计算机科学研究所)
Jiaqing Chen, Nicholas Hadler, Tiankai Xie, Rostyslav Hnatyshyn, Caleb Geniesse, Yaoqing Yang, Michael W. Mahoney, Talita Perciano, John F. Hartwig, Ross Maciej… 展开作者

Jiaqing Chen, Nicholas Hadler, Tiankai Xie, Rostyslav Hnatyshyn, Caleb Geniesse, Yaoqing Yang, Michael W. Mahoney, Talita Perciano, John F. Hartwig, Ross Maciejewski, Gunther H. Weber

AI总结:

Landscaper通过多维拓扑分析揭示损失景观的几何结构,利用SMAD度量景观平滑度,提升模型诊断与架构设计能力。

摘要:

损失景观是理解神经网络优化和泛化的一个强大工具,但传统低维分析往往遗漏复杂的拓扑特征。我们提出了Landscaper,一个用于任意维度损失景观分析的开源Python包。Landscaper结合基于Hessian的子空间构造与拓扑数据分析,以揭示几何结构如盆地层级和连通性。关键组件是Saddle-Minimum Average Distance(SMAD),用于量化景观平滑度。我们展示了Landscaper在各种架构和任务中的有效性,包括涉及预训练语言模型的任务,证明SMAD能够捕捉训练过渡,如景观简化,这些传统度量方法往往遗漏。我们还展示了Landscaper在具有挑战性的化学性质预测任务中的性能,其中SMAD可以作为衡量分布外泛化度的指标,为数据稀缺的科学机器学习场景中的模型诊断和架构设计提供有价值的见解。

英文摘要:

Loss landscapes are a powerful tool for understanding neural network optimization and generalization, yet traditional low-dimensional analyses often miss complex topological features. We present Landscaper, an open-source Python package for arbitrary-dimensional loss landscape analysis. Landscaper combines Hessian-based subspace construction with topological data analysis to reveal geometric structures such as basin hierarchy and connectivity. A key component is the Saddle-Minimum Average Distance (SMAD) for quantifying landscape smoothness. We demonstrate Landscaper's effectiveness across various architectures and tasks, including those involving pre-trained language models, showing that SMAD captures training transitions, such as landscape simplification, that conventional metrics miss. We also illustrate Landscaper's performance in challenging chemical property prediction tasks, where SMAD can serve as a metric for out-of-distribution generalization, offering valuable insights for model diagnostics and architecture design in data-scarce scientific machine learning scenarios.

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

↑