Loss Landscape Analysis for Reliable Quantized ML Models for Scientific Sensing

Tommaso Baldi, Javier Campos, Olivia Weng, Caleb Geniesse, Nhan Tran +2 more
2/12/2025
cs.LG

No official code found. Best implementation: balditommaso/PyLandscape (3 stars, MIT, last commit 2026-04-10).

Abstract

In this paper, we propose a method to perform empirical analysis of the loss landscape of machine learning (ML) models. The method is applied to two ML models for scientific sensing, which necessitates quantization to be deployed and are subject to noise and perturbations due to experimental conditions. Our method allows assessing the robustness of ML models to such effects as a function of quantization precision and under different regularization techniques -- two crucial concerns that remained underexplored so far. By investigating the interplay between performance, efficiency, and robustness by means of loss landscape analysis, we both established a strong correlation between gently-shaped landscapes and robustness to input and weight perturbations and observed other intriguing and non-obvious phenomena. Our method allows a systematic exploration of such trade-offs a priori, i.e., without training and testing multiple models, leading to more efficient development workflows. This work also highlights the importance of incorporating robustness into the Pareto optimization of ML models, enabling more reliable and adaptive scientific sensing systems.

View on arXivView PDF

Code Implementations(1)

MIT

This project propose the loss landscape analysis as effective methodology to understand the robustness against natural perturbation of QNN.

31Python, Jupyter NotebookFeb 2, 20256 months agoMIT
loss-functionsquantization-aware-trainingregularization-methodsrobustness

Similar Papers

Cite this paper

@article{baldi2025loss,
  title  = {Loss Landscape Analysis for Reliable Quantized ML Models for Scientific Sensing},
  author = {Tommaso Baldi and Javier Campos and Olivia Weng and Caleb Geniesse and Nhan Tran and Ryan Kastner and Alessandro Biondi},
  year   = {2025},
  eprint = {2502.08355},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.08355v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.08355.svg)](https://codeofpaper.com/paper/2502.08355)

Discussion