Mechanistic Transparency of Neural Networks: A Four-Layer Framework for Demystifying the Black Box Authors / Creators

This work investigates whether shallow neural networks exhibit transparent and controllable internal structure through a four-layer mechanistic interpretability framework. Using a 784→16→10 fully connected neural network trained on MNIST, the study evaluates transparency across four dimensions: geometric representations, neuron-level semantics, modular algorithmic circuits, and causal mechanisms. Results demonstrate a 3× improvement in class separability, 87.5% monosemantic neurons, sparse modular circuits averaging 3.1 neurons per class, and successful causal model editing using Rank-One Model Editing (ROME). A targeted intervention restored corrupted class performance from 0% to 97.86% while modifying only 0.28% of model parameters. The findings suggest that shallow neural networks can exhibit interpretable and causally editable internal computations, providing evidence that neural network opacity may partly reflect limitations of analytical tools rather than intrinsic properties of the models themselves. All code, experimental procedures, and reproducibility materials are provided to support independent verification.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-25
DOI
https://doi.org/10.5281/zenodo.20841320
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Mechanistic Transparency of Neural Networks: A Four-Layer Framework for Demystifying the Black Box Authors / Creators

Shamique Khan
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
preprint

Mechanistic Transparency of Neural Networks: A Four-Layer Framework for Demystifying the Black Box Authors / Creators

Shamique Khan
preprint en

Abstract

This work investigates whether shallow neural networks exhibit transparent and controllable internal structure through a four-layer mechanistic interpretability framework. Using a 784→16→10 fully connected neural network trained on MNIST, the study evaluates transparency across four dimensions: geometric representations, neuron-level semantics, modular algorithmic circuits, and causal mechanisms. Results demonstrate a 3× improvement in class separability, 87.5% monosemantic neurons, sparse modular circuits averaging 3.1 neurons per class, and successful causal model editing using Rank-One Model Editing (ROME). A targeted intervention restored corrupted class performance from 0% to 97.86% while modifying only 0.28% of model parameters. The findings suggest that shallow neural networks can exhibit interpretable and causally editable internal computations, providing evidence that neural network opacity may partly reflect limitations of analytical tools rather than intrinsic properties of the models themselves. All code, experimental procedures, and reproducibility materials are provided to support independent verification.

Zenodo (CERN European Organization for Nuclear Research)
Barkatullah University (IN)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.