NNbench: Benchmarking White-Box Interpretability Systems
Zikai Wang, Jaden Fried Fiotto-Kaufman, Adam Belfki, Gabriele Sarti, Emma Bortz, Cheng Tan, David Bau
Abstract
White-box interpretability methods inspect and modify the internal activations of large language models (LLMs) to localize computations, monitor safety, and steer generation. Driven by strong community demand, several systems now bring such interpretability to production inference engines. However, our survey of 156 interpretability works (2017-2026) and 12 existing interpretability systems reveals a gap between today's system capabilities and workload requirements. To characterize this gap, we present NNbench, the first white-box interpretability benchmark to systematically capture the workloads identified in our survey through four primitive operations (readout, edit, gradient, and record) and four arrival patterns. We evaluate six interpretability systems using NNbench on models ranging from 4B to 72B parameters. Our evaluation yields three findings. (1) No evaluated serving system supports all workloads: engine optimizations discard backward gradients and attention matrices, restrictive interfaces limit access to model components and generation steps, and distributed sharding and engine state conventions can break or silently corrupt interventions. (2) Standard PyTorch is up to 3.7x faster than pre-registered serving (37x vs. per-request wrappers) on single-GPU offline batch jobs, whereas serving engines are 71-154x faster under concurrent online generation and 2.7-7.2x faster on single-request multi-GPU models (14B-72B). (3) Naive hooks slow serving by disrupting compiled GPU execution, reconstructing vocabulary logits on the CPU, and copying large outputs over IPC; registering hooks in advance and projecting or reducing hidden states on the GPU reduces latency by 1.6-3.3x in native APIs (and 19x when eliminating host logit reconstruction), approaching unmodified serving speed.
Create a lesson
Related papers
BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems
Shared title terminologycs.LGAlberto Zancanaro, Leonardo Badia, Giulia Cisotto
Lattice: From Tabular Foundation Models to General-Purpose Predictive Systems
Shared title terminologycs.LGSi-Yang Liu, Hao-Run Cai, Yi-Chen Zhu et al.
Benchmarking Graph Self-Supervised Learning for Node-Level Tasks: Insights and a Strong Baseline
Shared title terminologycs.LGDmitry Eremeev, Gleb Bazhenov, Oleg Platonov et al.
A Sealed Benchmark for Forecasting Training-Recipe Gains at Small Scale
Shared title terminologycs.LGShengwei Zhang, Shenkang Qian, Mo Shi et al.
ContextWorld: Benchmarking In-Context Dynamics Adaptation in Latent World Models
Shared title terminologycs.LGGuo An, Yuhao Yan, Zijing Wu et al.
Interpretable Differentially Private Continual Learning with Prototype-Based Classifiers
Shared title terminologycs.LGYuan He, Talal Alrawajfeh, Wachirapatra Mahatubgris et al.