arXiv:2610.12520cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12520

CircuitTree: Composing Circuits into A Syllable Transcriber

Jiankun Wei, Ewan Dunbar, Gerald Penn

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

The goal of circuit discovery is to decompose a monolithic neural network into tiny modular subnetworks which are interpretable in the sense that each does an identifiable subtask. We develop a practical method for composing arbitrarily many circuits into a single model. We propose a greedy, density-scaled composition algorithm that overcomes limitations of previous attempts to compose circuits by naive union, then generalize it to N circuits via CircuitTree, a new data structure built on a Θ(Nlog⁡N)\Theta(N \log N) tree-compose schedule. We compose circuits pruned from HuBERT for classifying individual phonemes into a syllable classifier, a capability none of the 39 phoneme circuits has individually. Chaining CircuitTrees into a hierarchy-of-circuits pipeline, we transcribe open syllables at 64.8% accuracy, within 1.2 points of a 66.0% ceiling that shares no circuitry at all, with 99.5% of circuit components shared.

Index Terms— circuit discovery, mechanistic interpretability, model merging, modularity, HuBERT

1. INTRODUCTION

Many researchers has proposed to view modern multi-task neural network models as the composition of large numbers of sub-networks (circuits) with independent capabilities. [1–6]. Early work identified circuits manually [7]; automated methods soon followed [8], reducing circuit discovery to a process of choosing a metric and a dataset to define a behaviour, and patching activations until the responsible components emerge.

While much research has proposed circuit discovery as a tool for deepening our understanding of black-box models, the ability to decompose models into small, modular sub-networks has practical implications. Researchers have envisioned circuit discovery as a way to “re-engineer” a network by decomposing the monolithic model into modular, Lego-like pieces, each responsible for a single task [1, 2, 6, 9, 10]. The practical payoff of this decomposition is modularity. Once primitive circuits are identified, they can be joined to solve complex tasks without having to rediscover every possible combination from scratch. Merullo, Eickhoff, and Pavlick [3] found that a circuit discovered for one task in

Figure

Fig. 1: Circuit discovery of weight and edge circuits.

GPT-2 is substantially reused for a related one, showing that a small hand-designed patch to four attention heads is sufficient to change the model's behaviour. Mondorf et al. [1] went further, posing general circuit composability as a fundamental open question and combining circuits for ten string-edit operations through mask-level set operations. However, their experiments were limited to synthetic toy models generated via Tracr [11]. Most recently, Yu et al. [2] discovered that composing two independently discovered circuits pruned from GPT-2 for different tasks by simple mask union largely preserves functional performance.

This is a compelling vision, but the evidence for it remains preliminary. Existing composition results stop at a pair of circuits, or at best a handful, and success is measured by whether the composed circuit still performs the individual tasks it was pruned on. Can primitive circuits can be composed at scale, and into new capabilities? We answer both halves of this question: composition survives the jump from a hand-verified pair to dozens of independently-discovered circuits merged at once, and the resulting shared circuitry is able to do a more complex task that none of the 39 source circuits were individually pruned to solve. We do this by composing circuits pruned from an English phoneme classifier based on HuBERT, about as elementary a building block as a spoken language offers, into an syllable classifier.

The outline of this paper is as follows. First, we identify failures of plain mask union (density domination, interference) and design a greedy, density-scaled algorithm that composes a pair of circuits. Second, we generalize this to N circuits with the help of a new data structure, CIRCUITTREE.

This work was supported by [embargoed for anonymous review].

Third, we compose the resulting vowel and consonant CIR-CUITTREES into a hierarchy-of-circuits pipeline with 99.5% of matrices shared across phonemes. The resulting pipeline transcribes English CV and VC syllables, a task the individual circuits were not trained for, and which the composition algorithm does not optimize for either. We reach 64.8% accuracy against the ceiling of 66.0% obtained by running the circuits independently.