Abstract
Standard large language models (LLMs) often struggle with multi-step tasks unseen during training, even after fine-tuning. This research demonstrates that augmenting LLM prompts with explicit "action plans"—sequences of upcoming steps—enables models to generalize to novel workflows and execute previously unencountered actions. By transforming the dialogue task into an instruction-following exercise, the proposed method bridges the generalization gap in task-oriented dialogue systems.
Introduction
Task-oriented dialogue (TOD) agents, such as customer service bots, must adhere to specific business logic, collect user data, and execute API calls in precise sequences. While LLMs excel at fluent text generation, they frequently fail to generalize to complex, multi-step workflows outside their training data. Currently, introducing a new business procedure typically requires extensive retraining. This paper addresses this "generalization gap," where models fail to infer correct action sequences for novel tasks despite knowing the task's identity.
Methodology
The researchers frame the dialogue task as a text-to-text (seq2seq) problem using the T5 architecture. The core innovation lies in prompt augmentation, where the model's context is enriched with three types of metadata:
- Workflow Names (F): The specific goal (e.g.,
flow: reset_password). - Action Plans (P): A keyword sequence of remaining steps (e.g.,
action_plan: verify-identity, enter-details, make-password). - Legal Workflow Names (L): A comprehensive list of allowed tasks.
By providing an explicit action plan, the model shifts from predicting patterns based on memory to following structured instructions. This allows the model to map the current dialogue state to the next step in the provided plan.
Experimental Setup
The study utilizes the Action-Based Conversations Dataset (ABCD), comprising 10,000 human-to-human dialogues across 55 retail workflows. To rigorously test generalization, the authors established three challenging data splits:
- Split 1: 50% of workflows are unseen during training.
- Split 2: No action sequences from the training set appear in the test set.
- Split 3: Entire functional groups of workflows (e.g., account management) are withheld from training.
Results and Discussion
The inclusion of action plans yielded dramatic performance gains, particularly on the most difficult data splits.
Key Insights
- The Instruction Manual Effect: Action plans transform LLMs into instruction-followers. The model learns a meta-skill: following a list of steps rather than just mimicking training data.
- Zero-Shot Execution: Remarkably, if a plan includes an action never seen during training (e.g., a new API call), the model can still attempt to execute it correctly because it is the next logical step in the plan.
- Necessity of Plans: Simply providing the workflow name is insufficient; models achieved 0% success on flow correctness for new tasks without explicit steps.
- Dynamic Adaptability: This approach allows for "on-the-fly" updates. Business rule changes can be implemented by updating the plan provided by an external symbolic planner, avoiding the need for retraining.
On Split 3, accuracy for unseen actions rose from 0% (without a plan) to 69.8% (with T5-Large and a plan). Flow prediction accuracy reached approximately 93% when both workflow names and plans were provided.
Conclusion and Future Work
While providing "oracle" (ground truth) plans significantly boosts performance, real-world applications require agents to accurately identify user intent to fetch the correct plan initially. Future work should explore pairing LLMs with symbolic planners to generate these plans dynamically. Additionally, improving the mapping of specific information (slots) to unseen actions—perhaps through ontology descriptions in the prompt—remains a key area for development.
Summary updated