HierTOD: A Task-Oriented Dialogue System Driven by Hierarchical Goals

Lingbo Mo, Shun Jiang, Akash Maharaj, Bernard Hishamunda, Yunyao Li

TL;DR

HierTOD is a task-oriented dialogue system designed for the complex, multi-layered workflows typical of enterprise environments. By unifying traditional slot-filling with proactive step-by-step guidance driven by a hierarchical goal structure, it moves beyond simple "booking-style" bots to provide intelligent, mixed-initiative assistance for sophisticated professional tasks.

What Problem Does This Paper Address?

Most Task-Oriented Dialogue (TOD) systems are built for straightforward, single-layer tasks like booking a hotel or a restaurant. These systems rely on "slot-filling"—gathering specific pieces of information to execute a command.

However, enterprise environments (like marketing platforms or data management suites) present a much steeper challenge. Tasks are often multi-layered, poorly documented, and require deep domain knowledge. For example, a user asking to "list duplicate segments" might actually be starting a complex "Data Hygiene" workflow that involves unlinking references and deleting non-essential assets. Standard bots struggle here because they lack a high-level understanding of the user's ultimate objective and the sequence of sub-tasks required to reach it.

Methods

The authors introduce HierTOD, which uses a hierarchical goal structure to bridge the gap between simple queries and complex enterprise workflows.

Hierarchical goal completion structure

Key Components:

  • Composite Goal Retriever (CGR): This module matches user queries against a repository of YAML-defined workflows. It uses both lexical and semantic matching to determine if a user’s intent triggers a high-level goal.
  • Hierarchical Dialogue Management (DM): The system uses a finite state machine with two primary phases: Goal Pending (identifying the objective) and Goal Execution (guiding the user through steps).
  • Unified Paradigm: HierTOD integrates two distinct TOD styles. It uses zero-shot prompting with GPT-3.5 for Dialogue State Tracking (DST) in slot-filling tasks and rule-based templates for step-by-step instructional guidance.
  • NL2Goal Translator: To make the system scalable, the authors developed an automated tool that uses an LLM to translate natural language task descriptions into structured YAML workflows for the goal repository.
Figure 2: Architecture Overview. HierTOD consists of four major components: Natural Language Understanding, Composite Goal Retriever, Dialogue Management, and Response Generation. These components are supported by a data service that integrates heterogeneous knowledge and has access to user interaction data.

Datasets

Because enterprise tasks are highly specialized, the authors did not use standard public benchmarks like MultiWOZ. Instead, they evaluated HierTOD using:

  • 20 Custom Dialogues: These covered a mix of enterprise-specific tasks (e.g., platform operations, troubleshooting) and general activities (e.g., hotel bookings) to test the system's versatility.
  • Human Evaluation: Five annotators with backgrounds in machine learning and conversational AI rated the dialogues across four key metrics.

Key Insights and Ideas

  • Mixed-Initiative Proactivity: Because the system understands the hierarchy of goals, it can be proactive. If a user asks a question related to a sub-goal, HierTOD can answer it and then ask, "Would you like to proceed with the high-level goal?" (e.g., moving from listing duplicates to a full data cleanup).
  • Hybrid Architecture: The system balances the flexibility of LLMs (used for NLU and DST) with the reliability of a structured state machine for dialogue policy. This ensures the bot stays "on track" during long, multi-step enterprise processes.
  • Operational Insights via Text-to-SQL: For technical queries (e.g., "How many datasets do I have?"), the system translates natural language into SQL, executes it against the data service, and provides a breakdown of the logic to the user, enhancing transparency.
Figure 3: Dialogue Management Diagram consisting of two phases: Goal Pending and Goal Execution. White boxes rep- resent dialogue states, while green text in brackets indicates user intent.

Key Results

The user study evaluated the system on a 5-point Likert scale. HierTOD performed consistently well across all categories, maintaining average scores above 4.0:

Metric Average Score
Relevance 4.37
Coherence 4.31
Fluency 4.46
Helpfulness 4.20

While most scores were concentrated at 4 and 5, the authors noted that Coherence and Helpfulness saw some lower ratings (2s and 3s) as dialogue length increased, highlighting the ongoing challenge of maintaining context in long-form professional interactions.

Distribution of evaluation scores

Limitations and Future Work

  • From Guidance to Action: User feedback indicated that while step-by-step instructions are helpful, users often prefer the system to execute the actions directly (e.g., "Delete these segments for me") rather than just explaining how to do it.
  • Agentic Evolution: The authors envision evolving HierTOD into a more "agentic" system. This would involve deeper integration with internal APIs and sensitive customer data to allow the bot to perform complex internal actions autonomously while maintaining safety and privacy.
  • Long-term Context: Improving performance and coherence in very long conversations remains a priority for future iterations.

Summary updated

BibTeX
@misc{mo2024hiertod,
  author = {Lingbo Mo and Shun Jiang and Akash Maharaj and Bernard Hishamunda and Yunyao Li},
  title = {{HierTOD: A Task-Oriented Dialogue System Driven by Hierarchical Goals}},
  year = {2024},
  eprint = {2411.07152},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.07152},
}
Figure