Compress and Compare: Interactively Evaluating Efficiency and Behavior Across ML Model Compression Experiments

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Boggust, Angie, Sivaraman, Venkatesh, Assogba, Yannick, Ren, Donghao, Moritz, Dominik, Hohman, Fred
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913663366987776
author Boggust, Angie
Sivaraman, Venkatesh
Assogba, Yannick
Ren, Donghao
Moritz, Dominik
Hohman, Fred
author_facet Boggust, Angie
Sivaraman, Venkatesh
Assogba, Yannick
Ren, Donghao
Moritz, Dominik
Hohman, Fred
contents To deploy machine learning models on-device, practitioners use compression algorithms to shrink and speed up models while maintaining their high-quality output. A critical aspect of compression in practice is model comparison, including tracking many compression experiments, identifying subtle changes in model behavior, and negotiating complex accuracy-efficiency trade-offs. However, existing compression tools poorly support comparison, leading to tedious and, sometimes, incomplete analyses spread across disjoint tools. To support real-world comparative workflows, we develop an interactive visual system called Compress and Compare. Within a single interface, Compress and Compare surfaces promising compression strategies by visualizing provenance relationships between compressed models and reveals compression-induced behavior changes by comparing models' predictions, weights, and activations. We demonstrate how Compress and Compare supports common compression analysis tasks through two case studies, debugging failed compression on generative language models and identifying compression artifacts in image classification models. We further evaluate Compress and Compare in a user study with eight compression experts, illustrating its potential to provide structure to compression workflows, help practitioners build intuition about compression, and encourage thorough analysis of compression's effect on model behavior. Through these evaluations, we identify compression-specific challenges that future visual analytics tools should consider and Compress and Compare visualizations that may generalize to broader model comparison tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2408_03274
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Compress and Compare: Interactively Evaluating Efficiency and Behavior Across ML Model Compression Experiments
Boggust, Angie
Sivaraman, Venkatesh
Assogba, Yannick
Ren, Donghao
Moritz, Dominik
Hohman, Fred
Human-Computer Interaction
Artificial Intelligence
Machine Learning
To deploy machine learning models on-device, practitioners use compression algorithms to shrink and speed up models while maintaining their high-quality output. A critical aspect of compression in practice is model comparison, including tracking many compression experiments, identifying subtle changes in model behavior, and negotiating complex accuracy-efficiency trade-offs. However, existing compression tools poorly support comparison, leading to tedious and, sometimes, incomplete analyses spread across disjoint tools. To support real-world comparative workflows, we develop an interactive visual system called Compress and Compare. Within a single interface, Compress and Compare surfaces promising compression strategies by visualizing provenance relationships between compressed models and reveals compression-induced behavior changes by comparing models' predictions, weights, and activations. We demonstrate how Compress and Compare supports common compression analysis tasks through two case studies, debugging failed compression on generative language models and identifying compression artifacts in image classification models. We further evaluate Compress and Compare in a user study with eight compression experts, illustrating its potential to provide structure to compression workflows, help practitioners build intuition about compression, and encourage thorough analysis of compression's effect on model behavior. Through these evaluations, we identify compression-specific challenges that future visual analytics tools should consider and Compress and Compare visualizations that may generalize to broader model comparison tasks.
title Compress and Compare: Interactively Evaluating Efficiency and Behavior Across ML Model Compression Experiments
topic Human-Computer Interaction
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2408.03274