{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/cross-lingual-prompting-improving-zero-shot","title":"Cross-lingual Prompting: Improving Zero-shot Chain-of-Thought Reasoning across Languages","arxiv_id":"2310.14799","date":"2023-10-23","proceeding":null,"authors":["Libo Qin","Qiguang Chen","Fuxuan Wei","Shijue Huang","Wanxiang Che"],"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.","url_abs":"https://arxiv.org/abs/2310.14799v1","url_pdf":"https://arxiv.org/pdf/2310.14799v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"cross-lingual-prompting-improving-zero-shot","repo_url":"https://github.com/lightchen233/cross-lingual-prompting","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2310.14799","atlas_url":"https://app.syntology.ai/?focus=2310.14799","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.14799"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lightchen233/cross-lingual-prompting","reach":null}],"summary":{"ran_honours":1,"ran_draft_wrong":3,"ran_violates":1},"by_repo_kind":{"official":{"samples":5,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"a749f0943ce60a71","entry":"compute_result","repo":"lightchen233/cross-lingual-prompting","repo_kind":"official","path":"utils/clsp_metric.py","file_url":"https://github.com/lightchen233/cross-lingual-prompting/blob/HEAD/utils/clsp_metric.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a749f0943ce60a71"}},{"code_sha256_prefix":"c9413fbc63f64200","entry":"extract_max","repo":"lightchen233/cross-lingual-prompting","repo_kind":"official","path":"utils/clsp_metric.py","file_url":"https://github.com/lightchen233/cross-lingual-prompting/blob/HEAD/utils/clsp_metric.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c9413fbc63f64200"}},{"code_sha256_prefix":"e9d35ca28ee5af08","entry":"get_pred_max","repo":"lightchen233/cross-lingual-prompting","repo_kind":"official","path":"utils/clsp_metric.py","file_url":"https://github.com/lightchen233/cross-lingual-prompting/blob/HEAD/utils/clsp_metric.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e9d35ca28ee5af08"}},{"code_sha256_prefix":"6938ffecf7c5971e","entry":"judge_equal","repo":"lightchen233/cross-lingual-prompting","repo_kind":"official","path":"utils/clsp_metric.py","file_url":"https://github.com/lightchen233/cross-lingual-prompting/blob/HEAD/utils/clsp_metric.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6938ffecf7c5971e"}},{"code_sha256_prefix":"19802b15b25696b1","entry":"read_jsonl","repo":"lightchen233/cross-lingual-prompting","repo_kind":"official","path":"utils/clsp_metric.py","file_url":"https://github.com/lightchen233/cross-lingual-prompting/blob/HEAD/utils/clsp_metric.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"19802b15b25696b1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}