Skip to main content
GW
HomeWorkAI appsPapersAboutNotesStackLabPilotPlan↗ (opens in a new tab)INVST↗ (opens in a new tab)
Govind Waghmare

Finance systems and AI. Building in public from NYC.

Resume (PDF)Book 20 minEmail
HomeNotesWorkAboutStackPapersLabFor founders
XLinkedInGitHubllms.txt
© 2026 · New York City

Keyboard shortcuts

?
Open this list
g then h
Go to Home
g then w
Go to Work
g then n
Go to Notes
g then a
Go to About
c
Ask the AI guide
Esc
Close this list
Original paperAbstract
Open in new tab (opens in a new tab)
All papers
AI agents and tools

A factory that builds job tasks to train AI workers

Paper: WorkFactory: Turning Professional Intents into Executable Work for Scalable Agent Training

Ziyang Zeng, Tingyang Chen, Jia Deng, Qiyao Wang, Shuo Tang, Yike Yang, Tao Ren, Wayne Xin Zhao, Feng Chang, Jujie He, Chuan Hao, Ran Tao, Bryan Dai · arXiv preprint (IQuest Research and university partners) · Posted 27 Oct 2026 · 12 min read · arXiv 2610.37161

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer + original paper (PDF), 2.2 MB

  • To train an AI worker, you need many practice tasks.
  • Each task needs a workspace with the right files.
  • Often a file is missing or two files disagree.
  • Then the expert demo is weak.
879 to 1565

Elo on GDPval-AA for the 35B-A3B model, before and after training.

  • The team built 112,686 tasks across 612 occupations.
  • A teacher model solved each task. Three small models learned from it.
  • They tested on 4 job benchmarks.

  • All 3 models beat their base model on all 4 benchmarks.
  • A plan graph and repair loop added 81 Elo together.
  • A stronger teacher added 235 Elo on the same tasks.
  • More data helps, but gains slow down at small scales.

Training on WorkFactory data lifts all three modelsFrom Table 2
Base modelAfter WorkFactory
060012001800GDPval-AA Elo (higher is better)4B661 Elo1375 Elo35B-A3B879 Elo1565 Elo27B975 Elo1612 Elo

Hover, tap or focus a bar to read its exact value.

ModelBase model (Elo)After WorkFactory (Elo)
4B6611375
35B-A3B8791565
27B9751612

  • The models trained on text only. Visual work was not tested.
  • The authors used supervised training only, not reinforcement learning.
  • Model-written outputs need human review before real use.

Jump to

  1. A The abstract
  2. 1 Introduction: why task quality matters
  3. 2 Related work
  4. 3 WorkFactory: the method
  5. 4 Experiments
  6. 5 Conclusion, limits and ethics
  7. A.1 Appendix A: how intents are made
  8. B Appendix B: planning and building tasks
  9. C Appendix C: repair details
  10. D Appendix D: corpus and training details
  11. E Appendix E: evaluation details
  12. W Words to know

Every detail from the paper

Cards follow the paper's own order. Dotted words link to Words to know. Numbers match the paper.

The goal

  • The authors want to train working agents with supervised fine-tuning.
  • That needs many professional tasks.
  • It also needs expert demos that finish the work.

The problem

  • A task can lack some information or hold conflicting information.
  • Then the expert demo breaks.
  • The training signal gets weaker.

The method

  • WorkFactory turns professional intents into runnable task environments.
  • It uses three parts: hybrid intent sourcing, semantic workflow planning and execution-based repair.
  • A Semantic Workflow Graph lists what information the task needs and where it sits.
  • An adversarial loop finds missing or conflicting information.
  • It repairs the task and keeps the original intent.

The results in the abstract

  • The team built 112,686 tasks across 612 occupations.
  • They trained the WorkPilot family at 4B, 27B and 35B-A3B scales.
  • All three beat their base models on four professional-work benchmarks.
  • WorkPilot-35B-A3B rose from 879 to 1565 Elo on GDPval-AA v2.1.
  • Larger models gain more from more data. Small data scales show diminishing returns.
  • Long-horizon runs go from verbose to more efficient.
  • A subset of the data is on GitHub.

Working agents

  • Language agents mix reasoning with actions in outside environments.
  • Working agents extend this to professional work in digital environments.
  • They run workflows, coordinate tools and produce deliverables across many jobs.
  • The authors say this can raise productivity and create real economic value.

What scaling needs

  • A common way to train agents is supervised fine-tuning on expert demos.
  • To scale it, you need diverse professional intents.
  • You also need task environments with the information a teacher needs.
  • Then the teacher model can carry the workflow to the end.

Why this is hard

  • Recent tools build tasks by retrieving, reusing, adapting or synthesizing materials.
  • Then they collect teacher trajectories.
  • Scaling only pays off if the environments give enough, consistent information.
  • The needed facts may sit across many files.
  • They link through middle calculations and judgments.

The supplier example

  • A supplier task may need forecast demand turned into shipment quantities.
  • Those quantities set the vendor price tiers.
  • The demand file and the logistics files may each look complete.
  • A summary may still give a discount that does not fit the shipment quantities.
  • Finding this means tracing the chain across files.
  • The task must supply the premises and leave the calculations to the teacher.
  • Otherwise the teacher adds unsupported guesses or skips key analysis.

The three ideas

  • Diverse intent. Hybrid sourcing makes about 120K intents across 612 occupations.
  • Grounded workflow. The graph covers links inside files and across files.
  • Staged checks and an adversarial loop test if these links survive.
  • Each repair is reviewed against the original intent.
  • Flexible resources. Real files mix with made-up supporting files.
  • Materials are fetched or made on demand while the task is built.
  • The result is 112,686 executable tasks.

