Talaria: Interactively Optimizing Machine Learning Models for Efficient Inference
Fred Hohman, Chaoqun Wang, Jinmook Lee, Jochen Görtler, Dominik Moritz, Jeffrey P Bigham, Zhile Ren, Cecile Foret, Qi Shan, Xiaoyi Zhang
TL;DR
Talaria presents an interactive, hardware-aware visualization system that enables on-device inference optimization through model compilation, dual views of statistics and architecture, and real-time simulation of compression techniques. Grounded in formative research with Apple practitioners, it unifies analytic and geometric perspectives to identify bottlenecks, compare optimizations, and support collaborative workflows. Over 2 years of deployment, Talaria demonstrates broad adoption (800+ users, 3{,}600+ submissions) and strong usability signals for its core views and optimization capabilities, while also outlining future work in model comparison, behavioral metrics integration, and automated code-editing playgrounds. The work highlights the practical impact of integrated visualization and optimization tooling for efficiently deploying neural networks on resource-constrained devices, with potential to streamline iterative, cross-disciplinary collaboration across product teams.
Abstract
On-device machine learning (ML) moves computation from the cloud to personal devices, protecting user privacy and enabling intelligent user experiences. However, fitting models on devices with limited resources presents a major technical challenge: practitioners need to optimize models and balance hardware metrics such as model size, latency, and power. To help practitioners create efficient ML models, we designed and developed Talaria: a model visualization and optimization system. Talaria enables practitioners to compile models to hardware, interactively visualize model statistics, and simulate optimizations to test the impact on inference metrics. Since its internal deployment two years ago, we have evaluated Talaria using three methodologies: (1) a log analysis highlighting its growth of 800+ practitioners submitting 3,600+ models; (2) a usability survey with 26 users assessing the utility of 20 Talaria features; and (3) a qualitative interview with the 7 most active users about their experience using Talaria.
