Knowledge Acquisition and Integration with Expert-in-the-loop

Sajjadur Rahman, Frederick Choi, Hannah Kim, Dan Zhang, Estevam HruschkaarXiv 2024

Abstract

Constructing and serving knowledge graphs (KGs) is an iterative and human-centered process involving on-demand programming and analysis. In this paper, we present Kyurem, a programmable and interactive widget library that facilitates human-in-the-loop knowledge acquisition and integration to enable continuous curation of a knowledge graph. Kyurem provides a seamless environment within computational notebooks where data scientists explore a KG to identify opportunities for acquiring new knowledge and verify recommendations provided by AI agents for integrating the acquired knowledge in the KG. We refined Kyurem through participatory design and conducted case studies in a real-world setting for evaluation. The case-studies show that the introduction of Kyurem within an existing HR knowledge graph construction and serving platform improved the user experience of the experts and helped eradicate inefficiencies related to knowledge acquisition and integration tasks.

Introduction

Constructing a Knowledge Graph—a structured network of entities and their relationships—is rarely a fully automated process. It requires human experts to identify new information (acquisition), merge it into existing structures (integration), and ensure everything is accurate (canonicalization). Currently, data practitioners are forced into a "fragmented workflow." They might write Python code in a notebook, switch to a browser-based tool like Neo4j to visualize the graph, and then jump to a spreadsheet to verify raw text data. This constant context switching is not just tedious; it is mentally exhausting and makes it difficult to spot subtle data quality issues. The authors aim to bridge this "layout gap" by keeping the expert within a single, seamless environment.

The Kyurem Framework

The researchers developed Kyurem, a library built on the Magneton framework. Kyurem provides a suite of interactive widgets that live inside notebook cells, allowing for a more unified data science experience.

Kyurem System Architecture

Key technical features include:

  • Bidirectional Interaction: User actions on the visual widgets (like clicking a node) are translated into graph queries in the back-end, and vice versa.
  • Coordinated Views: The system synchronizes different perspectives. For example, selecting a candidate entity in a table can automatically highlight its neighborhood in a graph view and show its mentions in a raw text corpus.
  • Faceted Exploration: To handle large-scale data that would normally clutter a screen, Kyurem uses "faceted graphs" (super-graphs) to provide high-level overviews before diving into details.
  • Participatory Design: The tool was iteratively refined over six weeks working with 12 data practitioners (engineers, researchers, and taxonomy architects) to address real-world pain points.

Evaluation and Case Studies

The paper evaluates Kyurem through case studies in a real-world industrial setting at a large HR-tech firm ("Company-X"). The primary development and testing happened on Company-X’s internal Human Resources Knowledge Graph (HRKG). For publication purposes, the authors also demonstrated the system using the O*NET (Occupational Information Network) dataset.

HRKG Workflow and Design Process

Key Insights

  • Context is King for Validation: Experts often could not tell if an AI recommendation was correct until they saw the entity in its original textual context. Kyurem’s ability to show the graph and the source text side-by-side led to much more confident decision-making.
  • Low-Frequency Entities are Opportunities: Distribution widgets helped experts realize that low-frequency entities in the graph are often the best candidates for "Entity Set Expansion."
  • The "New Tool" Tax: Practitioners are often resistant to standalone tools. By embedding Kyurem into the notebooks they already use, the researchers lowered the barrier to adoption.

Results

The authors conducted two qualitative case studies:

  1. New Knowledge Acquisition: A participant mining new entities from job descriptions reported that coordinated views made qualitative validation much easier, allowing them to reject seeds that lacked proper context.
  2. Knowledge Integration: A participant focused on merging external data into the HRKG found the "verification widget" significantly faster than their previous CLI-based setup. The ability to stitch together coding, exploration, and visualization in one ecosystem was a major upgrade.

Limitations and Future Work

While Kyurem helps with context switching, computational notebooks are inherently linear. As a session progresses, the interface can still become cluttered. The authors suggest "sticky views" or split panes as a potential solution. Future work will also explore how Kyurem performs in other domains beyond Human Resources and address challenges in rendering thousands of nodes without creating visual "hairballs."

Summary updated

BibTeX
@misc{rahman2024knowledge,
  author = {Sajjadur Rahman and Frederick Choi and Hannah Kim and Dan Zhang and Estevam Hruschka},
  title = {{Knowledge Acquisition and Integration with Expert-in-the-loop}},
  year = {2024},
  eprint = {2402.03291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.03291},
}
Figure