Skip to main content
QUICK REVIEW

[Paper Review] Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning

Grace Fan, Jin Wang|arXiv (Cornell University)|Oct 4, 2022
Data Quality and ManagementDecision Sciences5 citations
TL;DR

This paper proposes Starmie, an end-to-end framework for semantics-aware dataset discovery in data lakes using contrastive, contextualized column representation learning. By training a multi-column Transformer encoder in a fully unsupervised manner on pre-trained language models, Starmie computes unionability scores via cosine similarity between column embeddings, achieving 6.8 higher MAP and recall than state-of-the-art methods, while accelerating query processing via an HNSW index with 3,000x speedup over linear scan.

ABSTRACT

Dataset discovery from data lakes is essential in many real application scenarios. In this paper, we propose Starmie, an end-to-end framework for dataset discovery from data lakes (with table union search as the main use case). Our proposed framework features a contrastive learning method to train column encoders from pre-trained language models in a fully unsupervised manner. The column encoder of Starmie captures the rich contextual semantic information within tables by leveraging a contrastive multi-column pre-training strategy. We utilize the cosine similarity between column embedding vectors as the column unionability score and propose a filter-and-verification framework that allows exploring a variety of design choices to compute the unionability score between two tables accordingly. Empirical evaluation results on real table benchmark datasets show that Starmie outperforms the best-known solutions in the effectiveness of table union search by 6.8 in MAP and recall. Moreover, Starmie is the first to employ the HNSW (Hierarchical Navigable Small World) index for accelerate query processing of table union search which provides a 3,000X performance gain over the linear scan baseline and a 400X performance gain over an LSH index (the state-of-the-art solution for data lake indexing).

Motivation & Objective

  • To address the limitations of keyword and syntactic search in data lake discovery due to inconsistent and incomplete metadata.
  • To improve table union search accuracy by capturing rich contextual semantic information across columns in a table.
  • To develop a fully unsupervised, scalable framework for dataset discovery that generalizes across diverse data lake environments.
  • To accelerate table union search at scale using efficient indexing structures like HNSW.

Proposed method

  • Leverages a contrastive multi-column pre-training strategy to train column encoders on pre-trained language models without labeled data.
  • Employs a multi-column table Transformer encoder to model contextual relationships between columns in a table.
  • Computes unionability scores using cosine similarity between learned column embedding vectors.
  • Introduces a filter-and-verification framework to explore diverse design choices for computing unionability scores.
  • Utilizes the HNSW (Hierarchical Navigable Small World) index to accelerate query processing in large-scale data lakes.
  • Trains the column encoder in a self-supervised manner using contrastive learning to maximize agreement between positive column pairs and minimize it for negative pairs.
Figure 1 . An example of table union search on Open Data.
Figure 1 . An example of table union search on Open Data.

Experimental results

Research questions

  • RQ1Can self-supervised, contextualized column representation learning improve the accuracy of table union search in data lakes?
  • RQ2How effective is contrastive learning in capturing semantic and contextual relationships between columns without labeled data?
  • RQ3Can efficient indexing structures like HNSW significantly accelerate table union search at scale?
  • RQ4How does the proposed framework compare to existing solutions in terms of precision, recall, and MAP on real-world benchmarks?

Key findings

  • Starmie outperforms the best-known solutions by 6.8 points in Mean Average Precision (MAP) and recall on real table benchmarks.
  • The framework achieves a 3,000x performance gain over linear scan and a 400x gain over LSH indexing via the HNSW index.
  • Starmie is the first to apply contrastive learning to table union search, enabling fully unsupervised, context-aware column representation learning.
  • The use of a multi-column Transformer encoder effectively captures inter-column context, improving unionability prediction.
  • The filter-and-verification framework enables flexible and effective computation of table unionability scores based on learned embeddings.
  • The source code, data, and artifacts are publicly available at https://github.com/megagonlabs/starmie.
Figure 2 . During the offline phase, $\mathsf{Starmie}$ pre-trains a multi-column table encoder using contrastive learning and stores the embeddings of data lake columns in vector indices like HNSW. During online processing, $\mathsf{Starmie}$ retrieves candidate tables with similar contextualized c
Figure 2 . During the offline phase, $\mathsf{Starmie}$ pre-trains a multi-column table encoder using contrastive learning and stores the embeddings of data lake columns in vector indices like HNSW. During online processing, $\mathsf{Starmie}$ retrieves candidate tables with similar contextualized c

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.