mlsanityData to 7 Oct 2026

FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Language

arXiv 2310.17306 ↗First posted 26 Oct 2023cs.AI cs.CL cs.DBcited by 7

Not on the map. Why?

Abstract (arXiv)

Formatting is an important property in tables for visualization, presentation, and analysis. Spreadsheet software allows users to automatically format their tables by writing data-dependent conditional formatting (CF) rules. Writing such rules is often challenging for users as it requires them to understand and implement the underlying logic. We present FormaT5, a transformer-based model that can generate a CF rule given the target table and a natural language description of the desired formatting logic. We find that user descriptions for these tasks are often under-specified or ambiguous, making it harder for code generation systems to accurately learn the desired rule in a single step. To tackle this problem of under-specification and minimise argument errors, FormaT5 learns to predict placeholders though an abstention objective. These placeholders can then be filled by a second model or, when examples of rows that should be formatted are available, by a programming-by-example system. To evaluate FormaT5 on diverse and real scenarios, we create an extensive benchmark of 1053 CF tasks, containing real-world descriptions collected from four different sources. We release our benchmarks to encourage research in this area. Abstention and filling allow FormaT5 to outperform 8 different neural approaches on our benchmarks, both with and without examples. Our results illustrate the value of building domain-specific learning systems.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 29 of its 56 references that are in the map. First posted on arXiv 26 Oct 2023.

Builds on

29 of 56 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  8. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  9. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  10. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
  11. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  12. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
17 more
  1. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
  2. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  3. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
  4. 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
  5. 2022Can Foundation Models Wrangle Your Data?cited by 173
  6. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
  7. 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
  8. 2020Learning programs by learning from failurescited by 73
  9. 2021Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Datacited by 43
  10. 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
  11. 2021Learning to Complete Code with Sketchescited by 23
  12. 2021FORTAP: Using Formulas for Numerical-Reasoning-Aware Table Pretrainingcited by 19
  13. 2020Unsupervised Paraphrase Generation using Pre-trained Language Modelscited by 15
  14. 2021TableSense: Spreadsheet Table Detection with Convolutional Neural Networkscited by 12
  15. 2021Multi-modal Program Inference: a Marriage of Pre-trainedLanguage Models and Component-based Synthesiscited by 12
  16. 2020Inductive Program Synthesis Over Noisy Datacited by 7
  17. 2022CORNET: Learning Table Formatting Rules By Examplecited by 4

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 2; 2025: 4.

7 papers.