Search arXiv⌕ Search

arXiv subjects

Egor Maximov

Publications and source records attributed to Egor Maximov.

3 recordsLinked to original sources

Compressing Gated DeltaNet States with a Shared Value Basis and an Adaptive Residual

Gated DeltaNet maintains a recurrent state matrix for every active request. With the model weights fixed, we calibrate a value basis shared across layers and requests and pair it with a low-rank residual that adapts during generation. Each write introduces at most one new direction. The model reads from the updated factors before reducing the residual by spectral truncation (Spectral) or a single plane rotation (Plane). On Qwen3.5-2B, sharing uses 11.4% less persistent recurrent storage at batch eight than a fully adaptive factorization matched for FP32 storage at batch one. The fully adaptive control scores slightly higher on RULER and similarly on LongBench. Packing the coefficients in INT8 gives $9.17\times$ compression relative to dense FP32 states at batch eight, including bases and scales. With 4K prompt budgets, Spectral and Plane score 0.09 and 0.26 points below dense on RULER, respectively, and both are within 0.11 points on LongBench. On Qwen3.5-4B at batch one, Plane compresses the recurrent states by $7.21\times$ and scores 0.04 points below dense on RULER and 0.12 below on LongBench. At batch 64 on Qwen3.5-2B, INT8 Plane reaches $9.49\times$ compression with near-dense decode throughput under CUDA Graph replay.

cs.LG↗

DCKV: Learned Transform Coding of the Prompt KV Cache in Hybrid Language Models

Hybrid language models keep a key-value (KV) cache only in their few full-attention layers, but this cache is still the part of a prompt's state that grows with the prompt and that must be stored or moved to reuse it. We present DCKV, a differentiable codec for the KV cache and the first KV-cache codec that is trained end to end. Its transform, its quantizer and its entropy models, which are conditioned on the prompt tokens and on already decoded neighbouring positions, are optimized together against the frozen language model, both for the code length that the entropy models assign and for the change of the model's output. On Qwen3.5-2B, DCKV stores a compressed token in more than 55 times fewer bytes than bf16 at a loss of at most 1.8 points on three long-context benchmarks, and in more than 100 times fewer bytes at a loss of at most 3.6 points.

cs.LG↗

From 2:4 to 8:16 sparsity patterns in LLMs for Outliers and Weights with Variance Correction

As large language models (LLMs) grow in size, efficient compression techniques like quantization and sparsification are critical. While quantization maintains performance with reduced precision, structured sparsity methods, such as N:M sparsification, often fall short due to limited flexibility, and sensitivity to outlier weights. We explore 8:16 semi-structured sparsity, demonstrating its ability to surpass the Performance Threshold-where a compressed model matches the accuracy of its uncompressed or smaller counterpart under equivalent memory constraints. Compared to 2:4 sparsity, 8:16 offers greater flexibility with minimal storage overhead (0.875 vs. 0.75 bits/element). We also apply sparse structured patterns for salient weights, showing that structured sparsity for outliers is competitive with unstructured approaches leading to equivalent or better results. Finally, we demonstrate that simple techniques such as variance correction and SmoothQuant like weight equalization improve sparse models performance.

cs.LG↗