Overview
Dynamic routing based on semantic novelty between identity and residual paths.
Core Technique
Cosine Incompatibility Ratio:
# CIR = 1 - cos(x, F(x))
# Low CIR: identity sufficient (skip block)
# High CIR: block adds novelty (execute)
cir_score = 1.0 - cosine_similarity(input_x, residual_output)
should_skip = cir_score < threshold
Differentiable Gating: Gumbel-softmax for training, deterministic for inference.
Performance
- 91.3% accuracy with 28.5% FLOPs saving
- No auxiliary supervision needed
References
- Cosine incompatibility ratio for routing
- Geometric grounding of gate decisions
- FLOPs-constrained gating