Beyond Heatmaps: Evaluating More Effective Feature Interaction Visualizations for Generalized Additive Models

Hambauer, Nico, Rosenberger, Julian, Veitl, Maximilian, Zschech, Patrick, Kraus, Mathias

–arXiv.org Artificial Intelligence 

As machine learning spreads across high-stakes domains, explainable AI helps users understand predictions. Inherently explainable models such as generalized additive models (GAMs) support this by decomposing predictions into visually understandable components. In addition to additive effects, they increasingly incorporate pairwise feature interactions to improve performance. Common GAM implementations present these interactions through separate heatmaps, requiring users to locate and add values across multiple displays. We therefore evaluate whether established information-integration principles support reading combined contributions from GAM interactions between one numerical feature and one categorical feature with few categories. In a pre-registered online between-subjects experiment with 92 participants, we compare heatmaps, line plots, and a cumulative display integrating main and interaction effects. Compared with heatmaps, cumulative displays significantly improve accuracy by 60% and reduce completion time by 43%. These findings provide task-specific guidance for GAM visualization design, supporting cumulative displays when users need to read combined main and interaction contributions.