Recurrent State
In hybrid-architecture LLMs, a fixed-size hidden state maintained by recurrent layers (such as linear attention, state space models or Mamba-style structures) for each sequence. It does not grow with context length, but each concurrent sample must hold its own copy independently.
Timeline (last 90 days)
When compressing recurrent states, low-rank structure means the effective rank of the state matrix is far lower than its nominal dimension, so it can be approximated by matrix factorization without significant information loss.
In addition to the KV cache, modern hybrid architecture models also maintain recurrent states and sliding-window states, which requires compression strategies to consider model architecture, workload characteristics and reconstruction cost simultaneously.
AutoCache can achieve compression on the recurrent states of hybrid models by discovering and exploiting previously unexploited low-rank structure in the recurrent states.
Recurrent states are fixed-dimensional hidden states that accumulate over time and are responsible for compressing historical information; sliding-window states retain only the KV within the most recent window; they do not grow linearly with context, but they can accumulate substantial footprint with concurrent requests and layers, and rebuilding them after eviction is more costly.
The paper proposes using a workload-based resource model to guide memory allocation between the KV cache and recurrent states in hybrid-architecture LLMs, and provides a reference sample concurrency to control recomputation.
Linear attention-style architectures use a fixed-dimensional recurrent state to accumulate historical information; this state is a lossy compression of the context read so far, with a dimension far smaller than the original KV cache.
Any architecture that maintains a compact recurrent state could potentially borrow a similar retrieval mechanism to enhance draft quality.
The researchers test when learning history is an asset and when it is a burden by pinning, freezing, and transplanting recurrent states while keeping meta-parameters fixed.
All Facts (8)
When compressing recurrent states, low-rank structure means the effective rank of the state matrix is far lower than its nominal dimension, so it can be approximated by matrix factorization without significant information loss.
50%UnverifiedIn addition to the KV cache, modern hybrid architecture models also maintain recurrent states and sliding-window states, which requires compression strategies to consider model architecture, workload characteristics and reconstruction cost simultaneously.
50%UnverifiedAutoCache can achieve compression on the recurrent states of hybrid models by discovering and exploiting previously unexploited low-rank structure in the recurrent states.
50%UnverifiedRecurrent states are fixed-dimensional hidden states that accumulate over time and are responsible for compressing historical information; sliding-window states retain only the KV within the most recent window; they do not grow linearly with context, but they can accumulate substantial footprint with concurrent requests and layers, and rebuilding them after eviction is more costly.
50%UnverifiedThe paper proposes using a workload-based resource model to guide memory allocation between the KV cache and recurrent states in hybrid-architecture LLMs, and provides a reference sample concurrency to control recomputation.
50%UnverifiedLinear attention-style architectures use a fixed-dimensional recurrent state to accumulate historical information; this state is a lossy compression of the context read so far, with a dimension far smaller than the original KV cache.
50%UnverifiedAny architecture that maintains a compact recurrent state could potentially borrow a similar retrieval mechanism to enhance draft quality.
50%UnverifiedThe researchers test when learning history is an asset and when it is a burden by pinning, freezing, and transplanting recurrent states while keeping meta-parameters fixed.
50%