Research Article

A Two-Stage Fine-Tuning Method for Large Language Models Towards Interpretable Medical Translation

Jingjing Li*, Yuan Hong
North China University of Technology

* Corresponding author: [email protected]

Abstract

Translation in the medical field is an important research direction for large language models. Medical translation texts are usually very professional and have different meanings for the same word. We have very high requirements for the trustworthiness of translation models. But the existing methods are not good at making professional term accuracy and semantic consistency unified. Medical experts can hardly trust the decisions made by the models. For this reason, this study puts forward an interpretable framework with two-stage LoRA fine-tuning based on LLaMA-3-Chinese-8B-Instruct-v3—TSX-MedTrans. The first stage is term-level fine-tuning to make the representation of professional terms better. The second stage is sentence-level fine-tuning to make the context semantic coherence better. This framework also adds an interpretability module. It is used to show the attention distribution visually, so as to check the model's decision-making mechanism. The experimental results show that TSX-MedTrans improves the translation quality a lot: after term-level fine-tuning, BLEU rises from 29.624 to 34.728, and COMET rises from 0.836 to 0.891; after sentence-level fine-tuning, BLEU rises from 34.583 to 38.232, and COMET rises from 0.846 to 0.876.

Keywords: Medical Translation; Large Language Model; TSX-MedTrans Framework; LoRA; Fine-Tuning
Published: February 24, 2026
DOI: 10.54254/2753-8818/2026.31854
Volume: TNS Vol.159
pp. 71-80
Download PDF

References

  1. Briva-Iglesias, Vicent, Camargo, Joao Lucas Cavalheiro, Dogru, Gokhan. Large language models" ad referendum": How good are they at machine translation in the legal domain?. arXiv preprint arXiv: 2402.07681, 2024.
  2. Zhang, Xuan, Rajabi, Navid, Duh, Kevin, et al. Machine translation with large language models: Prompting, few-shot learning, and fine-tuning with QLoRA. //Proceedings of the Eighth Conference on Machine Translation, 2023.
  3. Wang, Jiaqi, Zhao, Huan, Yang, Zhenyuan, et al. Legal evalutions and challenges of large language models. arXiv preprint arXiv: 2411.10137, 2024.
  4. Li, Haitao, Chen, Junjie, Yang, Jingli, et al. Legalagentbench: Evaluating llm agents in legal domain. arXiv preprint arXiv: 2412.17259, 2024.
  5. Gre czuk, Andrzej, Chomiak-Orsa, Iwona, Tryczy ska, Katarzyna. AI-Supported Translation Tools for Legal Texts: A Comparative Analysis. Procedia Computer Science, 246: 5545--5554, 2024.
  6. Galiero L. Evaluating Domain Adaptation in Neural Machine Translation and Large Language Models: Insights from the TICO-19 Benchmark [J].
  7. Chen, Linqing, Wang, Weilei, Bai, Zilong, et al. PharmaGPT: Domain-specific large language models for bio-pharmaceutical and chemistry. arXiv preprint arXiv: 2406.18045, 2024.
  8. Zheng, Jiawei, Hong, Hanghai, Liu, Feiyan, et al. Fine-tuning large language models for domain-specific machine translation. arXiv preprint arXiv: 2402.15061, 2024.
  9. Xu, Haoran, Kim, Young Jin, Sharaf, Amr, et al. A paradigm shift in machine translation: Boosting translation performance of large language models. arXiv preprint arXiv: 2309.11674, 2023.
  10. Mujadia, Vandan, Urlana, Ashok, Bhaskar, Yash, et al. Assessing translation capabilities of large language models involving english and indian languages. arXiv preprint arXiv: 2311.09216, 2023.
  11. Leiter, Christoph, Lertvittayakumjorn, Piyawat, Fomicheva, Marina, et al. Towards explainable evaluation metrics for machine translation. Journal of Machine Learning Research, 25(75): 1--49, 2024.
  12. Futeral, Matthieu, Schmid, Cordelia, Laptev, Ivan, et al. Tackling ambiguity with images: Improved multimodal machine translation and contrastive evaluation. arXiv preprint arXiv: 2212.10140, 2022.
  13. Palikhe, Avash, Yu, Zhenyu, Wang, Zichong, et al. Towards Transparent AI: A Survey on Explainable Large Language Models. arXiv preprint arXiv: 2506.21812, 2025.
  14. Papineni, Kishore, Roukos, Salim, Ward, Todd, et al. Bleu: a method for automatic evaluation of machine translation. //Proceedings of the 40th annual meeting of the Association for Computational Linguistics, 2002.
  15. Rei, Ricardo, Stewart, Craig, Farinha, Ana C, et al. COMET: A neural framework for MT evaluation. arXiv preprint arXiv: 2009.09025, 2020.
  16. Geva, Mor, Schuster, Roei, Berant, Jonathan, et al. Transformer feed-forward layers are key-value memories. arXiv preprint arXiv: 2012.14913, 2020.
  17. Fomenko, Vlad, Yu, Han, Lee, Jongho, et al. A note on lora. arXiv preprint arXiv: 2404.05086, 2024.
  18. Chekalina, Viktoriia, Rudenko, Anna, Mezentsev, Gleb, et al. SparseGrad: A Selective Method for Efficient Fine-tuning of MLP Layers. arXiv preprint arXiv: 2410.07383, 2024.
  19. Vaswani, Ashish, Shazeer, Noam, Parmar, Niki, et al. Attention is all you need. Advances in neural information processing systems, 30, 2017.
  20. Clark, Kevin, Khandelwal, Urvashi, Levy, Omer, et al. What does bert look at? an analysis of bert's attention. arXiv preprint arXiv: 1906.04341, 2019.
  21. Hu, Edward J, Shen, Yelong, Wallis, Phillip, et al. Lora: Low-rank adaptation of large language models. ICLR, 1(2): 3, 2022.