LossLens: Diagnostics for Machine Learning through Loss Landscape Visual Analytics

Tiankai Xie, Jiaqing Chen, Yaoqing Yang, Caleb Geniesse, Ge Shi +6 more
12/17/2024
cs.LG

No confident code implementation found for this paper.

Abstract

Modern machine learning often relies on optimizing a neural network's parameters using a loss function to learn complex features. Beyond training, examining the loss function with respect to a network's parameters (i.e., as a loss landscape) can reveal insights into the architecture and learning process. While the local structure of the loss landscape surrounding an individual solution can be characterized using a variety of approaches, the global structure of a loss landscape, which includes potentially many local minima corresponding to different solutions, remains far more difficult to conceptualize and visualize. To address this difficulty, we introduce LossLens, a visual analytics framework that explores loss landscapes at multiple scales. LossLens integrates metrics from global and local scales into a comprehensive visual representation, enhancing model diagnostics. We demonstrate LossLens through two case studies: visualizing how residual connections influence a ResNet-20, and visualizing how physical parameters influence a physics-informed neural network (PINN) solving a simple convection problem.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xie2024losslens,
  title  = {LossLens: Diagnostics for Machine Learning through Loss Landscape Visual Analytics},
  author = {Tiankai Xie and Jiaqing Chen and Yaoqing Yang and Caleb Geniesse and Ge Shi and Ajinkya Chaudhari and John Kevin Cava and Michael W. Mahoney and Talita Perciano and Gunther H. Weber and Ross Maciejewski},
  year   = {2024},
  eprint = {2412.13321},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13321v1}
}

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/2412.13321.svg)](https://codeofpaper.com/paper/2412.13321)

Discussion