2025 · 14 citations · 19 references
ComputingComputer ScienceComputational LinguisticsInformation RetrievalNatural Language ProcessingLanguage ModelingRetrieval ModelsContext ProcessingContext-aware ProcessingLarge Language ModelsLong-context Language ModelingLong-context ModelingRetrieval-augmented GenerationRetrieval-augmented Language Models
Processing long contexts presents a significant challenge for large language models (LLMs). While recent advancements allow LLMs to handle much longer contexts than before (e.g., 32K or 128K tokens), it is computationally expensive and can still be insufficient for many applications. Retrieval-Augmented Generation (RAG) is considered a promising strategy to address this problem. However, conventional RAG methods face inherent limitations because of two underlying requirements: 1) explicitly stated queries, and 2) well-structured knowledge. These conditions, however, do not hold in general long-context processing tasks.
19
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Tri Dao, Daniel Y. Fu, Stefano Ermon et al. · arXiv (Cornell University) · 2022 · 459 citations · Full text