mlsanityData to 14 Oct 2026

CORNET: Learning Table Formatting Rules By Example

arXiv 2208.06032 ↗First posted 11 Aug 2022cs.AI cs.DB cs.SEcited by 4

Not on the map. Why?

Abstract (arXiv)

Spreadsheets are widely used for table manipulation and presentation. Stylistic formatting of these tables is an important property for both presentation and analysis. As a result, popular spreadsheet software, such as Excel, supports automatically formatting tables based on rules. Unfortunately, writing such formatting rules can be challenging for users as it requires knowledge of the underlying rule language and data logic. We present CORNET, a system that tackles the novel problem of automatically learning such formatting rules from user examples in the form of formatted cells. CORNET takes inspiration from advances in inductive programming and combines symbolic rule enumeration with a neural ranker to learn conditional formatting rules. To motivate and evaluate our approach, we extracted tables with over 450K unique formatting rules from a corpus of over 1.8M real worksheets. Since we are the first to introduce conditional formatting, we compare CORNET to a wide range of symbolic and neural baselines adapted from related domains. Our results show that CORNET accurately learns rules across varying evaluation setups. Additionally, we show that CORNET finds shorter rules than those that a user has written and discovers rules in spreadsheets that users have manually formatted.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 14 of its 53 references that are in the map. First posted on arXiv 11 Aug 2022.

Builds on

14 of 53 references.

References · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  4. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 434
  5. 2018Stacked Cross Attention for Image-Text Matchingcited by 416
  6. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 398
  7. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  8. 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
  9. 2020Learning programs by learning from failurescited by 73
  10. 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
  11. 2020BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Explorationcited by 30
  12. 2021Shellcode_IA32: A Dataset for Automatic Shellcode Generationcited by 16
2 more
  1. 2016Component-based Synthesis of Table Consolidation and Transformation Tasks from Examplescited by 10
  2. 2019Example-Driven Query Intent Discovery: Abductive Reasoning using Semantic Similaritycited by 4

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 2.

4 papers.