Cross-lingual Prompting: Improving Zero-shot Chain-of-Thought Reasoning across Languages

Libo Qin, Qiguang Chen, Fuxuan Wei, Shijue Huang, Wanxiang Che
10/23/2023
cs.CLcs.AI

No official code found. Best implementation: LightChen233/cross-lingual-prompting (7 stars, last commit 2023-12-18).

Abstract

Chain-of-thought (CoT) is capable of eliciting models to explicitly generate reasoning paths, thus promoting reasoning accuracy and attracting increasing attention. Specifically, zero-shot CoT achieves remarkable improvements in a wide range of reasoning tasks by simply instructing the LLM with the prompt "Let's think step by step!". Despite the success of zero-shot CoT, the existing zero-shot prompting techniques remain limited to a single language, making it challenging to generalize to other languages and hindering global development. In this work, we introduce cross-lingual prompting (CLP), aiming to improve zero-shot CoT reasoning across languages. Specifically, CLP consists of two main components: (1) cross-lingual alignment prompting and (2) task-specific solver prompting. The cross-lingual alignment prompting is responsible for aligning representations across different languages, whereas the task-specific solver prompting is used to generate the final chain of thoughts and results for the reasoning task. In addition, we further introduce cross-lingual self-consistent prompting (CLSP) to ensemble different reasoning paths across languages. Our experimental evaluations on several benchmarks demonstrate that CLP and CLSP significantly outperform the existing prompting methods and achieve state-of-the-art performance. We hope this work will inspire further breakthroughs in cross-lingual CoT.

View on arXivView PDF

Code Implementations(1)

71PythonOct 16, 20232 years ago

Similar Papers

Cite this paper

@article{qin2023crosslingual,
  title  = {Cross-lingual Prompting: Improving Zero-shot Chain-of-Thought Reasoning across Languages},
  author = {Libo Qin and Qiguang Chen and Fuxuan Wei and Shijue Huang and Wanxiang Che},
  year   = {2023},
  eprint = {2310.14799},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.14799v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.14799.svg)](https://codeofpaper.com/paper/2310.14799)

Discussion