mlsanityData to 7 Oct 2026

Beyond Prompt or Skill? Attribution-Guided Optimization of Modular LLM Programs

arXiv 2609.32492 ↗First posted 26 Sep 2026cs.AIcited by 0

On the map: LLM reasoning → Reasoning for agents, planning and code also fits: Reinforcement learning for reasoning

Abstract (arXiv)

Large language models can solve increasingly diverse reasoning tasks, yet their performance remains highly sensitive to task prompts, intermediate instructions, and the way reusable problem-solving knowledge is incorporated. Existing optimization methods usually focus on only one part of this design space: they either optimize a monolithic prompt, or separately induce and refine skills from model traces. As a result, they lack a principled mechanism for deciding which component should be updated when failures occur, and they rarely optimize prompts, skills, and skill-use policies in a unified framework. We propose SPARO (Skill, Prompt, And Routing Optimization), a framework that jointly optimizes task instructions, reusable skill blocks, and routing rules. It performs controlled counterfactual evaluations, converts examples' effects into a probabilistic responsibility distribution over prompt, skill, and routing components, samples one component from that distribution, and applies the corresponding targeted mutation. This design moves language-program optimization beyond global prompt rewriting toward structured, reusable, and selectively activated task knowledge. Across five benchmarks and five worker models, SPARO consistently outperforms both prompt-centered and skill-centered optimization baselines. These results suggest that effective language-program optimization depends not only on discovering useful task knowledge, but also on deciding where that knowledge should be stored and when it should be activated.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 25 of its 32 references that are in the map. First posted on arXiv 26 Sep 2026.

Builds on

25 of 32 references.

References · 25

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2025Qwen3 Technical Reportcited by 8,195
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  7. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  8. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  9. 2022ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoningcited by 1,449
  10. 2025InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiencycited by 1,419
  11. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  12. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
13 more
  1. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  2. 2021FinQA: A Dataset of Numerical Reasoning over Financial Datacited by 552
  3. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  4. 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
  5. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
  6. 2017SearchQA: A New Q&A Dataset Augmented with Context from a Search Enginecited by 221
  7. 2026Gemma 4 Technical Reportcited by 187
  8. 2025MiniCPM-V 4.5: Cooking Efficient MLLMs via Architecture, Data, and Training Recipecited by 174
  9. 2026Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skillscited by 161
  10. 2019CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Textcited by 155
  11. 2026SkillOpt: Executive Strategy for Self-Evolving Agent Skillscited by 122
  12. 2026Adaptive Prompt Structure Factorization: A Framework for Self-Discovering and Optimizing Compositional Prompt Programscited by 5
  13. 2026SIGMA: Skill-Incidence Graphs for Compositional Multi-Agent Designcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Modular Prompt Optimization: Optimizing Structured Prompts with Section-Local Textual Gradients
  2. 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
  3. 2024Language hooks: a modular framework for augmenting LLM reasoning that decouples tool usage from the model and its prompt
  4. 2026Prompting Policies for Multi-step Reasoning and Tool-Use in Black-box LLMs with Iterative Distillation of Experience
  5. 2026Reflective Prompt Tuning through Language Model Function-Calling
  6. 2025Self-Supervised Prompt Optimization
  7. 2025How to Auto-optimize Prompts for Domain Tasks? Adaptive Prompting and Reasoning through Evolutionary Domain Knowledge Adaptation
  8. 2026Prompt Codebooks: Discrete Compositional Optimization for Language Model Instruction Refinement