English

Sherlock: A Deep Learning Approach to Semantic Data Type Detection

Machine Learning 2019-05-28 v1 Databases Information Retrieval Machine Learning

Abstract

Correctly detecting the semantic type of data columns is crucial for data science tasks such as automated data cleaning, schema matching, and data discovery. Existing data preparation and analysis systems rely on dictionary lookups and regular expression matching to detect semantic types. However, these matching-based approaches often are not robust to dirty data and only detect a limited number of types. We introduce Sherlock, a multi-input deep neural network for detecting semantic types. We train Sherlock on 686,765686,765 data columns retrieved from the VizNet corpus by matching 7878 semantic types from DBpedia to column headers. We characterize each matched column with 1,5881,588 features describing the statistical properties, character distributions, word embeddings, and paragraph vectors of column values. Sherlock achieves a support-weighted F1_1 score of 0.890.89, exceeding that of machine learning baselines, dictionary and regular expression benchmarks, and the consensus of crowdsourced annotations.

Keywords

Cite

@article{arxiv.1905.10688,
  title  = {Sherlock: A Deep Learning Approach to Semantic Data Type Detection},
  author = {Madelon Hulsebos and Kevin Hu and Michiel Bakker and Emanuel Zgraggen and Arvind Satyanarayan and Tim Kraska and Çağatay Demiralp and César Hidalgo},
  journal= {arXiv preprint arXiv:1905.10688},
  year   = {2019}
}

Comments

KDD'19

R2 v1 2026-06-23T09:24:16.173Z