Table Union Search with Preferences

Hamed Mirzaei, Davood RafieiWorkshops @ VLDB 2023

Abstract

Table Union Search (TUS) is a critical operation for data augmentation, yet standard methods often fail to provide relevant results for specific downstream tasks. This paper proposes incorporating user-defined preferences—Skyline, Novelty, Diversity, and Dependent Sets—into the TUS framework. By moving beyond simple Jaccard similarity and considering the user's ultimate goal, such as row expansion or column extension, the proposed methods significantly enhance the utility of retrieved webtables. Evaluation on WDC and WikiTables benchmarks demonstrates that preference-aware search consistently outperforms traditional TUS baselines.

Introduction

The web contains a vast corpus of relational tables ("webtables") that are invaluable for data augmentation, knowledge base population, and question answering. Table Union Search (TUS) is the operation used to find webtables that can be unioned with a query table—typically by identifying columns with high value overlap using metrics like Jaccard similarity.

However, this generic notion of "unionability" is often too coarse. For instance, if a user aims to expand a table by adding new rows, a search returning near-duplicate tables is counterproductive. Conversely, extending a table with new columns requires tables that share a key but possess different attributes. Standard TUS ignores these downstream goals, treats all columns independently, and frequently returns redundant results. This paper addresses these shortcomings by introducing user-defined preferences to filter and rank candidate tables effectively.

Methods

Building on a standard TUS framework that utilizes the "Weak And" (WAND) algorithm for efficient top-$k$ retrieval, the authors introduce four specific preferences to tailor search results:

  1. Skyline: Represents each table alignment as a numeric vector of unionability scores. It returns tables that offer the best alignments over various subsets of columns without being strictly dominated by other candidates.
  2. Diversity: Balances relevance with variety to resolve ambiguity. Since finding an optimal diverse set is computationally difficult, the authors adapt a greedy Swap algorithm to ensure a varied set of results.
  3. Novelty: A specialized version of diversity focused on maximizing the amount of new information (unique values) brought to the query table, also utilizing the Swap algorithm.
  4. Dependent Set: Standard TUS treats columns as isolated lists, losing semantic relationships (e.g., "City" and "Country"). This preference allows users to group dependent columns, concatenating their values into a single column to preserve joint distributions.
An example query table illustrating potential column dependencies (e.g., Country and City).

Experimental Setup

To evaluate these preferences, the authors constructed two new benchmark datasets:

  • WDC 2015: Derived from the Web Data Commons 2015 dataset, consisting of 14 query tables and 1,400 candidate webtables.
  • WikiTables: Derived from Wikipedia, consisting of 12 query tables and 1,200 candidate webtables.

Key Results

The performance was evaluated using Average F1-Measure@$k$ across two primary downstream tasks:

  • Task 1: Query Table Expansion (Adding Rows): Novelty and Diversity significantly outperformed standard TUS and TUS+ (a baseline with a key coverage filter). Novelty was particularly effective as its scoring function explicitly targets new row values.
  • Task 2: Query Table Extension (Adding Columns): Diversity and Novelty again surpassed the baselines. Diversity excelled here by favoring candidate tables that introduce entirely new, unmapped columns.
  • Dependent Sets: For both tasks, the Dependent Set preference showed strong performance gains over baselines when retrieving more than 5 tables ($k > 5$), validating the importance of preserving column relationships.
Performance comparison (Average F1-Measure@k) across WDC and WikiTables datasets.

Conclusion and Future Work

This research demonstrates that context dictates relevance in table search. By accounting for why a user is joining tables, preference-based algorithms provide more useful results than generic similarity metrics. While the current implementation relies on greedy approximations like the Swap algorithm to maintain computational feasibility, future work will explore even more efficient algorithmic approaches to support these preferences within TUS, aiming to further accelerate the search process without sacrificing quality.

Summary updated

BibTeX
@inproceedings{mirzaei2023table,
  author = {Hamed Mirzaei and Davood Rafiei},
  title = {{Table Union Search with Preferences}},
  booktitle = {Workshops @ VLDB},
  year = {2023},
  url = {https://openreview.net/forum?id=mSR3j4XoX9},
}
Figure