Abstract
Chain-of-Thought (CoT) prompting significantly enhances the reasoning capabilities of Large Language Models (LLMs) but often requires extensive human effort for exemplar selection and suffers from high computational costs during inference. This paper introduces INFORM (Information eNtropy based FOR large language Models), a label-free framework that utilizes Information Entropy (IE) as a universal metric to automate the CoT pipeline. INFORM optimizes exemplar selection through IE-based ranking and diversity pruning, and introduces an adaptive inference mechanism (IE-SC) that dynamically adjusts the number of reasoning paths. Experimental results across seven benchmarks demonstrate that INFORM consistently outperforms manual prompting, achieving an average accuracy improvement of 3.28% on GPT-3.5-Turbo while reducing computational costs by up to 33%.
Introduction
While Chain-of-Thought (CoT) prompting has become a standard for complex reasoning tasks, it faces two primary bottlenecks: high sensitivity to the choice of in-context examples and a heavy reliance on human-annotated reasoning steps. Traditional complexity-based selection methods require pre-existing labels to count reasoning steps, which are often unavailable. INFORM addresses these challenges by proposing Information Entropy (IE) as a proxy for reasoning complexity, enabling a fully automated, label-free approach to prompt engineering and efficient inference.
Methodology
The INFORM framework operates through a three-stage pipeline designed to maximize the informativeness of prompts and the efficiency of the reasoning process.
- Question Selection: The framework first calculates the IE of unlabeled questions to rank them by informativeness. It then applies diversity pruning via cosine similarity to ensure a broad coverage of problem types. Finally, an "Order Augmentation" strategy sorts these prompts from low to high entropy, creating a curriculum-like learning path for the model.
- CoT Generation: For the selected questions, multiple reasoning chains are generated. INFORM selects the chain that is both correct and possesses the highest IE, ensuring the model learns from the most detailed and informative rationales.
- IE-SC Inference: Standard Self-Consistency (SC) is computationally expensive as it requires a fixed, large number of samples. INFORM’s Adaptive Self-Consistency (IE-SC) dynamically scales the number of samples based on the query's IE score—allocating more resources to complex problems and fewer to simpler ones.
Key Insights: IE as a Complexity Proxy
A fundamental contribution of this work is the validation of Information Entropy as a robust proxy for reasoning complexity. As shown in the experimental analysis, there is a clear correlation between a question's IE score, the number of complex steps required to solve it, and the resulting model accuracy.
This correlation allows IE to serve as an automated substitute for human-labeled complexity, facilitating "Curriculum Prompting" where the model is guided from simpler to more difficult reasoning tasks.
Evaluation and Results
INFORM was evaluated on seven diverse benchmarks, including arithmetic (GSM8K, MultiArith), commonsense (CSQA, StrategyQA), and temporal reasoning (Date-Understanding).
- Accuracy Gains: On GPT-3.5-Turbo, INFORM achieved a 3.28% average improvement over manual CoT. It also showed robustness across smaller models like Alpaca-7b and 13b.
- Computational Efficiency: The IE-SC inference method reduced computational costs by 33% compared to standard SC (averaging 6.7 fewer samples per query) with a negligible accuracy trade-off of less than 0.2%.
Conclusion and Limitations
INFORM provides a scalable, label-free solution for optimizing LLM reasoning. By leveraging Information Entropy, it automates the selection of high-quality exemplars and streamlines inference. However, the framework's reliance on text-based IE makes it potentially sensitive to noisy or irrelevant input data. Future work will explore its applicability to non-reasoning tasks and its performance on the latest generation of ultra-large scale models.
Summary updated