Inferensys

Glossary

Network Dissection

A framework for quantifying the alignment between individual hidden units in a genomic model and human-interpretable biological sequence concepts.
Governance lead reviewing model governance framework on laptop, policy documents visible, executive office setup.
INTERPRETABILITY FRAMEWORK

What is Network Dissection?

A quantitative framework for evaluating the interpretability of deep neural networks by measuring the alignment between individual hidden units and human-defined concepts.

Network Dissection is a framework that quantifies the interpretability of individual hidden units in a neural network by measuring their alignment with human-interpretable concepts. It systematically evaluates whether a unit's activation pattern matches a specific visual or semantic concept, producing an Intersection over Union (IoU) score to determine if the unit serves as a detector for that concept.

In genomic sequence models, this technique is adapted to identify units that detect biological sequence concepts such as transcription factor binding motifs, splice sites, or conserved regulatory elements. By aligning latent representations with known biological annotations, Network Dissection provides a rigorous, data-driven method for auditing whether a model has learned mechanistically relevant features rather than spurious correlations.

INTERPRETABILITY FRAMEWORK

Key Characteristics of Network Dissection

A systematic methodology for quantifying the alignment between individual hidden units in a genomic neural network and human-interpretable biological sequence concepts.

01

Concept Definition and Annotation

The framework relies on a curated set of human-interpretable concepts that serve as ground-truth labels for evaluating hidden units. In genomic models, these concepts include:

  • Transcription factor binding motifs (e.g., CTCF, SP1, GATA family)
  • Splice donor and acceptor sites
  • CpG islands and methylation-prone regions
  • Open chromatin regions from ATAC-seq data
  • Conserved non-coding elements across species

Each concept is represented as a binary segmentation mask over the input sequence, indicating which nucleotides belong to the concept region.

Binary Mask
Concept Representation
Per-Unit
Evaluation Granularity
02

Unit Activation Quantification

For each hidden unit (neuron or channel) in a target convolutional or transformer layer, the framework computes an activation map across a dataset of genomic sequences. The key steps are:

  • Forward-propagate each sequence through the model up to the target layer
  • Record the spatial activation pattern of each unit
  • Upsample activation maps to match the input nucleotide resolution using bilinear interpolation
  • Threshold activations to produce a binary detection mask for each unit

This process transforms continuous activations into discrete region proposals that can be compared against concept masks.

Per-Nucleotide
Upsampled Resolution
Top 0.5%
Typical Activation Threshold
03

Intersection-over-Union Scoring

The alignment between a unit's detection mask and a concept's segmentation mask is quantified using the Intersection-over-Union (IoU) metric:

code
IoU = |Detection ∩ Concept| / |Detection ∪ Concept|

A unit is considered a detector for a specific concept if its IoU exceeds a predefined threshold (typically > 0.04 for genomic applications). This threshold accounts for the inherent sparsity and variable length of biological sequence elements compared to the fixed receptive fields of convolutional filters.

> 0.04
IoU Threshold for Detectors
0 to 1
IoU Range
04

Interpretability Quantification

Network Dissection produces a global interpretability score for the model by measuring the fraction of units that emerge as concept detectors:

  • Number of unique concepts detected: How many distinct biological motifs or regions are captured by at least one unit
  • Detector coverage: The percentage of all units in a layer that align with any annotated concept
  • Concept selectivity: Whether a unit responds exclusively to one concept or fires across multiple unrelated sequence patterns

This quantification enables direct comparison of interpretability across different model architectures, training regimes, and layer depths.

Per-Layer
Coverage Granularity
Architecture-Agnostic
Comparison Capability
05

Layer-wise Emergence Analysis

Applying Network Dissection across all layers of a genomic model reveals the hierarchical emergence of biological concepts:

  • Early layers: Detect simple nucleotide patterns such as GC content, dinucleotide frequencies, and short k-mer repeats
  • Middle layers: Emerge as detectors for canonical transcription factor binding motifs and splice junction signals
  • Deep layers: Align with complex, composite concepts such as enhancer-promoter interactions, chromatin state combinations, and tissue-specific regulatory modules

This progression mirrors the hierarchical organization of biological sequence information and validates that the model learns meaningful representations.

Shallow → Deep
Concept Complexity Gradient
Hierarchical
Emergence Pattern
06

Broden Dataset Construction

The framework requires a broadly and densely labeled dataset (Broden) that pairs genomic sequences with multiple concept annotations:

  • Multi-concept per sequence: Each input sequence is annotated with all applicable biological concepts simultaneously
  • Diverse genomic contexts: Sequences span promoters, introns, intergenic regions, and coding exons
  • Balanced representation: Equal sampling across concept classes to prevent frequency bias in detector identification
  • Strand-aware annotation: Concepts are labeled on both forward and reverse strands to capture orientation-specific unit tuning

For genomic applications, Broden is typically constructed from ENCODE, Roadmap Epigenomics, and FANTOM5 consortium data.

Multi-Label
Annotation Schema
ENCODE/FANTOM5
Typical Data Sources
INTERPRETABILITY METHOD COMPARISON

Network Dissection vs. Other Genomic Interpretability Methods

A feature-level comparison of Network Dissection against other common attribution and concept-based methods for explaining genomic sequence models.

FeatureNetwork DissectionIntegrated GradientsTCAVIn-silico Mutagenesis

Granularity of Explanation

Neuron-level (concept detector)

Nucleotide-level attribution

Concept-level (user-defined)

Nucleotide-level impact score

Requires Labeled Concept Dataset

Quantifies Concept Alignment

IoU score per unit

TCAV score (directional derivative)

Identifies Emergent Concepts

Satisfies Completeness Axiom

Computational Cost

High (forward pass + thresholding)

Medium (gradient computation)

Medium (derivative w.r.t. concept)

High (O(3L) forward passes)

Output Type

Binary concept detector map

Continuous saliency map

Concept sensitivity score

Delta prediction score per variant

NETWORK DISSECTION EXPLAINED

Frequently Asked Questions

Clear answers to common questions about how network dissection quantifies the alignment between hidden units in genomic models and human-interpretable biological sequence concepts.

Network dissection is an interpretability framework that systematically quantifies the alignment between individual hidden units in a neural network and human-defined visual or sequential concepts. The method works by evaluating every hidden unit against a concept bank—a labeled dataset where each input region is annotated with semantic labels. For each unit, the framework measures its activation map's overlap with each concept's binary mask using the Intersection over Union (IoU) metric. A unit is considered a detector for a specific concept if its IoU score exceeds a predefined threshold, typically 0.04. This process produces a dissection report that maps which biological sequence concepts—such as splice sites, promoter regions, or transcription factor binding motifs—are explicitly encoded by specific neurons in a genomic model.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.