Annotating Columns with Pre-trained Language Models

Yoshihiko Suhara, Jinfeng Li, Yuliang Li, Dan Zhang, Çağatay Demiralp +2 more
4/5/2021
cs.DBcs.CL

Official code: megagonlabs/doduo (35 stars, Python, Apache-2.0, last commit 2022-06-10).

Abstract

Inferring meta information about tables, such as column headers or relationships between columns, is an active research topic in data management as we find many tables are missing some of this information. In this paper, we study the problem of annotating table columns (i.e., predicting column types and the relationships between columns) using only information from the table itself.

Show full abstract

We develop a multi-task learning framework (called Doduo) based on pre-trained language models, which takes the entire table as input and predicts column types/relations using a single model. Experimental results show that Doduo establishes new state-of-the-art performance on two benchmarks for the column type prediction and column relation prediction tasks with up to 4.0% and 11.9% improvements, respectively. We report that Doduo can already outperform the previous state-of-the-art performance with a minimal number of tokens, only 8 tokens per column. We release a toolbox (https://github.com/megagonlabs/doduo) and confirm the effectiveness of Doduo on a real-world data science problem through a case study.

View on arXivView PDF

Code Implementations(1)

megagonlabs/doduoOfficial100%
Apache-2.0

Annotating Columns with Pre-trained Language Models

3513Python, ShellApr 5, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{suhara2021annotating,
  title  = {Annotating Columns with Pre-trained Language Models},
  author = {Yoshihiko Suhara and Jinfeng Li and Yuliang Li and Dan Zhang and Çağatay Demiralp and Chen Chen and Wang-Chiew Tan},
  year   = {2021},
  eprint = {2104.01785},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.01785}
}

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/2104.01785.svg)](https://codeofpaper.com/paper/2104.01785)

Discussion