Hint of Pseudo Code (HoPC): Zero-Shot Step by Step Pseudo Code Reasoning Prompting
Iok Tong Lei, Ziyu Zhu, Han Yu, Yige Yao, Zhidong Deng

TL;DR
This paper introduces HoPC, a novel zero-shot prompting method that enhances multi-step reasoning in large language models by combining problem decomposition, semantic code reasoning, and answer extraction without extra interpreters.
Contribution
HoPC provides a new zero-shot prompting framework that improves reasoning accuracy by integrating pseudo code hints, surpassing existing methods like CoT and PoT in complex tasks.
Findings
HoPC outperforms CoT and PoT on reasoning benchmarks.
HoPC does not require an extra interpreter for code execution.
HoPC demonstrates improved semantic reasoning capabilities.
Abstract
Prompting a language model (LM) is an increasingly important research topic for better utilization of large language models (LLMs). While simple prompting is effective for single-step questions, it fails to activate the correct knowledge path for multi-step reasoning tasks consistently. The few-shot Chain of Thought (CoT), serves as an advanced prompting strategy that explains and demonstrates the reasoning process to the LLM, outperforming simple prompting in challenging reasoning tasks such as arithmetic and common-sense reasoning. The Program of Thought (PoT) aims to generate text and programming language solutions for multi-step reasoning problems. In zero-shot CoT, the prompt is simply ``Let's think step by step'', which is overly simplistic and does not adequately demonstrate a robust reasoning process for complex reasoning challenges. Additionally, PoT requires an extra…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Cosine Annealing · Residual Connection · Linear Layer · Weight Decay · Discriminative Fine-Tuning · Layer Normalization · Linear Warmup With Cosine Annealing · Byte Pair Encoding
