Reasoning about Goals, Steps, and Temporal Ordering with WikiHow

Li Zhang, Qing Lyu, Chris Callison-Burch

Introduction: The Challenge of Procedural Knowledge

While modern AI models demonstrate remarkable linguistic fluency, they often struggle with procedural knowledge—the fundamental understanding of "how-to" in the real world. For instance, if a user mentions "buying a yoga mat," an intelligent assistant should ideally infer the overarching goal ("doing yoga") and anticipate subsequent steps like "learning poses."

Hierarchical and temporal structure of procedural knowledge in wikiHow.

Existing NLP benchmarks typically focus on simple temporal or causal relations. However, they rarely address the hierarchical relationship between high-level goals and the specific steps required to achieve them. Researchers from the University of Pennsylvania have addressed this gap by formalizing procedural reasoning into three distinct tasks:

  1. Step Inference: Identifying the correct step for a given goal.
  2. Goal Inference: Identifying the correct goal for a given step.
  3. Step Ordering: Determining the correct temporal sequence of steps for a goal.

Methodology and Dataset Construction

The researchers curated a massive dataset by crawling over 110,000 wikiHow articles. To ensure the tasks were sufficiently challenging for state-of-the-art models, they employed several sophisticated techniques:

  • Hard Negative Sampling: Instead of random distractors, they used BERT embeddings to find semantically similar but incorrect steps, forcing models to rely on deep contextual understanding rather than simple keyword matching.
  • Adversarial Filtering: A label reassignment strategy was used to eliminate statistical artifacts, ensuring models could not "cheat" by identifying patterns in the answer choices alone.
  • Human Validation: A high-quality test set was established via Amazon Mechanical Turk, retaining only examples with unanimous agreement among three human annotators.

Transfer Learning and Key Results

The core hypothesis of the study was that procedural knowledge is generalizable. Models (including RoBERTa, BERT, XLNet, and GPT-2) were fine-tuned on wikiHow tasks and then evaluated on unrelated "commonsense" benchmarks like SWAG (grounded inference), Snips (intent detection), and the Story Cloze Test (narrative completion).

Performance gains on downstream tasks (SWAG, Snips, Story Cloze) when pre-trained with wikiHow data.

The results were significant. RoBERTa emerged as the top performer, achieving 88.2% accuracy on Step Inference and 83.5% on Step Ordering. More importantly, pre-training on wikiHow led to dramatic improvements in zero-shot transfer:

  • Snips: A 64 percentage point improvement in intent detection.
  • SWAG: A 24 percentage point improvement over the baseline.
  • Story Cloze: A 13 percentage point improvement in narrative understanding.

Insights and Limitations

Despite these gains, a "human gap" of 10% to 20% remains, suggesting that current architectures still lack a complete grasp of "world logic." Furthermore, procedural steps can be inherently ambiguous; for example, "practice swings" might apply to both golf and drumming, creating challenges for even the best models.

Future work may involve multi-modal learning. While this study focused strictly on text, wikiHow's rich library of images and videos offers a promising path toward "grounding" procedural steps in visual reality.

Summary updated

BibTeX
@inproceedings{zhang2020reasoning,
  author = {Li Zhang and Qing Lyu and Chris Callison-Burch},
  title = {{Reasoning about Goals, Steps, and Temporal Ordering with WikiHow}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.374},
}
Figure