GoldFinch: High Performance RWKV/Transformer Hybrid with Linear Pre-Fill and Extreme KV-Cache Compression
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
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2018Group Normalizationcited by 1,514
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
- 2023The MiniPile Challenge for Data-Efficient Language Modelscited by 74
Built on by
Citing papers per year: 2024: 7; 2025: 7; 2026: 3.
17 papers.
Sort:
By area:
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumptioncited by 96
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
- 2025A Systematic Analysis of Hybrid Linear Attentioncited by 38
- 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agentscited by 35
- 2024MatryoshkaKV: Adaptive KV Compression via Trainable Orthogonal Projectioncited by 29
- 2025Shifting AI Efficiency From Model-Centric to Data-Centric Compressioncited by 29
- 2025RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scalecited by 24
- 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inferencecited by 16
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptationcited by 11
- 2025Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generationcited by 10
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
5 more
- 2024A Survey of RWKVcited by 5
- 2025MTraining: Distributed Dynamic Sparse Attention for Efficient Ultra-Long Context Trainingcited by 1
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memorycited by 1
- 2026Shared Global KV with Layer-Specific Local Historycited by 0
- 2026The Extender: A Log-Structured Transformercited by 0
- 2026The Extender: A Log-Structured Transformer26 Sep 2026
- 2026Shared Global KV with Layer-Specific Local History23 Sep 2026
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memory11 May 2026
- 2025MTraining: Distributed Dynamic Sparse Attention for Efficient Ultra-Long Context Training21 Oct 2025
- 2025Native Hybrid Attention for Efficient Sequence Modeling8 Oct 2025
- 2025Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generation9 Jul 2025
- 2025A Systematic Analysis of Hybrid Linear Attention8 Jul 2025
- 2025Shifting AI Efficiency From Model-Centric to Data-Centric Compression25 May 2025
- 2025RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scale5 May 2025
- 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agents10 Feb 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024A Survey of RWKV19 Dec 2024
5 more
- 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference18 Oct 2024
- 2024LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptation17 Oct 2024
- 2024MatryoshkaKV: Adaptive KV Compression via Trainable Orthogonal Projection16 Oct 2024
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modeling11 Sep 2024
- 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumption25 Jul 2024
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
- 2025A Systematic Analysis of Hybrid Linear Attentioncited by 38
- 2025RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scalecited by 24
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
- 2024A Survey of RWKVcited by 5
- 2025MTraining: Distributed Dynamic Sparse Attention for Efficient Ultra-Long Context Trainingcited by 1
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memorycited by 1
- 2026Shared Global KV with Layer-Specific Local Historycited by 0
- 2026The Extender: A Log-Structured Transformercited by 0
- 2026The Extender: A Log-Structured Transformer26 Sep 2026
- 2026Shared Global KV with Layer-Specific Local History23 Sep 2026
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memory11 May 2026
- 2025MTraining: Distributed Dynamic Sparse Attention for Efficient Ultra-Long Context Training21 Oct 2025
- 2025Native Hybrid Attention for Efficient Sequence Modeling8 Oct 2025
- 2025A Systematic Analysis of Hybrid Linear Attention8 Jul 2025
- 2025RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scale5 May 2025
- 2024A Survey of RWKV19 Dec 2024
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modeling11 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2026The risk of KV cache compression
- 2026Tensor Cache: Eviction-conditioned Associative Memory for Transformers
- 2026AttSVD:Prompt-Adaptive Low-Rank KV Cache Compression via Attention-Guided SVD
- 2025HCAttention: Extreme KV Cache Compression via Heterogeneous Attention Computing for LLMs
- 2026EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction
- 2025ReFreeKV: Towards Threshold-Free KV Cache Compression
- 2024KVSharer: Efficient Inference via Layer-Wise Dissimilar KV Cache Sharing
- 2025PackKV: Reducing KV Cache Memory Footprint through LLM-Aware Lossy Compression