ImPaKT: A Dataset for Open-Schema Knowledge Base Construction

Luke Vilnis, Zach Fisher, Bhargav Kanagal, Patrick Murray, Sumit SanghaiarXiv 2022

TL;DR

ImPaKT is a new dataset designed to train Large Language Models (LLMs) for "open-schema" Knowledge Base Construction, moving beyond fixed categories to handle the messy, evolving language of the real world. By focusing on the shopping domain, it provides ~2,500 professionally annotated text snippets that map raw product descriptions to structured attributes and, crucially, the logical implications between them (e.g., "cotton" $\Rightarrow$ "breathable").

What Problem Does This Paper Address?

Traditional Knowledge Bases (KBs) like Wikidata or Freebase rely on fixed schemas—predefined lists of types and relations. While useful, these schemas are brittle; they struggle to adapt to new domains or the idiosyncratic way people actually describe things. For example, a user might say a jacket "doesn't feel like you're wearing a sleeping bag." A traditional system might fail to categorize this, whereas a human understands it means the jacket is "not constricting."

The authors address the challenge of Automated Knowledge Base Construction (AKBC) in an "open-schema" context. The goal is to build systems that can discover new attributes and relationships directly from free-form text without being handcuffed to a rigid, predefined list of terms.

Methods

The researchers treat Knowledge Base Construction as a semantic parsing problem using a sequence-to-sequence (seq2seq) approach.

  1. Seq2seq Encoding: Instead of complex graph architectures, they represent structured data as simple text strings. A model (in this case, the 20B parameter UL2) is fed a text snippet and asked to generate a formatted string containing attributes, their types, and their relationships.
  2. Multi-stage Annotation: To create high-quality training data, they employed professional raters in a sophisticated workflow. This involved scraping buying guides, identifying coarse attributes, and then breaking those down into "atomic" attributes (single concepts) with normalized summaries.
  3. Implication Extraction: A key novelty is extracting implications—directional relationships where one attribute suggests another.
Figure 4: seq2seq encoding for attribute discovery and implication parsing. Discovered attributes are encoded as tag == summary >> facet and implications are encoded as attribute -> attribute. Multiple annotations are separated with ##.

Datasets

The primary contribution is the ImPaKT (Implication Parsing and Knowledge Extraction) dataset:

  • Source: ~2,500 text snippets from the C4 corpus, specifically product buying guides.
  • Content: Over 5,600 coarse attributes, 6,100 atomic attributes, and 3,700 implication relations.
  • Uniqueness: Unlike existing datasets like MAVE, ImPaKT doesn't just link to text spans; it provides human-authored summaries that normalize idiosyncratic text into canonical forms (e.g., mapping "doesn't feel like a sleeping bag" to "not constricting").

Key Insights and Ideas

  • Summarization as Schema Discovery: By asking annotators to provide a "summary" for every attribute, the authors enable the model to perform schema discovery. The model learns to map infinite variations of natural language onto a smaller, more manageable set of concepts.
  • Grounded Implications: The paper distinguishes between logical entailment (general truth) and textual implication (what the specific text asserts). This grounding makes the extracted knowledge more reliable for downstream tasks like search or recommendation.
  • LLMs as Parsers: The study reinforces that LLMs, when fine-tuned on structured templates, are remarkably good at extracting semi-structured data from noisy web text, effectively acting as "universal" information extractors.
Figure 1: Parsing a semi-structured implication relation from web text. We annotate attributes, and their sum- marized forms (in gray), attribute types (in bold), and implication relationships.

Key Results

The authors evaluated their approach by building a mini-KB from 1 million sentences and having humans rate the results.

  • Precision and Directionality: The fine-tuned parser was significantly better at identifying directional relationships than standard statistical methods like Pointwise Mutual Information (PMI). While PMI finds associations (A and B are related), the parser correctly identifies that A implies B, but B might not imply A.
  • Human Validation: In a Likert-scale evaluation, the top 100 implications generated by the parser showed strong precision. For instance, the model correctly identified that "latex" (material) implies "natural" (naturality) in the context of pillows.
Rater evaluations show that the parser (blue) captures stronger directional implications compared to the more bidirectional results of PMI (orange).

Limitations and Future Work

  • Domain Specificity: The current dataset is limited to the shopping domain. While the principles should transfer, the model would likely need new data to perform as well in, say, the medical or legal fields.
  • Complex Logic: The current experiments focused on "atomic" implications (one-to-one). The authors note that real-world language often involves complex conjunctions (A AND B $\Rightarrow$ C), which they hope to tackle in future iterations.
  • Cold-Start Evaluation: Evaluating open-schema KBs remains difficult because there is no "gold standard" list of all possible attributes to compare against.

Summary updated

BibTeX
@misc{vilnis2022impakt,
  author = {Luke Vilnis and Zach Fisher and Bhargav Kanagal and Patrick Murray and Sumit Sanghai},
  title = {{ImPaKT: A Dataset for Open-Schema Knowledge Base Construction}},
  year = {2022},
  eprint = {2212.10770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.10770},
}
Figure