vnmoorthy commited on
Commit
98c4fd6
·
verified ·
1 Parent(s): 76fb388

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +146 -0
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - automatic-speech-recognition
5
+ - text-generation
6
+ - text-to-speech
7
+ language:
8
+ - en
9
+ tags:
10
+ - pavo
11
+ - benchmark
12
+ - asr
13
+ - llm
14
+ - tts
15
+ - pipeline-routing
16
+ - voice-assistant
17
+ - latency
18
+ - quality
19
+ - cost
20
+ - energy
21
+ pretty_name: PAVO-Bench
22
+ size_categories:
23
+ - 10K<n<100K
24
+ configs:
25
+ - config_name: default
26
+ data_files:
27
+ - split: tier1_statistical
28
+ path: tier1_statistical_results.json
29
+ - split: tier1_coupling
30
+ path: tier1_coupling_results.json
31
+ - split: tier1_llm_latency
32
+ path: tier1_llm_latency_results.json
33
+ - split: tier2_e2e
34
+ path: tier2_e2e_results.json
35
+ - split: tier2_cross_dataset
36
+ path: tier2_cross_dataset_results.json
37
+ - split: tier2_noise_robustness
38
+ path: tier2_noise_robustness_results.json
39
+ - split: tier3_50k_summary
40
+ path: tier3_50k_summary.json
41
+ - split: tier3_scaling
42
+ path: tier3_scaling_results.json
43
+ - split: component_ablation
44
+ path: component_ablation_results.json
45
+ ---
46
+
47
+ # PAVO-Bench: 50K-Turn Benchmark for ASR-LLM-TTS Pipeline Routing
48
+
49
+ **Author:** NarasingaMoorthy VeiluKanthaPerumal, University of Pennsylvania
50
+
51
+ ## Description
52
+
53
+ PAVO-Bench is a comprehensive benchmark suite for evaluating **ASR-LLM-TTS voice pipeline routing** decisions. It provides 50,000 turns of benchmark data designed to measure how well different pipeline configurations balance **latency**, **quality**, **cost**, and **energy consumption** when routing spoken-language queries through cascaded Automatic Speech Recognition (ASR), Large Language Model (LLM), and Text-to-Speech (TTS) components.
54
+
55
+ The benchmark is organized into three tiers of increasing scale and complexity, plus component-level ablation studies. All results were produced on GPU hardware.
56
+
57
+ ## Dataset Files
58
+
59
+ ### Tier 1 -- Unit-Level Validation
60
+
61
+ | File | Description |
62
+ |------|-------------|
63
+ | `tier1_statistical_results.json` | Statistical reproducibility results across 5 trials of 1,000 turns each (seeds 42, 123, 456, 789, 1024). Reports mean, std, and 95% confidence intervals for PAVO latency, quality, cost, and energy metrics. |
64
+ | `tier1_coupling_results.json` | Coupling constraint validation measuring LLM quality degradation as a function of ASR word-error rate (WER 0--20%) using llama3.1:8b. |
65
+ | `tier1_llm_latency_results.json` | LLM latency profiling for llama3.1:8b across short (50 token), medium (200 token), and long (500 token) generation contexts. Reports total latency, time-to-first-token, and tokens/second. |
66
+
67
+ ### Tier 2 -- Integration-Level Evaluation
68
+
69
+ | File | Description |
70
+ |------|-------------|
71
+ | `tier2_e2e_results.json` | End-to-end pipeline measurements for cloud_premium (whisper-large-v3 + llama3.1:8b) and edge_fast (whisper-tiny + gemma2:2b) configurations on 200 LibriSpeech samples. Includes per-stage latency breakdowns, sample ASR outputs, and sample LLM responses. |
72
+ | `tier2_cross_dataset_results.json` | Cross-dataset ASR evaluation on LibriSpeech and FLEURS for whisper-large-v3 and whisper-tiny models (200 samples each). Reports WER and latency statistics. |
73
+ | `tier2_noise_robustness_results.json` | ASR robustness under white noise at SNR levels 5--30 dB, plus clean baseline. Reports WER degradation across noise conditions. |
74
+
75
+ ### Tier 3 -- Scale Evaluation
76
+
77
+ | File | Description |
78
+ |------|-------------|
79
+ | `tier3_50k_summary.json` | Summary statistics for the full 50,000-turn PAVO-Bench dataset: 40K train / 10K test split, complexity distribution (levels 1--5), generation time, and error rate. |
80
+ | `tier3_scaling_results.json` | LLM scaling benchmarks across multiple models (gemma2:2b, llama3.1:8b, etc.) with simple, medium, and complex query types. Reports latency, throughput, and real-time suitability. |
81
+
82
+ ### Component Analysis
83
+
84
+ | File | Description |
85
+ |------|-------------|
86
+ | `component_ablation_results.json` | Ablation study comparing PAVO-Full, PAVO-NoCoupling, and other ablated configurations. Reports latency, quality, cost, energy, coupling violations, and infeasible percentages. |
87
+
88
+ ## Usage
89
+
90
+ ### Load individual JSON files directly
91
+
92
+ ```python
93
+ import json
94
+ from huggingface_hub import hf_hub_download
95
+
96
+ # Download a specific results file
97
+ path = hf_hub_download(
98
+ repo_id="<your-username>/pavo-bench",
99
+ filename="tier3_50k_summary.json",
100
+ repo_type="dataset",
101
+ )
102
+
103
+ with open(path) as f:
104
+ data = json.load(f)
105
+
106
+ print(f"Total samples: {data['total_samples']}")
107
+ print(f"Train/Test split: {data['train_samples']}/{data['test_samples']}")
108
+ ```
109
+
110
+ ### Download all files
111
+
112
+ ```python
113
+ from huggingface_hub import snapshot_download
114
+
115
+ snapshot_download(
116
+ repo_id="<your-username>/pavo-bench",
117
+ repo_type="dataset",
118
+ local_dir="./pavo-bench-data",
119
+ )
120
+ ```
121
+
122
+ ## Benchmark Metrics
123
+
124
+ - **Latency** (ms): End-to-end and per-component response time
125
+ - **Quality** (0--1): Composite score incorporating ASR accuracy and LLM response quality
126
+ - **Cost** (USD): Per-turn inference cost
127
+ - **Energy** (mJ): Per-turn energy consumption
128
+ - **Coupling violations**: Cases where ASR errors propagate and degrade LLM quality
129
+
130
+ ## Citation
131
+
132
+ If you use PAVO-Bench in your research, please cite:
133
+
134
+ ```bibtex
135
+ @misc{pavo-bench-2026,
136
+ author = {VeiluKanthaPerumal, NarasingaMoorthy},
137
+ title = {PAVO-Bench: A 50K-Turn Benchmark for ASR-LLM-TTS Pipeline Routing},
138
+ year = {2026},
139
+ institution = {University of Pennsylvania},
140
+ url = {https://huggingface.co/datasets/<your-username>/pavo-bench}
141
+ }
142
+ ```
143
+
144
+ ## License
145
+
146
+ This dataset is released under the [Creative Commons Attribution 4.0 International (CC-BY 4.0)](https://creativecommons.org/licenses/by/4.0/) license.