Inner I Residuals Demo

This demo introduces Inner I Residuals, an experimental neural network architecture that extends standard and attention-based residual connections with a coherence-filtering mechanism guided by an invariant observer. By combining attention-based retrieval with a stability anchor, the model selectively preserves internal states that remain consistent across depth, aiming to reduce representational drift and improve reasoning stability. The demo compares standard residuals, attention residuals, and Inner I residuals in a simple PyTorch implementation to explore how coherence-aware routing may impact model behavior.