GNN101: Visual Learning of Graph Neural Networks in Your Web Browser
Yilin Lu, Chongwei Chen, Yuxin Chen, Kexin Huang, Marinka Zitnik, Qianwen Wang
TL;DR
GNN101 tackles the challenge of teaching graph neural networks by delivering an in browser interactive visualization that tightly couples mathematical formulas with visual representations across hierarchical detail levels. It combines model overviews, layer level computations, and two complementary views node-link and adjacency matrix, along with bidirectional math visualization linking, animated transitions, and real data exploration. The authors validate the approach through expert-informed design, classroom deployments, a quantitative learning study, and observational studies, reporting significant learning gains and strong usability. The work demonstrates the potential of cohesive visualizations to bridge theory and practice in AI education and gestures toward broader adoption and extension in collaborative, modular educational tools.
Abstract
Graph Neural Networks (GNNs) have achieved significant success across various applications. However, their complex structures and inner workings can be challenging for non-AI experts to understand. To address this issue, this study presents \name{}, an educational visualization tool for interactive learning of GNNs. GNN 101 introduces a set of animated visualizations that seamlessly integrate mathematical formulas with visualizations via multiple levels of abstraction, including a model overview, layer operations, and detailed calculations. Users can easily switch between two complementary views: a node-link view that offers an intuitive understanding of the graph data, and a matrix view that provides a space-efficient and comprehensive overview of all features and their transformations across layers. GNN 101 was designed and developed based on close collaboration with four GNN experts and deployment in three GNN-related courses. We demonstrated the usability and effectiveness of GNN 101 via use cases and user studies with both GNN teaching assistants and students. To ensure broad educational access, GNN 101 is open-source and available directly in web browsers without requiring any installations.
