atlas

Research map / Architectures and efficiency / Attention and transformers

Adaptive Rank Allocation: Speeding Up Modern Transformers with RaNA Adapters

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Long-context KV and memory attention

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 Adaptive Rank Allocation and the RaNA adapter, which applies input-dependent rank masking to SVD-based low-rank decompositions of linear layers to speed up Llama2-7b, Gemma-2b and Pythia inference without relying on activation sparsity.

Problem

Neuron-adaptive methods for accelerating Transformer inference rely on activation sparsity, do not apply to attention layers, and use costly neuron maskers, so they degrade on modern SwiGLU-based LLMs.

Approach

Generalize neuron adapters to rank adapters: decompose each linear layer as A(r(x) ⊙ Bx) with A and B from the SVD of WX (calibration activations), and use an input-dependent B-masker that keeps ranks with large (Bx)^2, applied to QKV, up and gate projections, with neuron thresholding for down projections.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use RaNA instead of CATS at 42% FLOP compressionLlama2-7b · Llama2-7b, 42% FLOP compressionaverage accuracy: 47.51% -> 56.37%Helped
use RaNA instead of CATS at 42% FLOP compressionLlama2-7b · Llama2-7b, 42% FLOP compressionperplexity: 12.36 -> 8.04Helped
use RaNA instead of SliceGPT at 42% FLOP compressionLlama2-7b · Llama2-7b, 42% FLOP compressionaverage accuracy: 43.21% -> 56.37%Helped
use RaNA instead of SliceGPT at 42% FLOP compressionLlama2-7b · Llama2-7b, 42% FLOP compressionperplexity: 13.69 -> 8.04Helped
use RaNA instead of CATS at approximately 44% model FLOP compressionGemma-2b · Gemma-2b, high compressionperplexity: 7 less perplexity-pointsHelped
compress QKV layers in addition to MLP layers (ablation)RaNA · Llama2-7b, ~31% FLOP compression, no fine-tuningperplexity: 8.79 -> 8.40Helped
add MLP-level FLOP allocation (ablation)RaNA compressing MLP and QKV layers · Llama2-7b, ~31% FLOP compression, no fine-tuningperplexity: 9.10 -> 8.40Helped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama The Pile HellaSwag PIQA WinoGrande ARC-Easy ARC-Challenge RACE

Benchmarks: ARC-Easy ARC-Challenge HellaSwag PIQA RACE WinoGrande RedPajama perplexity Pile perplexity

Metrics: accuracy perplexity normalized reconstruction error FLOP compression rate latency

Baselines: CATS SliceGPT Neuron-Adaptive LLRA (linear layer rank adapters with MLP maskers)

Builds on: CATS SliceGPT neuron adapters

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