paper-with-me

홈 › Papers

Finding the SWEET Spot: Analysis and Improvement of Adaptive Inference in Low Resource Settings

2023-06-04 · Daniel Rotem, Michael Hassid, Jonathan Mamou, Roy Schwartz

Adaptive inference is a simple method for reducing inference costs. The method works by maintaining multiple classifiers of different capacities, and allocating resources to each test instance according to its difficulty. In this work, we compare the two main approaches for adaptive inference, Early-Exit and Multi-Model, when training data is limited. First, we observe that for models with the same architecture and size, individual Multi-Model classifiers outperform their Early-Exit counterparts by an average of 2.3%. We show that this gap is caused by Early-Exit classifiers sharing model parameters during training, resulting in conflicting gradient updates of model weights. We find that despite this gap, Early-Exit still provides a better speed-accuracy trade-off due to the overhead of the Multi-Model approach. To address these issues, we propose SWEET (Separating Weights in Early Exit Transformers), an Early-Exit fine-tuning method that assigns each classifier its own set of unique model weights, not updated by other classifiers. We compare SWEET's speed-accuracy curve to standard Early-Exit and Multi-Model baselines and find that it outperforms both methods at fast speeds while maintaining comparable scores to Early-Exit at slow speeds. Moreover, SWEET individual classifiers outperform Early-Exit ones by 1.1% on average. SWEET enjoys the benefits of both methods, paving the way for further reduction of inference costs in NLP.

📄 PDF Abstract BibTeX arXiv:2306.02307

Code (1)

schwartz-lab-nlp/sweet 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

Towards Maximizing a Perceptual Sweet Spot

2022-01-05 · Pedro Izquierdo Lehmann, Rodrigo F. Cadiz, Carlos A. Sing Long

The sweet spot can be interpreted as the region where acoustic sources create a spatial auditory illusion. We study the problem of maximizing this sweet spot when reproducing a desired sound wave using an array of loudsp…

Morphology Informed Selections for Subword Vocabulary Size

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Currently, guidance around selection of an optimal or appropriate subword vocabulary size is incomplete and confusing at best. Using a measure of subword-morpheme overlap, our analysis shows that one can find a "sweet sp…

SweetSpot: An Analytical Model for Predicting Energy Efficiency of LLM Inference

2026-02-05 · Hiari Pizzini Cavagna, Andrea Proia, Giacomo Madella, Giovanni B. Esposito 외 arxiv

Large Language Models (LLMs) inference is central to modern AI applications, dominating worldwide datacenter workloads, making it critical to predict its energy footprint. Existing approaches estimate energy consumption …

SSL: Sweet Spot Learning for Differentiated Guidance in Agentic Optimization

2026-01-30 · Jinyang Wu, Changpeng Yang, Yuhao Shen, Fangzhi Xu 외 arxiv

Reinforcement learning with verifiable rewards has emerged as a powerful paradigm for training intelligent agents. However, existing methods typically employ binary rewards that fail to capture quality differences among …

Reinforcement Learning

Restoring the Sweet Spot: Pass-Rate Weighted Self-Distillation for LLM Reasoning

2026-05-26 · Zehao Liu, Yuanpu Cao, Jinghui Chen, Vasant G. Honavar arxiv

Self-Distillation Policy Optimization (SDPO) provides dense token-level credit assignment for reinforcement learning with large language models by leveraging the model's own feedback-conditioned predictions as a self-tea…

Reinforcement Learning