aiqbench analysis
This research introduces a compact, BART-based model optimized for low-latency spell correction in Japanese music search queries, addressing the complexity of processing four distinct writing scripts simultaneously. By leveraging a script-aware synthetic data pipeline and custom tokenization, the system achieves sub-4ms inference latency while significantly outperforming traditional edit-distance baselines in character error rates. The work highlights critical architectural choices for handling mixed-script inputs without hallucinations, offering practical insights for building responsive audio search interfaces.
Low-Latency Spell Correction for Japanese Music Search Queries
From arXiv
Full textSpell 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.
Full text under the publisher's open licence · 207 words