Skip to main content
QUICK REVIEW

[论文解读] LLMs-in-the-loop Part-1: Expert Small AI Models for Bio-Medical Text Translation

Bunyamin Keles, Murat Günay|arXiv (Cornell University)|Jul 16, 2024
Natural Language Processing TechniquesComputer Science被引用 3
一句话总结

本文提出了一种 'LLMs-in-the-loop' 框架,通过在高质量、领域内(主要为合成数据)的生物医学双语语料库上训练小型、专用的基于 MarianMT 的模型,实现了在翻译性能上超越更大规模通用模型(如 GPT-4-Turbo)和商业系统的显著效果。该方法在新创建的医疗测试集上,于多个指标上优于 Google Translate、DeepL 和 GPT-4-Turbo,证明了数据质量与领域特定微调可超越模型规模的优势。

ABSTRACT

Machine translation is indispensable in healthcare for enabling the global dissemination of medical knowledge across languages. However, complex medical terminology poses unique challenges to achieving adequate translation quality and accuracy. This study introduces a novel "LLMs-in-the-loop" approach to develop supervised neural machine translation models optimized specifically for medical texts. While large language models (LLMs) have demonstrated powerful capabilities, this research shows that small, specialized models trained on high-quality in-domain (mostly synthetic) data can outperform even vastly larger LLMs. Custom parallel corpora in six languages were compiled from scientific articles, synthetically generated clinical documents, and medical texts. Our LLMs-in-the-loop methodology employs synthetic data generation, rigorous evaluation, and agent orchestration to enhance performance. We developed small medical translation models using the MarianMT base model. We introduce a new medical translation test dataset to standardize evaluation in this domain. Assessed using BLEU, METEOR, ROUGE, and BERT scores on this test set, our MarianMT-based models outperform Google Translate, DeepL, and GPT-4-Turbo. Results demonstrate that our LLMs-in-the-loop approach, combined with fine-tuning high-quality, domain-specific data, enables specialized models to outperform general-purpose and some larger systems. This research, part of a broader series on expert small models, paves the way for future healthcare-related AI developments, including deidentification and bio-medical entity extraction models. Our study underscores the potential of tailored neural translation models and the LLMs-in-the-loop methodology to advance the field through improved data generation, evaluation, agent, and modeling techniques.

研究动机与目标

  • 为解决生物医学领域中准确、低成本机器翻译的迫切需求,因为误译可能危及患者安全。
  • 克服通用大型语言模型(LLMs)在处理复杂医学术语和领域特定细微差别方面的局限。
  • 通过在精心筛选的领域内数据上训练的小型微调神经模型,构建可扩展、高性能的翻译流水线。
  • 通过创建六种语言的标准化、高质量测试数据集,建立医学翻译的新基准。
  • 证明通过合成数据生成、严格评估和代理驱动编排,可显著提升模型性能。

提出的方法

  • 该方法采用 'LLMs-in-the-loop' 框架,利用大型语言模型生成合成双语语料库,用于训练小型、专用的神经翻译模型。
  • 在从科技文献、合成临床文档和六种语言对的医学文本中提取的定制化双语语料库上,对小型 MarianMT base 模型进行微调。
  • 训练策略在领域内数据与 10–20% 的领域外数据之间取得平衡,以在提升医学术语准确性的同时保持语言流畅性。
  • 通过多种指标评估性能:BLEU、METEOR、ROUGE 和 BERTScore,其中 LLM(GPT-4、Claude-3)作为类人类裁判参与偏好评估。
  • 引入一种新的标准化医疗翻译测试集,以实现在不同模型和语言之间的统一基准测试。
  • 采用代理编排技术,自动化数据生成、模型评估与迭代优化,从而提升数据质量与模型性能。

实验结果

研究问题

  • RQ1小型、微调的神经机器翻译模型是否能在生物医学文本翻译中超越更大规模的通用 LLM?
  • RQ2结合 LLM-in-the-loop 优化的合成数据生成,如何提升医学领域的翻译质量?
  • RQ3在微调过程中,如何在保持医学准确性与语言通用流畅性之间实现最优的领域内与领域外数据配比?
  • RQ4LLM 作为裁判,在评估医学翻译质量时,与自动指标的一致性程度如何?
  • RQ5标准化、高质量的测试集在提升医学翻译基准测试的可复现性与公平性方面,能发挥多大作用?

主要发现

  • 在英德翻译任务中,我们的 MarianMT 模型在 BLEU(65.44 vs. 54.13)和 BERTScore(0.969 vs. 0.955)上均优于 GPT-4-Turbo。
  • 在英西临床翻译任务中,我们的模型 BLEU 得分为 38.43,超过 Google Translate(37.12)和 DeepL(37.74)。
  • 在术语本体翻译(EN→ES)中,我们的模型 BLEU 得分为 44.14,显著优于 Clinical-NLLB(41.63)和 Clinical-WMT21fb(40.71)。
  • LLM 裁判在所有语言对中,68–86% 的评估中更偏好我们的模型,证实其具备类人质量。
  • 仅使用领域内数据进行微调会降低在领域外文本上的表现,但 10–20% 的领域外数据比例可在保持语言流畅性的同时显著提升医学准确性。
  • 本研究证明,数据质量与领域特定微调比模型规模更为关键,小型模型在关键指标上已超越更大模型。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。