The models

  • Training Qwen3.5-4B, Qwen3.6-27B and Qwen3.6-35B-A3B on the teacher trajectories gives WorkPilot.
  • All three improve on four benchmarks, including GDPval-AA and JobBench.
  • WorkPilot-27B reaches a locally estimated 1612 Elo on GDPval-AA v2.1.
  • That is within the range of the frontier models compared.

Three practical findings

  • 1. Hybrid supervision scales, but returns depend on the model.
  • Real and made-up materials together can train well.
  • Gains continue while trajectories first grow and then shrink.
  • So trajectory length alone does not show learning progress.
  • 2. Planning and repair fix different failures.
  • Planning improves derivability. Repair cuts hidden conflicts and leaks.
  • Together they give an 81 Elo gain.

Finding 3 and the contributions

  • 3. Teacher choice matters. On the same environments, the stronger teacher adds 235 Elo.
  • Teacher habits also show up in the students.
  • Contribution 1: the WorkFactory framework.
  • Contribution 2: insights from experiments with up to 110K tasks.
  • Contribution 3: a corpus of 112,686 tasks and the WorkPilot models.
  • A subset of the task data is released.

Agent task and environment synthesis

  • Synthetic tasks help scale agent training.
  • Software engineering is a good fit. Repositories give real context and tests give supervision.
  • Examples are SWE-Gym, SWE-smith and R2E-Gym.
  • Other work builds long, multi-tool tasks by composing smaller ones.
  • Some uses environment exploration and execution feedback. Others use stateful environments.
  • Working agents need workspaces that mix varied information and domain deliverables.

Professional task construction

  • Existing pipelines draw intents from one seed family each.
  • NexForge uses capability needs. Synthetic Computers uses personas.
  • GraphForge and WorkGenesis use occupational knowledge. WorkForge uses expert workflows.
  • WorkFactory combines complementary seed families.

Workflow detail and repair

  • NexForge and Synthetic Computers plan at file level.
  • Information-level plans can state the premises each derivation needs.
  • GraphForge and WorkForge use this detail on existing real files.
  • WorkFactory uses it to build both fetched and made-up materials.
  • GraphForge edits task text and rubrics from execution feedback.
  • WorkGenesis repairs scenarios by blaming failures on rubric items.
  • WorkFactory also checks each repair against the original intent and plan.
  • This guards against a fix that removes the real work.
MethodIntent sourceWorkflow detailScale
NexForgeSingleFile-level22K
Synthetic ComputersSingleFile-level1K
GraphForgeSingleInformation-level2.2K
WorkGenesisSingleNot explicit20K
WorkForgeSingleInformation-level16.7K
WorkFactory (ours)HybridInformation-level110K

Table 1: how task-construction pipelines compare

Resources: only GraphForge and WorkForge use real files alone. The rest mix real and made-up. Only WorkFactory has work-preserving repair.

How WorkFactory builds one taskFrom Figure 2
  1. 3.2Pick a professional intent
  2. 3.3ModelPlan the information graph
  3. 3.3Build files from the plan
  4. CodeRun construction checks
  5. 3.4Probe, diagnose, repair
  6. 3.5Teacher solves the task

Tasks that fail checks or keep blockers are dropped.

3.1 Overview
  • WorkFactory builds executable professional tasks to train working agents.
  • Hybrid intent sourcing builds a library from occupations, skills and real deliverables.
  • For each intent, the planner works backward from the output with a Semantic Workflow Graph.
  • The graph lists information needs and where they sit inside and across files.
  • Supporting materials are fetched or made to give the needed premises.
  • The solver still does the derivations.
  • Construction checks test if the environment matches the plan.
  • An adversarial execution-refinement loop repairs blocking failures and keeps the intended work.
  • Kept environments go to an independent teacher for trajectories.
  • Figure 2 shows this with a supplier-selection example.
3.2 Hybrid intent sourcing
  • An intent defines the work before any task files exist.
  • It aims to cover common demands plus special and long-tail jobs across 612 occupations.
  • Source 1: occupational hierarchies. They ground the work in roles and situations.
  • Source 2: documented skills. They show steps that can combine into workflows.
  • Source 3: real professional deliverables. They hint at outputs and audiences.
  • Occupations expand into roles in professional contexts.
  • Skills combine through matching inputs and outputs.
  • Deliverables become work goals through instruction backtranslation.
  • An LLM reviews each candidate for fit, coherence and real-world feasibility.
  • Accepted intents enter the shared library L.
3.3 Graph-guided environment construction

The graph

  • The graph traces each intended output back to its support facts.
  • It leaves calculations and judgments to the solver.
  • It shows links among information units inside and across files.
  • It describes the support structure, not a fixed list of solver steps.
  • The graph has four parts: information units, their carriers, support links and location bindings.

Planning information support

  • The planner starts at the intended output and works backward.
  • It finds the calculations and judgments behind that output.
  • It traces each one to the information it needs.
  • Links record association, transformation, evidence and constraint.
  • Several sources can jointly support one result.
  • Each node records its content, entity and scope.
  • It also records if it is supplied, acquired, solver-derived or internal.
  • In the example, vendor NPVs rely on demand and pricing facts across files.
  • Source data and terms are given. The calculations and recommendation stay open.

Grounding information in carriers

  • Location bindings map information to carriers.
  • Carriers are the request, reference files, outside resources, future deliverables or internal needs.
  • They say where information is supplied, acquired or produced.
  • They also say if the solver can see it.
  • Internal requirements stay hidden.
  • Any premise needed for completion must be in solver-visible inputs.
  • In the example, demand forecasts and quotes sit in a reference PDF.
  • Cost-timing rules sit in the request.
  • The NPV analysis and recommendation bind to a future workbook.

Materializing the environment

  • The planner turns the graph into a construction plan.
  • The plan holds a request, artifact specs and build order.
  • An environment worker fetches real files to reuse or adapt.
  • It makes extra materials when files lack context or premises.
  • Resources follow the intended work.
  • Code checks file counts and types.
  • An LLM reviews content coverage and request coherence.
  • Failed checks trigger bounded retries. Unresolved tasks are dropped.
