arXiv:2610.41933cs.LGOct 2026

Manuscript Offprint

arXiv:2610.41933

Binary Sparse Codes: Where are we on Energy Efficient Representations?

Jose Miguel Ramos, Luis SaCouto, Andreas Wichert

Abstract

Biological neural systems achieve impressive computational capabilities under tight metabolic constraints, relying on sparse cortical representations that minimise total neural activity. This combination of efficiency and representational power has motivated growing interest in sparse coding as a computational strategy for artificial systems. Artificial models designed to produce binary sparse codes span three broad paradigms, theoretical methods grounded in efficient coding, deep learning methods trained via backpropagation, and biologically plausible methods that learn through local Hebbian rules, each yielding codes whose quality depends not only on achieving low activation density but also on preserving the informational structure of the input. The latter property, however, lacks an agreed-upon quantitative definition, leaving the field without a principled basis for comparing methods. We propose a set of metrics that formalise information preservation as similarity preservation, measuring how faithfully a binary sparse code reproduces the relational geometry of the input space, and apply this framework to compare four representative methods under matched conditions. The results reveal a consistent trade-off in which models that achieve high information preservation do so at the cost of sparsity, while models approaching the uniformity of an optimal random sparse code tend to sacrifice it. Competitive Sparse Codes, a biologically plausible approach, is the only architecture to occupy a region of near-maximal sparsity while retaining meaningful information preservation. These findings frame the simultaneous satisfaction of both factors as an open challenge for the field and provide a reusable evaluation framework for measuring progress toward it.

1 Introduction

The past decade has witnessed remarkable progress in artificial intelligence, with deep neural networks achieving human or superhuman performance across vision, language, and control tasks (LeCun et al., 2015), while requiring power budgets that dwarf the roughly twenty watts consumed by the human brain (Raichle and Gusnard, 2002). Biological evolution treats energy consumption as a hard constraint on which computa-tional strategies can survive, and under this constraint biological intelligence relies on sparse cortical representations (Rolls and Tovee, 1995) and local synaptic learning rules (Hebb, 1949), properties that together reduce metabolic cost by minimising total neural activity and avoid the coordination overhead of backpropagation by allowing each synaptic change to depend only on locally available activity. The dominant deep learning paradigm relies instead on dense representations and global learning rules. This architectural and energy consumption difference suggests that sparse coding and local learning may be key ingredients in the search for more energy-efficient alternatives.

Beyond energy efficiency, sparse codes, and binary sparse codes in particular, carry an independent theoretical justification in associative memory models (Willshaw et al., 1969), where storage capacity is maximised precisely when the fraction of active units is small (Palm, 1980), giving sparsity a theoretical grounding that holds independently of any biological argument. These converging motivations have produced a growing body of work seeking computational models capable of generating high-quality binary sparse codes, with approaches spanning theoretical methods grounded in sparse approximation and signal processing (Olshausen and Field, 1996), deep learning methods trained end-to-end via backpropagation (Jang et al., 2017), and biologically plausible methods that learn through local, activity-dependent synaptic rules (Sá-Couto and Wichert, 2023; Ravichandran et al., 2020, 2021; Knoblauch and Palm, 2020), each differing sharply in learning mechanism yet sharing the same underlying goal of producing codes whose quality depends on more than sparsity alone. A high-quality sparse code must satisfy two competing factors, the sparsity and uniformity of firing across the population and the preservation of the input's information, of which sparsity admits a precise and estab-lished definition for binary codes because the fraction of active units is unambiguous, while information preservation admits no comparable standard, since no single agreed-upon way exists to quantify how much of an input's information a representation retains.

Sparsification can be understood as a form of compression even when the code space is higher-dimensional than the input, given that only a small number of its dimensions may be active at once, and compression pushed far enough is bound to sacrifice information as fewer effective degrees of freedom must account for the same variety of inputs, leading to the hypothesis that increasing sparsity comes at a growing cost to information preservation. Achieving high sparsity alone is straightforward when information preservation is not required, just as preserving most of the input's information is straightforward when sparsity is not required, but satisfying both factors simultaneously proves considerably harder. This paper proposes a set of metrics designed to quantify how faithfully a binary sparse code preserves the information of its input and applies this framework to compare the existing families of sparse coding models under matched conditions.

Among the methods evaluated, the biologically plausible approach is the only one able to achieve a firing distribution comparable to that of a random sparse code without completely sacrificing information preservation in the process, though the degree of preservation it attains remains lower than that achieved by methods which do not reach that level of sparsity, confirming that the problem of satisfying both factors simultaneously and robustly has not been perfectly solved by any existing approach. This work is therefore best understood not as identifying a definitive solution but as formulating an open challenge for the field, namely finding sparse coding architectures that satisfy both quality factors simultaneously. The evaluation framework introduced here provides the methodological foundation on which this challenge can be addressed and progress reliably measured. The central contribution is an investigation into the current state of sparse binary codes, establishing where existing methods stand, what they are capable of achieving, and how their quality can be measured and compared.