FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Language
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
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
17 more
- 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
- 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
- 2022Can Foundation Models Wrangle Your Data?cited by 173
- 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
- 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
- 2020Learning programs by learning from failurescited by 73
- 2021Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Datacited by 43
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2021Learning to Complete Code with Sketchescited by 23
- 2021FORTAP: Using Formulas for Numerical-Reasoning-Aware Table Pretrainingcited by 19
- 2020Unsupervised Paraphrase Generation using Pre-trained Language Modelscited by 15
- 2021TableSense: Spreadsheet Table Detection with Convolutional Neural Networkscited by 12
- 2021Multi-modal Program Inference: a Marriage of Pre-trainedLanguage Models and Component-based Synthesiscited by 12
- 2020Inductive Program Synthesis Over Noisy Datacited by 7
- 2022CORNET: Learning Table Formatting Rules By Examplecited by 4
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 4.
7 papers.
- 2024TQA-Bench: Evaluating LLMs for Multi-Table Question Answeringcited by 17
- 2024SheetAgent: Towards A Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Modelscited by 16
- 2025Diffusion is a code repair operator and generatorcited by 3
- 2023Towards Consistent Language Models Using Declarative Constraintscited by 1
- 2025LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialoguescited by 1
- 2025PLM4NDV: Minimizing Data Access for Number of Distinct Values Estimation with Pre-trained Language Modelscited by 0
- 2025Tabularis Formatus: Predictive Formatting for Tablescited by 0
- 2025Tabularis Formatus: Predictive Formatting for Tables14 Aug 2025
- 2025Diffusion is a code repair operator and generator14 Aug 2025
- 2025LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialogues18 Jul 2025
- 2025PLM4NDV: Minimizing Data Access for Number of Distinct Values Estimation with Pre-trained Language Models1 Apr 2025
- 2024TQA-Bench: Evaluating LLMs for Multi-Table Question Answering29 Nov 2024
- 2024SheetAgent: Towards A Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Models6 Mar 2024
- 2023Towards Consistent Language Models Using Declarative Constraints24 Dec 2023