Amharic-ASR-v3 / article.md
SaarAI's picture
Add v1->v3 report (article.md + figures)
38d52c0 verified
|
Raw History Blame Contribute Delete
8.78 kB
---
title: "From 45% to 24% WER: three iterations of robust Amharic speech recognition"
thumbnail: https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/01_path_average_wer.png
authors:
- user: SaarAI
---
# From 45% to 24% WER: three iterations of robust Amharic speech recognition
Amharic is spoken by tens of millions of people. Much of that speech reaches a
computer through a phone call, a noisy room or a cheap microphone, not a
studio. Over three releases,
[Amharic-ASR-v1](https://huggingface.co/SaarAI/Amharic-ASR-v1),
[v2](https://huggingface.co/SaarAI/Amharic-ASR-v2) and
[v3](https://huggingface.co/SaarAI/Amharic-ASR-v3), we built an Amharic
recogniser that holds up in those conditions. This report walks through what
changed at each step, what moved the numbers, and what is still hard.
**TL;DR**
* Average WER over 9 Amharic test sets went from **45.42%** (the Ethio-ASR
baseline) to **24.42%** (v3 + LM), a **46% relative reduction**.
* The biggest single jump came from **telecom-aware fine-tuning** (v1). After
that, the gains came from **more diverse, cleaner data** (v2) and **more
curated in-domain speech** (v3).
* A word 4-gram **language model** gives the most help on degraded audio, and
its benefit shrinks as the acoustic model gets stronger.
* Narrowband 2G with packet loss (40.6%) and Amharic–English code-switching
(37.9%) are still the hardest conditions.
![Average WER along the path](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/01_path_average_wer.png)
---
## The benchmark
Every model in this report goes through the same open_asr_leaderboard pipeline
and text normaliser, on 9 test sets:
| Test set | What it measures |
|---|---|
| **WAXAL** (test) | read speech |
| **TeleASR-Amharic** ×7 | the same utterances in 7 conditions: clean studio, ambient room noise, distant / low-volume mic, harsh environment, wideband phone (VoLTE), randomized phone channel, narrowband 2G + packet loss |
| **AfriSwitch** (Amharic) | Amharic–English code-switching |
We report the plain average WER over the 9 sets. TeleASR-Amharic makes up 7 of
the 9, so the average rewards robustness to the recording channel, which is
the goal.
---
## The path, one step at a time
### Starting point: Ethio-ASR
[`badrex/Ethio-ASR-amharic`](https://huggingface.co/badrex/Ethio-ASR-amharic)
is a strong w2v-bert-2.0 CTC model for read speech (23.8% on WAXAL). On
telephone audio it struggles: 47–49% on the phone channels and 77.6% on 2G.
### v1: teach the model what a phone call sounds like
* Fine-tuned on ~1,115 h of public Amharic speech: WaxalNLP, auto-labelled
WAXAL, BDU, Common Voice and four Leyu dialects.
* **Telecom-aware augmentation:** utterances are randomly passed through
simulated VoLTE, randomized phone channels and narrowband 2G codecs with
packet loss, plus noise and gain changes.
* Added a **word 4-gram KenLM** (~200M words of Amharic web and Wikipedia
text, with all test sets filtered out), decoded with pyctcdecode.
Result: **45.4% → 33.8%** from the acoustic model alone, then **28.2%** with
the LM.
### v2: broaden and clean the data
* Continued from v1 on ~1,188 h. This adds the **Addis Ababa dialect**,
**community-validated** speech (snapwre, up-votes > down-votes) and
**ALFFA**, whose morpheme-split transcripts were re-joined into words.
* WAXAL auto-labels were rebuilt with a **3-model vote**. This kept fewer but
cleaner segments (398 h → 314 h).
* Stronger, more varied telecom augmentation.
Result: **27.15%** with the LM. The v2 acoustic model alone (28.14%) already
matched v1 *with* its LM.
### v3: more curated in-domain speech
* Continued from v2 on ~1,331 h, adding a block of **additional curated
Amharic speech**.
* Same recipe otherwise: learning rate 2e-5, effective batch 64, ~5 epochs,
best checkpoint picked on a combined dev score.
Result: **24.42%** with the LM and **25.44%** without. v3 beats v2 on every
test set, with or without the LM.
![Training data per release](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/07_training_data.png)
---
## Where the gains came from
### Every condition improves
![Per-condition WER v1 → v3](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/02_per_condition_v1_v3.png)
![Relative gain v1 → v3](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/10_relative_gain_v1_v3.png)
From v1 to v3, the biggest relative gains are on **distant / low-volume mic**
(−18.3%), **narrowband 2G** and **harsh environment** (−15.7% each), and
**clean studio** (−15.1%). WAXAL read speech (−9.6%) and code-switching
(−9.2%) move the least.
### The full leaderboard
![Leaderboard heatmap](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/03_heatmap.png)
v3 has the best score on 8 of the 9 test sets: 3 without the LM and 5 with it.
The exception is code-switching, where `addisai/addis-scribe-streaming` is
slightly ahead (37.64% vs 37.92%, effectively a tie).
![Robustness radar](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/04_radar.png)
### Robustness: how much worse does it get away from the studio mic?
![Degradation vs clean studio](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/06_degradation_vs_clean.png)
This plot subtracts each model's clean-studio WER, so it shows *degradation*
rather than absolute quality. Models without telecom training lose 39–44
points going from studio to 2G. v1 loses about 26 and v3 about 22. The curve
flattens a little with each release.
---
## What the language model buys
![LM gain per condition](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/05_lm_gain.png)
| | v1 | v2 | v3 |
|---|---|---|---|
| no LM | 33.78 | 28.14 | 25.44 |
| + 4-gram LM | 28.19 | 27.15 | **24.42** |
| LM gain (points) | −5.59 | −0.99 | −1.02 |
* The LM helps most where the acoustic model is least sure: **2G** (−8.1
points for v1, −4.9 for v3) and the phone channels.
* As the acoustic model improves, the LM matters less on average.
* On **clean read speech** the LM can slightly *hurt* v2 and v3 (WAXAL about +1
point). The decoder weights (`alpha=0.5, beta=1.5`) were tuned for v1.
Dev-set re-tuning for the stronger models prefers a much lower LM weight
(`alpha≈0.1`), which is the obvious next step.
---
## Training dynamics
![Dev score during fine-tuning](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/08_training_curves.png)
v2 and v3 were each fine-tuned for ~5 epochs from the previous release. The
dev score is noisy from one evaluation to the next because of the heavy
on-the-fly augmentation. It peaks late (epoch 3.0 for v2, 4.0 for v3) and then
plateaus, so we release the best checkpoint rather than the last one.
![v3 training loss](https://huggingface.co/SaarAI/Amharic-ASR-v3/resolve/main/figures/09_v3_training_loss.png)
The training loss stays high and noisy because the model is always learning
from deliberately damaged audio. That is the intended behaviour.
---
## Lessons learned
1. **Simulate the channel you will actually see.** Telecom augmentation was
the biggest single win.
2. **Label quality beats label quantity.** v2 kept *fewer* auto-labelled hours
than v1 (thanks to a 3-model vote) and still improved.
3. **Diversity compounds.** New dialects and recording sources helped across
the board, not only on matching test sets.
4. **Re-tune the decoder with every release.** The best LM weight changes as
the acoustic model improves.
5. **Be careful with read-speech scores.** Auto-labelled WAXAL training audio
shares some speakers (not utterances) with the WAXAL test set, so WAXAL
numbers are somewhat optimistic. TeleASR-Amharic and AfriSwitch have no such
overlap.
## What's next
* Re-tune `alpha` and `beta` for v3 and ship them as the defaults.
* Target the two hardest conditions with more realistic **2G / packet-loss**
simulation and **Amharic–English code-switched** data.
* Punctuation and number formatting (output is currently lowercase words
without punctuation).
## Try it
```python
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="SaarAI/Amharic-ASR-v3", device=0)
print(asr("audio.wav")["text"])
```
## Acknowledgements
This work builds on **Ethio-ASR** ([arXiv:2603.23654](https://arxiv.org/abs/2603.23654))
and the **TeleASR-Amharic** benchmark ([arXiv:2610.26448](https://arxiv.org/abs/2610.26448)).
Thanks to the creators of WAXAL, BDU Amharic, Common Voice, Leyu,
snapwre/amharic-speech, ALFFA, w2v-bert-2.0, FineWeb-2, Wikipedia, KenLM and
pyctcdecode, and to the authors of `snapwre/hohe-asr-amharic` and
`addisai/addis-scribe-streaming`.