Source-linked AI summary

Efficient supervised learning in networks with binary synapses

Carlo Baldassi, Alfredo Braunstein, Nicolas Brunel, Riccardo Zecchina

arXiv:0707.1295v1q-bio.NCcond-mat.stat-mechcs.NEq-bio.QM

TL;DR

Efficient supervised learning with binary synapses is difficult, even though such synapses may offer noise robustness. This paper develops online Belief Propagation-inspired learning with finite hidden states, and reports capacity close to the theoretical limit in bounded-state settings.

  • Problem

    Efficient learning of a number of patterns proportional to synapse count remains unresolved for binary or finite-state synapses, a computationally hard problem.

    Source: §I · p. 2
  • Method

    The paper develops online supervised algorithms for binary synapses with discrete hidden variables, including a Belief Propagation-inspired rule for barely learned patterns.

    Source: D. Requirements for biologically… · p. 3, §V · p. 9
  • Results

    With bounded hidden variables, capacity reaches almost 0.7 bits per synapse versus a theoretical limit of about 0.83, with convergence time roughly linear in N at high pattern loads.

    Source: H. Performance with bounded hidden… · p. 6
  • Takeaways & Limitations

    The reported results show that simple online supervised algorithms can learn random input-output associations near theoretical capacity using binary synapses and finitely many hidden states.

    Source: §V · p. 9

Abstract

from arXiv · show

Recent experimental studies indicate that synaptic changes induced by neuronal activity are discrete jumps between a small number of stable states. Learning in systems with discrete synapses is known to be a computationally hard problem. Here, we study a neurobiologically plausible on-line learning algorithm that derives from Belief Propagation algorithms. We show that it performs remarkably well in a model neuron with binary synapses, and a finite number of `hidden' states per synapse, that has to learn a random classification task. Such system is able to learn a number of associations close to the theoretical limit, in time which is sublinear in system size. This is to our knowledge the first on-line algorithm that is able to achieve efficiently a finite number of patterns learned per binary synapse. Furthermore, we show that performance is optimal for a finite number of hidden states which becomes very small for sparse coding. The algorithm is similar to the standard `perceptron' learning algorithm, with an additional rule for synaptic transitions which occur only if a currently presented pattern is `barely correct'. In this case, the synaptic changes are meta-plastic only (change in hidden states and not in actual synaptic state), stabilizing the synapse in its current state. Finally, we show that a system with two visible states and K hidden states is much more robust to noise than a system with K visible states. We suggest this rule is sufficiently simple to be easily implemented by neurobiological systems or in hardware.

I. INTRODUCTION

The introduction frames binary synapses as a potentially noise-robust memory substrate, while noting that efficient supervised learning with finite-state synapses remains unresolved. It defines the model neuron and its binary synaptic weights.

I. INTRODUCTION

  • Binary synapses are motivated as noisy switches that may preserve memories more robustly over time than noise-sensitive analog systems.The text notes that positive feedback in postsynaptic protein networks could in principle induce bistability.Source: §I · p. 1
  • Prior unsupervised binary-synapse models perform poorly in information stored per synapse unless activity is sparse and transitions are stochastic and balanced on average.Hidden states were added in subsequent studies to provide multiple time scales for fast learning and slow forgetting.Source: §I · p. 1
  • Efficient learning remains unclear for binary or finite-state synapses, despite binary perceptrons reaching about 0.83 bits per synapse in enumeration and the problem being NP-complete.The reported capacity is close to the theoretical upper bound of 1 bit per synapse, but enumeration takes exponentially long in network size.Source: §I · p. 2

A. The model neuron

  • The model neuron sums binary presynaptic inputs weighted by binary synapses, and its output is active above a threshold and inactive otherwise.In the ±1 setup, the paper uses threshold zero and assumes odd N so total input cannot equal zero.Source: A. The model neuron · p. 2

B. The classification problem

The classification task is to find synaptic weights that map labeled input patterns to their required outputs. The standard perceptron converges when a solution exists, but its convergence guarantee does not extend to finite-state synaptic weights.

B. The classification problem

  • The task is to find weights that map every pattern in each labeled class to its corresponding output; such a weight vector is a perfect classifier.For ±1 inputs and synapses, the negative class can be removed by redefining inputs and requiring positive outputs, a simplification that does not hold in the next section.Source: B. The classification problem · p. 2

