Fractal Neural Synthesis: Constant-Storage Procedural Weight Derivation via Complex Quadratic Boundary Dynamics

Volkan Dagli, Zerrin Dagli, Daghan DagliarXiv 2026

TL;DR

Instead of storing thousands of neural network weights in precious, limited Flash memory, what if a tiny microcontroller could grow its hidden layers at boot from a single 24-byte coordinate on the edge of the Mandelbrot set? Fractal Neural Synthesis (FNS) uses complex fractal dynamics to procedurally generate neural weights in constant $O(1)$ persistent storage. It slashes total model footprints by up to $129\times$ compared to standard MLPs while preserving fast runtime inference and smooth, navigable optimization landscapes.

What Problem Does This Paper Address?

Modern neural networks are digital hoarders: they explicitly store every single synaptic weight in memory, meaning persistent storage scales linearly ($O(W)$) with parameter count. That’s fine in a datacenter, but on edge microcontrollers—where non-volatile Flash ROM might top out at 32 to 256 KB and memory reads dominate energy budgets—this linear scaling hits a brick wall.

Existing compression tricks like 4-bit quantization, pruning, or hash-sharing shrink the constant factor per weight, yet still scale linearly with network size. Meanwhile, biological brains don't store explicit point-by-point wiring diagrams in DNA; they use compact, recursive developmental rules. Can we bring that procedural philosophy to TinyML—generating rich, non-linear neural representations from a tiny, fixed-size seed without needing lookup tables or auxiliary generator networks?

Methods

The authors introduce Fractal Neural Synthesis (FNS), replacing explicit hidden-layer weight matrices with a 24-byte seed $\Theta = (c_x, c_y, \ell)$—three 64-bit floats representing a 2D complex coordinate and a zoom level anchored near the boundary ($\partial\mathcal{M}$) of the Mandelbrot set ($z_{n+1} = z_n^2 + c$).

End-to-end Fractal Neural Synthesis pipeline from 24-byte Flash seed to volatile SRAM execution.

Here is how FNS turns 24 bytes into a working network:

  • Smooth Escape Kernel (Novel): Standard Mandelbrot bailout radii ($R=2$) leave jagged step discontinuities. FNS uses a large bailout ($R=256$) and a normalized smooth iteration count to produce a continuous potential field across scales.
  • Geometric Sampling Apertures (Novel): To extract $(d+1)H$ weights and biases around $\Theta$ at zero extra storage cost, the authors design four deterministic sampling stencils: a uniform Cartesian Grid, a modular 3×3 Rule-of-Thirds grid with coprime strides, a golden-angle $\phi$-Vogel Spiral (like sunflower seeds), and a Harmonic Tripod that interleaves three concentric spiral zoom tiers to break column correlations.
  • Boot-Time Synthesis, Standard Runtime: At power-on, the device evaluates the fractal kernel once, standardizes the outputs (LeCun fan-in scaling), and writes the weights into volatile SRAM. During actual inference, it runs standard matrix-vector dot products—zero fractal math required.
  • Two Training Modes: Mode I uses zero readout bytes, evolving $\Theta$ directly via gradient-free coordinate walks or low-rank Evolution Strategies (ES). Mode II treats the synthesized hidden layer as a fixed reservoir and fits a compact, closed-form ridge regression head (in FP32 or INT8).

Datasets

No new datasets are introduced, though the authors carefully curate benchmarks requiring 0 bytes of persistent feature-scaler overhead (using native bounds or fixed constants):

  • Synthetic Benchmarks: 2-input Boolean logic gates (OR, AND, NAND, NOR, and 2-layer XOR), plus noisy Two-Moons (including a rotating continuous-drift variant) and Two-Spirals.
  • Real-World Tabular/Vision Benchmarks (UCI / Statlog): Ionosphere Radar, Optical Digits, PenDigits, and Landsat Satimage, evaluated under leak-free 10-fold stratified cross-validation.

Key Insights and Ideas

  • Fractals Hit the "Goldilocks Zone" Between Chaos and Smoothness: Why use $\partial\mathcal{M}$ instead of a cryptographic PRNG (like SHA-256) or smooth waves (Fourier/Perlin-style lattice noise)? Smooth $C^1$ generators flatten into a simple planar ramp when you zoom in, collapsing matrix rank to $\approx 2.25$. Conversely, SHA-256 maintains high rank ($\approx 12.6$) but suffers from the avalanche effect: nudging the seed by 1% destroys the weights ($\rho \approx 0.019$), making coordinate search blind. Because $\partial\mathcal{M}$ has a Hausdorff dimension of 2, it uniquely sustains both high rank ($\approx 10.0$) across 8 orders of magnitude of zoom and smooth local continuity ($\rho \in [0.81, 0.97]$).
