Paper Overview
Field: ML Author: Zhantao Wang Published: 2025-05-15 arXiv: 2505.10891
Abstract (translated)
Multi-agent orchestration frameworks such as LangChain, LangGraph, and CrewAI route tasks through graph-based pipelines but do not enforce the stage constraints that govern real business processes. SDOF is a framework that treats multi-agent execution as a constrained state machine.
SDOF operates through two primary defensive layers, implemented by three components:
1. An Online-RLHF Specialized Intent Router trained via Generative Reward Modeling (GRPO) 2. A StateAwareDispatcher with GoalStage finite-automaton checks and precondition/postcondition SkillRegistry validation for auditable execution control
Key Results
- Testbed: recruitment system backed by the Beisen iTalent platform (6000+ enterprises); 185 expert-curated scenarios triggering 1671 live API calls.
- Routing: the GSPO-aligned 7B Intent Router achieved 80.9% joint accuracy on the FSM-constrained adversarial routing benchmark, versus 48.9% for zero-shot GPT-4o.
- End-to-end execution: SDOF reached an 86.5% task completion rate (95% CI: 80.8–90.7) and blocked all 22 injection and illegal HR-subset operations.
- Message-level blocking audit: 100% precision, 88% recall, expert agreement kappa = 0.94.
- Broader evaluation: on 960 SGD-derived conversations covering 8 service domains, 201 stage-ordering conflicts emerged under FSM mapping, 41 of which occurred in the normal (non-adversarial) grouping.
Takeaway
Enforcing stage constraints via a finite-automaton state machine, combined with a specialized intent router, can substantially reduce the "alignment tax" of multi-agent orchestration and provide auditable defenses against prompt injection and out-of-order actions in real business workflows.