Efficient Stochastic Error Injection for Optimizing Large Language Models in Arabic Spelling Correction

Spelling mistakes in written communication among Arabic speakers have become more common, especially with the rise of social media. Correcting these errors requires effective natural language processing (NLP) tools. This paper introduces a ByT5-based approach to address two types of spelling mistakes: directed and general. ByT5, a token-free, pre-trained transformer model, processes UTF-8 text as raw bytes, which minimizes preprocessing and enhances robustness. We perform experiments with varying error injection rates to identify the optimal rate for correction. Our results are evaluated on two test sets: Test200 and TSMTS. The findings demonstrate ByT5's strong performance in spelling error correction, reducing the character error rate (CER) from 5% to 1.37% on the Test200 set and from 5% to 1.77% on the TSMTS set. These test sets include real Arabic sentences containing actual spelling mistakes. Overall, our results show that this approach offers a promising solution for spelling error correction and contributes to generating effective synthetic datasets for training large language models.

Authors

Institutions

Publication Details

Published
2025-04-16
DOI
https://doi.org/10.1109/ictcs65341.2025.10989319
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Efficient Stochastic Error Injection for Optimizing Large Language Models in Arabic Spelling Correction

Gheith A. Abandah, Moath R. Khaleel
Natural Language Processing Techniques
article

Efficient Stochastic Error Injection for Optimizing Large Language Models in Arabic Spelling Correction

Gheith A. Abandah, Moath R. Khaleel
article en

Abstract

Spelling mistakes in written communication among Arabic speakers have become more common, especially with the rise of social media. Correcting these errors requires effective natural language processing (NLP) tools. This paper introduces a ByT5-based approach to address two types of spelling mistakes: directed and general. ByT5, a token-free, pre-trained transformer model, processes UTF-8 text as raw bytes, which minimizes preprocessing and enhances robustness. We perform experiments with varying error injection rates to identify the optimal rate for correction. Our results are evaluated on two test sets: Test200 and TSMTS. The findings demonstrate ByT5's strong performance in spelling error correction, reducing the character error rate (CER) from 5% to 1.37% on the Test200 set and from 5% to 1.77% on the TSMTS set. These test sets include real Arabic sentences containing actual spelling mistakes. Overall, our results show that this approach offers a promising solution for spelling error correction and contributes to generating effective synthetic datasets for training large language models.

University of Jordan (JO)
Openalex Percentile: Top 95%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.