Packs ternary weights {-1, 0, +1} into HfOx resistive crossbars to compute Kirchhoff analog matrix-vector sums at pJ cost.
1. The Problem & Physical Wall
Conventional edge accelerators burn ~90% of inference energy fetching FP16 weights over off-chip DRAM buses rather than doing arithmetic; worse, many purported 'memristive' thin films exhibit non-zero open-circuit voltage at I=0 caused by parasitic nanobattery electrochemistry.
Adding larger on-die SRAM caches lowers external DRAM stalls only until static transistor leakage and SRAM cell area exhaust edge power envelopes.
2. The Core Insight (TL;DR)
Mechanism: Combines bit-exact 5-trit/byte ternary weight encoding (205 B per 32×32 matrix) with non-volatile HfOx resistive cells executing Ohm + Kirchhoff analog sum-of-products in memory at ~75–158 pJ.
Target Figure of Merit: 19.98x memory compression (bit-exact unpack), 75.37 pJ modeled 64×64 crossbar energy vs. 4.2e6 pJ FP32 GPU (and 157.82 pJ for GeoFormer 32×32 projection) [MD].
3. How It Works: First-Principles Physics & Math
Design Lever: Ternary sparsification zeros out ~60–70% of matrix weights cleanly so inactive wordlines stay unpowered, slashing sneak-path wire IR drop and passive Joule bleed.
4. System Architecture
Pinched (0,0) HfOx Crossbar Array
Validated against unpinched battery/capacitor EMF offsets via zero-crossing triangular IV sweeps.
5-Trit Ternary Compression Engine
Encodes 1,024 weights losslessly into 205 B vs. 4,096 B FP32 without quantization accuracy loss.
Current-Sense Bitline Comparators
Converts summed Kirchhoff currents cleanly back into bounded ternary/geodesic activation vectors.
5. Simulation, Proof & Benchmarks
| Metric | Conventional Baseline | This Architecture | Hard Physical Limit |
|---|---|---|---|
| Weight Compression [M/MD] | 4,096 B FP32 (32×32) | 205 B 5-trit/byte (19.98x exact) | Shannon log2(3^n) entropy bound |
| Modeled Dot Energy [MD] | 4.2e6 pJ FP32 baseline (64×64) | 75.37 pJ / 157.82 pJ (32×32) | Thermal kT/C ADC noise floor |
| Zero-Crossing Proof [M/MD] | Fails if I(V=0) != 0 (battery) | Strictly pinched I(0)=0 loop | Wire IR drop < 0.98 cosine ceiling |
6. Constraints, Failure Modes & Falsification
Primary Physical Bottleneck: Interconnect line resistance along dense CMOS crossbars attenuates bitline currents farthest from row drivers, degrading analog dot-product cosine fidelity below 0.98 alongside stochastic filament conductance drift [OQ].
Negative Control Baseline: Linear ohmic resistor crossbar baseline and unpinched ionic battery-offset check (rejecting any cell with I(V=0) != 0).
Falsification Rule (Refute Threshold): Fabricated test macro is falsified if bipolar sweeps show non-zero current at V=0 or wire IR drop cuts matrix-vector cosine below 0.98.
Open Bench & Validation Gates (⊥ [OQ]): 28 nm CMOS + HfOx analog test-chip evaluation across temperature corners and 10^4 read cycles.
7. Reproducibility & Series Navigation
Canonical Code & Verification Spec: book_03_electronics/code/ch03_memristors_and_crossbars.py · INVENTION_ENGINE_V3/geoformer_tac_stfac_experiment.py
python3 -B -m book_03_electronics.code.ch03_memristors_and_crossbars && python3 -B -m tests.test_vol03_ch03
Leave a Reply