LimeTree: Linear-Memory Graph Neural Networks over Tree-Graphs for Resource-Efficient Language Modeling and Context Extrapolation
Not on the map. Why?
Abstract (arXiv)
The search for computationally efficient alternatives to the Transformer has yielded numerous architectures in recent years; however, most exhibit severe weaknesses in associative recall-such as key-value (KV) retrieval-and length extrapolation, where even standard Transformers struggle. This paper introduces LimeTree, a linear-complexity architecture in both memory and compute for sequence modeling. By integrating synthetic KV retrieval tasks directly into standard language modeling training, LimeTree achieves strong perplexity alongside reliable recall. Two variants were evaluated on WikiText-103 and PG-19 under strict compute constraints. On WikiText-103, LimeTree reaches a token-level perplexity of 19 in just 6 hours on four Quadro RTX 8000 GPUs, while maintaining 100% KV retrieval accuracy even when extrapolating from a training context length of 512 to an evaluation length of 16,384. On PG-19, the model achieves a token-level perplexity of 10.84 in 35.5 hours on a single RTX PRO 6000 Blackwell GPU with minimal hyperparameter tuning. These results position LimeTree as a competitive linear-complexity alternative to Transformers, combining superior perplexity and training throughput with robust in-context retrieval and length extrapolation.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 66 of its 80 references that are in the map. Submitted 23 Nov 2026, announced 24 Nov 2026.
Builds on
66 of 80 references.
References · 66
- 2017Attention Is All You Needcited by 62,125
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,727
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2017Neural Message Passing for Quantum Chemistrycited by 3,554
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,329
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,611
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 2,138
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,932
38 more
- 2020Rethinking Attention with Performerscited by 1,669
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,555
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,479
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,166
- 2022In-context Learning and Induction Headscited by 1,085
- 2023Reasoning with Language Model is Planning with World Modelcited by 908
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 884
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 835
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 794
- 2016Language Modeling with Gated Convolutional Networkscited by 750
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 662
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 523
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 491
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 438
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 413
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 363
- 2024xLSTM: Extended Long Short-Term Memorycited by 359
- 2018Graph Convolutional Networks for Text Classificationcited by 349
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 348
- 2022Long Range Language Modeling via Gated State Spacescited by 274
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 274
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 264
- 2022Memorizing Transformerscited by 247
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 245
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 236
- 2018Adaptive Input Representations for Neural Language Modelingcited by 234
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 230
- 2022Neural Networks and the Chomsky Hierarchycited by 226
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 223
- 2022Recurrent Memory Transformercited by 220
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 219
- 2024An Empirical Study of Mamba-based Language Modelscited by 209
- 2019Adaptive Attention Span in Transformerscited by 157
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 138
- 2022A Length-Extrapolatable Transformercited by 135
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 128
50 most cited of 66 All 66 (JSON)
Built on by
Not cited yet.