mlsanityData to 14 Oct 2026

RA-MoWE: Workflow-Affinity Embeddings for Query Clustering and Agentic Workflow Generation

arXiv 2610.07851 ↗First posted 6 Oct 2026cs.AIcited by 0

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Agentic workflows enable large language models (LLMs) to solve complex tasks by coordinating reasoning, tool use, and verification. However, a workflow optimized for an entire task collection can overlook differences in the reasoning strategies that individual queries need, while searching for a new workflow for every query repeats costly optimization. To address this tradeoff, we introduce RA-MoWE, a framework that uses workflow-affinity embeddings to cluster queries and guide the generation of reusable expert workflows. Each embedding records how well a fixed set of reference workflows solves a query, revealing similarities in which reasoning strategies are effective. RA-MoWE uses each cluster's queries and average embedding to initialize and refine a specialized workflow through execution feedback. An embedding encoder predicts these embeddings from query text, allowing new queries to select a generated expert without first executing the reference workflows. On a 300-query test set drawn from four benchmarks spanning mathematics, science, and programming, RA-MoWE improves average task score by 4.04 percentage points over selecting among the reference workflows, while using 27.7% fewer language-model calls at inference.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 4 of its 34 references that are in the map. First posted on arXiv 6 Oct 2026.

Builds on

4 of 34 references.

References · 4

  1. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  2. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
  3. 2025FlowReasoner: Reinforcing Query-Level Meta-Agentscited by 63
  4. 2025ScoreFlow: Mastering LLM Agent Workflows via Score-based Preference Optimizationcited by 56

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026FlowBank: Query-Adaptive Agentic Workflows Optimization through Precompute-and-Reuse
  2. 2026AgentXRay: White-Boxing Agentic Systems via Workflow Reconstruction
  3. 2026AAFLOW: Scalable Patterns for Agentic AI Workflows
  4. 2026OOPMAS: Object-Oriented Multi-Agent Systems for Query-Level Workflow Generation
  5. 2024AFlow: Automating Agentic Workflow Generation
  6. 2025Polymath: A Self-Optimizing Agent with Dynamic Hierarchical Workflow
  7. 2026From Research Question to Scientific Workflow: Leveraging Agentic AI for Science Automation
  8. 2026Coupled Hierarchical Search over Topology and Execution for Agentic Workflow Synthesis