Skip to main content
QUICK REVIEW

[Paper 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 Science3 citations
TL;DR

This paper proposes a 'LLMs-in-the-loop' framework that trains small, specialized MarianMT-based models on high-quality, in-domain (mostly synthetic) biomedical parallel corpora, achieving superior translation performance over larger general-purpose models like GPT-4-Turbo and commercial systems. The approach outperforms Google Translate, DeepL, and GPT-4-Turbo across multiple metrics on a new medical test set, demonstrating that data quality and domain-specific fine-tuning can surpass model size advantages.

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.

Motivation & Objective

  • To address the critical need for accurate, low-cost machine translation in biomedicine, where mistranslations can endanger patient safety.
  • To overcome the limitations of general-purpose large language models (LLMs) in handling complex medical terminology and domain-specific nuances.
  • To develop a scalable, high-performance translation pipeline using small, fine-tuned neural models trained on curated, in-domain data.
  • To establish a new benchmark for medical translation by creating a standardized, high-quality test dataset in six languages.
  • To demonstrate that model performance can be significantly enhanced through synthetic data generation, rigorous evaluation, and agent-driven orchestration.

Proposed method

  • The method employs a 'LLMs-in-the-loop' framework, using large language models to generate synthetic parallel corpora for training small, specialized neural translation models.
  • Small MarianMT base models are fine-tuned on custom-compiled parallel corpora derived from scientific articles, synthetic clinical documents, and medical texts across six language pairs.
  • The training strategy balances domain-specific data with 10–20% out-of-domain data to preserve general language fluency while enhancing medical terminology accuracy.
  • Performance is evaluated using multiple metrics: BLEU, METEOR, ROUGE, and BERTScore, with LLMs (GPT-4, Claude-3) acting as human-like judges in preference evaluations.
  • A new, standardized medical translation test set is introduced to enable consistent benchmarking across models and languages.
  • Agent orchestration is used to automate data generation, model evaluation, and iterative refinement, improving data quality and model performance.

Experimental results

Research questions

  • RQ1Can small, fine-tuned neural machine translation models outperform larger, general-purpose LLMs in biomedical text translation?
  • RQ2How does synthetic data generation combined with LLM-in-the-loop refinement improve translation quality in the medical domain?
  • RQ3What is the optimal balance between in-domain and out-of-domain data during fine-tuning for maintaining both medical accuracy and general fluency?
  • RQ4To what extent do LLM-based judges agree with automatic metrics in evaluating medical translation quality?
  • RQ5Can a standardized, high-quality test set improve reproducibility and fairness in medical translation benchmarking?

Key findings

  • Our MarianMT-based models outperformed GPT-4-Turbo on both BLEU (65.44 vs. 54.13) and BERTScore (0.969 vs. 0.955) for English-German translation.
  • For English-Spanish clinical translation, our model achieved a BLEU score of 38.43, surpassing Google Translate (37.12) and DeepL (37.74).
  • In ontology concept translation (EN→ES), our model scored 44.14 BLEU, significantly outperforming Clinical-NLLB (41.63) and Clinical-WMT21fb (40.71).
  • LLM judges preferred our models over Google Translate in 68–86% of evaluations across all language pairs, confirming human-like quality.
  • Fine-tuning with purely domain-specific data degraded performance on out-of-domain text, but a 10–20% out-of-domain data ratio preserved fluency while boosting medical accuracy.
  • The study demonstrates that data quality and domain-specific fine-tuning are more critical than model size, as smaller models surpassed larger ones in key metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.