English

Retrieval Augmented Spelling Correction for E-Commerce Applications

Computation and Language 2024-10-16 v1 Artificial Intelligence

Abstract

The rapid introduction of new brand names into everyday language poses a unique challenge for e-commerce spelling correction services, which must distinguish genuine misspellings from novel brand names that use unconventional spelling. We seek to address this challenge via Retrieval Augmented Generation (RAG). On this approach, product names are retrieved from a catalog and incorporated into the context used by a large language model (LLM) that has been fine-tuned to do contextual spelling correction. Through quantitative evaluation and qualitative error analyses, we find improvements in spelling correction utilizing the RAG framework beyond a stand-alone LLM. We also demonstrate the value of additional finetuning of the LLM to incorporate retrieved context.

Keywords

Cite

@article{arxiv.2410.11655,
  title  = {Retrieval Augmented Spelling Correction for E-Commerce Applications},
  author = {Xuan Guo and Rohit Patki and Dante Everaert and Christopher Potts},
  journal= {arXiv preprint arXiv:2410.11655},
  year   = {2024}
}
R2 v1 2026-06-28T19:22:41.706Z