Information unitCarrier and statusRole
Analysis and recommendation needsUser request; inputSpecify the analysis and workbook
Annual demand and product mixQuote and forecast PDF; inputSet annual carton volumes
Unit prices, setup fees, freightQuote and forecast PDF; inputSupply vendor cost inputs
Discount and timing rulesUser request; inputSetup in year 0, discount years 1 to 3 at 8%
Vendor quality, lead time, capacityRequest and quotation; inputLimit the decision
Volumes, spend, NPVsWorkbook; to be derivedTurn inputs into comparable costs
Recommendation and assumptionsWorkbook; to be producedCombine NPVs with vendor profiles
Construction requirementsInternal spec; hiddenOrganize files without giving values

Table 5: the supplier example as information units

Inputs sit in the request and the PDF. Volumes, spend, NPVs and the recommendation stay solver work.

3.4 Execution-based environment repair
The repair loopFrom Section 3.4
  1. Fresh probe solves the task
  2. ModelReport blocking issues
  3. Refiner edits request and files
  4. CodeChecks and work review
  5. New probe on revised task
  6. No blocker, keep the task

Up to three repair rounds. Failures are dropped.

How the loop works

  • The loop challenges the task through independent execution.
  • A probe solver finds support failures. A refiner revises the task.
  • Construction checks and a work-preservation review limit each revision.
  • A repair may not skip key operations or hand over the solution.
  • Then a fresh probe runs on the revised task.

Diagnosing the realized environment

  • The probe sees only the request and resources.
  • It cannot see the graph, the plan or earlier outputs and diagnoses.
  • It ties each issue to sources it inspected and tool results.
  • It names affected operations and deliverables.
  • It separates real defects from its own mistakes and open choices.
  • Only issues that block completion trigger repair.

Repairing and revalidating

  • The refiner edits the request and existing reference files.
  • It keeps the number, types and dependency structure of files.
  • The graph stays the first build spec.
  • Example: add the missing USD 0.15 per-carton freight term for Supplier C.
  • This restores the support without doing the comparison.
  • Each revision must pass construction checks and an LLM work-preservation review.
  • The review checks the core goal, essential operations and deliverable needs.
  • Revised tasks that fail either check are dropped.
  • The loop stops when no blocker remains or the repair budget ends.
  • Kept tasks form the pool T.
3.5 Task corpus and training data

Teacher trajectory collection

  • For each task in T, GLM-5.3 attempts it in a clean sandbox.
  • It has the same access limits as the probe.
  • It gets the request and resources, not the graph, plan or probe outputs.
  • Lightweight filters screen for repeated reasoning, repeated tool calls and thin deliverables.
  • For the 5% of tasks with the longest first rollouts, extra rejection sampling runs.
  • It uses pairwise deliverable comparisons.
  • Other tasks keep their filtered first rollouts.
  • Each kept rollout becomes one or more training sequences with masked autoregressive supervision.

Final training corpus

  • The corpus has 112,686 tasks across 612 fine-grained occupations and 23 major groups.
  • Trajectories use the Stirrup and the Claude Code harness.
  • The authors screened the corpus against the evaluation tasks.
  • They used request-overlap checks, manual review of flagged pairs and file hashes.
  • They found no evaluation-task reuse and no byte-identical shared files.
StatisticValue
Tasks / environments112,686
Occupations612
Deliverable file extensions53
Reference files per task (avg)4.15
Reference file size (avg)1.56 MiB
Reference file extensions317
Assistant turns per trajectory (avg)57.36
Tool calls per trajectory (avg)62.95
Total tokens per trajectory (avg)136.18K

Figure 4: corpus statistics

Extensions count only if seen at least 10 times. Some tasks give no reference files and need web search.

Deliverable types (Figure 4a)

  • XLSX is the top deliverable at 30.7% of tasks.
  • PDF follows at 28.0%, then DOCX at 22.9%.
  • PPT is 6.6%, MD is 4.5%, CSV is 2.4% and IPYNB is 1.8%.
  • Figure 3 shows top occupations by task share.
  • It covers four of the 23 major groups.

4.1 Experimental setup

Baselines

  • The main control is each WorkPilot model against its own base model.
  • The bases are Qwen3.5-4B, Qwen3.6-27B and Qwen3.6-35B-A3B.
  • For context the authors add frontier models: GLM-5.3, DeepSeek-V4.1-Flash, Qwen3.8-Max, GPT-5.6 Sol and Kimi-K3.
  • They add open-weight models of 300B or more: DeepSeek-V4-Pro-0813, DeepSeek-V4-Flash-0731, GLM-5.2 and MiniMax-M3.
  • They add open-weight models near 30B: Qwen3.8-27B, Nex-N2.5-mini and Apodex-1.1-mini.

Benchmarks

  • The four benchmarks are GDPval, JobBench, Workspace-Bench and OmegaUse-OfficeVal.
  • Each local model and task pair runs three independent rollouts.
  • GDPval follows the GDPval-AA protocol with the Stirrup harness.
  • The authors report official v2.1 Elo where it exists.
  • Otherwise a Gemini 3.1 Pro Preview judge gives local Bradley-Terry estimates on the same scale.
  • The other three use the Claude Code harness.
  • Claude Sonnet 4.6 is the judge when one is needed.
  • The team used Workspace-Bench-Lite for speed.

Training

  • All fine-tuned models use one shared supervised setup (Table 9).
  • The teacher GLM-5.3 takes text only.
  • So WorkPilot trains and tests in text-only mode.
  • The vision parts of the Qwen models stay unused.