Comparison of matrix rank, local step continuity, and online drift tracking across procedural generators.
  • Sampling Geometry Shapes Matrix Conditioning: How you sample the fractal matters. A single-scale golden spiral still suffers subtle correlations at Fibonacci lags. Interleaving three zoom scales via the Harmonic Tripod breaks these alignments, boosting spectral rank utilization by up to +25.5% over a basic grid for free.
  • Explicit Information-Theoretic Honesty: You cannot magically compress GPT-4 into 24 bytes. The authors prove a strict ceiling: one seed carries at most 192 bits of Shannon entropy ($K_{\text{Kolm}} \le 192 + c_0$ bits). FNS is built for compact "System-1" edge reflexes and classifiers, not high-entropy language modeling.

Key Results

  • Zero-Readout Logic: FNS solves non-linear XOR with 100% accuracy in 72 bytes total (three 24-byte seeds, 0 readout bytes). Under a 1% coordinate perturbation on 48B Two-Moons, FNS retains 89.15% accuracy while SHA-256 collapses to chance (50.60%).
  • Massive Flash Compression on Real Benchmarks: With a 24B Harmonic Tripod hidden layer ($H=256$) and an INT8 head, FNS beats 0-hidden linear INT8 classifiers by +3.6 to +10.8 percentage points while shrinking hidden-layer Flash by $725\times\text{–}2,773\times$ and total Flash by $10.7\times\text{–}129\times$ vs. FP32 MLPs:
  • Ionosphere: 90.30% in 285 B ($129\times$ smaller than FP32 MLP's 92.30%).
  • PenDigits: 97.90% in 2,598 B ($10.7\times$ smaller than MLP's 98.60%).
  • Optical Digits: 97.22% in 2,598 B ($29.6\times$ compression).
  • Satimage: 87.00% in 1,570 B ($28.1\times$ compression).
  • Fast Boot & Parity Inference: Host-CPU boot synthesis takes 8.05–23.29 ms and amortizes below a $50\ \mu\text{s}$ envelope in ~280–750 inferences, with single-sample SRAM latency (13.6–21.0 $\mu\text{s}$) matching dense MLPs.

Limitations and Future Work

  • PRNG Parity in Unoptimized Mode II: When the hidden seed isn't optimized per dataset, an 8-byte seeded-PRNG Random Fourier Feature (RFF) baseline slightly edges out FNS on Optical Digits and PenDigits (~1 pp higher in 16 B less Flash). Optimizing $\Theta$ per task in Mode II is left for future work.
  • Readout & Scaler Bottlenecks: When class count $C$ is large, the $O(HC)$ linear readout dominates total Flash. Additionally, datasets without fixed bounds require storing $8d$ bytes of feature-scaling stats that standard MLPs can simply fold into their first layer.
  • Quantization Sensitivity & Hardware Profiling: High-curvature tasks (Two-Spirals) degrade sharply under INT8 readout quantization (91.0% $\to$ 58.5%), requiring FP32 heads. Finally, current timings are pure-NumPy on an Intel CPU; benchmarking fixed-point C implementations directly on physical ARM Cortex-M and RISC-V chips is a key next step.

Summary updated

Abstract

Conventional neural networks store synaptic parameters as explicit tensors whose persistent Flash footprint scales linearly (O(W)) with parameter count, constraining resource-limited edge microcontrollers. We formulate and systematically evaluate Fractal Neural Synthesis (FNS), a procedural weight derivation architecture that replaces hidden-layer matrices with a constant 24-byte coordinate seed Theta = (c_x, c_y, ell) in F_64^3 anchored near the complex quadratic bifurcation boundary dM of f_c(z) = z^2 + c. We introduce a large-bailout (R = 256) smooth escape kernel, four zero-overhead geometric sampling apertures--Cartesian Grid, coprime 3x3 Rule-of-Thirds (Z/9Z), phi-Vogel spiral, and multi-scale Harmonic Tripod--and prove conditional Kolmogorov (K_Kolm <= 192 + c_0 bits) and Shannon entropy bounds. Across magnifications zeta in [10^0, 10^8], C^1 Fourier and lattice-noise bases collapse to post-standardization rank ~2.25 and SHA-256 PRNG exhibits avalanche discontinuity (rho ~ 0.019, 50.6% micro-step retention), whereas dM uniquely sustains both rank (~10.0) and local continuity (rho in [0.81, 0.97], 89.2% retention). Under leak-free 10-fold CV across four zero-scaler-byte non-linear benchmarks, FNS with an INT8 readout surpasses 0-hidden Linear-INT8 by +3.6 to +10.8 pp while delivering 10.7x-129x total Flash reduction (725x-2,773x hidden reduction) relative to converged Float32 MLPs (90.30% Ionosphere in 285 B; 97.22% Optical Digits in 2,598 B; 97.90% PenDigits in 2,598 B; 87.00% Satimage in 1,570 B).
BibTeX
@misc{dagli2026fractal,
  author = {Volkan Dagli and Zerrin Dagli and Daghan Dagli},
  title = {{Fractal Neural Synthesis: Constant-Storage Procedural Weight Derivation via Complex Quadratic Boundary Dynamics}},
  year = {2026},
  eprint = {2611.32393},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32393},
}
Figure