paper-with-me

홈 › Papers

Characterizing the Efficiency vs. Accuracy Trade-off for Long-Context NLP Models

2022-04-15 · nlppower (ACL) 2022 5 · Phyllis Ang, Bhuwan Dhingra, Lisa Wu Wills

With many real-world applications of Natural Language Processing (NLP) comprising of long texts, there has been a rise in NLP benchmarks that measure the accuracy of models that can handle longer input sequences. However, these benchmarks do not consider the trade-offs between accuracy, speed, and power consumption as input sizes or model sizes are varied. In this work, we perform a systematic study of this accuracy vs. efficiency trade-off on two widely used long-sequence models - Longformer-Encoder-Decoder (LED) and Big Bird - during fine-tuning and inference on four datasets from the SCROLLS benchmark. To study how this trade-off differs across hyperparameter settings, we compare the models across four sequence lengths (1024, 2048, 3072, 4096) and two model sizes (base and large) under a fixed resource budget. We find that LED consistently achieves better accuracy at lower energy costs than Big Bird. For summarization, we find that increasing model size is more energy efficient than increasing sequence length for higher accuracy. However, this comes at the cost of a large drop in inference speed. For question answering, we find that smaller models are both more efficient and more accurate due to the larger training batch sizes possible under a fixed resource budget.

📄 PDF Abstract BibTeX arXiv:2204.07288

Code (1)

phyllisayk/nlp-efficiency-tradeoff 공식 구현 pytorch

Tasks

DecoderPlaying the Game of 2048Question Answering

Similar Papers 제목 키워드 기반

Design-Based Bandits Under Network Interference: Trade-Off Between Regret and Statistical Inference

2025-10-09 · Zichen Wang, Haoyang Hong, Chuanhao Li, Haoxuan Li 외 arxiv

In multi-armed bandits with network interference (MABNI), the action taken by one node can influence the rewards of others, creating complex interdependence. While existing research on MABNI largely concentrates on minim…

Multi-Armed Bandits

Systematic Evaluation of Optimization Techniques for Long-Context Language Models

2025-08-01 · Ammar Ahmed, Sheng Di, Franck Cappello, Zirui Liu 외 arxiv

Large language models (LLMs) excel across diverse natural language processing tasks but face resource demands and limited context windows. Although techniques like pruning, quantization, and token dropping can mitigate t…

Question AnsweringText Generation

StreamingEval: A Unified Evaluation Protocol towards Realistic Streaming Video Understanding

2026-03-23 · Guowei Tang, Tianwen Qian, Huanran Zheng, Yifei Wang 외 arxiv

Real-time, continuous understanding of visual signals is essential for real-world interactive AI applications, and poses a fundamental system-level challenge. Existing research on streaming video understanding, however, …

MKA: Memory-Keyed Attention for Efficient Long-Context Reasoning

2026-03-21 · Dong Liu, Yanxuan Yu, Ben Lengerich, Ying Nian Wu arxiv

As long-context language modeling becomes increasingly important, the cost of maintaining and attending to large Key/Value (KV) caches grows rapidly, becoming a major bottleneck in both training and inference. While prio…

A Theoretical Approach to Characterize the Accuracy-Fairness Trade-off Pareto Frontier

2023-10-19 · Hua Tang, Lu Cheng, Ninghao Liu, Mengnan Du

While the accuracy-fairness trade-off has been frequently observed in the literature of fair machine learning, rigorous theoretical analyses have been scarce. To demystify this long-standing challenge, this work seeks to…

Fairness