mlsanityData to 7 Oct 2026

GoldFinch: High Performance RWKV/Transformer Hybrid with Linear Pre-Fill and Extreme KV-Cache Compression

arXiv 2407.12077 ↗First posted 16 Jul 2024cs.CL cs.AIcited by 17

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

We introduce GoldFinch, a hybrid Linear Attention/Transformer sequence model that uses a new technique to efficiently generate a highly compressed and reusable KV-Cache in linear time and space with respect to sequence length. GoldFinch stacks our new GOLD transformer on top of an enhanced version of the Finch (RWKV-6) architecture. We train up to 1.5B parameter class models of the Finch, Llama, and GoldFinch architectures, and find dramatically improved modeling performance relative to both Finch and Llama. Our cache size savings increase linearly with model layer count, ranging from 756-2550 times smaller than the traditional transformer cache for common sizes, enabling inference of extremely large context lengths even on limited hardware. Although autoregressive generation has O(n) time complexity per token because of attention, pre-fill computation of the entire initial cache state for a submitted context costs only O(1) time per token due to the use of a recurrent neural network (RNN) to generate this cache. We release our trained weights and training code under the Apache 2.0 license for community use.

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 12 of its 20 references that are in the map. First posted on arXiv 16 Jul 2024.

Builds on

12 of 20 references.

References · 12

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  3. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  4. 2018Group Normalizationcited by 1,514
  5. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  6. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  7. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  8. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  9. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  10. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  11. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
  12. 2023The MiniPile Challenge for Data-Efficient Language Modelscited by 74

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 7; 2026: 3.

17 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026The risk of KV cache compression
  2. 2026Tensor Cache: Eviction-conditioned Associative Memory for Transformers
  3. 2026AttSVD:Prompt-Adaptive Low-Rank KV Cache Compression via Attention-Guided SVD
  4. 2025HCAttention: Extreme KV Cache Compression via Heterogeneous Attention Computing for LLMs
  5. 2026EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction
  6. 2025ReFreeKV: Towards Threshold-Free KV Cache Compression
  7. 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharing
  8. 2025PackKV: Reducing KV Cache Memory Footprint through LLM-Aware Lossy Compression