UPAR: A Kantian-Inspired Prompting Framework for Enhancing Large Language Model Capabilities
Authors:
Preprint
Abstract
Large Language Models (LLMs) have demonstrated impressive inferential capabilities, with numerous research endeavors devoted to enhancing this capacity through prompting. Despite these efforts, a unified epistemological foundation is still conspicuously absent. Drawing inspiration from Kant's a priori philosophy, we propose the UPAR prompting framework, designed to emulate the structure of human cognition within LLMs. The UPAR framework is delineated into four phases: "Understand", "Plan", "Act", and "Reflect", enabling the extraction of structured information from complex contexts, prior planning of solutions, execution according to plan, and self-reflection. This structure significantly augments the explainability and accuracy of LLM inference, producing a human-understandable and inspectable inferential trajectory. Furthermore, our work offers an epistemological foundation for existing prompting techniques, allowing for a possible systematic integration of these methods. With GPT-4, our approach elevates the accuracy from COT baseline of 22.92% to 58.33% in a challenging subset of GSM8K, and from 67.91% to 75.40% in the causal judgment task. Without using few-shot examples or external tools, UPAR significantly outperforms existing prompting methods on SCIBENCH, a challenging dataset containing collegiate-level mathematics, chemistry, and physics scientific problems.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Graph of Thoughts: Solving Elaborate Problems with Large Language ModelsProceedings of the AAAI Conference on Artificial Intelligence, 2024
- Explainability for Large Language Models: A SurveyACM Transactions on Intelligent Systems and Technology, 2024
- Survey of Hallucination in Natural Language GenerationACM Computing Surveys, 2023
- Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language ProcessingACM Computing Surveys, 2023
- Reasoning with Language Model Prompting: A Survey2023
- A Survey of Deep Learning for Mathematical Reasoning2023
- Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanations2022
- SEQZERO: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Models2022
- Did Aristotle Use a Laptop?A Question Answering Benchmark with Implicit Reasoning StrategiesTransactions of the Association for Computational Linguistics, 2021
- Prompting Contrastive Explanations for Commonsense Reasoning Tasks2021