C. The perceptron learning algorithm

  • The perceptron updates weights only when the current pattern is misclassified, using the current input and an error signal.It is guaranteed to converge in finite time if a solution exists, but that proof applies to unbounded or sign-constrained weights, not weights with only finitely many states.Source: C. The perceptron learning algorithm · pp. 2–3

D. Requirements for biologically plausible learning algorithms with binary weights

The proposed biologically plausible algorithms are online and restrict synaptic updates to variables available locally at each synapse. Performance is assessed by the largest pattern load for which an algorithm finds a solution within a bounded iteration budget.

D. Requirements for biologically plausible learning algorithms with binary weights

  • Online updates use current total input, presynaptic activity, and an error signal, with hidden-variable changes based only on these synapse-available quantities.Patterns are drawn randomly from the set being learned.Source: D. Requirements for biologically… · p. 3

E. Quantifying performance of various algorithms

  • The benchmark is the largest α for which an algorithm finds a solution within a set iteration limit, compared with the theoretical αmax ≃0.83 for random unbiased patterns.Complete enumeration is guaranteed to find a solution for α ≤ αmax but requires exponentially large time in N; the study typically limits iterations to 10^4 per pattern.Source: E. Quantifying performance of various… · p. 3

F. Belief propagation–inspired algorithms

The paper simplifies a biologically unrealistic Belief Propagation approach into an online algorithm for binary synapses. Its distinctive update acts when a pattern is barely correct, changing hidden states toward less plastic states without changing the synaptic efficacy.

F. Belief propagation–inspired algorithms

  • A simplified Belief Propagation-inspired algorithm is designed to operate online while meeting the paper’s stated biological-plausibility requirements.The antecedent BP algorithm performed well on the random binary perceptron problem but had biologically unrealistic features.Source: F. Belief propagation–inspired… · p. 3

BP-inspired (BPI) Algorithm

  • When output is erroneous, hidden states move to a nearest neighbor; when safely correct, they stay unchanged, while barely correct BPI patterns trigger transitions toward less plastic states.The figure distinguishes metaplastic transitions, which change only the hidden state, from plastic transitions that change synaptic efficacy.Source: BP-inspired (BPI) Algorithm · pp. 3–4, Figure 1 · p. 4
  • Unlike the perceptron, BPI adds rule R2 for synaptic input just above threshold while keeping the actual synaptic weight binary.A stochastic variant applies R2 with probability ps for each presented pattern.Source: BP-inspired (BPI) Algorithm · p. 4

Stochastic BP-inspired (SBPI) Algorithm

SBPI modifies BPI by applying its R2 rule stochastically, with the probability controlled by ps. Figure 2 compares its performance with BPI and the clipped perceptron algorithm (CP).

  • Setting ps = 1 recovers deterministic BPI, while ps = 0 removes R2 and gives the clipped perceptron algorithm.Source: Stochastic BP-inspired (SBPI) Algorithm · p. 4
  • With ps = 0.3, SBPI can reach α = 0.6, but performs worse than BPI for α ≤ 0.3.Source: Figure 2 · p. 5
  • Figure 2A–C plots convergence time against N, while panel D plots the probability of perfect learning against x for different N.Source: Figure 2 · p. 5

G. Performance with unbounded variables

With bounded hidden states, BPI approaches the theoretical capacity limit using a finite optimal number of states. In the unbounded setting, stochasticity trades convergence speed for capacity, and adaptive ps can combine reported advantages at different α values.

G. Performance with unbounded variables

H. Performance with bounded hidden variables

  • For fixed K, BPI has higher capacity than SP with K visible states when N is sufficiently large, although adding an R2-equivalent rule to SP lets it overcome BPI.Source: H. Performance with bounded hidden… · p. 6
  • The capacity-optimizing number of internal states scales roughly as √N, and BPI’s capacity peaks at finite K while the other three algorithms improve monotonically with K.Source: H. Performance with bounded hidden… · p. 6
  • Capacity αc reaches almost 0.7 bits per synapse, near the theoretical limit αmax ≃ 0.83, with convergence time scaling roughly linearly with N at high α.The convergence-time prefactor is ≈2 · 10^-3.Source: H. Performance with bounded hidden… · p. 6

III. BINARY 0,1 NEURONS AND SYNAPSES, SPARSE CODING

