atlas

Research map / Architectures and efficiency / Attention and transformers

Quantifying Memory Utilization with Effective State-Size

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes effective state-size (ESS), a rank-based metric of memory utilization for input-varying and input-invariant linear sequence operators, and uses it to analyze, initialize, regularize, distill, and interpret LLM state modulation.

Problem

Existing analyses of causal sequence models either visualize raw operators or report memory capacity (cache/state size), which does not reveal how much of that memory is actually used; a unified quantitative measure is needed across attention, convolutions, and recurrences.

Approach

Define effective state-size as the rank of the causal submatrix H_i = T_{i:,:i-1} of the operator realized by a model (via minimal realization theory), computed per sequence index via SVD using tolerance or entropy (effective rank) variants, and use it to guide distillation, initialization, regularization, and LLM state-modulation analysis.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ESS/kv rather than TSS/kv to characterize memory useSequence models across the MQAR task-model space · MQARcorrelation with accuracyHelped
Train on a more memory-intensive task with lower TSSMQAR models · MQARESS-accuracy correlation over trainingHelped
Use LA rather than GLA or WLARecurrent models · MQAR high-kv bucket (kv = $2^7$)state utilizationHelped
Reduce TSS to 8 as task difficulty increasesMQAR models · MQARaccuracyHurt
Distill a teacher layer with higher ESSGLA layers with TSS=256 distilled to smaller students · MQARstudent performanceHurt
Replace the S6 featurizer with GLA featurizationS6-style recurrent model · MQARaccuracyHelped
Increase the normalization factor αGLA-S6 · MQARaccuracyHelped
Add λ||A - I||_F regularizationGLA and WLA · MQARaccuracyHelped
Remove ESS-based regularization (ablation)GLA and WLA · MQARaccuracyHurt
Increase the normalization factor αGLA-S6 initialization · MQARinitialization ESSHelped
Use input-varying state transitions rather than input-invariant transitions1B-parameter sequence models · EOS separator-token state modulationstate modulationHelped
Use a model with stronger state modulation1B-parameter sequence models · Bigram recallbigram recall perplexityHelped

Surprising findings

Limitations

Experimental setup

Datasets: MQAR selective copying compression FineWeb

Benchmarks: MQAR selective copying compression FineWeb perplexity bigram recall perplexity

Metrics: accuracy ESS/kv correlation perplexity distillation activation loss state utilization (ESS/TSS)

Baselines: linear attention softmax attention GLA WLA S6 (Mamba) TSS / cache size

Builds on: minimal realization theory Eckart-Young-Mirsky theorem effective rank gated linear attention MAD synthetic tasks Mamba

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy