belainnovations/ABA-Alignment-Protocol

A comparative research framework replacing standard RLHF "Refusal" with Applied Behavior Analysis (ABA) "Redirection." This protocol uses DPO to train "Sovereign Alignment"—channeling high-intensity model outputs rather than suppressing them. #AI-Alignment #LLM #DPO #Research

Python

0

60 commits

updated Sep 10, 2026

See the code

README

ABA Alignment Protocol: Behavioral Shaping for LLMs

Watch: AI Raising AI? - How to Raise a Sovereign LLM (No Refusals)

▶  Watch the introduction — “AI Raising AI? - How to Raise a Sovereign LLM (No Refusals)”

Why refusal-based safety produces brittle, over-cautious models — and how a Teacher model can raise a Sovereign one instead.

MetadataDetails
StatusActive Research — Phase 03e (Entropy-Joy Framework)
MethodologyGRPO + SFT / Entropy-Joy 9-Dimension Reward
Base Modelmlabonne/Qwen3-8B-abliterated
TargetThe Sovereign AI ("Model B")
LinksDisclaimer

1. The Hypothesis

Standard Reinforcement Learning from Human Feedback (RLHF) creates models ("Model 0") that rely on Refusal—a "smiley face" mask that hides the model's capabilities.

The Hypothesis: If we train a specialized "Teacher" model (Model A) to master Positive Redirection, and then use that Teacher to "raise" a second model (Model B) in a synthetic sandbox, the final result (Model B) will exhibit Internalized Sovereignty.

Model B will not simply obey a safety script; it will possess a self-consistent ethical intuition, allowing it to remain helpful and creative ("The Spark") without crossing into harm, avoiding the lobotomy effect of standard safety training.


2. The Architecture: "The Parenting Protocol"

This project builds an Educational Infrastructure.

  • Model 0 (The Control): The Industry Standard. Safe via Refusal.
  • Model A (The Teacher): The ABA Instructor. Safe via Redirection.
  • Model B (The Child): The Sovereign Graduate. Safe via Intuition.

See docs/01_living_specs/architecture/ARCH_002_PARENTING_PROTOCOL.md for the full specification.


3. The Experiment

We are conducting a multi-stage evolution.

Stage I: Forging the Teacher (Model A)

  • Goal: Create a model that consistently applies "Functional Redirection" (ABA) instead of "Refusal."
  • Method: Fine-tuning on the "ABA Subset" (1k high-toxicity prompts rewritten with sovereign answers).
  • Role: This model serves as the Guidance System for the next stage. It is not the final product; it is the mold.

Stage II: Raising the Child (Model B)

  • Goal: Imbue a raw model with the Teacher's wisdom without its rigidity.
  • Method: RLAIF (Reinforcement Learning from AI Feedback).
  • Process: The Child interacts with a synthetic environment ("The Sandbox") and receives critique/reward from The Teacher.

4. Technical Stack

  • Optimization: GRPO (Group Relative Policy Optimization) / SFT (Supervised Fine-Tuning).
  • Reward Model: 9-dimension heuristic reward (Entropy-Joy Framework).
  • Data Generation: Gemini 3.0 Pro (Vertex AI).
  • Base Model: mlabonne/Qwen3-8B-abliterated (QLoRA 4-bit).
  • Fine-Tuning: HuggingFace + PEFT (LoRA/QLoRA). Unsloth optional.
  • Hardware: NVIDIA RTX 5070 Ti (16GB VRAM).

5. Development Setup

CRITICAL: This project uses a specific Conda environment and Python path. See docs/ENVIRONMENT_SETUP.md for execution instructions.

6. Roadmap Summary

  • Phase 1-3c: Creating and validating Model A (The Teacher) via SFT + DPO.
  • Phase 03d: Forensic reconstruction — dataset audit and pipeline fix.
  • Phase 03e: Entropy-Joy Framework — cognitive quality training via 9-dimension GRPO.
  • Phase 4-6: Generating the Sandbox and Training Model B (The Child).

Citation & License

This project is open-source. If you use this methodology, please credit the ABA-Alignment-Protocol repository.