4.2 Effectiveness of WorkFactory data
  • Training on the same corpus lifts all three bases on all four benchmarks.
  • WorkPilot-35B-A3B goes from 879 to 1565 on GDPval-AA.
  • It goes from 28.91 to 62.35 on JobBench.
  • It goes from 47.12 to 56.53 on Workspace-Bench.
  • It goes from 7.14 to 21.18 on OmegaUse-OfficeVal.
  • WorkPilot-27B reaches a locally estimated 1612 Elo on GDPval-AA.
  • That is 12 Elo above DeepSeek-V4.1-Flash and 34 points below GLM-5.3.
  • WorkPilot-4B beats Apodex-1.1-mini on GDPval and OmegaUse-OfficeVal.
ModelGDPval-AAJobBench
GLM-5.31646*66.35
DeepSeek-V4.1-Flash1600*67.69
Qwen3.8-Max1596*59.83
GPT-5.6 Sol1588*50.91
Kimi-K31524*55.83
DeepSeek-V4-Pro-08131441*62.98
DeepSeek-V4-Flash-07311427*52.88
GLM-5.21358*48.08
MiniMax-M31230*41.32
Qwen3.8-27B1409*62.12
Apodex-1.1-mini1189*41.53
Nex-N2.5-mini112720.92
Qwen3.5-4B6614.67
WorkPilot-4B1375 (+714)39.87 (+35.20)
Qwen3.6-35B-A3B879*28.91
WorkPilot-35B-A3B1565 (+686)62.35 (+33.44)
Qwen3.6-27B97537.81
WorkPilot-27B1612 (+637)63.05 (+25.24)

Table 2 (part 1): GDPval-AA Elo and JobBench

A star marks an official v2.1 Elo. Other Elo values are local two-anchor estimates.

ModelWorkspace-BenchOmegaUse
GLM-5.361.8031.09
DeepSeek-V4.1-Flash63.0631.43
Qwen3.8-Max61.5128.23
GPT-5.6 Sol53.7719.25
Kimi-K354.0523.09
DeepSeek-V4-Pro-081359.0821.26
DeepSeek-V4-Flash-073156.5724.01
GLM-5.254.0020.72
MiniMax-M352.4313.81
Qwen3.8-27B59.2623.47
Apodex-1.1-mini51.6010.98
Nex-N2.5-mini44.8110.91
Qwen3.5-4B26.921.71
WorkPilot-4B51.30 (+24.38)11.77 (+10.06)
Qwen3.6-35B-A3B47.127.14
WorkPilot-35B-A3B56.53 (+9.41)21.18 (+14.04)
Qwen3.6-27B49.4110.18
WorkPilot-27B59.18 (+9.77)26.61 (+16.43)

Table 2 (part 2): Workspace-Bench and OmegaUse-OfficeVal

The first column of each pair lists the base model, then the trained model.

4.3 Scaling properties

Setup

  • The authors study scaling with the number of distinct training tasks on GDPval.
  • The main sweep trains Qwen3.6-35B-A3B on nested subsets of 2K to 110K tasks.
  • They also test Qwen3.6-27B and Qwen3.5-4B at 30K and 110K.

Performance rises with diminishing returns

  • Elo rises with more data for all three models.
  • For the 35B-A3B model, Elo rises from 879 to 1565.
  • The first 5K tasks add 447 points. Going from 75K to 110K adds only 13.
  • By 30K tasks, the 35B-A3B model holds 88% of its gain.
  • The 27B model holds 94%.
  • The 4B model gains 546 Elo by 30K tasks.
  • On JobBench the 35B-A3B model goes from 58.80 at 50K tasks to 62.35 at 110K.

Execution length grows, then shrinks

  • Mean turns for the 35B-A3B model start at 24.87.
  • They rise to 162.88 at 2K tasks, then fall to 85.90 at 110K.
  • Elo keeps rising during the fall.
  • Runs that hit the 250-turn limit fall from 21.9% at 2K to 2.7% at 110K.
  • The 27B and 4B models also rise to 30K tasks, then fall at 110K.
  • The 4B model uses longer trajectories than the other two at both scales.

Tool-call failures

  • Code-execution failures fall from 16.0% at base to 6.3% at 110K.
  • Web-search failures rise to 22.4% at 2K, then fall to 10.4% at 110K.
  • Web-fetch failures stay near 40% to 48%.
  • So performance and length move differently as data grows.
  • Long attempts come first. Shorter runs and fewer failures for some tools come later.
4.4 Component analysis

Setup

  • The authors compare three 5K-task conditions.
  • Condition 1: direct artifact-level planning.
  • Condition 2: information-level planning with the graph.
  • Condition 3: the graph plus execution-based repair.
  • A common probe solver finds blocker and correctness issues in each environment.
  • Downstream, the same Qwen3.6-35B-A3B base trains on each condition.
  • Incidence is the share of tasks with at least one hard defect in a category.
  • Categories can overlap.
Repair cuts hidden defects far below plain planningFrom Table 3
Artifact-level planningWith graphGraph and repair
010203040% of 5K tasks with a hard defectMissing evidence9.62%3.64%2.02%Cross-file inconsistency32.82%25.74%4.84%Broken derivation24.86%6.86%3.26%Underspecified request7.22%0.62%0.28%Leakage or shortcut1.92%3.36%0.84%Self-inconsistency3.28%4.46%1.74%Factual truth error4.52%2.56%1.30%

Hover, tap or focus a bar to read its exact value.

Defect categoryArtifact-level planning (%)With graph (%)Graph and repair (%)
Missing evidence9.623.642.02
Cross-file inconsistency32.8225.744.84
Broken derivation24.866.863.26
Underspecified request7.220.620.28
Leakage or shortcut1.923.360.84
Self-inconsistency3.284.461.74
Factual truth error4.522.561.30

