AIFeed

Loss Landscape Analysis library version 1.3: embedding distribution analysis metrics

Summary

arXiv:2612.03570v1 Announce Type: new 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…

Original text(via arXiv cs.LG)

Computer Science > Machine Learning

Title:Loss Landscape Analysis library version 1.3: embedding distribution analysis metrics

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

Access Paper:

  • HTML (experimental)

Additional Features

  • Audio Summary

Current browse context:

References & Citations

  • Google Scholar
  • Semantic Scholar

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by arXiv cs.LG
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