This project investigates the use of Large Language Models (LLMs) for enhancing Automatic Speech Recognition (ASR) systems by reducing Word Error Rate (WER). By leveraging techniques like Low-Rank Adaptation (LoRA) and Evolutionary Prompt Optimization (EvoPrompt), we demonstrate how compact and large LLMs can be optimized for error correction across noisy, accented, and domain-specific environments.
| Model | Optimization | WER (%) |
|---|---|---|
| ASR Baseline | None | 5.31 |
| TinyLlama | None | 285.89 |
| TinyLlama | LoRA | 87.57 |
| TinyLlama | EvoPrompt | 273.51 |
| TinyLlama | LoRA+EvoPrompt | 82.65 |
| TinyLlama | Full Tuning | 7.47 |
| GPT-3.5 | None | 44.90 |
| GPT-3.5 | EvoPrompt | 33.96 |
| Qwen-2.5-7B | None | 1503.20 |
| Qwen-2.5-7B | LoRA | 1371.20 |
| Qwen-2.5-7B | EvoPrompt | 1411.30 |
| Qwen-2.5-7B | Full Tuning | 6.25 |
| Llama3.2-3B | None | 1213.00 |
| Llama3.2-3B | Full Tuning | 6.90 |
Clone this repository:
git clone https://github.com/KOURENYILI/Error-Correction-By-using-LLM.git
cd Error-Correction-By-using-LLM
Install dependencies in each folder:
pip install -r requirements.txt
The workflow integrates ASR systems, N-best hypotheses, and LLMs with the following pipeline:
This project investigates the use of Large Language Models (LLMs) for enhancing Automatic Speech Recognition (ASR) systems by reducing Word Error Rate (WER). By leveraging techniques like Low-Rank Adaptation (LoRA) and Evolutionary Prompt Optimization (EvoPrompt), we demonstrate how compact and large LLMs can be optimized for error correction across noisy, accented, and domain-specific environments.
| Model | Optimization | WER (%) |
|---|---|---|
| ASR Baseline | None | 5.31 |
| TinyLlama | None | 285.89 |
| TinyLlama | LoRA | 87.57 |
| TinyLlama | EvoPrompt | 273.51 |
| TinyLlama | LoRA+EvoPrompt | 82.65 |
| TinyLlama | Full Tuning | 7.47 |
| GPT-3.5 | None | 44.90 |
| GPT-3.5 | EvoPrompt | 33.96 |
| Qwen-2.5-7B | None | 1503.20 |
| Qwen-2.5-7B | LoRA | 1371.20 |
| Qwen-2.5-7B | EvoPrompt | 1411.30 |
| Qwen-2.5-7B | Full Tuning | 6.25 |
| Llama3.2-3B | None | 1213.00 |
| Llama3.2-3B | Full Tuning | 6.90 |
Clone this repository:
git clone https://github.com/KOURENYILI/Error-Correction-By-using-LLM.git
cd Error-Correction-By-using-LLM
Install dependencies in each folder:
pip install -r requirements.txt
The workflow integrates ASR systems, N-best hypotheses, and LLMs with the following pipeline: