046 — Near-strict 1-spike-per-cycle ceiling: 99.45% of (cell, cycle) pairs

Abstract

nb041’s slope p0.20p \approx 0.20 was interpreted as “each E cell joins a cycle with ≈ 20% probability”. That reading assumes the per-cycle spike count is bounded by 1 — an E cell either participates in this cycle or not. This notebook measures that directly: walking through every gamma cycle on the test set and counting how many spikes each E cell actually emits, on all 18 trained checkpoints in nb041’s τGABA\tau_\text{GABA} sweep.

Result: across 48 million (cell, cycle) pairs, 99.45% have ≤ 1 spike — the architecture imposes a near-strict 1-spike-per-cycle bound, with rare violations at the 0.5% level.

Methods

For each of nb041’s 18 trained cells (6 τGABA\tau_\text{GABA} × 3 seeds):

  1. Run inference on the MNIST test set; capture per-trial (T,B,NE)(T, B, N_E) and (T,B,NI)(T, B, N_I) spike tensors.
  2. Detect I-burst times per trial: smooth the population I rate with a 1-ms Gaussian, run scipy peak detection with min-distance set to half the cell’s own 1/fγ1/f_\gamma.
  3. Cycle boundaries are the midpoints between consecutive I-burst peaks (first cycle starts at t=0t = 0, last ends at trial end).
  4. For each (cell, cycle, trial), count the number of E spikes within the cycle window.
  5. Bucket counts globally into {0,1,2,3}\{0, 1, 2, \geq 3\} and aggregate by τGABA\tau_\text{GABA}.

The cycle anchor is the I-burst — this is the right anchor because the cycle is operationally defined as “the time between one inhibitory blanket and the next”, not as the time between E bursts (which can be silent on a given cycle).

Results

Spike count distribution per E cell per gamma cycle

Figure 1. P(spikes per E cell per cycle) — by τ_GABA
Six bar-chart panels, one per τ_GABA value. Each panel shows the fraction of (E cell, gamma cycle) pairs with 0, 1, 2, or ≥3 spikes within the cycle window. Across all six panels: P(0) ≈ 77%, P(1) ≈ 22%, P(2) ≈ 0.5%, P(≥3) ≈ 0.04%. The ≥2 fraction grows mildly with τ_GABA (longer cycles allow more multi-spike events) but stays below 3%.

Distribution of E spike count per gamma cycle per cell, by τGABA\tau_\text{GABA}, three seeds aggregated. Across 48 million (cell, cycle) pairs, the architecture is overwhelmingly bimodal: each cell either emits zero spikes in a given cycle (≈ 77% of the time) or exactly one (≈ 22% of the time). Two-or-more events occur in 0.55% of cycles; three-or-more in 0.04%.

The architectural cap is empirical, not just structural. There is nothing in the LIF equations that strictly forbids a second spike — refractory exhausts in 3 ms while the gamma window between bursts is 18–70 ms, so in principle multiple spikes could fit. But the loop’s geometry constrains the actual usable window: the I burst rises sharply, clamps E firmly for most of the cycle, and only the last few ms before the next I-burst onset are de-clamped. Combined with the refractory, this leaves room for one spike per cell per cycle in the typical case.

The mild rise in P(2)P(\geq 2) with τGABA\tau_\text{GABA} — from 0.10% at τGABA=4.5\tau_\text{GABA} = 4.5 ms to 2.4% at τGABA=27\tau_\text{GABA} = 27 ms — is consistent with longer cycle periods allowing some marginal cells to recover from refractory and re-spike before the next I-burst. The ceiling is almost hard but not strictly enforced.

Discussion

The ”≤ 1 spike per E cell per cycle” reading of nb041’s affine law is empirically supported. Three observations:

  • The participation gate is Bernoulli, not Poisson. A Poisson process with mean μ=0.22\mu = 0.22 spikes per cycle (matching the observed P(1)=22.7%P(\geq 1) = 22.7\%) would predict P(2)=2.6%P(2) = 2.6\% and P(3)=0.2%P(\geq 3) = 0.2\% — roughly 5× the observed multi-spike fractions. The empirical distribution is narrower than Poisson, consistent with a hard architectural cap and only rare violations.

  • The slope pp is per-cycle participation. The median cell sits on the 0.20fγ0.20 \cdot f_\gamma line; the affine fit’s p=0.201p = 0.201 is exactly the population-averaged Bernoulli participation probability. This grounds the slope mechanistically in single-cell behaviour rather than as a phenomenological fit parameter.

  • Cap softens at long τGABA\tau_\text{GABA}. At τGABA=27\tau_\text{GABA} = 27 ms (cycle period ≈ 70 ms), P(2)P(\geq 2) reaches 2.4% — the longer cycle gives refractory cells time to recover and contribute a second spike. The architecture’s cap is geometrically determined; very long cycles erode it.

The structural reading of nb041’s law that ar010 cites — “each E cell joins each cycle with probability pp, contributing exactly one spike when it joins” — is now verified at the spike-resolved level.

Cortical implication

If cortical pyramidal cells participate in gamma at a similar bounded rate, the prediction is sharp: per-pyramidal spike count per gamma cycle should be ≤ 1 in the overwhelming majority of cycles, with the population-mean participation probability p0.1p \approx 0.10.20.2 predicting both the pyramidal rate and the per-cycle gating. Awake-cortex recordings with spike-resolved pyramidal data and concurrent gamma-band LFP should be able to test this directly.

Next steps

If pursued: spike-count per cell per cycle as a function of cell input strength would let us decompose “participation” into a hit-or-miss gate (Bernoulli) at high drive vs a stochastic-fail (skip) gate at low drive. But the architectural story — “each E cell at most one spike per cycle” — is already closed.