Full text not available for this paper
Summary (Overview)
- This paper presents the first Chinchilla-style IsoFLOP scaling study of a spiking language model, sweeping SpikeGPT-family models (RWKV backbone) from width 384 to 1536 across compute budgets from to FLOPs on FineWeb-EDU.
- The compute-optimal frontier is found to be , close to the 0.50 reported by Hoffmann et al. [2022] for dense Transformers, indicating spiking does not fundamentally alter the optimal parameter-data tradeoff.
- The loss gap against non-spiking baselines splits into a constant backbone cost (~0.16 nats) and a spiking cost that falls from 0.34 to ~0.23 nats before leveling off.
- The apparent departure from the Chinchilla exponent is shown to be largely a parameter-counting artifact—the exponent varies from 0.75 (strict non-embedding) to 0.56 (total parameters) depending on counting convention.
- The frontier extrapolates out-of-sample to a hero run at FLOPs (predicted 2.78 nats vs. measured 2.76 nats).
Introduction and Theoretical Foundation
Background and Motivation
Scaling laws address a fundamental allocation question: given a fixed compute budget , how should it be split between model size and data to minimize loss? Kaplan et al. [2020] established power-law scaling for Transformers, while Hoffmann et al. [2022] (Chinchilla) introduced the IsoFLOP methodology and revised the optimal allocation toward roughly equal scaling of and .
The key open question this paper addresses: How do these laws transfer to spiking neural networks (SNNs)? SpikeGPT [Zhu et al., 2023] binarizes activations into spikes on an RWKV backbone [Peng et al., 2023] for energy-efficient neuromorphic inference, but was trained far below the regime where compute-optimal behavior is characterized.
Theoretical Foundation
- Spiking neurons follow the standard leaky integrate-and-fire (LIF) model [Gerstner and Kistler, 2002, Maass, 1997], with the arctangent (arctan) surrogate gradient [Neftci et al., 2019] enabling backpropagation through the non-differentiable spiking threshold.
- RWKV [Peng et al., 2023] replaces quadratic self-attention with a linear-time recurrence, removing the sequence-length term that complicates transformer FLOP accounting.
- Compute estimation follows the Kaplan et al. [2020] approximation: . Since RWKV has no attention term, matrix multiplies dominate.
Parameter Counting Conventions
With a 50,257-token vocabulary, the embedding is 11–50% of all parameters, making the counting convention critical. Three conventions are distinguished:
| Convention | Formula | Description |
|---|---|---|
| Strict non-embedding (Kaplan) | Excludes all embedding parameters | |
| FLOP-matmul (grid build) | Includes output projection (enters ) | |
| Total (Chinchilla, primary) | Includes both input and output embeddings |
where = depth, = width, = vocabulary size. Inverting a parameter budget to a width requires solving a cubic (Appendix E).
Methodology
Experimental Settings
- Optimizer: AdamW (, )
- Batch size: 16
- Context length: 1024 tokens
- Tokenizer: EleutherAI/gpt-neox-20b [Black et al., 2022]
- Data: FineWeb-EDU sample-100BT split [Penedo et al., 2024]
- Learning rate: Power law fit to a pilot sweep, with cosine decay to one-tenth—ensuring loss differences reflect the allocation rather than LR tuning.
IsoFLOP Methodology
Following Hoffmann et al. [2022] Approach 2, the authors:
- Define a grid of compute budgets and model widths
- Train models single-epoch to the token budget implied by their compute tier and width
- Fit parabolas to loss vs. log profiles at each compute tier
- Recover compute-optimal at each budget from parabola vertices
Baseline Comparisons
To measure the cost of spiking, the authors repeat the IsoFLOP grid for:
- Continuous-valued RWKV (non-spiking)
- Standard softmax-attention Transformer
All baselines use the same data, batch size, learning-rate schedule, and evaluation, tuning only the learning rate per architecture.
Empirical Validation / Results
IsoFLOP Profiles
Every compute tier produces the U-shaped profile in log that the IsoFLOP method assumes, with an interior optimum well inside the sampled widths at all four compute budgets. The parabolas flatten as compute grows (leading quadratic coefficient from to ), so the vertex is less tightly determined at high compute.
Compute-Optimal Frontier
Log-log regression over the four compute budgets () yields:
Since the grid is defined by , is not estimated separately.
Out-of-sample extrapolation: A compute-optimal model trained at FLOPs (B, width 2048/depth 41, B tokens) reaches nats vs. the predicted nats—the frontier holds out of sample.
Parameter-Counting Artifact
Table 1: Compute-optimal exponent () under three parameter-counting conventions
| Convention | (IsoFLOP) | (Approach 3) | () | |
|---|---|---|---|---|
| Strict non-embedding (Kaplan) | 0.748 | 0.745 | ||
| FLOP-matmul (grid build) | 0.624 | 0.644 | ||
| Total (Chinchilla, primary) | 0.556 | 0.595 |
The exponent moves from 0.75 (near Kaplan's 0.73) through 0.62 to 0.56 (near Chinchilla's 0.5), spanning essentially the entire Kaplan–Chinchilla gap on a single dataset and architecture at matched fit quality ().
Sensitivity Analysis
- Jackknife (leave-one-group-out): with range (mean )
- Seed variance: ≤ 0.003 nats, shifting the exponent by < 0.01
- Tier count sensitivity: 2, 3, and 4 tiers give 0.454, 0.537, and 0.556—more tiers are the main way to tighten the estimate
- Independent cross-check: Chinchilla Approach 3 parametric fit () reproduces per-convention exponents to within 0.04 and estimates irreducible loss nats
Comparison to Non-Spiking Baselines
Table 2: Loss decomposition at each compute budget
| Compute Budget | Backbone Cost (dense RWKV − Transformer) | Spiking Cost (spiking − dense RWKV) |
|---|---|---|
| 0.15–0.17 nats | 0.338 nats | |
| 0.15–0.17 nats | 0.263 nats | |
| 0.15–0.17 nats | 0.227 nats | |
| 0.15–0.17 nats | 0.225 nats |
- Backbone cost stays between 0.15 and 0.17 nats at every budget—it does not change with compute.
- Spiking cost falls from 0.338 to 0.227 nats between and FLOPs, then holds at 0.225 at . With four budgets, the authors cannot determine whether it has stopped falling or is only falling more slowly.
- Spike rates depend on training progress rather than model size, rising toward a ~0.36 firing fraction as tokens-per-parameter grows (Appendix H).
Theoretical and Practical Implications
Theoretical Implications
-
Spiking does not alter scaling behavior: The compute-optimal exponent (total parameters) is close to Chinchilla's 0.5 for dense Transformers, suggesting the fundamental scaling dynamics of language modeling are preserved under spiking constraints.
-
Parameter counting is critical: The finding that spans the entire Kaplan–Chinchilla gap (0.75 to 0.56) purely from counting convention reinforces Pearce and Song [2024]'s argument and implies that small-scale IsoFLOP exponents should not be compared across studies without matching the counting convention.
-
Decomposable loss gap: The separation of the total loss gap into a constant backbone cost and a decreasing-then-leveling spiking cost provides a principled framework for understanding where accuracy is lost in spiking models.
Practical Implications
-
Compute-optimal recipe for spiking LMs: Practitioners can now allocate compute between parameters and data for spiking language models following .
-
Quantified sparsity cost: The ~0.23 nats spiking cost at FLOPs provides a concrete accuracy budget for energy-efficiency decisions—practitioners can now make informed tradeoffs between accuracy and the energy savings of neuromorphic inference.
-
Backbone choice matters: The constant 0.16 nats backbone cost suggests that architectural improvements to RWKV (rather than spiking mechanisms) may be a more fruitful direction for closing the gap to Transformers at scale.
Conclusion
Under total-parameter counting, the compute-optimal frontier of a spiking language model is:
close to dense Transformers' 0.5; larger non-embedding exponents come from parameter counting, not the architecture. About 0.16 nats of the gap to a Transformer comes from the RWKV backbone and does not change with compute, while the cost of spiking falls to about 0.23 nats by FLOPs.
Limitations and Future Directions
- Results come from four tiers between and FLOPs, far below Chinchilla's – range.
- Single dataset (FineWeb-EDU only).
- Aspect ratio drifts from 38 to 53 across widths.
- Baselines use one seed per configuration—whether the spiking cost stays near 0.23 nats at larger scale is untested.
- More tiers beyond the -FLOP point would test both the power law and whether the spiking cost continues to decrease.
Related papers
- How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents
Architectural interventions like model growth and boundary operators improve scaling exponents, with grown models matching GPT-3 13B using roughly 20x less compute.
- AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
AutoCompact trains coding agents to decide when and how to compact context, improving SWE-bench Verified pass rates by 9.2% over the base model.
- Enabling Dynamic Computation in Looped LMs
Ragged KV caching enables true early-exit in looped language models, cutting FLOPs and KV memory by up to 30% without retraining or performance loss.