Search NASASearch

DOE OSTI · code-160844

Landscaper v1

Abstract

Understanding the inner workings of machine learning models through their loss landscapes offers crucial insights into model properties, optimization dynamics, and generalizability. However, accessing these insights has traditionally required specialized mathematical expertise, limiting broader adoption. Landscaper is an open-source Python package designed to bridge this gap. Landscaper seamlessly integrates a suite of multi-dimensional loss landscape analyses with cutting-edge topological data analysis (TDA) methods. This powerful combination makes both fundamental loss landscape analysis and advanced TDA techniques accessible to the broader scientific ML community, without requiring deep pre-existing mathematical knowledge. Landscaper offers three key functionalities: * Construction: Builds detailed loss landscape representations through versatile low and high-dimensional sampling techniques. * Quantification: Applies advanced metrics, including a novel topological data analysis (TDA) based smoothness metric, enabling new perspectives on model behavior. * Visualization: Offers intuitive tools to visualize and interpret loss landscapes, providing actionable insights beyond traditional performance metrics.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Weber, Gunther [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)], Hadler, Nicholas [University of California, Berkeley, CA (United States)], Xie, Tiankai [Arizona State Univ., Tempe, AZ (United States)], Chen, Jiaqing [Arizona State Univ., Tempe, AZ (United States)], Hnatyshyn, Rostyslav [Arizona State Univ., Tempe, AZ (United States)]. 2025-07-07. Landscaper v1. https://doi.org/10.5281/zenodo.15874987

Cite the original work for its findings. Save a collection to share your selection of sources.