AnhP commited on
Commit
23438a7
·
verified ·
1 Parent(s): 9fa170e

Upload 2 files

Browse files
Files changed (2) hide show
  1. benchmark_report.md +139 -0
  2. result.txt +31 -0
benchmark_report.md ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Pitch Detection Algorithm Benchmark Report
2
+
3
+ ## Benchmark Methodology
4
+
5
+ ### Evaluation Setup
6
+ This benchmark evaluates pitch detection algorithms across multiple datasets with different characteristics, including synthetic and real audio from speech and music domains. Each algorithm is tested on noisy audio generated by mixing clean datasets with CHiME background noise at various signal-to-noise ratios (10-30 dB) and voice gain variations (-6 to +6 dB).
7
+
8
+ ### Performance Metric Definition
9
+ The **Overall Performance Rankings** show the **Harmonic Mean (HM)** score as percentages, computed from six complementary components:
10
+
11
+ **HM = 6 / (1/RPA + 1/CA + 1/P + 1/R + 1/OA + 1/GEA)**
12
+
13
+ Where:
14
+ - **RPA** (Raw Pitch Accuracy): Fraction of voiced frames within 50 cents of ground truth
15
+ - **CA** (Cents Accuracy): exp(-mean_cents_error/500), penalizing larger deviations exponentially
16
+ - **P** (Voicing Precision): TP/(TP+FP), fraction of predicted voiced frames that are truly voiced
17
+ - **R** (Voicing Recall): TP/(TP+FN), fraction of truly voiced frames detected
18
+ - **OA** (Octave Accuracy): exp(-10×octave_error_rate), robustness against octave errors
19
+ - **GEA** (Gross Error Accuracy): exp(-5×gross_error_rate), penalizing deviations >200 cents
20
+
21
+ ### Speed Benchmark Details
22
+ CPU timing measurements are performed on 1-second audio signals at 22.05 kHz sample rate with 256-sample hop length. The reported **CPU Time (ms)** represents the average processing time per 1-second audio segment across multiple runs. **Relative Speed** shows performance relative to CREPE as the baseline algorithm.
23
+
24
+ ### Optimal Threshold Analysis
25
+ The **Optimal Threshold** refers to the voicing confidence threshold that maximizes the Harmonic Mean score. Algorithms test multiple thresholds (0.0 to 1.0 in steps of 0.1) and select the one yielding the highest combined score. **CV** stands for Coefficient of Variation (std/mean), measuring consistency across datasets.
26
+
27
+ ## Dataset Descriptions
28
+
29
+ The benchmark evaluates algorithms across diverse datasets covering speech, music, synthetic, and real-world conditions:
30
+
31
+ | **Dataset** | **Domain** | **Type** | **Description** |
32
+ |---|---|---|---|
33
+ | **NSynth** | Music | Synthetic | Single-note synthetic audio from musical instruments with accurate pitch labels. Lacks temporal/spectral complexity of real-world environments. |
34
+ | **PTDB** | Speech | Real | Speech recordings with laryngograph signals capturing vocal fold vibrations. Ground truth derived from high-pass filtered laryngograph signals processed with RAPT algorithm. |
35
+ | **PTDBNoisy** | Speech | Real | Subset of 347 PTDB files (7.4%) with noticeable noise that were excluded from main evaluation. |
36
+ | **MIR1K** | Music | Real | Vocal excerpts with pitch contours initially extracted algorithmically (e.g., YIN) followed by manual correction. Labels still reflect some algorithmic biases. |
37
+ | **MDBStemSynth** | Music | Synthetic | Musically structured synthetic audio with accurate pitch annotations. Valuable for controlled evaluation but lacks real-world acoustic variability. |
38
+ | **Vocadito** | Music | Real | Solo vocal recordings with pitch annotations derived from pYIN algorithm, refined through manual verification process. |
39
+ | **Bach10Synth** | Music | Synthetic | High-quality pitch labels for synthesized musical performances. Similar to MDB-STEM-Synth but focused on Bach compositions. |
40
+ | **SpeechSynth** | Speech | Synthetic | Synthetic Mandarin speech generated using LightSpeech TTS model. Trained on 97.48 hours from AISHELL-3 and Biaobei datasets, providing exact pitch ground truth. |
41
+
42
+ **Key Characteristics:**
43
+ - **Synthetic datasets** provide perfect ground truth but may lack real-world complexity
44
+ - **Real datasets** capture natural acoustic variations but have imperfect ground truth annotations
45
+ - **Speech datasets** focus on vocal pitch tracking challenges
46
+ - **Music datasets** encompass instrumental and vocal music scenarios
47
+ - **SpeechSynth** addresses the gap of lacking synthetic speech data with accurate pitch labels
48
+
49
+ ## Overall Performance Rankings
50
+
51
+ | **Algorithm** | **Bach10Synth** | **MDBStemSynth** | **MIR1K** | **PTDB** | **PTDBNoisy** | **SpeechSynth** | **Vocadito** | **Average** |
52
+ |---|---|---|---|---|---|---|---|---|
53
+ | **HPA_RMVPE** | **98.7%** | **93.4%** | 95.8% | **91.7%** | **83.2%** | 86.8% | 96.9% | **92.4%** |
54
+ | RMVPE | 98.3% | 91.7% | **96.0%** | 86.0% | 66.6% | **90.5%** | **97.2%** | 89.5% |
55
+
56
+ No speed benchmark results found.
57
+ ## Detailed Performance Analysis
58
+
59
+ ### Voicing Detection Performance
60
+ Measures how well algorithms distinguish between voiced (pitched) and unvoiced (unpitched) audio segments.
61
+
62
+ | **Algorithm** | **Precision ↑** | **Recall ↑** | **F1-Score ↑** |
63
+ |---|---|---|---|
64
+ | **HPA_RMVPE** | **0.924** | **0.847** | **0.882** |
65
+ | RMVPE | 0.891 | 0.816 | 0.851 |
66
+
67
+ ### Pitch Accuracy Metrics
68
+ Detailed pitch estimation accuracy across different error types and magnitudes.
69
+
70
+ | **Algorithm** | **RPA ↑** | **RCA ↑** | **Cents Error ↓** | **RMSE (Hz) ↓** | **Octave Error ↓** | **Gross Error ↓** |
71
+ |---|---|---|---|---|---|---|
72
+ | HPA_RMVPE | **0.909** | **0.910** | **22.7** | **10.0** | **0.004** | **0.007** |
73
+ | RMVPE | 0.901 | 0.905 | 32.2 | 13.3 | 0.011 | 0.014 |
74
+
75
+ **Additional Metric Definitions:**
76
+ - **RCA** (Raw Chroma Accuracy): Fraction with correct pitch class (note name), ignoring octave
77
+ - **Cents Error**: Mean absolute pitch deviation in cents (raw error, before exponential transform used in CA)
78
+ - **RMSE**: Root Mean Square Error in Hz
79
+
80
+ ### Pitch Contour Smoothness
81
+ Measures the temporal stability and continuity of pitch tracks.
82
+
83
+ | **Algorithm** | **Relative Smoothness ↓** | **Continuity Breaks ↓** | **Overall Smoothness Rank ↓** |
84
+ |---|---|---|---|
85
+ | **RMVPE** | **1.327** | **0.866** | **1.0** |
86
+ | HPA_RMVPE | 1.421 | 0.931 | 2.0 |
87
+
88
+ **Metric Definitions:**
89
+ - **Relative Smoothness**: Coefficient of variation of consecutive pitch changes (std/mean of relative frame-to-frame changes)
90
+ - **Continuity Breaks**: Fraction of ground-truth voiced segments where predicted voicing has gaps
91
+ - **Overall Smoothness Rank**: Average rank across both smoothness metrics (1=best, lower is better)
92
+
93
+ ### Optimal Threshold Analysis
94
+ Voicing confidence thresholds that maximize overall performance scores.
95
+
96
+ | **Algorithm** | **Mean Threshold** | **Std Dev ↓** | **Range** |
97
+ |---|---|---|---|
98
+ | HPA_RMVPE | 0.486 | **0.064** | 0.40-0.60 |
99
+ | RMVPE | 0.686 | **0.064** | 0.60-0.80 |
100
+
101
+ ### Algorithm Consistency
102
+ Measures performance stability across different datasets using Coefficient of Variation (CV = std/mean).
103
+
104
+ | **Algorithm** | **Performance CV ↓** | **Threshold CV ↓** |
105
+ |---|---|---|
106
+ | HPA_RMVPE | **0.056** | 0.132 |
107
+ | RMVPE | 0.113 | **0.093** |
108
+
109
+ ## Performance by Dataset Subsets
110
+
111
+ ### By Origin
112
+ - **Synthetic**: Bach10Synth, MDBStemSynth, SpeechSynth, NSynth
113
+ - **Real**: MIR1K, PTDB, PTDBNoisy, Vocadito
114
+
115
+ | **Algorithm** | **Synthetic** | **Real** |
116
+ |---|---|---|
117
+ | HPA_RMVPE | 93.0% | **91.9%** |
118
+ | **RMVPE** | **93.5%** | 86.4% |
119
+
120
+ ### By Domain
121
+ - **Speech**: PTDB, PTDBNoisy, SpeechSynth
122
+ - **Music**: Bach10Synth, MDBStemSynth, NSynth, Vocadito, MIR1K
123
+
124
+ | **Algorithm** | **Speech** | **Music** |
125
+ |---|---|---|
126
+ | **HPA_RMVPE** | **87.2%** | **96.2%** |
127
+ | RMVPE | 81.0% | 95.8% |
128
+
129
+ ### By Cross-Dimension
130
+ - **Synthetic + Speech**: SpeechSynth
131
+ - **Synthetic + Music**: Bach10Synth, MDBStemSynth, NSynth
132
+ - **Real + Speech**: PTDB, PTDBNoisy
133
+ - **Real + Music**: Vocadito, MIR1K
134
+
135
+ | **Algorithm** | **Synthetic + Speech** | **Synthetic + Music** | **Real + Speech** | **Real + Music** |
136
+ |---|---|---|---|---|
137
+ | HPA_RMVPE | 86.8% | **96.1%** | **87.4%** | 96.3% |
138
+ | **RMVPE** | **90.5%** | 95.0% | 76.3% | **96.6%** |
139
+
result.txt ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2000 0.8378445185193604 0.8550007722515595 0.7996140460635067 0.9890788964748473 0.3363412922726779
2
+ 4000 0.8883051935186256 0.9011896693260052 0.8407483822422482 0.9888601901737389 0.28807807987578515
3
+ 6000 0.9093463408114435 0.9187610596569435 0.856436811223664 0.9892772409264694 0.2782532299927232
4
+ 8000 0.9154192601783081 0.9242915226873272 0.863719324944622 0.9893135190076301 0.2640216721129445
5
+ 10000 0.9221281098055328 0.9301873697193905 0.8544904398328683 0.9909068205196612 0.30122805392415253
6
+ 12000 0.9256361200045038 0.9339749954084418 0.8680132436720246 0.9908627552470314 0.254230999992963
7
+ 14000 0.9243513872156627 0.9337593018053446 0.8652027599565791 0.9914292069207234 0.25215019320964444
8
+ 16000 0.9273037335333602 0.9344113906144614 0.8915717806067568 0.9891676716064659 0.1935697488877773
9
+ 18000 0.928093933102101 0.9359714654554582 0.8907530917582658 0.9903337088390893 0.18993020533175425
10
+ 20000 0.9293916929746256 0.9366121332110859 0.8776223218605467 0.9914119683432404 0.22019514647616786
11
+ 22000 0.9293183453953023 0.9368456631205168 0.8993620504460864 0.9894685003490795 0.16336010040361684
12
+ 24000 0.9315245273701741 0.9376764169135439 0.8863015204978449 0.9894540292140037 0.1835239797652679
13
+ 26000 0.9278818721915667 0.9348520928207621 0.9085706799588287 0.9873654389180911 0.14489941458772512
14
+ 28000 0.9237549717826589 0.9307162863292412 0.9077910608700053 0.9863836330576372 0.1468425086259306
15
+ 30000 0.9258158531777284 0.9321535143384989 0.904241575941385 0.9876146874821279 0.16133908984711812
16
+ 32000 0.9264748130833852 0.9328525691827716 0.9059375201675516 0.9864041162325197 0.15868876533000917
17
+ 34000 0.9294898372762054 0.9368239951842766 0.9116889009886732 0.9867188652090091 0.13928261369797534
18
+ 36000 0.9308560403694829 0.9375692344987657 0.9018779527935139 0.9889020192979557 0.16233208515827274
19
+ 38000 0.9313965384250322 0.9380007369116374 0.9001299526034995 0.9887313404516253 0.1633452541547179
20
+ 40000 0.9257527466620052 0.9323936865918444 0.8932349791238209 0.9876225372867202 0.15272637913977158
21
+ 42000 0.9282756579769014 0.9348992744323964 0.9128243025390219 0.9859300748640211 0.14253721025786018
22
+ 44000 0.9298426741859479 0.9371124290362667 0.9040265872543837 0.986949025138059 0.14552509402205127
23
+ 46000 0.9300128295346097 0.9362827197527415 0.9137447153933999 0.9862219583569053 0.12982273766113558
24
+ 48000 0.9234125212485892 0.930283776966406 0.9069802324864845 0.9842294180320558 0.13843328086203502
25
+ 50000 0.9276399753750096 0.9343214436184214 0.9175312107387217 0.9842129999275886 0.13105409268093263
26
+ 52000 0.9449817217707827 0.9487268871260228 0.9284075834356192 0.9901670186816184 0.1155973855306721
27
+ 54000 0.9527623614083628 0.9556320951087338 0.9118459185619721 0.9949080525203702 0.1454833502601766
28
+ 56000 0.954165243892991 0.9570026018203798 0.926977467721424 0.9935336189713234 0.11515391090021866
29
+ 58000 0.9560903499554949 0.9579481683238092 0.9247886391863444 0.9952464719967719 0.12452428410486954
30
+ 60000 0.9569328873340348 0.9592511430481309 0.9248727630933362 0.9944816617017681 0.12305888800108479
31
+ 62000 0.9579849845549661 0.9596342118918808 0.9390898685686138 0.9950267279500629 0.0964534832149947
Free AI Image Generator No sign-up. Instant results. Open Now