English

Combining Language Models For Specialized Domains: A Colorful Approach

Computation and Language 2023-11-02 v3 Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2310.19708,
  title  = {Combining Language Models For Specialized Domains: A Colorful Approach},
  author = {Daniel Eitan and Menachem Pirchi and Neta Glazer and Shai Meital and Gil Ayach and Gidon Krendel and Aviv Shamsian and Aviv Navon and Gil Hetz and Joseph Keshet},
  journal= {arXiv preprint arXiv:2310.19708},
  year   = {2023}
}

Comments

Under Review

R2 v1 2026-06-28T13:06:10.023Z