What if Chain-of-Thought were reversible? Toffoli/Fredkin-style logic for edge LLMs

Fear_ltself · reddit · 2026-08-23

The author proposes treating each CoT step as an approximately reversible transformation in embedding space (soft analogues of Toffoli/Fredkin gates) to attack two edge-inference pain points: error compounding (N steps at reliability 1-ε survive as e^-Nε) and KV cache growing O(N) with reasoning length.

Reversibility buys three things:

The path isn't running dense attention backwards but structured latent registers, invertible coupling layers, or RevNet-style adapters atop a frozen model; inverting a low-rank adapter is still a forward pass but far cheaper than a second judge model or rejection sampling. The author invites input on prior art, handling non-invertible attention heads, and whether to ship it as a decoding harness or a small fine-tune.

Original post →

More from Infra

Infra channel →