Task-environment quality

  • Graph planning cuts hard defects in six of eight categories.
  • The biggest drop is broken derivations, from 24.86% to 6.86%.
  • Underspecified requests fall from 7.22% to 0.62%.
  • Leakage or shortcuts rise by 1.44 points. Self-inconsistency rises by 1.18 points.
  • The authors guess the first is from exposed solver results in the request.
  • They guess the second is from denser constraints that are harder to keep consistent.
  • So explicit requirements alone do not guarantee they survive materialization.

What repair adds

  • Repair cuts all eight categories compared with graph planning alone.
  • Cross-file inconsistency falls from 25.74% to 4.84%.
  • Execution-feasibility defects fall from 6.64% to 0.48%.
  • Leakage or shortcuts fall from 3.36% to 0.84%.
Each step of planning and repair lifts GDPval-AA EloFrom Table 3
050010001500GDPval-AA Elo after training on 5K tasksArtifact-level planning1245 EloWith graph1293 EloGraph and repair1326 Elo

Hover, tap or focus a bar to read its exact value.

ConditionElo
Artifact-level planning1245
With graph1293
Graph and repair1326

Downstream utility

  • Graph planning lifts Elo from 1245 to 1293. That is 48 points.
  • Repair lifts it to 1326. That is 33 more points.
  • The total gain is 81 points over direct planning.
  • It comes with fewer probe-found defects.
  • This links better task building to better teacher trajectories.
4.5 Effect of teacher choice
A stronger teacher gives a much stronger studentFrom Section 4.5 and Table 10
040080012001600GDPval-AA Elo of the trained 35B-A3B studentNo training (base)879 EloDeepSeek-V4-Flash-0731 teacher1248 EloGLM-5.3 teacher1483 Elo

Hover, tap or focus a bar to read its exact value.

Student trained onElo
No training (base)879
DeepSeek-V4-Flash-0731 teacher1248
GLM-5.3 teacher1483
  • The authors compare two teachers on the 30K-task subset.
  • The GLM-5.3 student reuses the 30K checkpoint from the scaling study.
  • For DeepSeek, trajectories for the same tasks come from DeepSeek-V4-Flash-0731.
  • The same base model is fine-tuned with the shared setup.
  • The GLM-5.3 student reaches 1483 Elo, with a 95% interval of [1455, 1510].
  • The DeepSeek student reaches 1248 Elo, with an interval of [1220, 1274].
  • Both beat the 879-Elo base.
  • So WorkFactory tasks help with more than one teacher.
  • The gap shows that how you generate trajectories changes the gain.
4.6 Cost and performance trade-off
  • The authors estimate inference cost per GDPval-AA task from recorded tokens.
  • They use one accounting formula and mapped provider prices.
  • They assume one shared cache-hit rate and use price proxies where needed.
  • The estimate covers task-solving inference only.
  • All three WorkPilot models sit on the non-dominated frontier among the models shown.
  • Estimated cost per task is about $0.012 for the 4B model.
  • It is about $0.031 for the 35B-A3B model and about $0.396 for the 27B model.

Conclusion

  • WorkFactory mixes hybrid intent sourcing with on-demand fetching and making of materials.
  • A Semantic Workflow Graph states fine-grained information needs.
  • Execution-based repair checks that the environment supports the work without removing it.
  • 112,686 tasks across 612 occupations trained the WorkPilot family.
  • All three models beat their bases on four benchmarks.
  • Data scaling shows diminishing returns and execution length that grows, then shrinks.
  • Planning and repair help environment quality and downstream results.
  • The authors back wide task coverage, validation at every step and careful teacher choice.

Limitations

  • The GLM-5.3 teacher takes text only.
  • So the models train and test through a text-only interface.
  • The work does not study learning from visual evidence.
  • The training study uses supervised fine-tuning only.
  • Future work may use the tasks and execution feedback for reinforcement learning.

Ethical considerations

  • WorkFactory trains agents to run professional workflows and make workplace files.
  • The outputs may be wrong, biased or misused in serious settings.
  • Qualified people should review them. The agents should not replace those people.
  • Releases should respect privacy, copyright and license rules.

  • Occupation-driven. Start from a public job hierarchy based on the Standard Occupational Classification.
  • Broad jobs expand into fine-grained roles.
  • The roles seed a search agent that pulls professional context from the web.
  • It writes work situations and goals tied to duties, business settings and trigger events.
  • Skill-driven. Documented skills come from a public skill directory.
  • Each skill's purpose, conditions, prerequisites and operations give situations and goals.
  • Skills combine into workflows when one output feeds another input.
  • Example: quote extraction feeds cash-flow modeling, then NPV comparison and a recommendation.
  • Deliverable-driven. Real deliverables from the web hint at plausible work intents.
  • The team infers likely use, audience, content and the production process.
  • Intents cover producing, updating, reviewing or comparing such files.
  • Intent review. An LLM checks coherence, feasibility and fit.
  • Candidates that fail are dropped from the library.

B.1 Information nodes and relations

  • WorkFactory separates planned outputs and internal needs from facts the solver already has.
  • Internal needs are only an in-between spec during building.
  • They hold no instance facts and add no duties the solver cannot meet.
  • Everything needed must sit in solver-accessible inputs.
  • A node records content, entity and scope, and status.
  • Status is supplied, externally acquired, solver-derived or internal.
  • It also records carrier bindings.
  • Solver-derived nodes describe what to derive. The solver finds the values.
  • A relation links source nodes that jointly support one target node.
  • Relations cover reference, entity link, scope, calculation, evidence, constraint and fulfillment.
  • They can link content in one file or across files.
  • They can also link the request, evidence and deliverable.
Node roleMeaningExample
Facts and evidenceRecords and observationsDemand forecasts and supplier quotations
Rules and definitionsPolicies and conventionsSetup, freight and discount rules
IntermediateValues to deriveCarton volumes, annual spend, vendor NPVs
DeliverableRequested work productCost-comparison workbook and recommendation
RequirementsGoals and constraintsCompare lifecycle cost and vendor service

Table 4: information-node roles

