正在把原文翻译成中文,长文需要一两分钟;先显示原文。

Computer Science > Machine Learning

[Submitted on 1 Dec 2026]

Title:NNbench: Benchmarking White-Box Interpretability Systems

View a PDF of the paper titled NNbench: Benchmarking White-Box Interpretability Systems, by Zikai Wang and 6 other authors

View PDF HTML (experimental)

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.

Subjects:Machine Learning (cs.LG)
Cite as:arXiv:2612.00974 [cs.LG]
(or arXiv:2612.00974v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2612.00974

Submission history

From: Zikai Wang [view email]
[v1] Tue, 1 Dec 2026 05:01:40 UTC (531 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled NNbench: Benchmarking White-Box Interpretability Systems, by Zikai Wang and 6 other authors

license icon view license

Additional Features

Current browse context:

cs.LG

< prev

  |   next >

new | recent | 2026-12

Change to browse by:

cs

References & Citations

BibTeX formatted citation

Data provided by:

Bookmark

[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2612.00974&description=NNbench: Benchmarking White-Box Interpretability Systems "Bookmark on BibSonomy") [Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2612.00974&title=NNbench: Benchmarking White-Box Interpretability Systems "Bookmark on Reddit")

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)

Connected Papers (What is Connected Papers?)

Litmaps (What is Litmaps?)

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub (What is DagsHub?)

Gotit.pub (What is GotitPub?)

Hugging Face (What is Huggingface?)

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate (What is Replicate?)

Hugging Face Spaces (What is Spaces?)

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)

CORE Recommender (What is CORE?)

IArxiv Recommender (What is IArxiv?)

  • Author
  • Venue
  • Institution
  • Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)