Large Language Models are Good Multi-lingual Learners : When LLMs Meet Cross-lingual Prompts

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Teng, He, Zhenqi, Yu, Wing-Yin, Fu, Xiaojin, Han, Xiongwei
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917989177098240
author Wang, Teng
He, Zhenqi
Yu, Wing-Yin
Fu, Xiaojin
Han, Xiongwei
author_facet Wang, Teng
He, Zhenqi
Yu, Wing-Yin
Fu, Xiaojin
Han, Xiongwei
contents With the advent of Large Language Models (LLMs), generating rule-based data for real-world applications has become more accessible. Due to the inherent ambiguity of natural language and the complexity of rule sets, especially in long contexts, LLMs often struggle to follow all specified rules, frequently omitting at least one. To enhance the reasoning and understanding of LLMs on long and complex contexts, we propose a novel prompting strategy Multi-Lingual Prompt, namely MLPrompt, which automatically translates the error-prone rule that an LLM struggles to follow into another language, thus drawing greater attention to it. Experimental results on public datasets across various tasks have shown MLPrompt can outperform state-of-the-art prompting methods such as Chain of Thought, Tree of Thought, and Self-Consistency. Additionally, we introduce a framework integrating MLPrompt with an auto-checking mechanism for structured data generation, with a specific case study in text-to-MIP instances. Further, we extend the proposed framework for text-to-SQL to demonstrate its generation ability towards structured data synthesis.
format Preprint
id arxiv_https___arxiv_org_abs_2409_11056
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models are Good Multi-lingual Learners : When LLMs Meet Cross-lingual Prompts
Wang, Teng
He, Zhenqi
Yu, Wing-Yin
Fu, Xiaojin
Han, Xiongwei
Computation and Language
With the advent of Large Language Models (LLMs), generating rule-based data for real-world applications has become more accessible. Due to the inherent ambiguity of natural language and the complexity of rule sets, especially in long contexts, LLMs often struggle to follow all specified rules, frequently omitting at least one. To enhance the reasoning and understanding of LLMs on long and complex contexts, we propose a novel prompting strategy Multi-Lingual Prompt, namely MLPrompt, which automatically translates the error-prone rule that an LLM struggles to follow into another language, thus drawing greater attention to it. Experimental results on public datasets across various tasks have shown MLPrompt can outperform state-of-the-art prompting methods such as Chain of Thought, Tree of Thought, and Self-Consistency. Additionally, we introduce a framework integrating MLPrompt with an auto-checking mechanism for structured data generation, with a specific case study in text-to-MIP instances. Further, we extend the proposed framework for text-to-SQL to demonstrate its generation ability towards structured data synthesis.
title Large Language Models are Good Multi-lingual Learners : When LLMs Meet Cross-lingual Prompts
topic Computation and Language
url https://arxiv.org/abs/2409.11056