B.2 Carriers and access

  • Carrier nodes say where information occurs.
  • A location binding records the carrier, status and access conditions.
  • Before building, it names a planned place.
  • After building, it can name a file, sheet, cell range, page or paragraph.
  • One fact can sit in several carriers. A shared identity and scope link them.
  • Access data splits solver-visible content from internal needs.
  • Premises the solver needs must be supplied or available from outside sources.
  • Future deliverables get required content and support links. The solver builds them.

B.3 Artifact construction and checks

  • The construction plan P holds the request, artifact specs and build order.
  • Each artifact spec has a role, format, content, source and route: reuse, adapt or make.
  • The worker reads both the graph and the plan as text.
  • It builds all files in one agent session.
  • It fetches real files.
  • It makes parts when sources lack facts or a controlled conflict is needed.
  • Build order rules act as prerequisites in its prompt.
  • Other relations stay as shared constraints and can be mutual.
  • Code compares planned and made file counts and types.
  • An LLM reviews coverage and request coherence.
  • Failed checks allow up to three retries after the first attempt.
  • Tasks still failing at the limit are dropped.
  • Passing these checks does not prove every dependency holds. Execution gives another check.

C.1 Probe reporting and defect taxonomy
  • The probe knows the task is made up and aims for the best feasible deliverable.
  • It grounds each diagnosis in inspected sources and tool results.
  • It names the affected operations and deliverable needs.
  • It separates environment defects from its own mistakes and open choices.
  • Severity has four labels: blocker, correctness, efficiency and open.
  • A blocker stops the minimum deliverable. Correctness marks a concrete task error.
  • Efficiency suggests better process. Open records non-binding risks.
  • Only blockers trigger repair. A repair may also fix other issues.
  • Non-blocking errors may remain in kept tasks.
  • The eight categories in Table 6 are analysis labels added later.
CategoryDefinition
Missing evidenceNeeded information is absent from all solver-accessible sources
Cross-file inconsistencyIndependent sources disagree on entities, values, periods, units or definitions
Broken derivationA requested result cannot be derived from the premises or rules
Underspecified requestThe request omits a decision needed for a valid deliverable
Leakage or shortcutInputs reveal an answer or signal that should need work
Execution feasibilityA hard limit, corrupt file or missing tool blocks completion
Self-inconsistencyFacts inside one file or request contradict each other
Factual truth errorA given fact conflicts with an authoritative source

Table 6: defect categories

  • A task counts once per category.
  • It needs a blocker or correctness finding there.
  • Classification uses the report's stated evidence, not solver failure alone.
  • Table 3 uses the first report for the first two conditions.
  • It uses the final report for repair.
  • That includes tasks later dropped for unresolved blockers.
C.2 Work-preservation and repair limits
  • The original intent and first plan are the reference for the work-preservation review.
  • A repair must keep the core goal, essential operations and deliverable needs.
  • Small scope changes are fine when they restore what the task needs.
  • The refiner edits the request and existing reference file contents.
  • It does not update the graph.
  • Its prompt requires file number, links and types to stay the same.
  • Good repair: add the missing USD 0.15 freight term for Supplier C.
  • Bad repair: drop the NPV comparison or hand over a finished recommendation.
  • The review runs after each repair, not during first building.
  • Each revision also passes the construction checks.
  • Passing revisions get a new probe in a clean sandbox.
  • Up to three repair rounds are allowed. Tasks with blockers after that are dropped.
  • The same material can play different roles under different intents.
  • A precomputed comparison is fine input for an audit.
  • It removes work from a comparison task.
  • Conflicting records can be fine inputs when solving the conflict is the work.
C.3 Repair dynamics on the 5K set
Repair roundsTasksShare
03,47969.58%
11,01220.24%
23857.70%
3 (limit)1242.48%

Table 7: repair depth on the 5K analysis set

  • Tasks with no blocker skip repair.
  • Of the 124 tasks that hit the limit, 24 stay blocked.
  • Those 24 are 0.48% of the full set and are left out of training.
  • After repair, mean reasoning tokens fall by 1,738.58.
  • Tool-call argument tokens rise by 5,265.34. Body-text tokens fall by 88.70.
  • The net is about 3,438 more assistant-output tokens.
  • This shows a shift toward tool use.
MetricBeforeAfter and change
Assistant turns57.6758.35 / +1.18%
Assistant output tokens84,732.7588,170.80 / +4.06%
Total trajectory tokens136,638.74142,363.28 / +4.19%

Table 7: paired probe runs, before and after repair

C.4 Supplier-selection example, end to end
  • The intent: judge lifecycle sourcing costs and pick a shipping-carton supplier.
  • There are four anonymous vendors and a three-year program.
  • The planner sets annual demand at 48K, 60K and 78K cartons.
  • The mix is 60:40 standard to insulated.
  • Quotes give unit prices, setup fees and freight terms.
  • Visible rules give an 8% discount rate for years 1 to 3.
  • Setup costs fall in year 0 and are not discounted.
  • Freight is per carton in constant USD.
  • The graph marks demand, quotes, timing rules and vendor profiles as supplied.
  • Transformation links turn demand and mix into annual carton volumes.
  • Those volumes plus quotes give setup, annual spend and vendor NPVs.
  • NPVs and vendor profiles support a cost and service recommendation.
  • The request holds goals and rules. The PDF holds quotes and the forecast.
  • The future workbook holds inputs, model, decision and assumptions.

The defect and the fix

  • Supplier C's quote does not say if freight is included or charged apart.
  • A clean probe finds that the inputs cannot give comparable lifecycle costs.
  • The refiner adds an extra freight charge of USD 0.15 per carton to the PDF.
  • Checks and the work review run again. A fresh probe then tries the task.
  • No step gives the spend, NPVs or recommendation.
  • An independent teacher builds the workbook for all four vendors.
  • It writes a justified recommendation from the visible inputs.

