Abstract
Modern task-oriented dialogue (TOD) systems often struggle to adhere to complex business workflows, prioritizing local linguistic fluency over procedural correctness. This paper introduces COMPLIANCEOPT, a reinforcement learning (RL) framework designed to ensure TOD systems strictly follow multi-step procedural guidelines. By utilizing a novel ComplianceScorer to reward adherence to company policies and an interactive sampling technique, the authors demonstrate that models can generate responses that are both procedurally correct and linguistically natural, significantly outperforming standard supervised learning approaches.
Introduction
Most modern chatbots are "reactive"—they are trained to identify a user's immediate intent (e.g., "I want a refund") and provide a relevant response. However, in real-world settings like customer support, agents must follow specific workflows or business policies. For instance, a policy might dictate that an agent must verify a user's account and check a promo code's status before offering a replacement. Current TOD systems often fail here because they are typically trained using supervised learning (teacher forcing), which doesn't explicitly penalize "out-of-order" actions if the resulting text looks fluent. There is a lack of optimization for workflow compliance, leading to bots that might be polite but are procedurally incompetent or violate company policy.
Methodology
The authors propose a framework called COMPLIANCEOPT, which treats dialogue generation as a Markov Decision Process (MDP) and optimizes for compliance using RL. The framework consists of three primary stages: interactive sampling, compliance scoring, and optimization.
Key components include:
- ComplianceScorer: A reward model (based on RoBERTa) trained to measure how well a block of dialogue executes a specific workflow action. It is trained on pairs of "compliant" vs. "non-compliant" interactions.
- Interactive Sampling: Unlike standard methods that look at single turns, this approach uses a system model and a user simulator to generate "blocks" of multi-turn interactions. This captures the reality that a single workflow step (like "verify identity") often takes several back-and-forth exchanges.
- RL Optimization (Quark-based): The system uses the rewards from the ComplianceScorer to fine-tune the model. It employs a KL-divergence penalty to ensure the model doesn't "drift" too far from natural language patterns while chasing higher compliance rewards.
Experimental Setup
The researchers evaluated their approach on two major benchmarks:
- ABCD (Action-Based Conversations Dataset): Contains ~10,000 dialogues specifically designed with explicit company guidelines and 55 distinct intents. It is the primary dataset for testing strict policy adherence.
- MultiWOZ 2.2: A standard, widely-used TOD dataset. The authors adapted it by treating annotated user intents as workflow actions to test the generalizability of their framework.
Key Results and Insights
One of the primary findings is that compliance is a multi-turn property. By introducing "Block Evaluation," the authors acknowledge that procedural adherence is a state reached through a sequence of interactions. Surprisingly, optimizing for strict compliance did not make the bots sound robotic; human evaluations showed that COMPLIANCEOPT maintained high coherence and fluency while being significantly more compliant than baselines.
On the ABCD dataset, COMPLIANCEOPT achieved a compliance score of 0.8670, nearly matching the ground truth (0.8676) and vastly outperforming the "No Action" baseline (0.4963). When the model had to predict the next step itself, it achieved roughly 70% accuracy on ABCD, showing a strong ability to navigate complex decision trees. Furthermore, even sophisticated LLMs like GPT-3.5 were outperformed by the specialized COMPLIANCEOPT model in following specific workflows, suggesting that task-specific RL fine-tuning is superior for high-stakes procedural tasks.
Conclusion and Future Work
While COMPLIANCEOPT represents a significant step forward, several challenges remain. The user simulation used for interactive sampling was relatively simple; real-world users are often more unpredictable. Additionally, fully simulating an entire multi-issue customer service call remains a massive challenge, and the computational cost of RL training is higher than standard supervised fine-tuning. Future work will focus on more sophisticated user simulations and improving the efficiency of the optimization paths.
Summary updated