跳到正文
arXiv cs.AI· Nikita Gabdullin·· 3 天前AI 评分36

损失景观分析库 LLA 1.3 发布:新增嵌入分布分析指标

Loss Landscape Analysis library version 1.3: embedding distribution analysis metrics

AI 导读

PyTorch 库 Loss Landscape Analysis(LLA)发布 1.3 版本,新增四个嵌入分布分析指标,用于弥补几何分析在域偏移下无法解释泛化行为的不足。

正文 · 原文

View PDF HTML (experimental)

Abstract:Generalization of neural networks (NN) is vital for their industrial applications. Whereas empirical rules for high generalization training methods do exist, there is still no well-established methodology. It has been shown that curvature of loss landscapes and properties of NN Hessian can provide important insights into NN generalization. Loss Landscape Analysis (LLA) is a PyTorch library which facilitates visualization and analysis of loss landscapes and Hessian of NNs, with emphasis on generalization criteria evaluation. However, there are cases when geometry analysis cannot explain generalization behavior, which is often caused by misalignment between existing and real class cluster distributions under domain shift (dataset change). To address this issue, four embedding distribution analysis metrics are included in the latest LLA 1.3 update. Tests performed using different checkpoints of ViT-S model trained on CINIC-10 dataset clearly show that generalization gap starts growing when train and test embedding distributions start diverging. Furthermore, the analysis of two ViT-S models similarly trained on ImageNet-1K shows that the higher generalization model exhibits less embedding distribution misalignment. Moreover, the analysis of the second model identifies poor classifier transfer with well-trained encoder, which is verified by classifier retraining with frozen encoder to achieve high accuracy. New functions enrich the existing geometry analysis capabilities of the library available at: this https URL.
Comments: 13 pages, 6 figures, 2 tables, 17 equations
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computer Vision and Pattern Recognition (cs.CV)
Cite as: arXiv:2612.03570 [cs.LG]
  (or arXiv:2612.03570v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2612.03570

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Nikita Gabdullin [view email]
[v1] Wed, 2 Dec 2026 10:28:17 UTC (816 KB)

来源:arXiv cs.AI · arxiv.org