MAT-Nexus-Benchmark / ARCHITECTURE.md
genia-dev's picture
Upload 5 files
83c9fff verified
|
Raw
History Blame Contribute Delete
1.85 kB
# Architecture overview
MAT Nexus separates **generation** from **verification**.
## Safe request path
1. Normalize a request without adding domain knowledge.
2. Try every applicable bounded expert. Expert refusal is a normal outcome.
3. Canonicalize successful answers.
4. If successful experts agree, publish the verified answer without an LLM
rewrite.
5. If successful experts disagree, fail closed and emit an audit event.
6. If all experts refuse, call the original model through a byte-identical
bypass.
```mermaid
sequenceDiagram
participant U as User
participant N as Nexus Safe Gate
participant E as Verified Experts
participant L as Local LLM
participant A as Audit Stream
U->>N: request
par bounded expert trials
N->>E: try / refuse
end
alt experts agree
E-->>N: verified canonical answer
N-->>U: verified answer
else experts disagree
N-->>U: explicit refusal
else all refuse
N->>L: unchanged direct request
L-->>N: direct response
N-->>U: unchanged direct response
end
N-->>A: hashes, decisions, timing, no private text
```
## Why no generative arbiter?
A generative arbiter can rewrite a correct deterministic result. In the safe
path, verification authority remains with bounded executors. An LLM may explain
a result in a separate presentation layer, but that explanation cannot mutate
the canonical answer.
## Qualification
An expert is eligible for production only when it:
- beats or safely complements the raw model in its declared competence;
- passes independent test sets;
- refuses out-of-domain requests;
- produces the required contract;
- passes deterministic verification;
- introduces no paired losses in the safe path.
Prompt-only specialists remain advisory and cannot become verified authorities.