scimeatlas

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

ComfyUI-R1: Exploring Reasoning Models for Workflow Generation

Zhenran Xu, Yiyu Wang, Xue Yang, Longyue Wang, Weihua Luo, Kaifu Zhang, Baotian Hu, Min Zhang

ACL 2026Large language models › Agents, code and mathapproach: Code generation benchmarksopen problems in this approach20 citations (OpenAlex)

Harbin Institute of Technology · Alibaba Group

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
8improved
2no clear effect

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Chain-of-thought prompting

add CoT reasoning to in-context demonstrations · ComfyUI workflow test set · format validity: 0.25 -> 0.41 Improved

What 2,675 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add GRPO reinforcement learning after SFT (ablation)ComfyUI-R1 · ComfyUI workflow test setformat validity: 0.95 -> 0.97Improved
add GRPO reinforcement learning after SFT (ablation)ComfyUI-R1 · ComfyUI workflow test setgraph-level F1: 0.48 -> 0.51Improved
use code instead of JSON workflow representation (ablation)SFT-only ComfyUI-R1 · ComfyUI workflow test setgraph-level F1: 0.45 -> 0.48Improved
use code instead of JSON workflow representation (ablation)SFT-only ComfyUI-R1 · ComfyUI workflow test setformat validity: 0.92 -> 0.95Improved
two-stage SFT + GRPO trainingQwen2.5-Coder-7B-Instruct · ComfyUI workflow test setformat validity: 0.41 -> 0.97Improved
add CoT reasoning to in-context demonstrationsQwen2.5-Coder-7B-Instruct · ComfyUI workflow test setformat validity: 0.25 -> 0.41Improved
add CoT reasoning to in-context demonstrationsGPT-4o · ComfyUI workflow test setnode-level F1: 0.50 -> 0.50No clear effect
add CoT reasoning to in-context demonstrationsClaude 3.5 Sonnet · ComfyUI workflow test setnode-level F1: 0.52 -> 0.57Improved
use ComfyUI-R1 instead of ComfyAgentGPT-4o ComfyAgent · ComfyBenchpass rate: 0.56 -> 0.67Improved
use ComfyUI-R1 instead of Claude 3.5 Sonnet CoTClaude 3.5 Sonnet CoT · ComfyUI workflow test setformat validity: 0.97 -> 0.97No clear effect

Later papers that compared with this method

1 later accepted paper reports ComfyUI-R1 as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in code generation benchmarks

Do code benchmarks and methods hold beyond Python, small test sets and leaked data?

All 5 open problems and what was already tried →

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