Abstract
HierTOD is a task-oriented dialogue (TOD) system designed for the complex, undocumented workflows of enterprise environments. By organizing tasks into a hierarchy of goals and sub-goals, it unifies two traditionally separate dialogue paradigms—slot-filling and step-by-step guidance—into a single, proactive assistant that can anticipate user needs and manage multi-layered domain-specific tasks.
Introduction
Most research in Task-Oriented Dialogue (TOD) focuses on simple, single-layered workflows like booking a hotel or a restaurant, where systems primarily perform "slot-filling" to capture parameters like dates and locations. However, enterprise tasks—such as data hygiene on marketing platforms or complex network troubleshooting—are significantly more intricate. These workflows are often multi-layered, domain-specific, and poorly documented, requiring both information collection and instructional guidance. HierTOD bridges this gap by understanding the overarching "hierarchical goal" behind a user's specific query, allowing for more proactive and context-aware assistance.
System Architecture
HierTOD utilizes a modular pipeline architecture centered on hierarchical goal management. The system is designed to handle the transition from natural language understanding to structured task execution.
Key modules within the system include:
- Composite Goal Retriever (CGR): Matches user queries against a YAML-based repository of workflows using lexical and semantic matching to identify high-level goals.
- Hierarchical Finite State Machine (HFSM): Manages the dialogue through two phases: Goal Pending (intent identification) and Goal Execution (workflow guidance).
- Unified Dialogue Paradigm: Combines GPT-3.5 based zero-shot Dialogue State Tracking for slot-filling with handcrafted templates for step-by-step instructions.
- NL2Goal Translator: An LLM-based tool that automatically converts natural language workflow descriptions into structured YAML formats, ensuring system scalability.
- QA Routing: A classifier that directs questions to specific modules for product knowledge, operational insights (SQL-based queries), or out-of-scope handling.
Hierarchical Goal Management
The core innovation of HierTOD is its ability to recognize that an "atomic goal" (a specific user query) is often a signal for a larger task. By organizing tasks into a hierarchy, the system can be proactive rather than merely reactive.
For example, if a user asks how to list duplicate segments, HierTOD identifies this as an atomic goal within a broader "Data Hygiene" workflow and can offer to guide the user through the entire multi-step process. This hierarchy is defined in a goal repository where the addition of a slots keyword allows the system to seamlessly toggle between providing instructions and requesting missing information.
Evaluation and Results
HierTOD was evaluated using 20 custom dialogues covering enterprise-specific tasks and a domain knowledge base. Five annotators rated the system on a 5-point Likert scale across four dimensions:
- Fluency (4.46): Indicating highly natural language generation.
- Relevance (4.37): Responses accurately addressed user needs.
- Coherence (4.31): The conversation flow remained logical throughout.
- Helpfulness (4.20): Users felt the system effectively empowered them to complete tasks.
While performance remained high across complex tasks, the authors noted a slight decrease in coherence as dialogue length increased, suggesting areas for future improvement in long-term memory management.
Conclusion and Future Work
HierTOD demonstrates the effectiveness of hierarchical goal structures in managing complex enterprise dialogues. Future developments will focus on moving from instructional guidance to "agentic" capabilities, where the system can directly execute internal API calls to perform actions. Additionally, the team aims to improve long-context coherence and tackle the engineering challenges of deep integration with sensitive enterprise toolkits and data services.
Summary updated