Cross-Layer Residual Attention & MoE Inference: When does replacing standard residuals with DeepCrossAttention actually speed up serving?
With DeepCrossAttention (supercharging transformer residual connections to reach comparable quality up to 3x faster) getting a lot of attention among ML systems engineers today, I'm curious about the production inference side—not just training FLOPs.
In standard decoder-only transformers, each layer only depends on the immediately preceding hidden state h_{l-1}, which makes PagedAttention KV-cache scheduling and layer-by-layer pipeline parallelism very clean.
When a model introduces learned cross-layer residual mixing / cross-layer attention across earlier layer representations:
- Doesn't retaining multiple earlier layer hidden states spike HBM activation memory during long-context prefill?
- How do engines like
vLLMorSGLangfuse those cross-layer projections without adding extra memory-bandwidth-bound kernel launches during token-by-token decode?