Topic-guided Example Selection for Domain Adaptation in LLM-based Machine Translation - PaRis AI Research InstitutE Accéder directement au contenu
Communication Dans Un Congrès Année : 2024

Topic-guided Example Selection for Domain Adaptation in LLM-based Machine Translation

Résumé

Current machine translation (MT) systems perform well in the domains on which they were trained, but adaptation to unseen domains remains a challenge. Rather than fine-tuning on domain data or modifying the architecture for training, an alternative approach exploits large language models (LLMs), which are performant across NLP tasks especially when presented with in-context examples. We focus on adapting a pre-trained LLM to a domain at inference through in-context example selection. For MT, examples are usually randomly selected from a development set. Some more recent methods though select using the more intuitive basis of test source similarity. We employ topic models to select examples based on abstract semantic relationships below the level of a domain. We test the relevance of these statistical models and use them to select informative examples even for out-of-domain inputs, experimenting on 7 diverse domains and 11 language pairs of differing resourcedness. Our method outperforms baselines on challenging multilingual out-of-domain tests, though it does not match performance with strong baselines for the in-language setting. We find that adding few-shot examples and related keywords consistently improves translation quality, that example diversity must be balanced with source similarity, and that our pipeline is overly restrictive for example selection when a targeted development set is available.
Fichier principal
Vignette du fichier
Topic_guided_Example_Selection_for_Domain_Adaptation_in_LLM_based_Machine_Translation.pdf (257.03 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
licence : CC BY - Paternité

Dates et versions

hal-04502291 , version 1 (13-03-2024)

Licence

Paternité

Identifiants

  • HAL Id : hal-04502291 , version 1

Citer

Seth Aycock, Rachel Bawden. Topic-guided Example Selection for Domain Adaptation in LLM-based Machine Translation. 18th Conference of the European Chapter of the Association for Computational Linguistics: Student Research Workshop, Association for Computational Linguistics, Mar 2024, St. Julians, Malta. ⟨hal-04502291⟩
18 Consultations
3 Téléchargements

Partager

Gmail Facebook X LinkedIn More