[Paper Review] STable: Table Generation Framework for Encoder-Decoder Models
STable proposes a novel framework for text-to-table generation using a permutation-based training and grammar-constrained, dynamic cell-order decoding in encoder-decoder models. It achieves state-of-the-art results on multiple datasets, improving F1 scores by up to 15% through flexible, confidence-driven table generation that avoids error accumulation inherent in autoregressive methods.
The output structure of database-like tables, consisting of values structured in horizontal rows and vertical columns identifiable by name, can cover a wide range of NLP tasks. Following this constatation, we propose a framework for text-to-table neural models applicable to problems such as extraction of line items, joint entity and relation extraction, or knowledge base population. The permutation-based decoder of our proposal is a generalized sequential method that comprehends information from all cells in the table. The training maximizes the expected log-likelihood for a table's content across all random permutations of the factorization order. During the content inference, we exploit the model's ability to generate cells in any order by searching over possible orderings to maximize the model's confidence and avoid substantial error accumulation, which other sequential models are prone to. Experiments demonstrate a high practical value of the framework, which establishes state-of-the-art results on several challenging datasets, outperforming previous solutions by up to 15%.
Motivation & Objective
- To address error accumulation and structural inconsistency in autoregressive text-to-table generation by modeling table structure explicitly.
- To unify diverse NLP tasks—such as entity-relation extraction, knowledge base population, and invoice parsing—under a single, end-to-end trainable framework.
- To enable flexible, model-guided decoding order that maximizes confidence and avoids rigid row- or column-wise generation constraints.
- To improve generalization and robustness in table generation by training on all permutations of cell factorization order.
- To reduce downstream processing by directly outputting structured, valid tables without post-processing.
Proposed method
- Introduces a permutation-based training procedure that maximizes expected log-likelihood across all possible factorization orders of table cells.
- Employs a grammar-constrained decoder that ensures structural validity by preventing invalid token sequences (e.g., ending a cell without opening one).
- Uses a dynamic, confidence-based cell selection strategy during inference, choosing cells with the highest model confidence at each step to minimize error propagation.
- Supports parallel decoding of multiple cells per step, enabling speedups without significant performance degradation.
- Predicts the number of rows upfront, enabling structured initialization of the table before content generation.
- Leverages T5 and TILT-based encoders to process both plain text and document inputs, enabling broad applicability.
Experimental results
Research questions
- RQ1Can a permutation-based training scheme improve generalization and robustness in text-to-table generation?
- RQ2Does dynamic, confidence-driven cell ordering during decoding reduce error accumulation compared to fixed-order autoregressive generation?
- RQ3Can grammar-constrained decoding ensure structural validity of generated tables without requiring post-processing?
- RQ4How does the flexibility of decoding order impact performance across diverse table generation tasks?
- RQ5To what extent can parallel decoding speed up inference while preserving high-quality outputs?
Key findings
- STable achieved a 14.9% relative F1 improvement on the PWC ★ dataset, increasing from 26.8 to 30.8.
- On Bank Statements, the model achieved an 8.8-point F1 gain (61.1 to 69.9), representing a 14.4% relative improvement.
- The model outperformed linearized baselines on CORD and Rotowire Team datasets, demonstrating consistent gains across diverse tasks.
- The no-distant-rows constraint and column-by-column decoding order were suboptimal, indicating that flexible, model-guided ordering is superior.
- Parallel decoding of up to 10 cells per step reduced inference time by up to five times, with minimal performance drop on datasets like Team and DWIE.
- The choice of outer-loop heuristic (min/max inner score) had a greater impact on performance than the inner scoring method, validating the confidence-based selection strategy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.