NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Task2KB: A Public Task-Oriented Knowledge Base

Procheta Sen, Xi Wang, Ruiqing Xu, Emine Yilmaz

Abstract

Task2KB is a large-scale, automated knowledge base derived from WikiHow, providing structured data for over 44,000 tasks across diverse domains such as health, travel, and food. By transforming unstructured instructional content into a hierarchical format with detailed sub-steps, quality scores, and automatically extracted dialogue slots, Task2KB provides a foundational resource for building general-purpose AI assistants capable of guiding users through complex, multi-step activities.

Introduction

Modern task-oriented conversational agents are often restricted to narrow domains, such as hotel bookings or taxi reservations, due to their reliance on specialized datasets like MultiWOZ. When faced with broader queries—such as "how to ship perishable food"—these systems often lack the structured knowledge required to provide actionable guidance. While platforms like WikiHow contain vast amounts of "how-to" information, the raw data is inherently unstructured and noisy. Task2KB addresses this gap by creating a clean, programmatically accessible knowledge base (KB) that structures the "how-to" of everyday life.

The Task2KB Framework

The construction of Task2KB involves an automated pipeline that converts raw WikiHow articles into a hierarchical knowledge structure designed for AI consumption.

Hierarchical Structuring

Tasks are organized into a tree-like structure consisting of "Methods" and "Sub-tasks" (steps). A key feature of this model is its recursive nature: a sub-task can itself contain further sub-tasks, allowing the KB to represent complex, nested instructions accurately.

Hierarchical structure of a task in Task2KB, illustrating the relationship between topics, methods, and subtasks alongside auxiliary information.

Quality Estimation and Slot Extraction

To ensure reliability, the authors implemented a quality estimation model using BERT for short text segments and LongFormer for detailed instructions, scoring articles from 0 to 1. Furthermore, to facilitate dialogue system integration, Task2KB automatically extracts "slots"—the specific variables an AI needs to collect (e.g., "destination"). This is achieved by identifying entities in task descriptions and mapping them to Wikipedia attributes using BERT embeddings and cosine similarity ranking.

Dataset and Metadata

Task2KB currently comprises 44,831 documents spanning four major domains: Food and Entertainment, Travel, Holiday, and Health. Compared to traditional benchmarks like MSDialog or UDC, Task2KB offers significantly broader domain coverage and cleaner data than previous attempts like How2KB.

Beyond the core steps, the KB includes a wealth of auxiliary information that provides a "360-degree" view of each task, including community-contributed content and metadata.

Definitions of the various data components and auxiliary information captured for each task in Task2KB.

Key Insights and Results

A primary innovation of Task2KB is treating every instructional step as a "sub-goal," enabling AI agents to perform recursive planning. By leveraging Wikipedia for automated schema discovery, the system bypasses the bottleneck of manual annotation, allowing for scalable domain expansion.

The resulting KB is not only massive in scale but also rich in metadata, including community tips, user reviews, and FAQs. The system is publicly accessible via an API, providing a robust utility for the research community to develop more capable conversational agents.

Limitations and Future Work

While Task2KB covers a significant portion of WikiHow, it currently only includes 4 of the 13 available categories. Future work will focus on expanding to domains like DIY and Finance. Additionally, while the automated slot extraction is scalable, further evaluation is needed to compare the utility of these Wikipedia-derived slots against human-curated ones in live conversational settings.

Summary updated

BibTeX
@inproceedings{sen2023task,
  author = {Procheta Sen and Xi Wang and Ruiqing Xu and Emine Yilmaz},
  title = {{Task2KB: A Public Task-Oriented Knowledge Base}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i13.27086},
}
Figure