논문 해설
Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning
문맥화된 열 기반 표현 학습을 활용한 데이터 레이크에서의 의미 인식 데이터셋 탐색
- 연구 문제 데이터 레이크에서 테이블 유니온 검색은 컬럼 단위 유사도만으로는 테이블 문맥을 놓쳐 잘못된 후보를 찾기 쉽습니다.
- 연구 방법 Starmie는 pre-training 언어모델 기반의 다중 컬럼 인코더를 레이블 없이 대조학습하고, HNSW 인덱스와 이분 매칭 기반 검증으로 질의를 처리합니다.
- 주요 결과 SANTOS Small의 k=10 조건에서 Starmie는 MAP@10 0.993과 R@10 0.737을 보고했으며, SANTOS Large에서 HNSW 인덱스는 Linear보다 220배 빠른 질의 시간을 보고했습니다.
데이터 레이크에서 테이블 유니온 검색의 어려움
데이터 레이크에는 정부와 기관, 기업이 공개한 대량의 테이블이 쌓여 있으며, 이 중 질의 테이블과 합칠 수 있는 테이블을 찾는 일은 데이터셋 탐색의 핵심 과제입니다. 기존 방법은 컬럼마다 구문적 표현이나 단어 임베딩 등으로 유니온 가능성을 판단한 뒤 이를 테이블 단위로 집계했습니다. 그러나 컬럼 하나만 보면 같은 Year나 Destination이라는 이름도 테이블 문맥에 따라 전혀 다른 의미를 가질 수 있어 잘못된 정렬이 생깁니다. 이 논문은 레이블 없이 테이블 문맥을 반영한 컬럼 표현을 학습하고, 대규모 데이터 레이크에서도 질의를 빠르게 처리하는 방법을 제안합니다.

Figure 1 : An example of table union search on Open Data. approaches are supervised, they can only be applied to finding a limited set of semantic types (78 in their experiments), and while not a general solution for unionability in data lakes, they can be used in an offline fashion to find unionable tables containing the types on which they are trained. However, there are still plenty of opportunities to further im- prove the performance of table union search. One important issue is to learn sufficient contextual information between columns in ta- bles so as to determine the unionability. This point can be illustrated in the following motivation example.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.대조학습으로 문맥화된 컬럼 임베딩 학습
Starmie는 BERT와 RoBERTa 같은 pre-training 언어모델을 바탕으로 컬럼 인코더를 학습합니다. 학습은 SimCLR 방식의 대조학습을 따르며, 같은 컬럼에서 만든 두 개의 증강 뷰는 가깝게 두고 샘플링된 다른 컬럼은 멀리 떨어뜨리는 손실을 최소화합니다. 단일 컬럼 인코더는 컬럼 값만 입력으로 사용하지만, 다중 컬럼 인코더는 테이블의 여러 컬럼을 직렬화하고 각 컬럼 시작의 특수 토큰 표현을 문맥화된 컬럼 임베딩으로 사용합니다. 증강은 셀, 행, 컬럼 수준에서 적용되며, 보고된 ablation에서는 drop_col이 가장 높은 MAP@k를 보였습니다. 이 학습은 레이블 없이 수행되며, 저자들은 임의의 두 컬럼을 음성 예시로 쓰는 가정이 레이블된 학습 없이도 유효하다고 설명합니다.

Figure 2 : During the offline phase, Starmie pre-trains a multi- column table encoder using contrastive learning and stores the em- beddings of data lake columns in vector indices like HNSW. During online processing, Starmie retrieves candidate tables with similar contextualized column embeddings then verifies their table-level unionability scores using column alignment algorithms.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.
Figure 3 : Contrastive learning with single-column input.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Table 1 : Data augmentation operators at different levels.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.필터와 검증, 이분 매칭 점수
컬럼 유니온 가능성 점수는 두 컬럼 임베딩의 코사인 유사도로 계산됩니다. 테이블 점수는 두 테이블의 컬럼 쌍 중 임계값 이상인 간선으로 가중 이분 그래프를 만들고 최대 매칭 점수로 정의합니다. 이 계산은 비용이 크므로 Starmie는 필터-검증 구조를 사용합니다. 먼저 벡터 인덱스에서 후보 테이블을 찾고, 간선을 가중치 순으로 탐욕적으로 골라 하한 LB와 상한 UB를 추정하여 정확한 검증 횟수를 줄입니다. 예시에서 상한은 3, 하한은 1.5, 정확한 값은 2.15로 계산되었습니다. 보고된 실험에서 Linear 방식의 평균 검증 수 550은 Pruning에서 342로 줄었습니다.

