Skip to content

RCE-JEPA: World Coding, with JEPA as Premise

Plain-Words Quick Guide (30 sec) 📊 On-Chip Energy Counter (reported_j) · Signed Provenance

Small World Models Propose Code, Exact Checkers Decide

Checking whether a code repair follows the rules takes 1,718 times less chip energy than asking a giant model—so lightweight predictors and exact checkers can handle most work first.

Think of it like: Think of a crossword puzzle: guessing a word can take minutes of brainstorming, whereas checking whether the letters fit the crossing squares takes a glance.
And (Setup)
Generative coding models are creative proposers, yet calling a giant model on every single bug fix is slow and energy-hungry.
But (Problem)
Mechanical rule ladders alone fix routine typos and renames (73.5%), leaving harder multi-line logic repairs open.
Therefore (Result)
Combining a compact 6-to-8-million-parameter latent predictor, a 49-millijoule deterministic checker, and a zero-call replay cache closes 40 of 40 hard residual repairs while cutting big-model calls by 16.67×—extended in companion FormJEPA (`@ 8efcd0b0`) to 96/96 whole-program syntheses and 35/35 polyglot call-graph modules.
Key Result:Checking a blueprint uses 1,718× less chip energy than a local 35B model proposal (49.04 mJ vs. 84.25 J `reported_j`), the 3-Gear cascade cuts frontier episodes by 16.67× with 0 contradictions, and companion `FormJEPA` closes `96/96` unseen specs + `35/35` call-graph modules (`@ 8efcd0b0`). ▶ Watch 15s Plain Film →

RCE-JEPA (RCE is the Reality Code Engine; JEPA is a Joint Embedding Predictive Architecture) keeps its name. The subject is World Coding. JEPA is the premise: predict a compact summary of a program instead of the next word-piece of text. The proposer slot is any learned model over Forms. The checker decides. The Laws of Coding are the acceptance rule under test.

What it claims and what it does not

  1. It states a thesis, fifteen hypotheses (H1 to H15) and six falsifiers (RJ-F1 to RJ-F6). Measured deterministic floors: median rho 9.34 over 185 hand-written programs (H1); 0 invariant violations in 1,275 fuzzed mutants (H7); 0 replay mismatches on 10,500 streams across six targets (H8); and the plain arm of ladder run 3 closing 111 of 151 tasks (73.5%) at zero model calls, leaving 40 real-history residual tasks (H14 supported).
  2. At openIE-dev/rce commit 1762fb4b (reported_j; measured_j = None, board_metered = false): H2 is supported on Apple M5 Max (C_check / E_model = 0.04904 J / 84.25 J = 0.000582 <= 0.05, 1,718× cheaper). On the strictly disjoint 1,387-Form split (zero task overlap), FormJEPA-v1 (8.42M parameters) admits 177/200 held-out synthetic defects and 27/40 H15 tasks at k = 16 (474.76 mJ RAPL core reported_j), contrastive FormEBM-v2 (5.85M parameters) reaches unseen-shape H5 AUROC 0.8922 >= 0.85 (84.05% solvable top-1 accuracy, 2.39× fewer checker calls) and H11 93.0% >= 80% strict 5-step cumulative defect monotonicity (Spearman 0.9931, 47.09 mJ/candidate core reported_j), and span-normalized two-head FormEBM-v3 (6.05M parameters) lifts unseen-shape H5 AUROC to 0.9437 (83.44% defect-head and 80.98% composite solvable top-1 accuracy), reaches H11 94.0% strict 5-step monotonicity on E_depth (Spearman 0.9966; 92.0% on E_total at Spearman 0.9846), and resolves Wave-4 zero-shot OOD cross-task edit-span inversion on H15 from 0.2585 to 0.5278 pooled AUROC (0.6018 on large-span valid vs short invalid rewrites; 232.45 mJ/candidate core reported_j).
  3. Across the 40 open residual tasks (H15), single-shot proposers admit 17/40 to 34/40, while bounded <= 5-turn checker feedback plus public stdlib/lib signature headers (H15-Iterative, zero access to the original Form) closes 40/40 (100.0%) on Claude Opus 5.5 ($1.81) and Claude Sonnet 5.5 ($1.11) with 0 contradictions (39/40 on xAI Grok 4.20 Reasoning). Crystallizing all 40 verified repairs into Shape D (DNULLMM1) Gear-0 v2 replays 40/40 at 0 calls (0.325 µs / 1.77 µJ per probe), and the 3-Gear Cascade admits 200/200 recurring Zipf(0.85) arrivals with 16.67× fewer Gear-2 episodes (12 vs 200). The 151-task rce repair rung f audit records 3/119 = 2.5% > 2.0% stochastic closes (0 contradictions), keeping rung f in observe mode; full intent-to-Form synthesis (H3), cross-module signature-and-trace OOD energy calibration beyond 0.5278, and external wall-meter measured_j remain open.
Measured Three-Gear residual cascade (40/40 warm DNULLMM1 replay, 200/200 Zipf(0.85) stream) alongside FormEBM-v2 H5 ROC curve (AUROC 0.8922) and H11 5-step energy landscape (93.0% strict monotonicity).
Measured Three-Gear residual cascade and FormEBM-v2 latent energy landscape at commit 1762fb4b. Only the deterministic checker admits candidates; crystallized admissions replay at zero model calls from DNULLMM1.

29 November 2026 companion study · FormJEPA (commit 8efcd0b0)

Companion study FormJEPA (openIE-dev/rce commits 8efcd0b0 & f87d6af2, 491/491 workspace tests) extends the proposer track to 4-node federated HierFormJepa (23.99/24 effective rank, 96/96 holdout synthesis, 0 false admissions), multi-function RepoFormJepa (35/35 Rust, Python, and C call graphs at 0.0 rename drift), 1,208/1,280 (94.4%) Gear-0 standard-library execution, and 500 Hz MuJoCo 4.0.1 closed-loop actuator checks (<= 0.48 mm, 6.90 N <= 140 N; measured_j = None).