Neo: Generalizing Confusion Matrix Visualization to Hierarchical and Multi-Output Labels

Jochen Görtler, Fred Hohman, Dominik Moritz, Kanit Wongsuphasawat, Donghao Ren, Rahul Nair, Marc Kirchner and Kayur Patel

Abstract

The confusion matrix, a ubiquitous visualization for helping people evaluate machine learning models, is a tabular layout that compares predicted class labels against actual class labels over all data instances. We conduct formative research with machine learning practitioners at Apple and find that conventional confusion matrices do not support more complex data-structures found in modern-day applications, such as hierarchical and multi-output labels. To express such variations of confusion matrices, we design an algebra that models confusion matrices as probability distributions. Based on this algebra, we develop Neo, a visual analytics system that enables practitioners to flexibly author and interact with hierarchical and multi-output confusion matrices, visualize derived metrics, renormalize confusions, and share matrix specifications. Finally, we demonstrate Neo’s utility with three model evaluation scenarios that help people better understand model performance and reveal hidden confusions.

Venue
CHI 2022
Volume
CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3491102.3501823
PDF
https://dl.acm.org/doi/pdf/10.1145/3491102.3501823
Anthology ID
2022.chi.6

Cite

@inproceedings{gortler-etal-2022-neo,
    title = {{Neo: Generalizing Confusion Matrix Visualization to Hierarchical and Multi-Output Labels}},
    author = {Jochen Görtler and Fred Hohman and Dominik Moritz and Kanit Wongsuphasawat and Donghao Ren and Rahul Nair and Marc Kirchner and Kayur Patel},
    booktitle = {CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450391573},
    year = {2022},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3491102.3501823},
    url = {https://doi.org/10.1145/3491102.3501823},
    abstract = {The confusion matrix, a ubiquitous visualization for helping people evaluate machine learning models, is a tabular layout that compares predicted class labels against actual class labels over all data instances. We conduct formative research with machine learning practitioners at Apple and find that conventional confusion matrices do not support more complex data-structures found in modern-day applications, such as hierarchical and multi-output labels. To express such variations of confusion matrices, we design an algebra that models confusion matrices as probability distributions. Based on this algebra, we develop Neo, a visual analytics system that enables practitioners to flexibly author and interact with hierarchical and multi-output confusion matrices, visualize derived metrics, renormalize confusions, and share matrix specifications. Finally, we demonstrate Neo’s utility with three model evaluation scenarios that help people better understand model performance and reveal hidden confusions.}
}