Datasets:
Uploading new symbolic regression equation discovery.
Browse files
New symbolic regression equation/README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SAAQ 1.5 Delta-Q Adaptation Law
|
| 2 |
+
|
| 3 |
+
Discovered via SymbolicRegression.jl, this equation is the first compact control law governing how quantization pressure adapts dynamically based on population firing activity and recurrent state memory.
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## The Equation
|
| 8 |
+
|
| 9 |
+
$$\Delta q_{\text{target}} \approx 0.0573 \cdot \sqrt{\bar{f}_{\text{pop}}} + 0.496 \cdot \Delta q_{\text{prev}}$$
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## Variable Breakdown
|
| 14 |
+
|
| 15 |
+
| Symbol | Full Name | Description |
|
| 16 |
+
|--------|-----------|-------------|
|
| 17 |
+
| $\Delta q_{\text{target}}$ | `saaq_delta_q_target` | The new quantization adjustment target for this tick |
|
| 18 |
+
| $\bar{f}_{\text{pop}}$ | `avg_pop_firing_rate_hz` | Average population firing rate (Hz) across active walkers |
|
| 19 |
+
| $\Delta q_{\text{prev}}$ | `saaq_delta_q_prev` | The quantization delta from the previous tick (recurrent memory) |
|
| 20 |
+
| $0.0573$ | Firing drive coefficient | Scales the square-root firing pressure term |
|
| 21 |
+
| $0.496$ | Memory carryover coefficient | Controls how much of the previous delta-q survives into the next update |
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## Plain-Language Interpretation
|
| 26 |
+
|
| 27 |
+
**Square-root firing drive:** Quantization pressure grows with population firing, but sublinearly. Doubling the firing rate does not double the drive — the square root compresses high activity and still responds to low-to-moderate activity. Runaway amplification is structurally suppressed.
|
| 28 |
+
|
| 29 |
+
**Half-memory carryover:** Approximately 49.6% of the previous `delta_q` carries forward into the next update. The system does not fully forget the last quantization state every tick.
|
| 30 |
+
|
| 31 |
+
**Stable leaky recurrence:** Because the carryover coefficient is `0.496 < 1.0`, this recurrence is not explosive. It behaves as a controlled temporal process — inertia without instability.
|
| 32 |
+
|
| 33 |
+
In plain terms:
|
| 34 |
+
|
| 35 |
+
> **new quantization target = current activity pressure + residual memory of the previous state**
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## Why This Equation Matters
|
| 40 |
+
|
| 41 |
+
The square-root term is the most significant structural feature:
|
| 42 |
+
|
| 43 |
+
- High activity gets compressed rather than amplified
|
| 44 |
+
- Low-to-moderate activity still drives the system
|
| 45 |
+
- The response is compatible with biological fatigue mechanics — a strong stimulus does not cause runaway voltage
|
| 46 |
+
|
| 47 |
+
This is directionally consistent with the **SAAQ 1.0 L2-normalized voltage foundation**: just as L2 normalization bounds raw voltage pressure by Euclidean length, the square-root term bounds firing-rate drive by its own nonlinear compression. Both mechanisms enforce the same core principle — energy cannot flow without constraint.
|
| 48 |
+
|
| 49 |
+
The `0.496 · delta_q_prev` term gives the system **temporal inertia**: quantization state evolves smoothly across ticks rather than jumping on every new stimulus. This makes `delta_q` behave more like a controlled physical process than a feedthrough variable.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## Relationship to SAAQ 1.0 Foundation
|
| 54 |
+
|
| 55 |
+
SAAQ 1.0 establishes the voltage bounding law:
|
| 56 |
+
|
| 57 |
+
$$V_{\text{norm}} = \frac{V}{\sqrt{\sum V_i^2 + \epsilon}}$$
|
| 58 |
+
|
| 59 |
+
SAAQ 1.5 operates one layer above this: it takes the activity that emerges *after* voltage normalization and determines how the quantization target should adapt in response. Together they form a two-layer control structure:
|
| 60 |
+
|
| 61 |
+
1. **SAAQ 1.0** — bounds the raw voltage so no single walker collapses under unbounded pressure
|
| 62 |
+
2. **SAAQ 1.5** — adapts the quantization target based on the bounded firing activity that results
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## Scope and Caveat
|
| 67 |
+
|
| 68 |
+
This equation is a **global baseline law** — not the final universal law.
|
| 69 |
+
|
| 70 |
+
The routing telemetry already demonstrates piecewise semantic structure: abstract English, Rust syntax, and mathematical logic do not occupy identical route bands (2000-route vs. 600–800 band). A single global `delta_q` law may not capture the full per-route adaptation dynamics.
|
| 71 |
+
|
| 72 |
+
Treat SAAQ 1.5 as:
|
| 73 |
+
|
| 74 |
+
- A compact, stable, interpretable starting point
|
| 75 |
+
- A hardware-friendly control law suitable for porting into Spikenaut
|
| 76 |
+
- The baseline against which per-route variants should be tested
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## Next Steps
|
| 81 |
+
|
| 82 |
+
- Validate the equation against held-out routing sessions (English, Rust, Math inputs separately)
|
| 83 |
+
- Test whether per-route variants of the coefficients improve fit within each semantic band
|
| 84 |
+
- Feed this law into the `corinth-canal` pipeline as the `delta_q` update rule
|
| 85 |
+
- Use SymbolicRegression.jl hall-of-fame deeper nestings as benchmarks if the global baseline underperforms on specific route bands
|