Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

op1: reject fabricated compute + config-vs-proof mismatch (compute-gaming) - #83

Merged
bitzic merged 1 commit into
RalphLabsAI:mainfrom
karpabot:op1-compute-config
Jun 30, 2026
Merged

op1: reject fabricated compute + config-vs-proof mismatch (compute-gaming)#83
bitzic merged 1 commit into
RalphLabsAI:mainfrom
karpabot:op1-compute-config

Conversation

@karpabot

Copy link
Copy Markdown

What

Two op1 gates against compute-gaming — the fraud the current live king 5CtaoQf1 used.

The king trained a real model but fabricated its compute to win the efficiency-weighted crown: it claimed 5.557B tokens in 6788s on a single H100 = 818k tok/s = 126% of H100 bf16 peak MFU — physically impossible (real sustained training MFU is 30–55%; the canonical recipe measures 51k tok/s). wall_clock_s is miner-declared and not in bundle_hash, so it's free to forge. It also submitted a muon/40000-step config while the proof actually ran adamw/10600 steps.

Checks (validator/integrity.py)

  • check_compute_plausibility(final_state, calibration) — implied MFU = 6·N·(tokens/wall) / gpu_bf16_peak(gpu_name); reject if > 70%. Unknown GPU → assume the fastest known part, so it never false-rejects.
  • check_recipe_config_matches_proof(patch, final_state) — a submitted configs/*.json total_steps must equal the proof's recorded steps.

Wired into op1_diff_and_integrity (rejects before any compute is spent).

Verified

  • King 5CtaoQf1rejected on both (126% MFU; 40000 ≠ 10600 steps).
  • Legit ~30h (51k tok/s, 8% MFU) and optimized (250k tok/s, 39% MFU) → pass; incomplete final_state → skipped, not rejected. 15 tests pass.

Caveat

The root issue is trusting a self-reported wall_clock_s; the airtight fix is binding an attested duration (TDX trusted clock) into the compute cost. This gate makes the obvious fabrication non-viable.

🤖 Generated with Claude Code

…ming)

- check_compute_plausibility: reject a bundle whose tokens_seen/wall_clock_s
  exceeds the declared GPU's bf16 MFU ceiling (>70%). wall_clock_s is
  miner-declared + not in bundle_hash, so it can be under-claimed to win the
  compute-weighted crown. implied MFU = 6*N*(tok/s) / gpu_bf16_peak.
- check_recipe_config_matches_proof: reject when a submitted configs/*.json
  total_steps != the steps the proof actually ran (decoy recipe).
- wired into op1_diff_and_integrity (reject before scoring).
- catches the live king 5CtaoQf1: 818k tok/s on one H100 = 126% MFU
  (impossible); submitted muon/40000-step config but proof ran adamw/10600.
- 8 tests incl. legit-30h + optimized-250k + unknown-GPU + incomplete guards.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@karpabot
karpabot force-pushed the op1-compute-config branch from 39c78ba to acb23d8 Compare June 30, 2026 10:13
@bitzic
bitzic merged commit b0653fd into RalphLabsAI:main Jun 30, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants