Skip to content

Instantly share code, notes, and snippets.

@belisarius222
Last active March 27, 2026 23:38
Show Gist options
  • Select an option

  • Save belisarius222/e00b2ff47dfa360baf714db09b3c00b0 to your computer and use it in GitHub Desktop.

Select an option

Save belisarius222/e00b2ff47dfa360baf714db09b3c00b0 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html><head><meta charset="utf-8"><title>VOID Recursive Forecaster — Results</title>
<style>
body { font-family: system-ui, -apple-system, sans-serif; max-width: 900px; margin: 40px auto; padding: 0 20px; background: #0d1117; color: #c9d1d9; line-height: 1.6; }
h1 { color: #58a6ff; border-bottom: 1px solid #30363d; padding-bottom: 12px; }
h2 { color: #79c0ff; margin-top: 32px; }
h3 { color: #d2a8ff; margin-top: 24px; }
table { border-collapse: collapse; width: 100%; margin: 16px 0; }
th, td { border: 1px solid #30363d; padding: 8px 12px; text-align: left; }
th { background: #161b22; color: #79c0ff; }
.metric { font-family: 'SF Mono', monospace; font-size: 13px; }
pre { background: #161b22; border: 1px solid #30363d; border-radius: 6px; padding: 12px; font-size: 13px; overflow-x: auto; }
.summary-box { background: #161b22; border: 1px solid #30363d; border-radius: 8px; padding: 16px; margin: 16px 0; }
.champion { border-left: 3px solid #238636; }
.phase { border-left: 3px solid #1f6feb; background: #1f6feb11; padding: 12px; margin: 16px 0; border-radius: 0 6px 6px 0; }
</style></head><body>
<h1>VOID Recursive Forecaster</h1>
<p>Self-improving forecaster for ML experiment outcomes. Built in one session. Now running autonomously across 3 GPU machines with volta2 tracking, diverse experiments, and honest evaluation.</p>
<div class="summary-box champion">
<strong>LIVE: Distributed Forecaster Loop v17</strong><br>
Full GLM-4.7-Flash forward pass → last-token hidden state → SwiGLU adapter → forecast<br>
<span class="metric">1700+ real outcomes · 3 machines (H100 + C45 + C47) · volta2 Spanner tracking</span><br>
Diverse experiments (4 loss functions × 4 architectures × 4 epoch counts × 6 LR values)<br>
Regression target (predict absolute Brier) · Fixed benchmark · Crash-only volta2
</div>
<h2>What's Running Right Now</h2>
<h3>On Each Machine</h3>
<table>
<tr><th>Machine</th><th>GPUs</th><th>Role</th><th>What's Running</th></tr>
<tr><td>H100 (EC2)</td><td>8× H100 80GB</td><td>Primary: GLM scoring + experiments</td><td>GLM-4.7-Flash loaded (10GB), 4 experiments/cycle + forecaster retraining</td></tr>
<tr><td>C45</td><td>8× B200</td><td>Experiment worker</td><td>4 experiments/cycle (diverse configs, volta2 tracked)</td></tr>
<tr><td>C47</td><td>8× B200</td><td>Experiment worker</td><td>4 experiments/cycle (diverse configs, volta2 tracked)</td></tr>
</table>
<h3>The Loop (every ~2 minutes)</h3>
<ol>
<li><strong>Generate 12 diverse candidates</strong> — Latin-hypercube sampling across loss (brier/focal/BCE), architecture (1-3 layer SwiGLU, linear probe), epochs (1-12), LR (2 orders of magnitude), regularization (dropout, smoothing, anchoring)</li>
<li><strong>Score with GLM forecaster</strong> — Full GLM-4.7-Flash forward pass, last-token hidden state, predict expected Brier score</li>
<li><strong>Select 70/30</strong> — 8 by lowest predicted Brier (model), 4 random (safety)</li>
<li><strong>Register in volta2</strong> — Each experiment created in Spanner before launch</li>
<li><strong>Distribute across 3 machines</strong> — Round-robin: H100 gets 4, C45 gets 4, C47 gets 4</li>
<li><strong>Run experiments</strong> — Train adapter on manifest, evaluate holdout Brier vs fixed benchmark</li>
<li><strong>Record actual holdout Brier</strong> — Continuous regression target, not binary</li>
<li><strong>Retrain forecaster 1 epoch</strong> — On expanded manifest with new outcomes</li>
</ol>
<h3>VOID Orchestration (parallel)</h3>
<p>VOID server + conductor + 4 runners (gpt-5.4 + gpt-5.4-mini) generating research directions. Concept-capped spark engine prevents quadratic growth.</p>
<h2>How This Applies to RSI</h2>
<p>The system demonstrates recursive self-improvement at three levels:</p>
<h3>Level 1: Inner Loop (working)</h3>
<p>The forecaster trains on outcomes of experiments it selected. Each cycle, 12 experiments run, outcomes feed back, forecaster retrains. The manifest grows by 12 records/cycle. With diverse experiments (not just hyperparameter tweaks), the forecaster learns which architecture/loss/regularization combinations work.</p>
<h3>Level 2: Selection Improvement (in progress)</h3>
<p>The 70/30 split lets us measure if model-selected experiments outperform random. Once the GLM forecaster demonstrably selects better experiments than random, it's providing real value — choosing which experiments to run based on learned patterns.</p>
<h3>Level 3: VOID Direction Forecasting (next)</h3>
<p>Currently VOID generates directions and GPT-5.4 forecasts them. The endgame: replace GPT-5.4 with the trained GLM forecaster for direction ranking. The forecaster would predict which research directions are most likely to produce improvements, closing the full recursive loop.</p>
<h3>Honest Assessment</h3>
<p>As of now, the forecaster is being honestly evaluated:</p>
<ul>
<li><strong>Fixed benchmark</strong> — no moving targets, labels are stable</li>
<li><strong>Regression target</strong> — predict absolute Brier, not binary beat/don't-beat</li>
<li><strong>Structured baselines</strong> — XGBoost on raw hyperparameters gets R²=0.53 (holdout MSE 0.085). The GLM forecaster needs to beat this to justify the 358B model.</li>
<li><strong>Crash-only volta2</strong> — no silent metric dropping, every experiment tracked in Spanner</li>
<li><strong>Noise measurement</strong> — script ready to quantify within-config vs between-config variance</li>
</ul>
<h2>Baseline Comparison (latest)</h2>
<pre>
Baseline Hold MSE Hold MAE Hold R2
------------------------------------------------------------------------------------------
MeanBaseline 0.186 0.403 -0.036
LinearBaseline 0.135 0.305 0.249
MLPBaseline 0.112 0.273 0.378
XGBoostBaseline (sklearn) 0.085 0.139 0.527
GLM forecaster needs holdout MSE < 0.085 to beat best structured baseline.
</pre>
<h2>Development Timeline (one session)</h2>
<table>
<tr><th>Phase</th><th>What</th><th>Result</th></tr>
<tr><td>1. Synthetic (6 cycles)</td><td>Fixed pipeline bugs, found SwiGLU LR</td><td>Brier 0.248→0.236</td></tr>
<tr><td>2. Real data (30 cycles)</td><td>Real outcomes + cached GLM embeddings</td><td>Brier 0.268→0.180</td></tr>
<tr><td>3. Full GLM forward</td><td>Last-token hidden state architecture</td><td>Brier 0.137 (dev)</td></tr>
<tr><td>4. Autonomous (easy label)</td><td>70/30 selection, 1-epoch retrain</td><td>100% success (too easy)</td></tr>
<tr><td>5. Hard label</td><td>Beat rolling champion</td><td>50/50 alternating (artifact)</td></tr>
<tr><td>6. Codex audit</td><td>Identified circularities and fakes</td><td>6 fixes implemented</td></tr>
<tr><td>7. Honest eval</td><td>Fixed benchmark, regression, baselines</td><td>XGBoost R²=0.53</td></tr>
<tr><td>8. Multi-machine</td><td>H100+C45+C47, volta2, diverse experiments</td><td>12 experiments/cycle across 3 machines</td></tr>
</table>
<h2>Key Numbers</h2>
<ul>
<li><strong>1700+</strong> real experiment outcomes in manifest</li>
<li><strong>12</strong> diverse experiments per cycle across 3 machines</li>
<li><strong>~2 min</strong> per cycle (score + distribute + run + collect + retrain)</li>
<li><strong>0.085</strong> XGBoost holdout MSE (baseline to beat)</li>
<li><strong>0.527</strong> XGBoost R² on structured features</li>
<li><strong>50+</strong> commits to voltropy/VOID, 194/194 tests pass</li>
</ul>
<h2>Architecture</h2>
<pre>
VOID Server (Rust) GLM-4.7-Flash (358B MoE)
+ Conductor + 4 Runners ┌──────────────────────────────┐
+ gpt-5.4 / gpt-5.4-mini │ Full forward pass (frozen) │
│ │ Last-token hidden state │
│ │ → SwiGLU adapter (trainable) │
▼ │ → ForecastHead → Brier score │
Research Directions └──────────┬───────────────────┘
(sources → concepts → │ predict Brier
sparks → directions) ▼
┌──────────────────────────────┐
│ Selection: 70% model / 30% │
│ random. Register in volta2. │
└──────────┬───────────────────┘
│ 12 experiments
┌───────────────┼───────────────┐
▼ ▼ ▼
H100 (4) C45 (4) C47 (4)
8×H100 8×B200 8×B200
│ │ │
└───────┬───────┘───────┬───────┘
▼ ▼
actual Brier scores → manifest
Retrain 1 epoch → next cycle
</pre>
<p style="font-size:12px;color:#8b949e;margin-top:32px;">Generated 2026-03-27 23:37 UTC. Built in one session. volta2 crash-only. All machines utilized. VOID recursive forecaster by Voltropy.</p>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment