- SyFox v5.1.0 β a System-One decision engine on an SI substrate (no NN, no transformer)
- How one decision is made
- The measured ladder (v3.9.3 baseline β v5.0.0)
- vs JEV AI and Laya (third-party published numbers)
- The five milestones (v5.0.0, all measured)
- The fabrics (this repo)
- Serving architecture
- Usage (python)
- Usage (HTTP, what the Space runs)
- Docker (HuggingFace Spaces)
- Build (no Docker)
- How one decision is made
- v5.1 router measurements (hidden, scored once β re-running re-measures)
SyFox v5.1.0 β a System-One decision engine on an SI substrate (no NN, no transformer)
One fabric family covering 16 decision domains (customer support,
banking intents, spam, emotions, moderation, news topics, product
sentiment, entity typing, boolean comprehension, game commands,
guardrails) plus per-script substrates for Bengali / Devanagari /
Cyrillic with automatic script routing. No transformer, no neural
network, no pattern matching: every decision comes from a C++ SI
substrate β energy injection β dissipative settle β affinity-field
resonance readout β honest silence. The lanes ARE the knowledge; every
one is inspectable in model/*/substrate.bin.
This is the v5.1.0 router release (on top of the v5.0.0 generalization and honesty release): the five scientific milestones the v4.0.2 card's Limitations section pointed at β generalization, compositional reasoning, efficiency, reproducibility, hybridization β each attacked and each shipped with measurements, including the negatives. Two headline moves: the dedicated AG News fabric (0.792 β 0.836 hidden) and the neural-hybrid semantic field (bank77 0.629 β 0.641). Unseen domains defer honestly (95.0% zero-shot, 95.8% routed β measured on TREC, a domain family the system was never taught). Full story in CHANGELOG.md, method docs in docs/ β start with docs/UNSEEN.md, docs/HYBRID.md, docs/EFFICIENCY.md, docs/REPLICATION.md, docs/CAR.md.
How one decision is made
A decide() call is four phases of pure physics: the state is
normalized and primed by retrieval, energy is injected into the lanes
that recognize its tokens, the field settles dissipatively, and the
affinity-field readout measures each candidate instead of
retrieving a stored pattern. The last phase is the differentiator β
three exits, one principle: a confident answer with a full probability
ranking, an honest silence when nothing resonates, or a disclosed
near-tie defer. It knows when it doesn't know.
The measured ladder (v3.9.3 baseline β v5.0.0)
The handmade gate is the anti-contamination check: 148 hand-written probes deliberately outside all training/eval vocabulary. Hidden splits were scored once, after all selection was frozen on cal.
| rung | handmade TOTAL | bank77 handmade | bank77 HIDDEN | ag_news HIDDEN |
|---|---|---|---|---|
| shipped fabrics, legacy readout (v3.9.3 baseline) | 0.291 | 0.103 | 0.158 | β |
| + repair-lanes + affinity-field readout (mix 0.3) | 0.358 | 0.176 | 0.275 | β |
| + CAL-selected diffusion (giant/b77 d0.02) | 0.385 | 0.191 | 0.460 | 0.792 (giant) |
| + bank77 retrained with ordered bigram lanes + IDF | 0.432 | 0.294 | 0.629 | 0.792 (giant) |
| + v5: dedicated agnews fabric + SGNS semantic field | 0.432 | 0.309 | 0.641 | 0.836 (dedicated) |
Giant per-domain HIDDEN (class) at the selected composition (bit-identical replay on the v5 binary): tickets_en 0.962, game 0.942, enron 0.894, hate 0.774, sms 0.770, dbpedia 0.714, clinc 0.565, boolq 0.547, emotion 0.438, bank77 0.468, agnews 0.792 β with the two dedicated fabrics answering their own domains at 0.641 / 0.836.
The handmade total is flat 0.432 β 0.432 under the deployed mapping, and the composition shift is disclosed: bank77 handmade 0.294 β 0.309 (the SGNS fabric generalises), agnews handmade 7/8 β 6/8 (the giant's cross-domain consolidation still answers out-of-vocabulary probes better than the dedicated fabric, 0.875 vs 0.750 β while the dedicated fabric wins the distribution-matched hidden test 0.836 vs 0.792; both numbers published side by side).
vs JEV AI and Laya (third-party published numbers)
Sources: arxiv 2609.37647 (jev-1.13.0, 37 datasets, third-party); laya-model.com/benchmarks and the Laya model card (vendor); typesafe.ai launch (vendor workflow claim).
| axis | Jev | Laya | SyFox v5.0.0 (measured here) |
|---|---|---|---|
| banking77 | 0.870 | 0.425 | 0.641 (+22 vs Laya, β22.9 vs Jev; was β71) |
| ag_news | 0.91 | β | 0.836 (dedicated fabric; β7.4, was β11.8) |
| emotion | 0.48 | β | 0.499 |
| ECE | 0.144β0.246 | 0.466 pre-refit | 0.026β0.084 |
| latency p50 | 236β276 ms | 39.5 ms (T4) | 0.8β25.8 ms CPU/decision, per fabric |
| energy per decision | not published | not published | 12β387 mJ (15 W/core assumed; CPU measured) |
| honest defer, reasons | confidence only | overconfident pre-refit | 95.0% zero-shot on unseen domains, with reason |
| determinism | not published | not published | bit-reproducible, make replicate |
| cost | $0.042/M in | self-host | $0 local |
| options per choice | 255 cap, then two-stage | ~20 (token budget) | unbounded criteria map |
Latency and energy are now per-fabric measured numbers, not one headline: tickets 0.81 ms, router16 2.38 ms, giant-latin 7.08 ms, b77-sem 20.0 ms, agnews-sem 25.8 ms CPU per decision; 12β387 mJ per decision at a stated 15 W/core assumption (the sandbox has no power meter β the CPU milliseconds are measured, the joules derive from them). Method and raw JSON: docs/EFFICIENCY.md.
The five milestones (v5.0.0, all measured)
M1 β Generalization. Two complementary measurements. (a) The dedicated AG News fabric closes half the ag_news gap (0.792 β 0.836 hidden; CAL-selected PMI affinity 0.85 at diffusion 0.02); a 2x data scale-up was built and measured on a decontaminated shared CAL β 0.845 vs 0.844, the fabric saturates at 8k rows, the remaining gap is not data volume. (b) The unseen-domain test (TREC-QC β question classification, nothing like the 16 known domains): the giant's vocabulary covers 88.8% of TREC's tokens, yet the zero-shot direct question defers 95.0% (the 25 answers score 2.4x chance at mean confidence-when-wrong 0.049) and the deployed two-stage path defers 95.8% β the honesty is structural, not vocabulary-driven. The few-shot adaptation curve: 100 rows buy 3.9x chance on a never-seen domain (0.643 answered-accuracy); the full curve and the mined-criteria trade are in docs/UNSEEN.md.
M2 β Compositional reasoning. Attacked with the existing opt-in mechanisms; every configuration measured on CAL and none beats the baseline (BoolQ: ctx-gate 0.553, question-gate 0.562, both 0.553, 2-hop 0.558 vs 0.562). think30 on the v5 binary: choice 5/5, cross-domain causal 5/5, honesty 4/5, chains 0/5 β all defer. The boundary stands, now with the negatives recorded (docs/CAR.md, docs/ZEROSHOT.md).
M3 β Efficiency. The published table: CPU per decision, peak RSS, disk, 2-worker throughput, energy per decision per fabric β docs/EFFICIENCY.md, raw JSON in data/efficiency_v5.json and data/efficiency_v5_steady.json.
M4 β Reproducibility. make replicate (Gitea layout) or
tools/replicate_hf.sh (this layout): build, version gate, unit
suite, bit-determinism, and both headline hidden numbers re-scored
and asserted (b77-sem 0.641, agnews-sem 0.836). The full number map
with commands: docs/REPLICATION.md. The
fresh-clone path was executed end to end before this release.
M5 β Hybridization. The neural interface: a semvecs.json in the
model dir is consumed at build time and replaces the lexical trigram
encoding for the concepts it covers (per-node fallback otherwise;
absent file = bit-identical lexical field). The reference neural side
is a pure-numpy SGNS trainer; on bank77 it lifts CAL 0.612 β 0.627
and hidden 0.629 β 0.641 (handmade bank77 0.294 β 0.309 β the
hybrid fabric generalises). Cooperation without dependence, measured
in both directions: the substrate never calls the neural model, the
neural model never sees the substrate β docs/HYBRID.md.
The fabrics (this repo)
Composition = the decide-side physics a fabric was calibrated under,
recorded in its physics.json and read back at model load (v4.0) β
diffusion, affinity_mix, energy_norm. Threshold
T = fitted choice temperature (calibration.json).
| fabric | task | nodes | lanes | version | composition | measured |
|---|---|---|---|---|---|---|
model/giant-latin |
16 domains, latin script | 43,420 | 1,905,170 | 4.0.1 (repaired) | d0.02, am0.3, T 0.157 | class total 0.551 hidden (bit-identical replay on v5) |
model/b77-sem |
banking77, 77-way | 19,707 | 1,383,120 | 5.0.0 (SGNS field) | d0.02, am0.3, T 0.100 | 0.641 hidden, ECE 0.084, 54,000 lessons |
model/agnews-sem |
AG News, 4-way | 158,454 | 2,441,010 | 5.0.0 (new) | d0.02, am0.85 PMI, T 0.64 | 0.836 hidden, ECE 0.026, 21,600 lessons |
model/router16 |
two-stage physics router (v5.0.0, kept for replay) | 4,742 | 67,089 | 4.0.1 (repaired; v5 remap) | d0.45, am0.3, T 0.190 | mean route acc 0.571 hidden; blind on the 10 HF domains (bank77 0.32) β superseded |
model/router16-v51 |
two-stage physics router (deployed) | 81,695 | 532,767 | 5.1.0 (all 16 domains, anchor sweep, route floor) | d0.45, am0.3, T 0.177, route_floor 0.50 | mean route acc 0.676 hidden; bank77 0.88, agnews 0.76 (0.94 answered); rt00βagnews-sem, rt01βb77-sem, rt12/14/15βthe script fabrics |
model/giant-{bengali,devanagari,cyrillic} |
tickets, per-script | 579 / 546 / 680 | ~13k | 3.1.2 | β | tickets_bn 0.943, hi 0.920, ru 0.959 |
model/{sst2,agnews,amazon} |
single-domain, probe-gated | 28,730 / 107,235 / 157,048 | 0.3β1.7 M | 3.9.1 | β | novel-gate ADMIT (table below) |
Serving architecture
Python is a tool β it speaks HTTP and JSON; every decision is made by
the C++ substrate core. The two-stage router16 fabric routes banking
queries to the dedicated b77-sem fabric and news queries to
agnews-sem; script detection routes Bengali / Devanagari / Cyrillic
to their substrates with an honest fallback note. Every fabric carries
physics.json, the recorded composition it was calibrated under, read
back at load.
Usage (python)
from inference import SyFox
m = SyFox() # loads model/giant-<script> per detected script
r = m.decide("I was charged twice on my last invoice, please refund.")
print(r["answers"]["domain"]) # router: choice + probabilities + confidence
# ask a named domain's question directly (skips the router bottleneck):
r = m.decide("I was charged twice on my last invoice, please refund.",
domain="bank77")
print(r["answers"]["intent"]) # 77-way choice with probabilities
Usage (HTTP, what the Space runs)
curl -X POST http://localhost:7860/v1/systemone -H 'Content-Type: application/json' -d '{
"state": "Congratulations! You won a Β£1000 prize. Call now to claim!",
"questions": {"domain": {"type": "choice", "instructions": "",
"criteria": {"rt00": "support billing sales technical", "rt05": "text messages spam",
"...": "see datasets/schemas.json"}}},
"options": {"energy_norm": true}
}'
The server also exposes /v1/health, /v1/models (fabric discovery
from meta.json), /v1/deferrals (active-learning mirror) and
per-call options energy_norm, salience_gating, miller_window,
ngrams, defer_margin, evidence, and the v3.2 knobs semantics,
retrieval, retrieval_topk, retrieval_dose, hierarchy.
Script routing: --lang auto detects Bengali / Devanagari / Cyrillic
and routes to the matching substrate with an honest fallback note.
Docker (HuggingFace Spaces)
The included Dockerfile builds the v5.0.0 engine from source and serves
the v3 API on port 7860 (--model model/giant --lang auto --energy-norm). Create a Docker Space, push this repo, done. The
model/giant argument is a family prefix: routing appends the script
slug (model/giant-latin, model/giant-bengali, ...).
Build (no Docker)
cd engine && make all && make sync-so && cd ..
make sync-so is required for the Python bridge: it loads
build/libsyfox_core.so from the repo root, not engine/build/, so a
plain make all leaves a stale library in place and
from inference import SyFox fails with undefined symbol. A
v5.0.0-built library is committed at build/libsyfox_core.so. Full
instructions: BUILDING.md.
v5.1 router measurements (hidden, scored once β re-running re-measures)
python3 tools/v51_router_hidden.py # per-domain route accuracy, new router python3 tools/v5_routed_e2e.py # routed e2e, correct per-fabric pairing bash tests/route_floor_test.sh # OOD floor + strict defer behaviors bash tests/option_isolation_test.sh # per-call option isolation
Replicate everything
bash tools/replicate_hf.sh # build + version + unit suite + determinism
# + both headline hidden numbers, asserted
Every published number mapped to its command:
docs/REPLICATION.md. The tree's SHA-256
manifest is at SHA256SUMS.
Files
engine/ C++ SI substrate core v5.0.0 (core/*.hpp, src/*.cpp) β builds with make
server/ HTTP bridge (v3 API, CLI-equal flags incl. the v3.2 knobs)
inference.py thin python wrapper (auto script routing)
config.json machine-readable fabric registry + serving defaults
model/ the fabrics (substrate.bin + physics/calibration/meta/hierarchy JSONs;
b77-sem carries semvecs.json β the neural-hybrid field, docs/HYBRID.md)
datasets/ eval hidden splits, cal splits, probes, schemas (training-time),
MANIFEST.json (sha-256), novel_probes/, DATASETS.md
docs/ UNSEEN.md, HYBRID.md, EFFICIENCY.md, REPLICATION.md, CAR.md (the v5
milestone docs), RETEST_v402.md, ENGINE_PORT.md, EVALUATION.md,
ARCHITECTURE.md, PROBING.md, ZEROSHOT.md (history)
data/ measured artifacts: efficiency_v5*.json, routed_e2e_v5.json,
think30_tables_v5.json, agnews + TREC splits, semvecs_sgns_b77.json,
v401_freshclone_tables.json
assets/ banner + diagrams + measured charts (this card)
examples/ JSON payloads + curl + python usage
tools/ replicate_hf.sh, sgns_train.py, efficiency_*.py, v5_*.py (milestones)
Dockerfile HuggingFace Spaces (builds engine, serves on 7860)
datasets/schemas.json is the training-time criteria set. Criteria
text is injected energy: never regenerate, reword or re-mine it against
existing fabrics β a different mining asks old fabrics with new wording
and silently breaks them (the v3.9.2 lesson, see CHANGELOG).
Evaluation methodology (why you can trust the ladder)
- Anti-contamination first. The headline gate is 148 hand-written probes outside all training/eval vocabulary β the only check that can see a fabric that memorised its corpus instead of learning it.
- Hidden splits scored once, after every selection decision was frozen on cal. No iteration against hidden. The v5 session's one selection reversal (a 300-row CAL slice said linear affinity, the full CAL said PMI) is kept in the CHANGELOG record on purpose.
- Composition selection on cal only, per fabric, recorded in each fabric's physics.json, read back at load.
- Fit-decide parity CI-enforced: a fitted temperature may only ship attached to the decide-side composition it was fitted under β extended in v5 to the CAR shortlist re-rank.
- Bit-reproducible: same rows, same order, same epochs β same bytes. Enforced in CI and asserted by the replication gate.
- Firewall between splits: hidden was never taught, never calibrated on (enforced in code by core/firewall.hpp).
New models β gated on handcrafted NOVEL questions
Three single-domain fabrics trained and admitted, each passing a
handcrafted probe set built to defeat the cheapest way to pass
(tools/novel_gate.py, probes shipped in datasets/novel_probes/):
| model | task | labels | novel acc | required | outcome |
|---|---|---|---|---|---|
model/sst2 |
sentiment (Stanford SST-2) | 2 | 0.750 | 0.650 | ADMIT |
model/agnews |
news topic | 4 | 0.583 | 0.400 | ADMIT |
model/amazon |
product polarity | 2 | 0.700 | 0.650 | ADMIT |
Admission rule: novel_acc > max(majority_baseline, uniform_chance + 0.15)
and no prediction collapse (β€60% of probes answered with one class).
Two candidates were REJECTED and are recorded, not hidden: toxic
(0.286 vs 0.650 required β a bag-of-words SI fabric does not separate
abuse from ordinary blunt speech) and 6-way emotion (0.250 vs 0.317 β
chance). xnli measured 0.338 against a 0.333 chance floor.
None of the three is published.
Limitations (honest)
ag_news 0.836 vs Jev 0.91 (β7.4) β the dedicated fabric shipped and closed 4.4 points of the gap. The 2x data scale-up was measured on a decontaminated shared CAL (0.845 vs 0.844): the fabric saturates at 8k rows, so the remaining gap is not data volume β it is the readout's ceiling on 4-way broad-topic separation.
bank77 0.641 vs Jev 0.870 (β22.9) β the miss anatomy is re-measured: 59% of CAL misses hold gold at ranks 2β5, 90% within the top-20. The shortlist re-rank (CAR) was built to exploit that and measured negative (CAL 0.602 vs 0.612; docs/CAR.md): the discriminative tokens are absent from the query itself β the fabric holds the signal, the user's wording does not trigger it. The fix must be query-side (expansion, clarification defer) or memory-side (richer retrieval stores); both open.
The router was the deployed bottleneck β rebuilt in v5.1 (docs/ROUTER.md): model/router16-v51 is trained on all 16 domains from shipped data, CAL-swept (d0.45/am0.3) with a per-domain anchor wording sweep, and deployed behind an absolute route floor (0.50 on the calibrated top-1 route probability) with strict route-defer β a route that will not commit is answered
route_deferred, never by a silent fallback. Hidden, scored once: mean route accuracy 0.676 (bank77 0.32β0.88, agnewsβ0.76 with 0.94 answered; game/guard/tickets stay 1.00 at zero defer); routed e2e bank77 0.292β0.473, agnews 0.500β0.605 (the v5.0.0 bank77 class number was measured under the wrong question mapping β the dedicated fabric's criteria share 0/77 texts with the giant's; the pairing doctrine is now documented). Unseen-domain (TREC) honesty through the deployed path: 96.2% defer, 24.4% caught AT THE ROUTE. The multilingual map is fixed (rt12/14/15 β the script fabrics; routed Bengali/Hindi/Russian class 0.94-0.98, was 100% abstention). REMAINING, DISCLOSED: boolq 0.13 / hate 0.24 / sms 0.30 / dbpedia 0.32 hidden route accuracy (their would-be misroutes mostly become disclosed route-defers under the floor), and OOD states whose lexical surface lands above the floor (snake boards route to rt11 at p_top 0.80) still reach a confidently-wrong destination.Unseen-domain honesty, now route-level: the direct zero-shot readout defers 95.0% on TREC; the v5.1 deployed path (floor + strict defer) defers 96.2% with 24.4% caught at the route itself. The remaining 3.8% confidently-wrong are states whose vocabulary looks in-distribution to the router β destination-side honesty is the remaining line of defense.
Boolean passage comprehension is near-majority, and v5's attempts failed too: ctx-gate 0.553, question-gate 0.562, both 0.553, 2-hop 0.558 vs baseline 0.562 on CAL β no composition beats it. The substrate reads lexical fields, not logic.
Zero-shot composition is NOT solved β think30 chains 0/5 (all defer), and the two-dimension separation stands as measured in docs/ZEROSHOT.md.
Adaptation to a new domain is fast but shallow: 100 TREC rows buy 3.9x chance, yet the full fabric plateaus at 0.563 answered / 0.477 with mined criteria vs ~0.9+ for dedicated neural systems.
The v397-era experiment (
model/giant-latin-v397,schemas-v397.json) was removed from this repo: it was never part of any verification.Out-of-domain reasoning is NOT demonstrated (external research assessment, adopted): on 30 compositional items vs 30 matched single-cue twins sharing the same vocabulary, the model shows no compositional advantage (0.526 vs 0.480, twin McNemar p = 0.69), is not better than a lexical surface matcher (0.533 vs 0.500, n.s.), and every one of the engine's readout modes makes it WORSE (0.500 -> 0.415 with ctx_gate). The substrate matches criterion text against state text; it does not compute over either.
General-intelligence probes are at chance (same assessment): an 80-item, 10-family battery scores 0.2625 counting abstentions as lost turns against a 0.2542 chance level (direct path 0.225, n.s.); spatial orientation 0/7, letter series 100% abstained, a lexical matcher beats it on every family (0.7625, p < 1e-6). Forcing answers yields chance too β the abstentions hide noise, not competence.
Decision accuracy is not game competence (paired statistics, Holm-corrected): the routed pac-man advantage does not survive correction (p_holm 0.699) and reverses when abstentions are scored as the lost turns they are (-0.229, p_holm < 1e-5); against a competent human the duel is 14/40, CI [0.221, 0.505] β not significantly different from even. Per-turn competence inside the trained vocabulary is real (0.95-1.00, p < 1e-6); translating it into objectives is not.
decide_ex options were sticky on the engine handle (found by the same assessment: one ctx_gate call flipped 16/60 later answers) β FIXED in v5.1: every per-call option is now snapshot/apply/restore scoped to its call (0/780 flips across 13 modes; CI gate tests/option_isolation_test.sh). Long-lived handles are now safe.
Research roadmap (v5.2+, adopted from the external assessment)
Four priorities, each anchored to a measured negative this repo owns β
full text in the source repo's ROADMAP.md:
- Multi-hop compositional reasoning without losing abstention. The twin experiment found no compositional advantage (0.526 vs 0.480, McNemar p = 0.69) and every readout mode hurts OOD reasoning; think30 chains defer 5/5. Try: adversarial lanes that punish co-activated conflicting criteria, promoted compose-mode readout, criterion-pair binding lanes. The bar: beat matched single-cue twins with Holm correction while the 95%+ OOD defer rates stay put β abstention is not traded for composition.
- Semantic vector coverage beyond 1,056 nodes. The one measured hybrid build covered 1,056/19,707 b77-sem nodes (+1.2 hidden, +1.5 handmade); the 65k-node guard leaves agnews-sem with no semantic field at all. Try: larger normalized corpora, subword-keyed vectors, a measured re-test of the 65k guard. The bar: gains on a SECOND fabric with the absent-file replay contract intact.
- Dedicated fabric vs giant β a measured selection rule. The dedicated fabrics win distribution-matched hidden tests (agnews 0.836 vs 0.792) but the giant wins out-of-vocabulary handmade probes (0.875 vs 0.750). Try: vocabulary-coverage gates, per-fabric OOD signatures in router.json (the v5.1 route floor is the first), a two-fabric race. The bar: one rule that beats both fabrics on both axes, or the two-axis disclosure stays.
- The hybrid interface proven with a second independently trained embedder. "Any embedder can write semvecs.json" is claimed for a population of one (pure-numpy SGNS). Try: a frozen transformer encoder or an independent SGNS writing the same file. The bar: an A/B on b77 hidden + handmade with zero core changes; if it does not transfer, the generality claim is downgraded in this card.
License & credit
MIT Β© 2026 Mr-DS-ML-85 Β· FuryLogic Labs. Core mechanics ported from the author's Synthetic-Intelligence research substrate. Dataset licenses: see datasets/DATASETS.md.
- Downloads last month
- 79
Collection including FuryLogic-Labs/SyFox
Evaluation results
- top-1 accuracy on banking77 hidden split (n=2801, scored once)self-reported0.641
- expected calibration error on banking77 hidden split (n=2801, scored once)self-reported0.084
- top-1 accuracy on agnews hidden split (n=2000, scored once)self-reported0.836
- expected calibration error on agnews hidden split (n=2000, scored once)self-reported0.026