Figure 7 : Example of table unionability score via maximum bipartite matching. Solid (red) lines denote the edges belong- ing to the maximum matching.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.HNSW 인덱스와 근사 검색의 한계
Starmie는 컬럼 임베딩을 LSH 또는 HNSW 인덱스에 저장하고, 질의 컬럼과 가까운 컬럼을 찾아 후보 테이블을 모읍니다. HNSW는 여러 층의 근접 그래프로 최근접 이웃을 빠르게 찾는 방법입니다. 이 인덱스들은 근사 결과를 반환하므로 상위 k에서 거짓 음성이 생길 수 있다고 원문은 밝힙니다. 저자들은 이 효과 손실이 합리적인 범위에 있었다고 보고합니다.
SANTOS Small 효과성 검증
효과성 실험은 SANTOS Small, TUS Small, TUS Large에서 MAP@k와 R@k로 수행되었습니다. SANTOS Small에서 k를 10으로 두었을 때 Starmie는 MAP@10 0.993, R@10 0.737을 기록했습니다. 같은 벤치마크에서 SingleCol 변형은 MAP 0.891, R 0.588이었고, SANTOS는 MAP 0.930, R 0.690이었습니다. 따라서 문맥을 반영한 다중 컬럼 설정이 단일 컬럼 설정보다 높은 값을 보였다는 결과는 이 벤치마크와 k=10 조건에서 읽어야 합니다. 표에 보고된 TUS 결과는 k=60 조건에서 측정되었습니다.

Table 2 : Effectiveness (top) and scalability (bottom) benchmarks.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Table 3 : MAP@k and R@k results on all benchmarks with ground truth, where k=10 for SANTOS Small benchmark and k=60 for the TUS benchmarks. The IDEAL R@k forSANTOS Small is 0.75, IDEAL R@k for TUS Small is 0.341, and IDEAL R@k for TUS Large is 0.277.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.대규모 데이터 레이크에서의 질의 시간
확장성 실험은 SANTOS Large와 WDC 벤치마크에서 Linear, Pruning, LSH, HNSW 방식의 평균 질의 시간을 비교합니다. SANTOS Large에서 HNSW 인덱스는 평균 질의 시간이 약 300ms였고, Linear보다 220배, LSH 인덱스보다 11배 빠르다고 보고되었습니다. 이 수치는 SANTOS Large에서 k를 변화시킨 결과이며, WDC 전체 실험에서는 HNSW 시간이 약 60ms로 유지되었다고 보고합니다. 이 속도 향상은 효과성 지표와 별개로 측정된 질의 시간이므로, 같은 조건의 정확도 향상으로 읽지 않습니다.
ML 과제와 컬럼 클러스터링의 적용
데이터 발견의 적용으로 WDC 웹 테이블에서 추출한 25개 회귀 과제를 평가했습니다. 각 과제에서 Starmie가 검색한 테이블을 질의 테이블과 왼쪽 조인하면 25개 과제 평균 MSE가 0.0699로 NoJoin의 0.0820보다 낮아졌습니다. 같은 실험에서 Jaccard는 0.0753, Overlap은 0.0748이었습니다. 또한 컬럼 클러스터링에서 Starmie 임베딩을 사용한 연결 성분 군집은 2,297개 클러스터와 평균 크기 51.96, purity 51.19를 보고했습니다. 이 결과들은 검색 효과성과 별도로 확인된 응용 사례이며, 원문은 이를 대규모 일반화로 제시하지 않습니다.

Table 7 : Performance gain of data discovery methods on 25 rating prediction tasks from WDC.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.
Figure 11 : Example tables retrieved by Jaccard vs. Starmie. By join- ing the query table with the DL table retrieved by Starmie, the MSE for predicting the “Rating” attribute drops from 0.1598 to 0.1195 (vs. 0.1544 when joining with the table retrieved by Jaccard).
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.
Table 9 : Column clusters discovered by Starmie. We show the first 3 values from 3 columns of each cluster. The clusters have finer-grained types (e.g., names of schools, grocery stores, song names) than the original ground truth types (e.g., type, name, artist).
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.
Table 11 : Detailed MSE scores of 25 regressions tasks with different data discovery methods. The Reduction columns measure the improvement of each method against NoJoin.
원문 · CC BY 4.0 · Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller · Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.적용 범위와 남은 질문
이 연구의 핵심 결과는 SANTOS Small, TUS 벤치마크, WDC 기반 실험과 특정 설정에서 얻은 것입니다. 인덱스는 근사 결과를 반환하므로 효율과 효과성 사이에 trade-off가 있습니다. 또한 원문의 설정 표와 실험 조건은 각 결과에 연결되어 있으므로, 한 벤치마크의 결과를 모든 데이터 레이크에 바로 적용하지 않아야 합니다. 저자들은 조인 가능한 테이블 검색과 컬럼 클러스터링을 향후 더 탐색할 과제로 언급합니다.
논문 정보
- 저자
- Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2022년 10월 4일
- 등록일
- 2026년 11월 6일
- 수정일
- 2023년 1월 15일
- 버전
- v2
- arXiv
- 2210.01922
- 분류
- cs.DB
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
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).
원문 인용
Grace Fan, Jin Wang, Yuliang Li, Dan Zhang, Renée Miller (2022). Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning. arXiv:2210.01922v2. https://arxiv.org/abs/2210.01922v2
BibTeX
@misc{fan2022semantics,
title = {{Semantics-aware Dataset Discovery from Data Lakes with Contextualized Column-based Representation Learning}},
author = {Grace Fan and Jin Wang and Yuliang Li and Dan Zhang and Renée Miller},
year = {2022},
eprint = {2210.01922},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2210.01922v2}
}