loopserv-eval
LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialogues — Li et al. (2025) (arXiv:2507.13681, 2025)
What this evaluates
Evaluates an adaptive dual-phase LLM inference acceleration system for multi-turn dialogues, probing its ability to maintain generation accuracy and reduce computational overhead across varying query positions in long-context conversations. It specifically tests whether the system can generalize beyond positional heuristics used by static KV cache compression methods.
Datasets
- MFQA-en — total ?; splits: test (-1)
- 2WikiMQA — total ?; splits: test (-1)
- Musique — total ?; splits: test (-1)
- HotpotQA — total ?; splits: test (-1)
- NrtvQA — total ?; splits: test (-1)
- Qasper — total ?; splits: test (-1)
- MultiNews — total ?; splits: test (-1)
- GovReport — total ?; splits: test (-1)
- QMSum — total ?; splits: test (-1)
- TREC — total ?; splits: test (-1)
- SAMSUM — total ?; splits: test (-1)
Metrics
Accuracy (primary) — range: [0, 1]
- Exact match ratio: fraction of predictions that exactly match the ground truth label or answer. Standard for QA and Few-shot classification tasks.
F1 — range: [0, 1]
- Harmonic mean of precision and recall, typically computed as macro or micro average depending on the dataset. Used for QA tasks where partial matches or entity overlap matter.
Rouge-L — range: [0, 1]
- Recall-Oriented Understudy for Gisting Evaluation (Longest Common Subsequence). Measures the longest matching subsequence between generated summary and reference summary, normalized by reference length.
Input / output format
Input: Multi-turn dialogue context containing multiple rounds with diverse query positions (beginning, middle, or end) and dependencies. Covers Question Answering, Summarization, and Few-shot Learning tasks.
Output: Model-generated text response or class label corresponding to the target query in the dialogue turn.
Scoring recipe
def evaluate(predictions, golds, task_type):
if task_type == 'QA':
return sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)
elif task_type == 'Summarization':
return rouge_l_score(predictions, golds)
elif task_type == 'FewShot':
return sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)
return 0.0
Common pitfalls
- Assuming KV cache baselines generalize well across all query positions; they often degrade significantly when queries are at the beginning or middle due to reliance on positional heuristics.
- Setting the token budget B or sparsity threshold α too aggressively without checking task-specific sensitivity, which can cause disproportionate accuracy drops without meaningful efficiency gains.
Evidence (verbatim from paper)
For each dataset, we compare LoopServe with six state-of-the-art KV cache acceleration baselines and two base LLMs, using F1, Rouge-L, or Accuracy as appropriate. As shown in Table 1, LoopServe achieves the best or comparable results across most datasets and query positions.
Citation
@misc{li2025loopserv,
title={LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialogues},
author={Li et al. (2025)},
year={2025},
note={arXiv:2507.13681}
}
1---2name: loopserv-eval3description: Evaluates an adaptive dual-phase LLM inference acceleration system for multi-turn dialogues, probing its ability to maintain generation accuracy and reduce computational overhead across varying query positions in long-context conversations. It specifically tests whether the system can generalize beyond positional heuristics used by static KV cache compression methods. Use when the user wants to benchmark on MFQA-en, 2WikiMQA, Musique, HotpotQA, NrtvQA, Qasper, MultiNews, GovReport, QMSum, TREC, SAMSUM, or asks about evaluating this task. Reports Accuracy.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/loopserv-eval6 skill_kind: dataset_eval7 source_arxiv: 2507.136818 bibtex_key: li2025loopserv9 confidence: high10---1112# loopserv-eval1314> LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialogues — Li et al. (2025) (arXiv:2507.13681, 2025)1516## What this evaluates1718Evaluates an adaptive dual-phase LLM inference acceleration system for multi-turn dialogues, probing its ability to maintain generation accuracy and reduce computational overhead across varying query positions in long-context conversations. It specifically tests whether the system can generalize beyond positional heuristics used by static KV cache compression methods.1920## Datasets2122- **MFQA-en** — total ?; splits: test (-1)23- **2WikiMQA** — total ?; splits: test (-1)24- **Musique** — total ?; splits: test (-1)25- **HotpotQA** — total ?; splits: test (-1)26- **NrtvQA** — total ?; splits: test (-1)27- **Qasper** — total ?; splits: test (-1)28- **MultiNews** — total ?; splits: test (-1)29- **GovReport** — total ?; splits: test (-1)30- **QMSum** — total ?; splits: test (-1)31- **TREC** — total ?; splits: test (-1)32- **SAMSUM** — total ?; splits: test (-1)3334## Metrics3536- `Accuracy` **(primary)** — range: [0, 1]37 - Exact match ratio: fraction of predictions that exactly match the ground truth label or answer. Standard for QA and Few-shot classification tasks.38- `F1` — range: [0, 1]39 - Harmonic mean of precision and recall, typically computed as macro or micro average depending on the dataset. Used for QA tasks where partial matches or entity overlap matter.40- `Rouge-L` — range: [0, 1]41 - Recall-Oriented Understudy for Gisting Evaluation (Longest Common Subsequence). Measures the longest matching subsequence between generated summary and reference summary, normalized by reference length.4243## Input / output format4445**Input**: Multi-turn dialogue context containing multiple rounds with diverse query positions (beginning, middle, or end) and dependencies. Covers Question Answering, Summarization, and Few-shot Learning tasks.4647**Output**: Model-generated text response or class label corresponding to the target query in the dialogue turn.4849## Scoring recipe5051```python52def evaluate(predictions, golds, task_type):53 if task_type == 'QA':54 return sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)55 elif task_type == 'Summarization':56 return rouge_l_score(predictions, golds)57 elif task_type == 'FewShot':58 return sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)59 return 0.060```6162## Common pitfalls6364- Assuming KV cache baselines generalize well across all query positions; they often degrade significantly when queries are at the beginning or middle due to reliance on positional heuristics.65- Setting the token budget B or sparsity threshold α too aggressively without checking task-specific sensitivity, which can cause disproportionate accuracy drops without meaningful efficiency gains.6667## Evidence (verbatim from paper)6869> For each dataset, we compare LoopServe with six state-of-the-art KV cache acceleration baselines and two base LLMs, using F1, Rouge-L, or Accuracy as appropriate. As shown in Table 1, LoopServe achieves the best or comparable results across most datasets and query positions.7071## Citation7273```bibtex74@misc{li2025loopserv,75 title={LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialogues},76 author={Li et al. (2025)},77 year={2025},78 note={arXiv:2507.13681}79}80```8182- arXiv: 2507.13681