mlsanityData to 7 Oct 2026

Squid: Long Context as a New Modality for Energy-Efficient On-Device Language Models

arXiv 2408.15518 ↗First posted 28 Aug 2024cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

This paper presents Dolphin, a novel decoder-decoder architecture for energy-efficient processing of long contexts in language models. Our approach addresses the significant energy consumption and latency challenges inherent in on-device models. Dolphin employs a compact 0.5B parameter decoder to distill extensive contextual information into a memory embedding, substantially reducing the input length for the primary 7B parameter decoder model. Inspired by vision-language models, we repurpose the image embedding projector to encode long textual contexts, effectively treating extended context as a distinct modality. This innovative method enables processing of substantially longer contexts without the typical computational overhead associated with extended input sequences. Empirical evaluations demonstrate a 10-fold improvement in energy efficiency and a 5-fold reduction in latency compared to conventional full-length context processing methods without losing quality of the response. Our work contributes to the development of more sustainable and scalable language models for on-device applications, addressing the critical need for energy-efficient and responsive AI technologies in resource-constrained environments while maintaining the accuracy to understand long contexts. This research has implications for the broader field of natural language processing, particularly in the domain of efficient model design for resource-limited settings. By enabling more sophisticated AI capabilities on edge devices, Dolphin paves the way for advanced language processing in a wide range of applications where computational resources are at a premium. The Dolphin model is publicly available at https://huggingface.co/NexaAIDev/Dolphin.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 42 of its 44 references that are in the map. First posted on arXiv 28 Aug 2024.

Builds on

42 of 44 references.

References · 42

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2023Visual Instruction Tuningcited by 7,792
  5. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  7. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2023Qwen Technical Reportcited by 3,273
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  11. 2021HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Unitscited by 2,301
  12. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
30 more
  1. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
  2. 2020Rethinking Attention with Performerscited by 1,584
  3. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  4. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  5. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  6. 2023VILA: On Pre-training for Visual Language Modelscited by 686
  7. 2019Passage Re-ranking with BERTcited by 629
  8. 2019MediaPipe: A Framework for Building Perception Pipelinescited by 572
  9. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  10. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  11. 2023Adapting Language Models to Compress Contextscited by 350
  12. 2021How Much Can CLIP Benefit Vision-and-Language Tasks?cited by 321
  13. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 253
  14. 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 210
  15. 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
  16. 2023ULIP-2: Towards Scalable Multimodal Pre-training for 3D Understandingcited by 199
  17. 2022Recurrent Memory Transformercited by 197
  18. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
  19. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 185
  20. 2023RankZephyr: Effective and Robust Zero-Shot Listwise Reranking is a Breeze!cited by 151
  21. 2023Unlimiformer: Long-Range Transformers with Unlimited Length Inputcited by 127
  22. 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
  23. 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
  24. 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
  25. 2023RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Modelscited by 69
  26. 2024Octopus v2: On-device language model for super agentcited by 45
  27. 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
  28. 2022Walle: An End-to-End, General-Purpose, and Large-Scale Production System for Device-Cloud Collaborative Machine Learningcited by 23
  29. 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compressioncited by 18
  30. 2024LLoCO: Learning Long Contexts Offlinecited by 16

Built on by

Cited by year

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

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Long-VITA: Scaling Large Multi-modal Models to 1 Million Tokens with Leading Short-Context Accuracy
  2. 2026Memory Decoder at Scale: A Pretrained, Parametric Long-Term Memory
  3. 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts
  4. 2026Elastic Threshold Attention: Learned Contextual Sparsity for Long-Context Decoding
  5. 2025Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers
  6. 2026ARKV: Adaptive and Resource-Efficient KV Cache Management under Limited Memory Budget for Long-Context Inference in LLMs
  7. 2025OWL: Overcoming Window Length-Dependence in Speculative Decoding for Long-Context Inputs
  8. 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding