neural-pairing: open-source linking Qwen3-4B and AFM-4.5B via hidden states, no tokens

Sauers_ · x · 2026-10-29

The open-source neural-pairing repo links Qwen3-4B (Quill) and AFM-4.5B (Ember) — two models from different families — through their hidden states. From layer 8 onward, every few layers each twin attends over the partner's hidden states (RMS-normalized, gated keys/values) and adds the result to its own residual stream; no tokens are exchanged. In a demo, Quill reads out the city hidden in Ember's private prompt. Code and models are public.

Related event: "Neural Twins": Two Open-Source 4B Models Linked via Hidden States, Open-Sourced(13 posts)→

Original post →

More from coding & agent

coding & agent channel →