English

Smallset Timelines: A Visual Representation of Data Preprocessing Decisions

Human-Computer Interaction 2022-06-13 v1

Abstract

Data preprocessing is a crucial stage in the data analysis pipeline, with both technical and social aspects to consider. Yet, the attention it receives is often lacking in research practice and dissemination. We present the Smallset Timeline, a visualisation to help reflect on and communicate data preprocessing decisions. A "Smallset" is a small selection of rows from the original dataset containing instances of dataset alterations. The Timeline is comprised of Smallset snapshots representing different points in the preprocessing stage and captions to describe the alterations visualised at each point. Edits, additions, and deletions to the dataset are highlighted with colour. We develop the R software package, smallsets, that can create Smallset Timelines from R and Python data preprocessing scripts. Constructing the figure asks practitioners to reflect on and revise decisions as necessary, while sharing it aims to make the process accessible to a diverse range of audiences. We present two case studies to illustrate use of the Smallset Timeline for visualising preprocessing decisions. Case studies include software defect data and income survey benchmark data, in which preprocessing affects levels of data loss and group fairness in prediction tasks, respectively. We envision Smallset Timelines as a go-to data provenance tool, enabling better documentation and communication of preprocessing tasks at large.

Keywords

Cite

@article{arxiv.2206.04875,
  title  = {Smallset Timelines: A Visual Representation of Data Preprocessing Decisions},
  author = {Lydia R. Lucchesi and Petra M. Kuhnert and Jenny L. Davis and Lexing Xie},
  journal= {arXiv preprint arXiv:2206.04875},
  year   = {2022}
}

Comments

In 2022 ACM Conference on Fairness, Accountability, and Transparency (FAccT '22), June 21-24, 2022, Seoul, Republic of Korea

R2 v1 2026-06-24T11:45:59.520Z