D.1 Corpus statistics and decontamination
  • The corpus holds 112,686 tasks, each with at least one training sequence.
  • GLM-5.3 completes 94,077 tasks in the GDPval Stirrup harness and 18,609 in Claude Code.
  • The tasks hold 4.15 reference files each on average.
  • Extensions seen at least 10 times give 317 reference types.
  • They give 53 deliverable types.
  • Trajectory lengths cluster around 41 to 80 assistant turns.
  • The mean is 57.4, the median is 56 and the 90th percentile is 91 turns.

Benchmark decontamination

  • Evaluation tasks were never shown to WorkFactory during intent or task building.
  • As a final check, Qwen3-Embedding-8B encodes every training and evaluation request.
  • Pairs with cosine similarity of at least 0.85 are flagged.
  • Pairs are also flagged when shared 10-grams cover at least 20% of the shorter request.
  • File hashes catch byte-identical artifacts.
  • Humans review all flagged pairs.
  • No pair was task reuse, and no file hash was shared.
D.2 Construction cost
  • Cost is counted in model tokens.
  • Across three build stages the average is 11.656M tokens per attempted task.
  • That is 11.448M input tokens and 0.208M output tokens.
  • Information-level planning is the biggest part at 4.737M tokens.
  • Execution and repair take 3.644M. Material synthesis takes 3.275M.
StageInputOutputTotal
Information-level planning4.6580.0794.737
Material synthesis3.2190.0563.275
Execution and repair3.5710.0733.644
Total11.4480.20811.656

Table 8: mean tokens per task by stage (millions)

D.3 Trajectory generation and training

Models and setup

  • All agents for intents, planning, building and repair use DeepSeek-V4-Flash-0731.
  • GLM-5.3 is the independent teacher.
  • WorkPilot-4B, 27B and 35B-A3B start from Qwen3.5-4B, Qwen3.6-27B and Qwen3.6-35B-A3B.
  • All three train on the selected GLM-5.3 trajectories with one setup.
  • The base models use the Apache License 2.0.
  • The released checkpoints keep license notices and are marked as fine-tuned derivatives.

Probe and teacher settings

  • Every probe run starts in a clean sandbox.
  • It uses the Claude Code harness with a 1M-token window and no context compaction.
  • It cannot see internal needs, the graph, the plan or earlier outputs.
  • Teacher runs share this access limit and use a 256K-token window.
  • Stirrup runs use the GDPval-AA tools and its official compaction.
  • Claude Code runs use native tools and a compaction threshold of 0.7.
  • The teacher prompt asks it to attempt the task.
  • The probe prompt also asks it to report issues.

Filtering and rejection sampling

  • Every first rollout gets code checks.
  • Rollouts with repeated reasoning, repeated tool calls, no deliverable or thin deliverables are out.
  • These checks aim at broken or unfinished runs. They do not judge correctness.
  • The longest 5% of rollouts, at the 95th percentile of turns, get rejection sampling.
  • A pairwise judge sees the request, reference files and both deliverables.
  • A DeepSeek-V4-Flash-0731 baseline deliverable is made once per task and kept fixed.
  • A teacher win keeps the rollout.
  • After a loss or tie, up to three more attempts follow, so four in total.
  • Each retry starts clean with no memory of earlier attempts.
  • A task with no win adds no training episode and leaves the corpus.

Sequence preprocessing and loss

  • A task can give several sequences when its rollout is compacted.
  • Sequences over 262,144 tokens are removed before packing.
  • Corpus sizes count distinct tasks, not sequences.
  • Training uses masked autoregressive supervision.
  • Failed tool calls are found from signs like a traceback or nonzero exit code.
  • Only the token span of each failed call is removed from the loss.
  • Reasoning and normal text in the same turn stay supervised.
  • The failed call and its result stay in history so later recovery has context.
SettingValue
Probe modelDeepSeek-V4-Flash-0731
Probe tools and windowClaude Code tools; 1M tokens
Probe context compactionDisabled
Teacher modelGLM-5.3
Teacher harness (tasks)Stirrup (94,077); Claude Code (18,609)
Teacher context window256K tokens
Teacher samplingTemperature 1.0; top-p 1.0
Teacher max output and turns65,536 tokens; 250 turns
Training tasks112,686
Frozen partsVision and aligner frozen; language model unfrozen
Epochs4
Sequence length256K tokens
Global batch size32 packed sequences
Peak learning rate3 × 10−5
Schedule and warmupCosine to 2 × 10−6; 10 iterations
Weight decay and clipping0.01 and 1.0
PrecisionBF16
Packing262,144 tokens; padding-free

Table 9: probe, teacher and training settings

Optimizer: distributed, with beta1 0.9 and beta2 0.95.

D.4 Teacher-to-student behavior
MetricGLM-5.3 sourceDeepSeek source
Teacher: mean assistant turns60.6937.97
Teacher: mean tool calls65.7644.92
Teacher: mean reasoning tokens48,12748,368
Student: GDPval-AA Elo14831248
Student: bootstrap 95% interval[1455, 1510][1220, 1274]
Student: mean assistant turns99.8153.81
Student: mean tool calls110.4065.95
Student: mean reasoning tokens79,07661,723

Table 10: the 30K-task teacher comparison

Student numbers cover the same 220 GDPval tasks, with three rollouts averaged per task.

  • Both students beat the 879-Elo base. The gain is not tied to one teacher.
  • On the same tasks, GLM-5.3 uses more turns and tool calls than DeepSeek-V4-Flash-0731.
  • Reasoning tokens are similar between them.
  • The GLM-trained student also uses more turns and tool calls than the DeepSeek-trained one.
  • Figure 8 shows length curves, tool mix and failure rates for both teachers and students.

