Interpretation of Natural Language Rules in Conversational Machine Reading

Marzieh Saeidi, Max Bartolo, Patrick Lewis, Sameer Singh, Tim Rocktäschel, Mike Sheldon, Guillaume Bouchard, Sebastian Riedel

Introduction

Traditional machine reading models are designed to extract literal answers from a provided text. However, real-world queries often involve interpreting complex rules and engaging in a dialogue to resolve underspecified requests. This paper introduces Conversational Machine Reading (CMR) and the ShARC (SHaping Answers with Rules and Conversation) dataset, challenging AI systems to act as interactive assistants that navigate logical rules and user scenarios to provide accurate answers.

The Conversational Machine Reading Task

Most Machine Reading Comprehension (MRC) datasets, such as SQuAD, focus on finding an answer explicitly stated in a text. In contrast, many practical domains—like government benefits or legal regulations—provide rules rather than direct answers. To assist a user, a system must interpret these rules, apply them to the user's background scenario, and ask clarification questions if the initial query is underspecified.

Overview of the Conversational Machine Reading (CMR) task.

As shown in the figure above, the system must determine if a user qualifies for a specific condition (e.g., paying UK National Insurance) by evaluating the rule text against the user's scenario and asking necessary follow-up questions.

Methodology: The ShARC Dataset

To facilitate research in CMR, the authors developed the ShARC dataset, which contains 32,436 conversational utterances based on 948 distinct rule snippets. These snippets cover real-world regulations from the UK, US, and Canada.

Building such a dataset requires capturing complex logical structures. The authors designed a novel, multi-stage crowdsourcing protocol to build logical decision trees without overwhelming annotators:

  1. Rule Extraction: Snippets are gathered from government websites.
  2. Question Generation: Experts write underspecified questions based on the rules.
  3. Dialog Generation: Annotators act as assistants, asking follow-up questions. A "virtual user" provides random Yes/No answers to force exploration of all logical branches.
  4. Scenario Annotation: Workers write background stories (scenarios) that logically match specific paths in the dialog tree.
The multi-stage crowdsourcing protocol used to create the ShARC dataset.

Key Insights and Results

The study reveals several critical challenges in CMR:

  • Logical Complexity: Interpreting rules requires understanding conjunctions, disjunctions, and nested conditions.
  • Deep Reasoning: Matching scenarios to rules often involves multi-sentence entailment and numerical or temporal reasoning (e.g., calculating age from a birth year).
  • Neural Model Limitations: Interestingly, standard neural models (like CNNs and BiDAF) underperformed compared to feature-engineered Random Forests and rule-based heuristics. For instance, a Random Forest baseline achieved a micro-accuracy of 80.8%, while a CNN reached only 67.7%.

In the end-to-end task, a combined pipeline model (Random Forest + Rule-based + Surface Logistic Regression) outperformed end-to-end neural models, achieving 61.9% micro-accuracy. This highlights a significant gap in the ability of current deep learning architectures to perform explicit logical reasoning.

Conclusion

The ShARC dataset serves as a rigorous testbed for developing AI models that can integrate entailment-like reasoning with natural language generation. While humans using a CMR agent reached correct conclusions twice as fast and with much higher accuracy (93% vs 68%) than those reading raw rules, current automated systems still struggle with the inductive biases necessary for strict logical reasoning. Future work will focus on scaling the dataset and improving neural architectures for multi-step entailment.

Summary updated

BibTeX
@inproceedings{saeidi2018interpretation,
  author = {Marzieh Saeidi and Max Bartolo and Patrick Lewis and Sameer Singh and Tim Rocktäschel and Mike Sheldon and Guillaume Bouchard and Sebastian Riedel},
  title = {{Interpretation of Natural Language Rules in Conversational Machine Reading}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1233},
}
Figure