Helix: A Dual-Helix Co-Evolutionary Multi-Agent System for Prompt Optimization and Question Reformulation
Organizations: College of Intelligence and Computing, Tianjin University, Tianjin, China
Abstract
Automated prompt optimization (APO) aims to improve large language model performance by refining prompt instructions. However, existing methods are largely constrained by fixed prompt templates, limited search spaces, or single-sided optimization that treats user questions as immutable inputs. In practice, question formulation and prompt design are inherently interdependent: clearer question structures facilitate focused reasoning and task understanding, while effective prompts reveal better ways to organize and restate queries. Ignoring this coupling fundamentally limits the effectiveness and adaptability of current APO approaches. We propose a unified multi-agent system (Helix) that jointly optimizes question reformulation and prompt instructions through a structured three-stage co-evolutionary framework. Helix integrates (1) planner-guided decomposition that breaks optimization into coupled question-prompt objectives, (2) dual-track co-evolution where specialized agents iteratively refine and critique each other to produce complementary improvements, and (3) strategy-driven question generation that instantiates high-quality reformulations for robust inference. Extensive experiments on 12 benchmarks against 6 strong baselines demonstrate the effectiveness of Helix, achieving up to 3.95% performance improvements across tasks with favorable optimization efficiency.
Figures & tables
| Models | BBH | AGIEval | MMLU | MMLU-Pro | Math | Avg | |||||||
| D.QA | G.S. | F.F. | R.N. | S.U. | L.A. | C.B. | E.E. | M.T. | Hist | Phil | A.R. | ||
| Manual Prompting | |||||||||||||
| No Prompt | 53.20 | 52.40 | 77.40 | 82.80 | 78.80 | 35.09 | 89.58 | 76.55 | 88.32 | 55.12 | 54.11 | 86.61 | 69.17 |
| CoT | 74.80 | 54.80 | 82.00 | 87.20 | 80.00 | 33.22 | 91.36 | 82.07 | 90.06 | 57.74 | 57.31 | 87.40 | 73.16 |
| Automated Prompt Optimization | |||||||||||||
| APE | 56.50 | 61.20 | 82.40 | 83.60 | 81.40 | 35.61 | 89.23 | 78.23 | 89.23 | 58.40 | 58.43 | 84.32 | 71.55 |
| helix | C.B. | M.T. | E.E. | Hist | Phil |
| Full | 93.06 | 95.23 | 85.52 | 64.04 | 65.21 |
| 1 helix | 85.42 | 87.34 | 77.85 | 55.82 | 56.73 |
| (-7.64) | (-7.89) | (-7.67) | (-8.22) | (-8.48) | |
| 2 helices | 89.58 | 91.45 | 81.38 | 59.11 | 59.88 |
| (-3.48) | (-3.78) | (-4.14) | (-4.93) | (-5.33) | |
| 3 helices | 93.06 | 95.23 | 83.79 | 61.47 | 62.05 |
| Model | C.B. | E.E. | M.T. | Hist | Phil | Avg | |
| APE | 100 | 89.23 | 78.23 | 89.23 | 58.40 | 58.43 | 74.70 |
| OPRO | 50 | 91.15 | 81.45 | 90.12 | 58.84 | 59.44 | 76.20 |
| PE2 | 100 | 91.24 | 79.44 | 91.54 | 59.25 | 56.43 | 75.58 |
| MARS | 1 | 91.36 | 73.79 | 91.88 | 61.32 | 62.63 | 76.20 |
| Helix | 1 | 93.06 | 85.52 | 95.23 | 64.04 | 65.21 | 80.61 |
| Helix | 2 | 94.44 | 87.24 | 96.58 | 65.47 | 66.76 | 82.10 |
| Variation | D.QA | G.S. | F.F. | R.N. | S.U. | Avg |
| Full | 73.20 | 73.20 | 94.05 | 93.20 | 92.40 | 85.21 |
| w/o Planner | 66.00 | 68.40 | 85.20 | 89.80 | 84.60 | 78.80 |
| (-7.20) | (-4.80) | (-8.85) | (-3.40) | (-7.80) | (-6.41) | |
| w/o P-Arch | 64.80 | 69.20 | 82.60 | 87.80 | 78.50 | 76.58 |
| (-8.40) | (-4.00) | (-11.45) | (-5.40) | (-13.90) | (-8.63) | |
| w/o Q-Arch | 66.40 | 70.80 | 84.20 | 88.60 | 75.60 | 77.12 |
Appendix figures & tables56 assets
Supplementary material from the paper’s appendix.
Appendix
| Tasks | ABBR. | Train | Test |
| Bigbench | |||
| Disambiguation QA | D.QA | 1 | 249 |
| Geometric Shapes | G.S. | 1 | 249 |
| Formal Fallacies | F.F. | 1 | 249 |
| Ruin Names | R.N. | 1 | 249 |
| Sports Understanding | S.U. | 1 | 249 |
| Models | BBH | AGIEval | MMLU ∗ 7 7 7 MMLU ∗ denotes average performance across MMLU and MMLU-Pro tasks. | AQuA-RAT | Avg |
| No Prompt | 70.16 | 45.65 | 69.72 | 86.61 | 68.04 |
| CoT | 71.36 | 45.22 | 72.68 | 87.40 | 69.17 |
| APE | 72.45 | 43.44 | 71.21 | 85.92 | 68.26 |
| OPRO | 74.12 | 44.35 | 73.40 | 86.78 | 69.66 |
| PE2 | 75.53 | 46.78 | 74.40 | 88.23 | 71.24 |
| MARS | 77.22 | 45.33 | 74.27 | 89.15 | 71.49 |
| Method | GPT-3.5 | GPT-4 | GPT-4o | Avg |
| No Prompt | 82.64 | 84.72 | 89.58 | 85.65 |
| CoT | 85.42 | 87.85 | 92.71 | 88.66 |
| MARS | 86.11 | 88.54 | 93.40 | 89.35 |
| Helix | 87.85 | 90.28 | 95.14 | 91.09 |
| Input Task Type: Formal Fallacies Task Description: Evaluate arguments to determine if they are deductively valid or invalid. Problems present arguments with multiple premises and a conclusion, requiring extraction of logical components, tracking of negations and logical operators, evaluation of whether the conclusion necessarily follows from the premises, and binary classification (valid/invalid). Expected Output Format: A letter answer in parentheses (e.g., ”(A)” for valid or ”(B)” for invalid) I want to optimize both the question presentation and the solving prompt to achieve the highest correctness rate on this type of problem. |
| Planner Split the task into detailed helix objectives for co-evolution of question presentation and prompt instructions. For example, for the Disambiguation QA task, the optimization is planned as follows: Total helices: 4. helix 1: Pronoun Highlighting Pronoun Identification, where the question goal is to visually highlight the pronoun to identify, the prompt goal is to direct immediate pronoun identification without search, and the connection is that highlighted pronouns enable prompts to skip search steps. helix 2: Antecedent Clarity Antecedent Filtering, where the question goal is to present potential antecedents clearly in context, the prompt goal is to guide systematic filtering based on grammatical agreement, and the connection is that clear noun visibility supports efficient antecedent filtering… |
| Prompt-Architect Prompt-Design: You are a prompt designer in the Helix framework. Your task is to design an improved prompt that achieves the prompt goal and works with the question strategy… Question-Critique: You are a question strategy critic in the Helix framework. Your task is to evaluate proposed question strategy to ensure it supports effective prompting… |
| Question-Architect Question-Design: You are a question designer in the Helix framework. Your task is to design an improved question strategy that achieves the question goal and works with the prompt… Prompt-Critique: You are a prompt critic in the Helix framework. Your task is to evaluate proposed prompt to ensure it works effectively with the question strategy… |
| Question-Generator You are a question modifier in the Helix framework. Your task is to apply a presentation strategy to an original question, creating a modified version that is clearer while preserving all original content… |
| Question-Judge You are a question quality judge in the Helix framework. Your task is to verify that a modified question follows the question strategy and preserves the original meaning… |
| Mediator You are the mediator in the Helix framework. Your task is to judge if the optimized prompt satisfies the prompt goal, if their connection works synergistically as planned… |
Automatic Prompt Optimization
Automatic prompt optimization uses model or task feedback to revise instructions for stronger, more reliable language-model performance.
See all 103 papers