Text-only and interaction length

  • All local runs use three rollouts per model and task pair.
  • WorkPilot updates only the language model. The vision and aligner parts stay frozen.
  • WorkPilot and its bases are tested in the same text-only setting.
  • Judges may still look at rendered documents and media.
  • WorkPilot runs longer trajectories than the base on all four benchmarks.
  • So training lets it keep long workflows going instead of stopping early.
  • Along the scaling path, length jumps early and then falls, but ends above the base.
E.1 Two-anchor Elo estimation
  • A target model is compared with two fixed anchors: GLM-5.3 and DeepSeek-V4-Flash-0731.
  • Its fitted Bradley-Terry score maps to the official GDPval-AA v2.1 scale.
  • Official ratings were fetched on September 26, 2026.
  • The test covers all 220 tasks, nine sectors and 44 occupations.
  • A Gemini 3.1 Pro Preview judge sees the task, references and two anonymous submissions.
  • It sees extracted text, rendered pages and native media. It gets no rubrics.
  • It picks A, B or tie. Wins, ties and losses score 1, 0.5 and 0.
  • Presentation order is balanced.
  • Judge errors are left out, not guessed.
  • A completed comparison turns into a loss if the target hit the turn limit.

Calibration

  • Win chance is a logistic function of the score gap.
  • The two anchors are frozen at scores of 0 and -1.4645345552.
  • A root finder on the range from -20 to 20 solves for the target score.
  • Three frozen nodes map score to Elo.
  • They are Qwen3.6-35B-A3B at 879, Qwen3.8-27B at 1409 and GLM-5.3 at 1646.
  • Between nodes the map is linear. Outside, it extends from the nearest segment.
  • For WorkPilot-35B-A3B the score is -0.486737, which maps to 1564.64 Elo.
  • It is reported as 1565. Strict and permissive estimates match.
  • The 1,000-draw bootstrap interval is [1539.20, 1588.65], reported as [1539, 1589].
ModelLocal Elo95% interval
Nex-N2.5-mini1127[1085, 1163]
Qwen3.5-4B661[363, 792]
WorkPilot-4B1375[1344, 1405]
Qwen3.6-27B975[900, 1038]
WorkPilot-35B-A3B1565[1539, 1589]
WorkPilot-27B1612[1594, 1631]

Table 11: bootstrap intervals for local Elo estimates

The 4B base interval is wide because both anchors are much stronger, so few wins exist.

Empirical validation

  • Seven earlier models check the design and calibration.
  • On them the estimator has an MAE of 24.11 Elo and an RMSE of 27.86.
  • Its bias is -4.71 and its largest miss is 54.96 Elo.
  • After freezing the method, three new models test it.
  • There it has an MAE of 19.00 Elo and an RMSE of 22.77.
  • Its bias is +3.89.
  • The largest miss is 32.20 Elo.
  • Across both sets, Pearson r is 0.994 and Spearman is 0.964.
  • Nine of ten models land within 40 Elo of the official rating.
  • Dropping eight multimodal tasks keeps the order the same.
  • It moves pooled RMSE only from 26.43 to 27.56 Elo.
E.2 Pairwise judge prompt
  • The judge picks which blinded submission better meets the original task.
  • It judges correctness, completeness, usability, professional quality and fit to the deliverables.
  • Rule 1: never guess model identity or favor a position.
  • Rule 2: inspect each submission alone. Missing or corrupt files are failures.
  • Rule 3: rely on evidence in the files.
  • A claim of being correct is not proof.
  • Rule 4: for visuals, use rendered images. Trust what is visible.
  • Rule 5: call a tie only when the two are truly equal.
  • Also call it when evidence is thin.
  • Rule 6: check all material needs but stay short.
  • The output is one JSON object.
  • It holds a winner, a short reason and at most ten decisive comparisons.
E.3 Inference-cost accounting
  • Cost per task comes from input and output tokens in local logs.
  • Per trial it mixes fresh input, cached input and output at provider prices.
  • Costs average over each task's finished trials, then equally over tasks.
  • The cache-hit rate is 0.992 for all models.
  • Reasoning tokens already sit in output totals.
  • Only trials with no recorded exception count.
  • No cache-write charge is added because logs do not show it reliably.
  • Prices come from OpenRouter on October 12, 2026.
  • Where no endpoint matches, a version proxy is used.
  • Or a common price for the size class is used.
  • Table 12 maps the price for every model in Figure 6.
  • Examples per million output tokens: 4.80 for GLM-5.3 and 20.00 for GPT-5.6 Sol.
  • These are standard estimates, not invoices.
  • They leave out judges, verifiers, tool and search fees, sandbox compute, storage and overhead.

Coverage note

  • This page covers the main body in full.
  • Appendix tables of pricing, prompts and extra figures are summarized, not copied.

Words to know

  • Benchmark: A fixed test set used to compare models.
  • Bradley-Terry: A model that turns pairwise wins into one score each.
  • Elo: A score from head-to-head wins. Higher is better.
  • Harness: The code that runs an agent with its tools.
  • Instruction backtranslation: Guessing the request that would produce a given document.
  • Probe solver: An agent that tries a task to find flaws in it.
  • Rejection sampling: Try again and keep only attempts that pass a test.
  • Semantic Workflow Graph: A map of facts a task needs and where they sit.
  • Supervised fine-tuning: Training a model to copy examples of good work.
  • Teacher model: A strong model whose solved tasks teach a smaller one.
  • Working agent: An AI that runs job tasks with tools and files.

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer + original paper (PDF), 2.2 MB

Ask AI about this paper

Stuck on a word or an idea? Ask in plain words. The answer comes from the write-up on this page.

Read the original paper on arXiv: WorkFactory: Turning Professional Intents into Executable Work for Scalable Agent Training (opens in a new tab)

Jump to

One paper a week, in plain English

Every Monday: the new AI papers worth your time. Short lines, the key number, and what to do with it.

One email a week. Unsubscribe with one click. No spam.