How to Auto-optimize Prompts for Domain Tasks? Adaptive Prompting and Reasoning through Evolutionary Domain Knowledge Adaptation
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
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 varies across LLMs, EGO-Prompt integrates a novel causal-guided textual gradient process in two steps: first, generating nearly deterministic reasoning guidance from the SCG for each instance, and second, adapting the LLM to effectively utilize the guidance alongside the original input. The iterative optimization algorithm further refines both the SCG and the reasoning mechanism using textual gradients with ground-truth. We tested the framework on real-world public health, transportation and human behavior tasks. EGO-Prompt achieves 7.32%-12.61% higher F1 than cutting-edge methods, and allows small models to reach the performence of larger models at under 20% of the original cost. It also outputs a refined, domain-specific SCG that improves interpretability.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 54 of its 77 references that are in the map. First posted on arXiv 24 Oct 2025.
Builds on
54 of 77 references.
Closest ancestors · 7
Same direction, newest first
- 2025DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspective17 Mar
- 2023Boosting Language Models Reasoning with Chain-of-Knowledge Prompting10 Jun
- 2023Progressive-Hint Prompting Improves Reasoning in Large Language Models19 Apr
- 2022Automatic Chain of Thought Prompting in Large Language Models7 Oct
- 2022Large Language Models are Zero-Shot Reasoners24 May
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Models21 May
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan
Other references · 47
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Qwen Technical Reportcited by 3,273
- 2023A Survey of Large Language Modelscited by 2,537
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2023End-to-end Autonomous Driving: Challenges and Frontierscited by 485
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
35 more
- 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoningcited by 326
- 2024Graph Retrieval-Augmented Generation: A Surveycited by 320
- 2022Can language models learn from explanations in context?cited by 248
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 226
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation Systemcited by 138
- 2023Reason2Drive: Towards Interpretable and Chain-based Reasoning for Autonomous Drivingcited by 122
- 2024Large Language Models for Robotics: Opportunities, Challenges, and Perspectivescited by 88
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Modelscited by 85
- 2024AutoRT: Embodied Foundation Models for Large Scale Orchestration of Robotic Agentscited by 83
- 2024NavCoT: Boosting LLM-Based Vision-and-Language Navigation via Learning Disentangled Reasoningcited by 77
- 2023Can large language models build causal graphs?cited by 72
- 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 61
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
- 2022TEMPERA: Test-Time Prompting via Reinforcement Learningcited by 50
- 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 43
- 2025Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?cited by 36
- 2021Efficient (Soft) Q-Learning for Text Generation with Limited Good Datacited by 35
- 2023Graph Reasoning for Question Answering with Triplet Retrievalcited by 34
- 2024TACO-RL: Task Aware Prompt Compression Optimization with Reinforcement Learningcited by 22
- 2023Prophet: Prompting Large Language Models with Complementary Answer Heuristics for Knowledge-based Visual Question Answeringcited by 21
- 2024Towards Explainable Traffic Flow Prediction with Large Language Modelscited by 20
- 2024CriSPO: Multi-Aspect Critique-Suggestion-guided Automatic Prompt Optimization for Text Generationcited by 18
- 2025Empowering GraphRAG with Knowledge Filtering and Integrationcited by 15
- 2024Leveraging Large Language Models with Chain-of-Thought and Prompt Engineering for Traffic Crash Severity Analysis and Inferencecited by 14
- 2024StablePrompt: Automatic Prompt Tuning using Reinforcement Learning for Large Language Modelscited by 14
- 2024Human Expertise in Algorithmic Predictioncited by 13
- 2025Causal Graphs Meet Thoughts: Enhancing Complex Reasoning in Graph-Augmented LLMscited by 12
- 2025PRL: Prompts from Reinforcement Learningcited by 9
- 2024PlanGPT: Enhancing Urban Planning with Tailored Language Model and Efficient Retrievalcited by 8
- 2023Dialogue for Prompting: a Policy-Gradient-Based Discrete Prompt Generation for Few-shot Learningcited by 7
- 2024Advancing Real-time Pandemic Forecasting Using Large Language Models: A COVID-19 Case Studycited by 6
- 2025CrashSage: A Large Language Model-Centered Framework for Contextual and Interpretable Traffic Crash Analysiscited by 6
- 2025Prompt4Trust: A Reinforcement Learning Prompt Augmentation Framework for Clinically-Aligned Confidence Calibration in Multimodal Large Language Modelscited by 6
- 2025UrbanPlanBench: A Comprehensive Urban Planning Benchmark for Evaluating Large Language Modelscited by 5
- 2021Planning for Automated Vehicles with Human Trustcited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026Learning from Prompt itself: the Hierarchical Attribution Prompt Optimizationcited by 1
- 2026A Reproducible Optimisation Protocol for Calibrating Prompt-Based Large Language Model Workflows in Evidence Synthesiscited by 1
- 2025Multi-view Phase-aware Pedestrian-Vehicle Incident Reasoning Framework with Vision-Language Modelscited by 0
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026A Reproducible Optimisation Protocol for Calibrating Prompt-Based Large Language Model Workflows in Evidence Synthesis7 May 2026
- 2026Learning from Prompt itself: the Hierarchical Attribution Prompt Optimization6 Jan 2026
- 2025Multi-view Phase-aware Pedestrian-Vehicle Incident Reasoning Framework with Vision-Language Models18 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2026Why Prompt Optimization Works, and Why It Sometimes Doesn't: A Causal-Inspired Edit-Level Analysis
- 2024Eliciting Causal Abilities in Large Language Models for Reasoning Tasks
- 2026Automatically Evolving Prompt Guidelines for Task-Specific Optimization
- 2026Optimizing Prompts for Large Language Models: A Causal Approach
- 2025Self-Supervised Prompt Optimization
- 2025Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratings
- 2026Beyond Prompt or Skill? Attribution-Guided Optimization of Modular LLM Programs
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution