arXiv:2610.11744cs.LGOct 2026

Manuscript Offprint

arXiv:2610.11744

The Ball and the Box: Two Geometries of Computation in Superposition

Xiaoyu Li, Lequan Lin, Dai Shi, Jiaojiao Jiang, Junbin Gao, Andi Han

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

Two Geometries of Computation in Superposition

Xiaoyu Li

University of New South Wales

xiaoyu.li2@unsw.edu.au

Jiaojiao Jiang

University of New South Wales

jiaojiao.jiang@unsw.edu.au

Lequan Lin

University of Sydney

lequan.lin@sydney.edu.au

Junbin Gao

University of Sydney

junbin.gao@sydney.edu.au

Dai Shi

University of Cambridge

ds2213@cam.ac.uk

Andi Han

University of Sydney

andi.han@sydney.edu.au

ABSTRACT

Neural representations can encode more features than they have dimensions, a phenomenon known as superposition. We study the dimension needed to compute Boolean gates from such representations. For a single threshold layer with a Gaussian random dictionary and uniformly random sparse Boolean inputs, we derive sharp dimension thresholds under two error criteria. A vanishing expected error count can require more dimensions than correctness of every output with high probability. Shared reads explain the gap: rare realizations can produce many errors at once. The expected-count threshold has ball geometry, while joint reliability has box geometry when a gate is evaluated on every feature tuple. Optimizing shared readout weights and biases gives explicit thresholds for conjunction, disjunction, and majority. For pairwise conjunction, the analysis also describes the transition near the threshold, in agreement with exact simulations.

Keywords: computation in superposition, sparse feature representations, threshold circuits, Gaussian extreme values, sharp thresholds, reliability, mechanistic interpretability

CONTENTS

1 Introduction 2
2 Model and criteria 3
3 The exact read law 5
4 Counting errors: the ball 6
5 Reliability: the supremum and the box 7
6 Threshold gates 9
7 The critical window 11
8 Extensions 12
9 Exact simulations 13
10 Discussion 14
AI Use Statement 14
References 14

Appendix

A Guide to the appendix ..... 18
B Read-vector reductions and the supremum ..... 19
C Proofs for the ball ..... 22
D Proofs for the box ..... 24
E Proofs for threshold gates ..... 27
F The critical window ..... 29
G Extensions of the model ..... 32
H Statements and proofs for Section 8 ..... 33
I Window formulas and the expected-count gap ..... 39
J Further comparisons and experiments ..... 40
K Finite checks ..... 43
L Experimental protocol and additional results ..... 44
M Applications, implications and open problems ..... 47

References (41)