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

Xiaoyu Li, Lequan Lin, Dai Shi, Jiaojiao Jiang, Junbin Gao +1 more
10/8/2026
cs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026ball,
  title  = {The Ball and the Box: Two Geometries of Computation in Superposition},
  author = {Xiaoyu Li and Lequan Lin and Dai Shi and Jiaojiao Jiang and Junbin Gao and Andi Han},
  year   = {2026},
  eprint = {2610.11744},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.11744v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.11744.svg)](https://codeofpaper.com/paper/2610.11744)

Discussion