atlas

Research map / Large language models / Agents, code and math

DyFlow: Dynamic Workflow Framework for Agentic Reasoning

NeurIPS 2025 · Large language models › Agents, code and math · approach: LLM planning with symbolic tools · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DyFlow, a designer-executor framework where a trained planner (DyPlanner, Phi-4 based) dynamically generates subgoal operator graphs conditioned on intermediate feedback, trained by SFT distillation then KTO self-play preference optimization.

Problem

Existing LLM agent workflows are static or only optimized offline per dataset/query, and do not adapt subgoal plans using real-time intermediate feedback, limiting robustness and cross-task generalization.

Approach

A hierarchical designer generates stage subgraphs of context-parameterized operators after each execution step, based on summarized state and feedback; the designer is trained with SFT distillation from GPT-4.1 trajectories followed by KTO on self-play success/failure labels, while the executor (Phi-4) is frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DyFlow instead of MaASPhi-4 executor · SocialMazeaccuracy: 13.36 -> 17.18Helped
Use DyFlow instead of AFlowPhi-4 executor · PubMedQAaccuracy: 69.72 -> 72.91Helped
Use DyFlow instead of AFlowPhi-4 executor · MATHaccuracy: 74.00 -> 76.40Helped
Use DyFlow instead of MaASPhi-4 executor · LiveBenchaccuracy: 44.00 -> 48.67Helped
Use DyFlow instead of AFlowPhi-4 executor · HumanEvalpass@1: 89.02 -> 92.07Helped
Add KTO preference optimization (ablation)DyFlow designer · SocialMazeaccuracy: 13.36 -> 17.18Helped
Add SFT initialization (ablation)DyFlow designer · SocialMazeaccuracy: 15.65 -> 17.18Helped
Add dynamic operator selection (ablation)DyFlow · SocialMazeaccuracy: 12.21 -> 17.18Helped
Add dynamic planning with intermediate feedback (ablation)DyFlow · SocialMazeaccuracy: 11.45 -> 17.18Helped

Surprising findings

Limitations

Experimental setup

Datasets: MATH PubMedQA LiveBench SocialMaze HumanEval

Benchmarks: SocialMaze PubMedQA MATH LiveBench HumanEval

Metrics: accuracy pass@1 pass@k cost (USD) and tokens

Baselines: Vanilla CoT Self-Consistency LLM-Debate Self-Refine ADAS AFlow MaAS

Builds on: KTO AFlow MaAS ADAS DyLAN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy