mlsanityData to 7 Oct 2026

How to Auto-optimize Prompts for Domain Tasks? Adaptive Prompting and Reasoning through Evolutionary Domain Knowledge Adaptation

arXiv 2510.21148 ↗First posted 24 Oct 2025cs.AIcited by 4

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

  1. 2025DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspective17 Mar
  2. 2023Boosting Language Models Reasoning with Chain-of-Knowledge Prompting10 Jun
  3. 2023Progressive-Hint Prompting Improves Reasoning in Large Language Models19 Apr
  4. 2022Automatic Chain of Thought Prompting in Large Language Models7 Oct
  5. 2022Large Language Models are Zero-Shot Reasoners24 May
  6. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Models21 May
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan

Other references · 47

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  6. 2023Qwen Technical Reportcited by 3,273
  7. 2023A Survey of Large Language Modelscited by 2,537
  8. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  9. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  10. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  11. 2023End-to-end Autonomous Driving: Challenges and Frontierscited by 485
  12. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
35 more
  1. 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoningcited by 326
  2. 2024Graph Retrieval-Augmented Generation: A Surveycited by 320
  3. 2022Can language models learn from explanations in context?cited by 248
  4. 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 226
  5. 2024Seven Failure Points When Engineering a Retrieval Augmented Generation Systemcited by 138
  6. 2023Reason2Drive: Towards Interpretable and Chain-based Reasoning for Autonomous Drivingcited by 122
  7. 2024Large Language Models for Robotics: Opportunities, Challenges, and Perspectivescited by 88
  8. 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Modelscited by 85
  9. 2024AutoRT: Embodied Foundation Models for Large Scale Orchestration of Robotic Agentscited by 83
  10. 2024NavCoT: Boosting LLM-Based Vision-and-Language Navigation via Learning Disentangled Reasoningcited by 77
  11. 2023Can large language models build causal graphs?cited by 72
  12. 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 61
  13. 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
  14. 2022TEMPERA: Test-Time Prompting via Reinforcement Learningcited by 50
  15. 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 43
  16. 2025Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?cited by 36
  17. 2021Efficient (Soft) Q-Learning for Text Generation with Limited Good Datacited by 35
  18. 2023Graph Reasoning for Question Answering with Triplet Retrievalcited by 34
  19. 2024TACO-RL: Task Aware Prompt Compression Optimization with Reinforcement Learningcited by 22
  20. 2023Prophet: Prompting Large Language Models with Complementary Answer Heuristics for Knowledge-based Visual Question Answeringcited by 21
  21. 2024Towards Explainable Traffic Flow Prediction with Large Language Modelscited by 20
  22. 2024CriSPO: Multi-Aspect Critique-Suggestion-guided Automatic Prompt Optimization for Text Generationcited by 18
  23. 2025Empowering GraphRAG with Knowledge Filtering and Integrationcited by 15
  24. 2024Leveraging Large Language Models with Chain-of-Thought and Prompt Engineering for Traffic Crash Severity Analysis and Inferencecited by 14
  25. 2024StablePrompt: Automatic Prompt Tuning using Reinforcement Learning for Large Language Modelscited by 14
  26. 2024Human Expertise in Algorithmic Predictioncited by 13
  27. 2025Causal Graphs Meet Thoughts: Enhancing Complex Reasoning in Graph-Augmented LLMscited by 12
  28. 2025PRL: Prompts from Reinforcement Learningcited by 9
  29. 2024PlanGPT: Enhancing Urban Planning with Tailored Language Model and Efficient Retrievalcited by 8
  30. 2023Dialogue for Prompting: a Policy-Gradient-Based Discrete Prompt Generation for Few-shot Learningcited by 7
  31. 2024Advancing Real-time Pandemic Forecasting Using Large Language Models: A COVID-19 Case Studycited by 6
  32. 2025CrashSage: A Large Language Model-Centered Framework for Contextual and Interpretable Traffic Crash Analysiscited by 6
  33. 2025Prompt4Trust: A Reinforcement Learning Prompt Augmentation Framework for Clinically-Aligned Confidence Calibration in Multimodal Large Language Modelscited by 6
  34. 2025UrbanPlanBench: A Comprehensive Urban Planning Benchmark for Evaluating Large Language Modelscited by 5
  35. 2021Planning for Automated Vehicles with Human Trustcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Why Prompt Optimization Works, and Why It Sometimes Doesn't: A Causal-Inspired Edit-Level Analysis
  2. 2024Eliciting Causal Abilities in Large Language Models for Reasoning Tasks
  3. 2026Automatically Evolving Prompt Guidelines for Task-Specific Optimization
  4. 2026Optimizing Prompts for Large Language Models: A Causal Approach
  5. 2025Self-Supervised Prompt Optimization
  6. 2025Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratings
  7. 2026Beyond Prompt or Skill? Attribution-Guided Optimization of Modular LLM Programs
  8. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution