Low-Latency Spell Correction for Japanese Music Search Queries
Anshul Garg, Pavni Tandon, Karan Bhukar, Tanmay Khandelwal, Ujjal Kumar Dutta
Abstract
Spell correction for Japanese search queries presents unique challenges due to the co-existence of four writing scripts (Latin/romaji, hiragana, katakana, and kanji) and the distinct error patterns each script induces. We present a compact BART-based sequence-to-sequence model (3 encoder + 3 decoder layers) designed for low-latency spell correction of Japanese music search queries. The core contribution lies in a script-aware synthetic misspelling generation pipeline that produces realistic training data by combining keyboard-layout models (QWERTY and flick input), phonetic confusion priors mined from real query logs, voiced/unvoiced consonant alternations, and kana case errors. A key design decision is normalizing mixed-script catalog titles to a single canonical script before misspelling synthesis, which we show is critical for reducing model hallucinations. We train a custom byte-level BPE tokenizer on the target music catalog to handle all four scripts in a unified vocabulary. Experiments on a curated evaluation set show that our model achieves an exact-match accuracy of 41.09% and a character error rate (CER) of 11.62%, outperforming edit-distance baselines and achieving the lowest character error rate among all evaluated systems while maintaining sub-4ms inference latency on a single GPU. We further analyze performance across individual scripts and mixed-script queries, demonstrating the effectiveness of script-aware data augmentation through systematic ablation studies.
Create a lesson
Metadata
- Categories
- cs.SD, cs.LG, eess.AS
- Comments
- 9 pages, 5 tables
Related papers
Target Speaker Identification: A Low-Latency Streaming Pipeline
Shared title terminologycs.SDPatrick S. Burke, Satyam Raj, Sean Kinahan
Aria-Structure: Methods for Structural Reasoning in Music
Shared title terminologycs.SDDario Soatto, Alexander Spangher, Matthew Caren et al.
Miles Per Gallon: Efficiency Metrics & Preliminary Benchmarking Results for Very Efficient Low Latency Speech Enhancement
Shared title terminologycs.SDAndrew J. R. Simpson, Fabio Ritrovato
Text-to-Music Models for Chiptune Video Game Music Generation
Shared title terminologycs.SDIgor Mattos dos Santos Varejão, Felipe Ferreira Marra, João Carlos Santana Silveira et al.
When Good Harmony Is Not Enough: Preserving Human Intention in Explainable Music Generation
Shared title terminologycs.SDJosef Pavlíček, Petra Pavlíčková, Irena Štrausová
MuQ-LC: Long-Context Music Representation Adaptation for Guzheng Playing Technique Detection
Shared title terminologycs.SDYouwei Feng, Haoxuan Liu, Yinquan Chen