How to Auto-optimize Prompts for Domain Tasks? Adaptive Prompting and Reasoning through Evolutionary Domain Knowledge Adaptation
Yang Zhao, Pu Wang, Hao Frank Yang

TL;DR
This paper introduces EGO-Prompt, an automated framework that optimizes prompts and reasoning processes for domain-specific tasks in large language models by integrating expert knowledge, causal graphs, and textual gradients, leading to improved performance and interpretability.
Contribution
The paper presents a novel evolutionary graph optimization framework that automatically refines prompts and causal knowledge for better domain-specific reasoning in LLMs, outperforming existing methods.
Findings
EGO-Prompt achieves 7.32%-12.61% higher F1 scores than state-of-the-art methods.
Small models with EGO-Prompt reach the performance of larger models at less than 20% of the cost.
Refined domain-specific SCGs enhance interpretability and reasoning accuracy.
Abstract
Designing optimal prompts and reasoning processes for large language models (LLMs) on domain-specific tasks is both necessary and challenging in real-world applications. Determining how to integrate domain knowledge, enhance reasoning efficiency, and even provide domain experts with refined knowledge integration hints are particularly crucial yet unresolved tasks. In this research, we propose Evolutionary Graph Optimization for Prompting (EGO-Prompt), an automated framework to designing better prompts, efficient reasoning processes and providing enhanced causal-informed process. EGO-Prompt begins with a general prompt and fault-tolerant initial Semantic Causal Graph (SCG) descriptions, constructed by human experts, which is then automatically refined and optimized to guide LLM reasoning. Recognizing that expert-defined SCGs may be partial or imperfect and that their optimal integration…
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.
