Can Deep Neural Networks Predict Data Correlations from Column Names?

Immanuel Trummer
7/9/2021
cs.DBcs.CL

Official code: itrummer/DataCorrelationPredictionWithNLP (11 stars, Jupyter Notebook, last commit 2023-08-21).

Abstract

Recent publications suggest using natural language analysis on database schema elements to guide tuning and profiling efforts. The underlying hypothesis is that state-of-the-art language processing methods, so-called language models, are able to extract information on data properties from schema text.

Show full abstract

This paper examines that hypothesis in the context of data correlation analysis: is it possible to find column pairs with correlated data by analyzing their names via language models? First, the paper introduces a novel benchmark for data correlation analysis, created by analyzing thousands of Kaggle data sets (and available for download). Second, it uses that data to study the ability of language models to predict correlation, based on column names. The analysis covers different language models, various correlation metrics, and a multitude of accuracy metrics. It pinpoints factors that contribute to successful predictions, such as the length of column names as well as the ratio of words. Finally, \rev{the study analyzes the impact of column types on prediction performance.} The results show that schema text can be a useful source of information and inform future research efforts, targeted at NLP-enhanced database tuning and data profiling.

View on arXivView PDF

Code Implementations(1)

This project aims at predicting correlated column pairs in data tables by analyzing column names via large language models.

113Jupyter Notebook, PythonDec 29, 20203 years ago

Similar Papers

Cite this paper

@article{trummer2021deep,
  title  = {Can Deep Neural Networks Predict Data Correlations from Column Names?},
  author = {Immanuel Trummer},
  year   = {2021},
  eprint = {2107.04553},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.04553}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.04553.svg)](https://codeofpaper.com/paper/2107.04553)

Discussion