Near-Far Attention Optimizes Long-Context
AI-generated summary Researchers have proposed Near-Far Attention to reduce the computational cost of long-context large language model decoding while maintaining high retrieval accuracy. The method uses a Lightweight Gate Estimator during the prefill stage to identify regions that can be skipped during the decoding process.