Embedding File Structure for Tabular File Preparation
Abstract
We introduce the notion of file structure, the set of characters within a file's content that do not belong to data values. Data preparation can be considered as a pipeline of heterogeneous steps with the common theme of wrangling the structure of a file to access its payload in a downstream task. We claim that solving typical data preparation tasks benefits from an explicit representation of file structure. We propose a novel approach for learning such a representation, which we call a structural embedding, using the raw file content as input. Our approach is based on a novel neural network architecture, composed of a transformer module and a convolutional module, trained in a self-supervised fashion on almost 1M public data files to learn structural embeddings. We demonstrate the usefulness of structural embeddings in several steps of a data preparation pipeline: data loading, row classification, and column type annotation. For these tasks, we show that our approach obtains performances comparable with state-of-the-art baselines on six real-world datasets, and, more importantly, we improve upon such baselines by combining them with the structural embeddings provided by our approach.
BibTeX
@misc{vitagliano2024embedding,
author = {Gerardo Vitagliano and Mazhar Hameed and Alejandro Sierra Múnera and Felix Naumann},
title = {{Embedding File Structure for Tabular File Preparation}},
year = {2024},
url = {https://openreview.net/forum?id=2l7g7zwC4z},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.