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

Generating Preview Tables for Entity Graphs

Ning Yan, Sona Hasani, Abolfazl Asudeh, Chengkai Li

TL;DR

This paper introduces "preview tables" as a novel way to provide users with a quick, compact overview of massive entity graphs. They developed scoring mechanisms to identify important entity types and relationships, and efficient algorithms to generate these tables, significantly outperforming brute-force methods and offering a practical solution for data exploration.

What Problem Does This Paper Address?

The explosion of massive, heterogeneous entity graphs (like knowledge bases, social networks, and biomedical databases) presents a significant challenge for users. These datasets are often vast and poorly documented, making it difficult and time-consuming to select the right graph for a specific task. Before downloading and loading entire datasets, users need a way to get a quick, intuitive understanding of the graph's structure and content. Existing methods like schema graphs or general schema summarization are often too complex or not tailored for this specific need of rapid, compact preview.

Methods

The core contribution is the concept of preview tables. These tables summarize an entity graph by selecting a few important entity types (as key attributes) and their most relevant relationships (as non-key attributes).

The authors developed:

  • Scoring Measures:
    • Key Attribute Scoring: Two methods, "Coverage-based" (counting entities of a type) and "Random-walk based" (inspired by PageRank, measuring an entity type's importance through graph traversal), to rank entity types.
  • Non-Key Attribute Scoring: "Coverage-based" (counting relationships of a type) and "Entropy-based" (measuring information content) to rank relationship types.
  • Optimization Problems: Formulated problems to find the "optimal" preview (highest score) under constraints on the number of tables (k) and non-key attributes (n) per table (concise previews), and additionally, constraints on the distance between entity types in the preview tables (tight/diverse previews).
  • Algorithms:
    • Brute-Force Algorithm: A baseline approach to enumerate all possibilities.
  • Dynamic-Programming Algorithm: An efficient method for discovering optimal concise previews.
  • Apriori-style Algorithm: An efficient method for discovering optimal tight and diverse previews, inspired by frequent itemset mining.

Datasets

The primary dataset used for evaluation was a dump of Freebase from September 28, 2012. Experiments were conducted on seven domains within Freebase: "books," "film," "music," "TV," "people," "basketball," and "architecture."

Key Insights and Ideas

  • Preview Tables as a Novel Abstraction: The idea of distilling complex entity graphs into a few well-structured tables is a practical and intuitive approach for data exploration.
  • Scoring Measures Capture Importance: Both coverage and random-walk based scoring for key attributes, and coverage/entropy for non-key attributes, effectively capture user-perceived importance, as validated by user studies.
  • Trade-off Between Size and Quality: The need to balance preview informativeness with display space constraints is crucial, leading to the formulation of size-constrained optimization problems.
  • Tight vs. Diverse Previews: The distinction between "tight" (closely related entity types) and "diverse" (unrelated entity types) previews offers users flexibility in how they want to explore the data.
  • Algorithmic Efficiency is Key: The brute-force approach is infeasible for large graphs, highlighting the necessity of dynamic-programming and Apriori-style algorithms for practical application.

Key Results

  • Scoring Accuracy: The proposed scoring measures (coverage and random-walk for key attributes, coverage and entropy for non-key attributes) showed high accuracy, often outperforming existing methods (like YPS09) in ranking important attributes, as measured by Precision-at-K, Average Precision, and nDCG. User studies also showed strong correlations between proposed measures and human judgment.
  • Algorithmic Efficiency: The Dynamic-Programming and Apriori-style algorithms significantly outperformed the brute-force approach, achieving speedups of orders of magnitude in most cases, making preview generation practical for large datasets.
  • User Study Findings:
    • "Tight" previews were found to be the most convenient to use in terms of time spent on tasks.
  • "Freebase" (gold standard) and "Tight" previews generally led to higher accuracy in answering existence test questions.
  • User experience perceptions didn't always align with task performance (e.g., "Graph" and "YPS09" were perceived as more informative but led to lower accuracy).

Limitations and Future Work

  • Tuple Selection: The current approach randomly samples tuples for preview tables. Future work could focus on selecting the most representative tuples.
  • Multi-way Relationships: Presenting multi-way relationships in preview tables can widen them, potentially violating size constraints. Alternative approaches for handling these are suggested.
  • Numeric Attributes: The current work focuses on named entities and relationships; incorporating numeric attributes is a future direction.
  • Parameter Suggestion: Developing automatic methods for suggesting parameters like k, n, and distance constraints (d) would enhance usability.
  • Choosing Preview Type: Providing guidelines or automatic techniques for deciding between tight and diverse previews is an open area.

Summary updated

BibTeX
@inproceedings{yan2016generating,
  author = {Ning Yan and Sona Hasani and Abolfazl Asudeh and Chengkai Li},
  title = {{Generating Preview Tables for Entity Graphs}},
  booktitle = {SIGMOD},
  year = {2016},
  doi = {10.1145/2882903.2915221},
}
Figure