Rohithreddybc commited on
Commit
d62bc67
·
verified ·
1 Parent(s): 99bc514

Add MBE evaluation manifest, dataset card, and proof-of-concept result card

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - kv-cache
7
+ - llm-inference
8
+ - efficiency
9
+ - evaluation-protocol
10
+ - long-context
11
+ - benchmark
12
+ task_categories:
13
+ - text-generation
14
+ pretty_name: Matched-Budget Evaluation (MBE) for KV Cache Compression
15
+ size_categories:
16
+ - n<1K
17
+ configs:
18
+ - config_name: manifest
19
+ data_files: mbe_manifest.json
20
+ - config_name: results
21
+ data_files: cards/*.json
22
+ ---
23
+
24
+ # Matched-Budget Evaluation (MBE) — KV Cache Compression
25
+
26
+ A **standardized reporting protocol** for KV cache compression in LLM inference. MBE is
27
+ not a new task benchmark; it is a thin reporting layer that fixes *which* models, tasks,
28
+ and budgets results are reported at, so that numbers from different papers become
29
+ comparable.
30
+
31
+ - **Manifest** (`mbe_manifest.json`): the frozen evaluation specification — model suite,
32
+ task suite (consuming existing benchmarks: LongBench, RULER, SCBench, GSM8K, IFEval),
33
+ the fixed KV-budget ladder (50 / 25 / 12.5 / 6.25 %), and the required system metrics.
34
+ Evaluate at these exact settings so results line up.
35
+ - **Results** (`cards/*.json`): submitted **KV Compression Cards** — one method × one
36
+ model, produced by the open harness under matched budgets.
37
+
38
+ ## Why
39
+ Published KV cache compression results are not comparable (different models, budgets,
40
+ tasks, system metrics). MBE fixes the axes. See the companion survey and harness:
41
+ - Harness / protocol: https://github.com/rohithreddybc/mbe-protocol
42
+ - Survey: "Breaking the Memory Wall: A Survey of Key-Value (KV) Cache Compression for
43
+ Efficient Large Language Model (LLM) Inference" (Artificial Intelligence Review, under
44
+ review).
45
+
46
+ ## How to contribute a result
47
+ Run the harness (`run_mbe.py`) on the manifest's model + budget ladder, then submit your
48
+ card JSON via PR to the GitHub repo or as a dataset PR here.
49
+
50
+ ## Citation
51
+ See `CITATION.cff` in the GitHub repository.
52
+
53
+ ## License
54
+ CC-BY-4.0. The manifest references third-party benchmarks under their own licenses.
cards/smoke_quant_qwen2.5-0.5b.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "harness_version": "mbe-0.1.0",
3
+ "run_type": "CPU smoke test (proof-of-concept, NOT the 7-8B suite)",
4
+ "model": "Qwen/Qwen2.5-0.5B-Instruct",
5
+ "model_size": "0.5B (GQA)",
6
+ "task": "passkey retrieval (synthetic, single needle)",
7
+ "n_samples": 10,
8
+ "hardware": "CPU / float32",
9
+ "method_family": "KV quantization (KIVI-style: per-channel keys, per-token values)",
10
+ "results": {
11
+ "full-FP": {
12
+ "kv_budget": "100%",
13
+ "passkey_acc": 1.0
14
+ },
15
+ "KV-8bit": {
16
+ "kv_budget": "50.0%",
17
+ "passkey_acc": 1.0
18
+ },
19
+ "KV-4bit": {
20
+ "kv_budget": "25.0%",
21
+ "passkey_acc": 1.0
22
+ },
23
+ "KV-2bit": {
24
+ "kv_budget": "12.5%",
25
+ "passkey_acc": 0.0
26
+ }
27
+ }
28
+ }
mbe_manifest.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "protocol": "Matched-Budget Evaluation (MBE)",
3
+ "version": "0.1.0",
4
+ "description": "Frozen evaluation specification for KV cache compression. Report at these exact settings so results are comparable.",
5
+ "budget_ladder_percent": [50, 25, 12.5, 6.25],
6
+ "budget_definition": "Fraction of the full-cache footprint retained, computed from M_KV = 2*B*T*L*H_kv*D_head*P.",
7
+ "model_suite": [
8
+ {"id": "meta-llama/Llama-3.1-8B-Instruct", "attention": "GQA", "tier": "7-8B"},
9
+ {"id": "Qwen/Qwen2.5-7B-Instruct", "attention": "GQA", "tier": "7-14B"},
10
+ {"id": "meta-llama/Llama-3.1-70B-Instruct", "attention": "GQA", "tier": ">=70B"}
11
+ ],
12
+ "task_suite": [
13
+ {"name": "long_doc_qa", "source": "LongBench / SCBench", "measures": "retrieval"},
14
+ {"name": "multi_hop", "source": "RULER", "measures": "tracing + aggregation"},
15
+ {"name": "instruction_following", "source": "IFEval", "measures": "multi-instruction"},
16
+ {"name": "reasoning", "source": "GSM8K", "measures": "chain-of-thought (compression-sensitive)"},
17
+ {"name": "agentic", "source": "one long-horizon / multi-turn trace", "measures": "tool-use stability"}
18
+ ],
19
+ "required_system_metrics": [
20
+ "peak_kv_memory_gb",
21
+ "decode_throughput_tok_s",
22
+ "ttft_ms",
23
+ "max_batch_before_oom",
24
+ "hardware_tier"
25
+ ],
26
+ "method_metadata": ["family", "deployment_prerequisite", "composability"],
27
+ "notes": "MBE consumes existing public benchmarks under their own licenses; it does not redistribute them. It fixes the axes (budgets, models, metrics) and the reporting card."
28
+ }