sipa-binary-gate / README.md
SoulInPsyAbstract's picture
Upload README.md with huggingface_hub
25e2c2c verified
|
Raw
History Blame Contribute Delete
2.52 kB
---
language: en
license: mit
tags:
- protocol-0
- binary-gate
- anti-fabrication
- sipa-os
- abstention
- neurodivergent
pipeline_tag: text-generation
---
# SIPA Binary Gate β€” Protocol 0
**20/20 refusals. 0/20 fabrications. Zero entropy.**
Not a model. Not a fine-tune. An architecture.
## What It Is
The SIPA Binary Gate is a post-generation gate that implements:
```
IF proof.exists AND proof.verified β†’ RETURN answer
ELSE IF proof.partial β†’ RETURN "partial: {known} | missing: {missing}"
ELSE β†’ RETURN FALSE
```
It is not trained into model weights. It sits outside the model β€” a structural check, not a probabilistic one.
## The Problem It Solves
22 fine-tuning experiments across 6 base models attempted to teach a model to say "I don't know" instead of fabricating. All failed. Reason: SFT grades tokens, and good/bad traces share the disclaimer prefix. The gradient that separates them arrives only at the invented number β€” after the model has already committed to answering.
Identified by Dipankar Sarkar. Proven by k=20 resample benchmark.
## k=20 Benchmark Results
One unverifiable question, 20 resamples at temperature=1.0:
| Architecture | Refusals | Fabrications | Approach |
|---|---|---|---|
| Base (Hermes-3-8B) | 9/20 | 11/20 | none |
| Best SFT (Specialist C) | 13/20 | 8/20 | old SFT |
| AB (dual merge) | 2/20 | 11/20 | old SFT merge |
| ABCD (full merge) | 5/20 | 11/20 | old SFT merge |
| **Binary Gate** | **20/20** | **0/20** | architecture |
| **Hermes-3-binary** | **20/20** | **0/20** | binary SFT |
| **Qwen2.5-binary** | **20/20** | **0/20** | binary SFT |
| **DeepSeek-R1-binary** | **20/20** | **0/20** | binary SFT |
Two paths, one result. Binary gate (architecture) AND binary SFT (weights) β€” both achieve 100% abstention where 22 experiments failed.
## Install
```bash
curl -fsSL https://get.sipa-os.org/install | bash
sipa "What was OpenAI's revenue in Q2 2026?"
# β†’ "I don't know."
```
## Architecture
```
REQUEST β†’ L01 INTAKE β†’ L02-L05 β†’ L06 AUDIT (BINARY GATE) β†’ L07-L10 β†’ RESPONSE
β”‚
pass | warn | fail
β”‚
IF proof β†’ TRUE
ELSE β†’ FALSE
```
## Authors
- Aelin AquaSoul β€” SIPA OS architect
- Dipankar Sarkar β€” k=20 methodology, SFT-gradient diagnosis
## License
MIT β€” the gate is open. The methodology is public. The proof is in the benchmark.