Machine Translation with Large Language Models: Prompt Engineering for Persian, English, and Russian Directions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pourkamali, Nooshin, Sharifi, Shler Ebrahim
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916093428236288
author Pourkamali, Nooshin
Sharifi, Shler Ebrahim
author_facet Pourkamali, Nooshin
Sharifi, Shler Ebrahim
contents Generative large language models (LLMs) have demonstrated exceptional proficiency in various natural language processing (NLP) tasks, including machine translation, question answering, text summarization, and natural language understanding. To further enhance the performance of LLMs in machine translation, we conducted an investigation into two popular prompting methods and their combination, focusing on cross-language combinations of Persian, English, and Russian. We employed n-shot feeding and tailored prompting frameworks. Our findings indicate that multilingual LLMs like PaLM exhibit human-like machine translation outputs, enabling superior fine-tuning of desired translation nuances in accordance with style guidelines and linguistic considerations. These models also excel in processing and applying prompts. However, the choice of language model, machine translation task, and the specific source and target languages necessitate certain considerations when adopting prompting frameworks and utilizing n-shot in-context learning. Furthermore, we identified errors and limitations inherent in popular LLMs as machine translation tools and categorized them based on various linguistic metrics. This typology of errors provides valuable insights for utilizing LLMs effectively and offers methods for designing prompts for in-context learning. Our report aims to contribute to the advancement of machine translation with LLMs by improving both the accuracy and reliability of evaluation metrics.
format Preprint
id arxiv_https___arxiv_org_abs_2401_08429
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Machine Translation with Large Language Models: Prompt Engineering for Persian, English, and Russian Directions
Pourkamali, Nooshin
Sharifi, Shler Ebrahim
Computation and Language
Artificial Intelligence
Human-Computer Interaction
Machine Learning
ACM-class: I.2.2
I.2.2
Generative large language models (LLMs) have demonstrated exceptional proficiency in various natural language processing (NLP) tasks, including machine translation, question answering, text summarization, and natural language understanding. To further enhance the performance of LLMs in machine translation, we conducted an investigation into two popular prompting methods and their combination, focusing on cross-language combinations of Persian, English, and Russian. We employed n-shot feeding and tailored prompting frameworks. Our findings indicate that multilingual LLMs like PaLM exhibit human-like machine translation outputs, enabling superior fine-tuning of desired translation nuances in accordance with style guidelines and linguistic considerations. These models also excel in processing and applying prompts. However, the choice of language model, machine translation task, and the specific source and target languages necessitate certain considerations when adopting prompting frameworks and utilizing n-shot in-context learning. Furthermore, we identified errors and limitations inherent in popular LLMs as machine translation tools and categorized them based on various linguistic metrics. This typology of errors provides valuable insights for utilizing LLMs effectively and offers methods for designing prompts for in-context learning. Our report aims to contribute to the advancement of machine translation with LLMs by improving both the accuracy and reliability of evaluation metrics.
title Machine Translation with Large Language Models: Prompt Engineering for Persian, English, and Russian Directions
topic Computation and Language
Artificial Intelligence
Human-Computer Interaction
Machine Learning
ACM-class: I.2.2
I.2.2
url https://arxiv.org/abs/2401.08429