about
Combining Language Models for Specialized Domains: A Colorful Approach (arxiv.org)
1 point by PaulHoule on Nov 9, 2023 | hide | past | pdf | discuss on HN

In plain words: Each word is tagged as everyday or specialist jargon, and the speech-to-text search uses a general language model for the first kind and a domain-trained one for the second. This cut errors on jargon words sharply while leaving ordinary speech accuracy unchanged.

Abstract · Combining Language Models For Specialized Domains: A Colorful Approach

General purpose language models (LMs) encounter difficulties when processing domain-specific jargon and terminology, which are frequently utilized in specialized fields such as medicine or industrial settings. Moreover, they often find it challenging to interpret mixed speech that blends general language with specialized jargon. This poses a challenge for automatic speech recognition systems operating within these specific domains. In this work, we introduce a novel approach that integrates domain-specific or secondary LM into general-purpose LM. This strategy involves labeling, or "coloring", each word to indicate its association with either the general or the domain-specific LM. We develop an optimized algorithm that enhances the beam search algorithm to effectively handle inferences involving colored words. Our evaluations indicate that this approach is highly effective in integrating jargon into language tasks. Notably, our method substantially lowers the error rate for domain-specific words without compromising performance in the general domain.

Daniel Eitan, Menachem Pirchi, Neta Glazer, Shai Meital, Gil Ayach, Gidon Krendel, Aviv Shamsian, Aviv Navon, Gil Hetz, Joseph Keshet
arXiv:2310.19708 · cs.CL, cs.LG · submitted Oct 30, 2023 · updated Nov 1, 2023
abstract · pdf · html · Under Review

add comment on HN