DeepBase: Deep Inspection of Neural Networks
Thibault Sellam, Kevin Lin, Ian Yiran Huang, Yiru Chen, Michelle Yang,, Carl Vondrick, Eugene Wu

TL;DR
DeepBase is a system that simplifies inspecting neural networks by providing a unified interface to analyze hidden units' behaviors, improving efficiency and enabling replication of existing studies.
Contribution
It introduces DeepBase, a declarative system for neural network inspection that models logic with hypothesis functions and optimizes analysis speed.
Findings
Speed improvements up to 72x with optimizations
Ability to express and reproduce existing NLP studies
Unified interface for neural network behavior analysis
Abstract
Although deep learning models perform remarkably well across a range of tasks such as language translation and object recognition, it remains unclear what high-level logic, if any, they follow. Understanding this logic may lead to more transparency, better model design, and faster experimentation. Recent machine learning research has leveraged statistical methods to identify hidden units that behave (e.g., activate) similarly to human understandable logic, but those analyses require considerable manual effort. Our insight is that many of those studies follow a common analysis pattern, which we term Deep Neural Inspection. There is opportunity to provide a declarative abstraction to easily express, execute, and optimize them. This paper describes DeepBase, a system to inspect neural network behaviors through a unified interface. We model logic with user-provided hypothesis functions…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Machine Learning and Data Classification · Topic Modeling