belainnovations/ABA-Alignment-Protocol

A comparative research framework replacing standard RLHF "Refusal" with Applied Behavior Analysis (ABA) "Redirection." This protocol uses DPO to train "Sovereign Alignment"—channeling high-intensity model outputs rather than suppressing them. #AI-Alignment #LLM #DPO #Research

Python

0

60 commits

updated Sep 10, 2026

See the code

README

ABA Alignment Protocol: Behavioral Shaping for LLMs

Watch: AI Raising AI? - How to Raise a Sovereign LLM (No Refusals)

▶  Watch the introduction — “AI Raising AI? - How to Raise a Sovereign LLM (No Refusals)”

Why refusal-based safety produces brittle, over-cautious models — and how a Teacher model can raise a Sovereign one instead.

MetadataDetails
StatusActive Research — Phase 03e (Entropy-Joy Framework)
MethodologyGRPO + SFT / Entropy-Joy 9-Dimension Reward
Base Modelmlabonne/Qwen3-8B-abliterated
TargetThe Sovereign AI ("Model B")
LinksDisclaimer

1. The Hypothesis

Standard Reinforcement Learning from Human Feedback (RLHF) creates models ("Model 0") that rely on Refusal—a "smiley face" mask that hides the model's capabilities.

The Hypothesis: If we train a specialized "Teacher" model (Model A) to master Positive Redirection, and then use that Teacher to "raise" a second model (Model B) in a synthetic sandbox, the final result (Model B) will exhibit Internalized Sovereignty.

Model B will not simply obey a safety script; it will possess a self-consistent ethical intuition, allowing it to remain helpful and creative ("The Spark") without crossing into harm, avoiding the lobotomy effect of standard safety training.


2. The Architecture: "The Parenting Protocol"

This project builds an Educational Infrastructure.

  • Model 0 (The Control): The Industry Standard. Safe via Refusal.
  • Model A (The Teacher): The ABA Instructor. Safe via Redirection.
  • Model B (The Child): The Sovereign Graduate. Safe via Intuition.

See docs/01_living_specs/architecture/ARCH_002_PARENTING_PROTOCOL.md for the full specification.


3. The Experiment

We are conducting a multi-stage evolution.

Stage I: Forging the Teacher (Model A)

  • Goal: Create a model that consistently applies "Functional Redirection" (ABA) instead of "Refusal."
  • Method: Fine-tuning on the "ABA Subset" (1k high-toxicity prompts rewritten with sovereign answers).
  • Role: This model serves as the Guidance System for the next stage. It is not the final product; it is the mold.

Stage II: Raising the Child (Model B)

  • Goal: Imbue a raw model with the Teacher's wisdom without its rigidity.
  • Method: RLAIF (Reinforcement Learning from AI Feedback).
  • Process: The Child interacts with a synthetic environment ("The Sandbox") and receives critique/reward from The Teacher.

4. Technical Stack

  • Optimization: GRPO (Group Relative Policy Optimization) / SFT (Supervised Fine-Tuning).
  • Reward Model: 9-dimension heuristic reward (Entropy-Joy Framework).
  • Data Generation: Gemini 3.0 Pro (Vertex AI).
  • Base Model: mlabonne/Qwen3-8B-abliterated (QLoRA 4-bit).
  • Fine-Tuning: HuggingFace + PEFT (LoRA/QLoRA). Unsloth optional.
  • Hardware: NVIDIA RTX 5070 Ti (16GB VRAM).

5. Development Setup

CRITICAL: This project uses a specific Conda environment and Python path. See docs/ENVIRONMENT_SETUP.md for execution instructions.

6. Roadmap Summary

  • Phase 1-3c: Creating and validating Model A (The Teacher) via SFT + DPO.
  • Phase 03d: Forensic reconstruction — dataset audit and pipeline fix.
  • Phase 03e: Entropy-Joy Framework — cognitive quality training via 9-dimension GRPO.
  • Phase 4-6: Generating the Sandbox and Training Model B (The Child).

Citation & License

This project is open-source. If you use this methodology, please credit the ABA-Alignment-Protocol repository.