The 0,1 model replaces symmetric ±1 activity with binary synapses and neurons and inputs whose activity is set by a coding level. It uses a positive threshold and frames learning as satisfying the desired input-output classifications.

A. The 0,1 model neuron

B. The optimized algorithm

For the 0,1 perceptron, BPI evaluates a stability parameter and maps hidden-variable signs to binary synaptic weights. Its capacity is about 0.25 against a theoretical limit of 0.59, and a stochastic variant applies R2 only to patterns requiring output 0.

B. The optimized algorithm

SBPI01 Algorithm

SBPI01 uses metaplastic updates under a thresholded condition, affecting only silent synapses in the specified case. With bounded hidden variables, the optimal number of states scales with system size; in dense coding, capacity exceeds 0.5 bits per synapse and approaches the theoretical maximum.

SBPI01 Algorithm

  • If the stated condition is not met, the algorithm does nothing.Source: SBPI01 Algorithm · p. 8
  • Rule R2 applies only to patterns with zero output, changing hidden variables only for involved silent synapses; this uses one secondary threshold, θ − θm.Applying R2 only when the output is zero also optimizes performance; applying it only when the output is one gives similar results.Source: SBPI01 Algorithm · p. 8
  • Boundaries on hidden variables further improve performance, and the number of states K that maximizes capacity scales with system size.The passage does not specify the scaling expression.Source: SBPI01 Algorithm · p. 8
  • In dense coding (f = 0.5), SBPI01 exceeds 0.5 bits per synapse and approaches the theoretical maximum of 0.59 bits per synapse at sufficiently high N.The reported optimal learning probability is ps = 0.4.Source: SBPI01 Algorithm · p. 8

C. Heterogeneous synapses and sparse coding

The paper tests heterogeneous synapses and sparse coding, then compares binary synapses with hidden states against synapses with multiple visible states under noise. In sparse coding, adding hidden states substantially improves capacity, while the binary-synapse model is more robust in the tested noisy settings.

C. Heterogeneous synapses and sparse coding

  • The heterogeneous algorithm uses weights 0 or ai, with ai drawn from a Gaussian distribution of mean 1 and standard deviation 0.1, and randomly varies θm around 1; its performance is similar to SBPI01 at f = 0.5.The threshold is drawn at each pattern presentation from a Gaussian distribution with variance 0.1.Source: C. Heterogeneous synapses and sparse… · p. 8
  • With sparse coding, K = 10 reaches about 70% of maximal capacity near N = 10,000, versus about 10% for K = 2; capacity then decreases if K is increased further.The optimal K increases with N, but more mildly than in dense coding.Source: C. Heterogeneous synapses and sparse… · p. 8
  • For N = 64000, SBPI converges quickly across α, while the cascade model is significantly slower.Source: C. Heterogeneous synapses and sparse… · p. 8

IV. ROBUSTNESS AGAINST NOISE

  • In all tested situations, binary synapses with K hidden states were more robust to noise than synapses with K visible states.The comparison used SBPI for binary synapses and SP for visible-state synapses, in both bounded and unbounded cases.Source: §IV · p. 9

V. DISCUSSION

The discussion presents BPI as a fast supervised learner for random input-output associations using binary synapses and finitely many hidden states. It highlights a barely-learned-pattern metaplastic rule, contrasts performance with earlier approaches, and notes possible biological and hardware implications.

V. DISCUSSION

  • BPI learns random input-output associations near theoretical capacity with binary synapses and finite hidden states, using roughly an order of magnitude fewer presentations per pattern than other known protocols.For neurons with about 10^4–10^5 synapses and α in [0.3, 0.6], it finds solutions in a few tens of presentations per pattern, while CP fails within 10^4 presentations per pattern.Source: §V · p. 9
  • The added rule triggers metaplastic changes only when a pattern is barely learned: a single synaptic flip would cause an error, so contributing synapses stabilize their current state.The rule derives from Belief Propagation.Source: §V · p. 9
  • Earlier binary-synapse work either required a finite separation margin that limits random-pattern learning to a number not increasing with N, or performed significantly worse than BPI.The comparison concerns Senn and Fusi and Fusi et al, respectively.Source: §V · p. 9
  • The authors predict that supervised biological systems may make metaplastic changes without an error signal when inputs are close to threshold, and note potential relevance to large-scale electronic implementations.They also note that retrieval is digital, with discrete hidden variables needed only during learning.Source: §V · p. 10
Loading 0707.1295v1…