Table-To-Text generation and pre-training with TabT5
Paper · 2022 · Ewa Andrejczuk, Julian Eisenschlos, Francesco Piccinno et al.
Summary
A table can say a great deal without containing a sentence. A spreadsheet column gets its meaning from a header, and entries on a row belong together even when their values look unrelated. A system that writes about a table has to carry these relationships into its answer. It also needs the freedom to produce the kind of answer the task calls for. That might be a sentence describing selected entries, a value calculated from a table, or a spreadsheet formula that refers back to nearby cells. TabT5 addresses both requirements by adapting T5, an architecture that reads an input sequence and generates a separate output sequence.
TabT5 reads the cells in row order and supplies their row and column positions alongside the text. It learns to use this information through additional training on Wikipedia tables. In the main training exercise, parts of a table are hidden, and the system generates the missing contents in order. The authors also try a follow-up exercise called ToTTify. They collect sentences from Wikipedia that share an entity, number, or date with a table, then ask the system to write the sentence using the table and the matching items as cues. The reconstruction exercise gives TabT5 practice using the context around missing entries. ToTTify gives it practice turning selected table information into prose.
The results differ by task. The large TabT5 reaches 93.61 sequence accuracy on the WikiSQL test set, compared with 89.5 for the strongest previously published result listed in the paper. On the Enron spreadsheet benchmark with formulas removed from the inputs, it reaches 71.79 top-ranked formula accuracy, against 69.40 for the authors’ T5-base baseline. On the FinQA challenge, large TabT5 reaches 68.00 execution accuracy, which measures whether running the predicted arithmetic program gives the correct result. On ToTTo, ToTTify raises overall test BLEU from 48.80 to 49.20 for base TabT5, while overall test PARENT, a score that also consults the source table, moves from 57.60 to 57.25. The extra training stage helps both measures on development data, but its effects depend on the split, metric, and task.
The authors also examine what happens when they remove the reconstruction stage or the coordinate information. The measured scores fall in the tasks where they report these comparisons, with an especially large drop on WikiSQL when the coordinate information is removed. A manual review of ToTTo errors gives a different view of the generated prose. Of 80 sampled outputs, 55% express the reference meaning in different words and 72.5% are judged acceptable overall. Other outputs change or introduce facts, sometimes while sounding fluent. The paper thus shows how structural information and table-oriented training can improve several forms of generation, while its error analysis shows why factual grounding still needs to be checked.
Deep dive: Table-To-Text generation and pre-training with TabT5
TabT5 adds row and column information to T5 and learns from Wikipedia tables to generate descriptions, spreadsheet formulas, and answers. · about 33 minutes to read
The problem and its context
What a table contributes to an answer
Reading a table involves working out which pieces of text belong together. A header describes a set of entries beneath it, while a row can assemble several attributes of the same subject. If an entry contains a date, its format gives a clue about the kind of information it carries. The column and neighbouring entries help determine what event that date describes. A system given the table as a string sees those same words and numbers, but the representation also has to give it a way to recover the relationships visible in the original layout.
The authors identify two sources of difficulty in applying general-purpose pretraining to tables. Much of the initial training they discuss uses ordinary documents and other unstructured writing. That can teach a system how a fluent sentence works, with less direct practice at combining the contents of cells. The architecture matters too. When a table is turned into a sequence, positions in the sequence express the order in which the cells were read. A column, however, may connect entries separated by much of that sequence. Knowing that two pieces of text share a column makes the relationship available explicitly.
The evidence a table provides is also different from the form in which a reader might want it returned. In table question answering, an answer may be taken from a cell or obtained by operating on several values. A description task asks for a sentence that expresses a selected fact, possibly changing the wording used in the cells. A spreadsheet task can ask for the formula that would go in a target cell. The formula is itself structured text. It may name operations and refer to a range, drawing on conventions in the surrounding cells and headers. These outputs all depend on tabular context, but they place different demands on the system that produces them.
The distinction matters to the paper’s choice of an encoder and a decoder. An encoder builds a contextual representation of the input. An encoder-only system can use that representation to select a cell or assign a label, as in the table applications the authors discuss. A decoder can use the representation to write a sequence. It can emit the contents of a cell when that is the desired answer, and it can also write a full sentence, a formula, or a program. The paper’s question is how to keep access to the table’s layout while making that wider range of outputs possible.
What earlier systems supplied
Turning tables into sequences was already a common way of preparing them for language processing. The paper describes earlier systems that read a table row by row, and some generation systems that insert separator tokens to mark rows or columns. Separators preserve boundaries in the string. Several table encoders went further by supplying structural positions alongside the ordinary one-dimensional positions. A row or column embedding is a trainable numerical representation that can give tokens a common signal when they share that coordinate. Other work put structural information into the attention mechanism, which governs how information from different input positions is combined.
TaPas is an important predecessor for TabT5. It adds table position information to an encoder based on BERT and trains on table inputs using masking. In that kind of exercise, some input text is hidden and the system learns to recover it from the visible context. The downstream tasks the authors discuss can return cells or aggregations. The system’s output mechanism is well suited to those answers because the answer space is closely related to the entries and operations available on the input side. TabT5 takes the idea of encoding the coordinates and extends the output side to generated sequences.
Earlier table training also varied in the material it hid. Some methods hid individual tokens, the units into which text is split for processing. Others removed the full contents of a cell. Whole-cell masking is particularly relevant to a table because a cell is already a meaningful unit. Its value may be a name made up of several pieces or a phrase that is especially easy to guess when part of it remains visible. Hiding the cell gives the surrounding table a greater role in the recovery exercise. TabT5 keeps coarse-grained corruption and uses a decoder to write the missing material as a sequence.
For table question answering, the paper describes methods that learn from final answers without having to predict the reference logical form during training. A logical form is a structured expression of the operation that yields an answer, such as a SQL query over the table. The authors use this weakly supervised setup on WikiSQL. Their earlier points of comparison include the TaPas approach and TAPEX. The latter supplies an example of an encoder-decoder approach without TabT5’s extra coordinate embeddings. Its place in the comparison illustrates that a generative architecture and explicit table positions are separate design choices.
Formula prediction had likewise already used a combination of input encoding and output generation. The paper describes SpreadsheetCoder as constructing representations of headers and cell data and passing them to a recurrent decoder. The decoder first produces a formula sketch and then fills in ranges. The authors describe a related approach from Cheng and colleagues in which a table encoder supplies a representation of the target cell to a similar decoder. Both approaches make the structure of the formula search explicit. TabT5 instead uses its sequence decoder to generate the formula end to end, using the same basic architecture that it applies to prose and question answering.
In data-to-text generation, the authors situate their work alongside the original ToTTo approach and the text-to-text approach of Kale and Rastogi. The former initializes an encoder and decoder from BERT. The latter uses T5. In the descriptions of both systems, separators mark structure in the linearized input. TabT5 makes the row and column positions available as embeddings, and it introduces training objectives tailored to tables. One objective concerns the recovery of missing table content, while the other resembles the controlled description task itself.
The paper also discusses concurrent work that adapts T5 to table-based generation. That work uses existing annotated datasets for intermediate training and concentrates on question answering. TabT5’s authors want an intermediate stage based on table material that can support several downstream tasks. Their distinction is important for the experimental design. If the same intermediate exercise helps with a formula, a short answer, and a sentence, the experiment gives evidence for reuse across output types. If an exercise designed to resemble a description task helps chiefly with descriptions, it answers a different question about how closely training should match the eventual application.
The method, step by step
From a grid to an input sequence
TabT5 starts with a table and any text available for the particular example. The text might be a question, a document title, a caption, or metadata about the table. A header and an ordinary data cell are also treated as pieces of content. The paper describes a common representation for these components so that the same framework can cover different table tasks. The output is specified separately. In a question-answering example it is an answer sequence, in a description example it is prose, and in a spreadsheet example it is a formula.
The table is read row by row. This produces the order in which its content enters the encoder. The authors use the standard T5 tokenizer for the general setup. Tokenization splits text into units the system can process, and a word can span several such units. A cell remains the source of its tokens even after this split. The tokens get a row and column signal from their location in the table. A question and the linearized table can then enter as parts of the same input sequence.
The embeddings for row and column positions are added to the token embeddings at the input. A cell’s text supplies its lexical information. The added vectors supply information about where it occurs. For example, tokens from cells in different rows can have a common column signal, although they are separated in the serialization. Tokens from different columns on the same row can share a row signal. These embeddings start from random values and are learned during training. They are additional parameters alongside the pre-existing T5 parameters.
The decoder reads the representation produced by the encoder and generates the target in sequence. This is what makes the different applications fit the same architecture. A table, a question, and a target answer define a generation example. A spreadsheet neighbourhood and a target formula define another. The training objectives also take this form. In denoising, the input is a table with some content removed and the target consists of the missing material. In ToTTify, the input includes a table and cues and the target is a sentence.
Preparing and training TabT5 for table generation
The steps in order.
What the notation means
The paper expresses the task as conditional sequence generation. The quantity it wants to learn is:
P(y | x)
Here, P is the conditional probability assigned by the generator, y is the output sequence, and x is the input with its additional table structure. The vertical bar means “given.” Reading the expression from left to right gives the probability of the output sequence given the input. The same expression covers very different targets. On WikiSQL, the target represents the result of a question. In ToTTo it represents the wording of a description. In a denoising example it represents text removed from the input.
The paper writes the structured input in terms of components. In plain sequence notation, the representation is:
x = ⟨(uᵢ, tᵢ, cᵢ, rᵢ)⟩ᵢ₌₁ᴺ
Here, x is the full input and = identifies it with the sequence on the right. The angle brackets mark an ordered sequence, and the parentheses group the entries that describe one component. The index i runs from 1 through N, where N is the number of components in the example. The commas separate the entries in each component. uᵢ is its text, tᵢ is its discrete component type, cᵢ is its column coordinate, and rᵢ is its row coordinate. Types can distinguish items such as a question, a title, a caption, a header, and a cell. The number of components varies with the input.
A component and an input token are therefore different units. A component can be a whole cell with several words. The text in that component can contribute several tokens while retaining the cell’s coordinates. The component type describes the role of the piece of text, while the two coordinates describe table location. The architecture’s explicit description of extra input embeddings concerns the rows and columns. The general tuple is a description of how the information can be represented, with more fields than the coordinate addition alone.
T5 supplies the starting checkpoint, a saved set of parameters from earlier training. The work required for TabT5 is to adapt those parameters to table inputs and to learn the new coordinate embeddings. This keeps the usual sequence-to-sequence interface. Flattening establishes an order for the input and the embeddings preserve access to a property the order alone expresses indirectly. Since training still asks for a target string, a separate output mechanism is unnecessary for each of the applications studied.
Learning to restore missing table content
The common intermediate training source is the Wikipedia table collection introduced by Herzig and colleagues. The paper gives its size as 6.2M tables, made up of 3.3M Infobox tables and 2.9M WikiTable tables. The authors also extract passages associated with the tables. This gives them table text as well as surrounding language. For the reconstruction exercise, a target can be created from the table itself, so the exercise does not depend on collecting a handcrafted question, a spreadsheet formula, or a reference description for every training example.
The authors alter the input by hiding content at the scale of cells and columns. They use a corruption rate of 15%, following the rate used by T5. The paper’s illustration shows selected cells being replaced with a marker written as <X>. A marker of this kind is called a sentinel. In the altered input it signals a gap. In the output it delimits missing spans, letting the decoder generate the removed material in the order corresponding to the input. The target comprises the omitted spans, so the decoder’s training work is focused on restoring the concealed content.
Consider what that exercise asks the system to use. When a cell is hidden, the other entries on its row can provide evidence about the subject, while its header and other entries in the column can indicate what kind of value belongs there. The coordinate embeddings make those two kinds of context available at the input. Hiding material at column scale can change which clues survive. The system may need to draw on the rest of the table or associated text. The exercise is designed to make the structure of the example relevant to prediction, even though the quality of evidence will vary from table to table.
The authors call this process denoising because the initial input has been deliberately corrupted and the desired output restores the missing text. Their use of a joint encoder-decoder follows the T5 style of training. The encoder processes the visible evidence and the decoder practices producing text from it. This is useful to keep in mind when reading the later error analysis. The exercise rewards predicting plausible missing contents at marked locations, whereas a description task rewards an account supported by the table as given. The authors return to that difference when discussing names generated in error.
Learning to describe a table from cues
ToTTify is a follow-up stage inspired by ToTTo. Where denoising constructs targets out of table content that has been hidden, this stage looks for sentences associated with a table. The authors search the table’s Wikipedia page and material that links to that page. They retain a statement when an item in the sentence matches the table. The kinds of matches they describe are Wikipedia links, numbers, and dates. The retained collection contains 4M statements.
The sentence becomes the target. Matching items are added to the input as a plain-text component separated by commas. They guide generation by giving the system a clue about which part of the table should figure in the sentence. A table can support many possible descriptions. Even a straightforward table can be described by focusing on an individual entry, an event, or a relationship between values. Giving a cue narrows the content-selection problem while leaving the wording to the decoder.
The match is the selection rule for a training pair. A number or date that appears in both places signals a connection, and a link can identify a shared entity. The rule supplies data without requiring the writers of those sentences to have annotated table cells. It also allows a sentence to contain details whose connection to the table is less certain than that of the matched item. The resulting training stage is best understood as practice generating associated prose with table-related cues. Its relationship to the carefully prepared ToTTo task depends on how often the automatically collected pair expresses the kind of grounding the downstream task expects.
The sequence of training stages matters for interpreting the results. The authors run denoising first and apply ToTTify to the result when they want the extra stage. A comparison between the base TabT5 settings with and without ToTTify therefore concerns the addition of description-oriented training after denoising. It does not compare independent reconstructions and descriptions from the same original checkpoint. Later, the authors evaluate the effect of that extra stage both on the task it is meant to imitate and on other tasks with different targets.
Training schedules and task-specific settings
The paper reports 1M training steps for denoising and 100k steps for the optional ToTTify stage. It allocates 50k steps to fine-tuning on each task, meaning that the adapted checkpoint is trained using the inputs and reference outputs for that application. The schedule gives the common table exercise a separate stage from supervised task training. Afterwards, the input preparation and the output that the decoder must produce depend on the task.
The reported training setup uses 16 Cloud TPU v3 cores and has a maximum sequence length of 1024. The authors give approximate pretraining times of 3 days for the small variant, 8 days for base, and 13 days for large. Fine-tuning takes around 2 − 3 hours for a task. They report five independent runs as the general procedure, with results summarized by the median and standard deviation. The ToTTo test submission and the FinQA output ensemble have their own reporting conditions.
The authors keep T5’s default hyper-parameters for both Enron and WikiSQL, setting the input and output sequence lengths to 1024 and 256, respectively. For ToTTo, the input length is 512, the output length is 256, and the batch size is 256. The learning rate is held at 1 × 10⁻⁴. The authors observe that the small and base variants quickly overfit on ToTTo, meaning that training can continue fitting the examples available to it without improving performance on held-out data. For those variants they increase dropout to 0.2 when pretraining is used. Dropout temporarily suppresses parts of the computation during training and is used here as a way to control that tendency.
FinQA adds input retrieval and an adaptation for numerals. The authors include the top 5 retrieved passages among the input components. They also split numbers so that individual digits are tokens, following the approach cited in PaLM. The decoder is trained to produce a numerical reasoning program for the question. The task therefore combines the table and passage input, the special handling of numbers, and a target whose meaning can be checked by executing it.
Experiments and results
Reading the reported scores
The experiments cover English tasks whose outputs range from a short answer to a sentence or a program. That variety is central to the claim about architecture, but it also means there is no single benchmark number that describes TabT5. A sequence accuracy score on WikiSQL asks whether the answer sequence is correct. On Enron, the top-ranked candidate has to be the reference formula. On FinQA, a predicted program can be examined as a sequence and by the result it produces. ToTTo instead evaluates a piece of natural language against references and, for PARENT, the table.
The comparisons also serve different purposes. Plain T5-base gives an indication of how much a general text-to-text starting point can already do on these inputs. Previously published approaches put the scores in the context of each benchmark. Changes within TabT5, especially those that hold its base size fixed, help investigate the effect of particular design choices. The reported standard deviations on many development and benchmark runs show how scores vary across repetitions. The test results submitted for ToTTo are a separate case, for which the paper gives one run.
ToTTo: writing a description of highlighted information
ToTTo contains 120.761 instances based on Wikipedia tables and descriptions grounded in those tables. Its creators used heuristics to pick possible tables and sentences. Annotators then highlighted the cells corresponding to the description and edited the language. This is a controlled generation task. The marked information indicates what the output should be about, so a system is judged on its handling of a designated part of the table instead of its choice of any interesting fact in the table.
The authors follow the official ToTTo scoring script and report BLEU and PARENT. BLEU uses matches between sequences of words in the output and reference. Word order and conventional phrasings can influence its score even when the output expresses the intended fact. PARENT also uses the supplied table in evaluating the generated text. The two metrics can therefore respond differently to a change in output. The paper gives overall scores and scores for the Non-Overlap subset, which it describes as out of domain with respect to the training data.
On the overall development set, the paper reports 47.00 ± 0.43 BLEU and 55.96 ± 0.31 PARENT for its T5-base baseline. Base TabT5 scores 49.00 ± 0.07 BLEU and 57.70 ± 0.11 PARENT. Adding ToTTify yields 49.50 ± 0.07 BLEU and 57.95 ± 0.05 PARENT on the same split. The development numbers from Kale and Rastogi are 47.70 BLEU and 57.10 PARENT overall. The authors note that the earlier result and their T5-base line use different T5 versions. They reproduced the earlier results with v1.0 and use v1.1 with the same hyper-parameters for their own T5 comparison.
The Non-Overlap development results follow a similar ordering for the base variants. Plain T5-base reaches 38.50 ± 0.48 BLEU and 51.14 ± 0.33 PARENT. Base TabT5 reaches 40.90 ± 0.13 BLEU and 53.12 ± 0.18 PARENT, and adding ToTTify brings those scores to 41.60 ± 0.05 and 53.65 ± 0.07. This matters because the gains in the overall development figures could otherwise be concentrated in examples more like the training data. The subset shows that the comparison also favours the table-adapted system on the benchmark’s own out-of-domain partition.
Published and TabT5 systems on ToTTo overall test BLEU
Base TabT5 improves on both baselines, and adding ToTTify gives the highest reported BLEU.
The numbers
| System or setting | BLEU |
|---|---|
| Parikh et al. | 44.00 |
| T5-base | 47.10 |
| TabT5-base | 48.80 |
| TabT5-base with ToTTify (this paper) | 49.20 |
On overall test PARENT, Parikh and colleagues have 52.60, plain T5-base has 56.17, and base TabT5 has 57.60. The ToTTify variant has 57.25. The additional stage thus raises overall test BLEU while the reported PARENT goes down. This same distinction appears on the Non-Overlap test subset. Base TabT5 has 40.70 BLEU and 53.20 PARENT there, while ToTTify has 41.00 BLEU and 52.78 PARENT. Both variants reach higher scores than the T5-base baseline on both Non-Overlap test measures, for which T5-base has 38.70 BLEU and 51.39 PARENT.
The authors submitted the test outputs externally and report one run because the process was laborious. Their comparisons reflect what earlier work published for each split. Parikh and colleagues do not supply development figures in the paper cited, and Kale and Rastogi do not supply a base test result. The independent development runs and the single test submission offer different kinds of evidence. The development results show run-to-run variation and consistent directions across the reported metrics. The test figures show the ranking for the submitted outputs.
WikiSQL: generating an answer without training on the query
WikiSQL contains 80.654 instances. The questions were developed by asking workers to turn templates into natural language and using further groups to check and correct the paraphrases. A reference SQL query accompanies an example. The TabT5 authors run that query using their own SQL implementation to obtain the reference answer. During training, the system is given the table and natural-language question and learns to produce the answer sequence. The reference query serves to construct the answer and is withheld as a prediction target.
This distinction is important when comparing the task to FinQA. WikiSQL is used here to measure the generated answer under weak supervision. An answer can be correct even if the experiment gives no visibility into the procedure by which the decoder reached it. When an answer does require combining cells, the score reflects whether the output matches the result of the reference operation. It gives the same credit to a successful extraction and to a successful calculation when each is the kind of answer the example calls for.
Published and TabT5 systems on WikiSQL test sequence accuracy
Base TabT5 exceeds the strongest listed prior result, and large TabT5 scores highest.
The numbers
| System or setting | sequence accuracy |
|---|---|
| Herzig et al. | 83.6 |
| Liu et al. | 89.5 |
| T5-base | 84.27 |
| TabT5-small | 89.15 |
| TabT5-base | 91.45 |
| TabT5-large (this paper) | 93.61 |
The WikiSQL development set provides a second view of the comparison. Herzig and colleagues have 85.1 sequence accuracy and Liu and colleagues have 89.2. The paper’s T5-base result is 85.29 ± 0.45. Small TabT5 scores 90.56 ± 0.15, base reaches 92.55 ± 0.23, and large reaches 94.92 ± 0.04. The small variant therefore exceeds both published comparison scores on development data. On test, it exceeds the reported Herzig score and the plain T5 baseline, while Liu and colleagues retain the higher score of those two settings. Base and large TabT5 lead both published comparisons on both splits.
The size comparison is useful alongside the scores. The paper gives TabT5-base as 220M parameters, the BERT system cited from Herzig and colleagues as 380M, and the BART large system cited from Liu and colleagues as approximately 418M. The base result hence exceeds the listed sequence accuracy of those larger systems in this experiment. Large TabT5 has 770M parameters and gives the highest WikiSQL figures reported in the paper. The experiment shows both an advantage for the base adaptation over the listed alternatives and a further gain for the larger version within the TabT5 family.
Enron: producing formulas from spreadsheet context
The Enron benchmark draws on over 17K spreadsheets taken from the Enron email corpus and contains 218.798 instances. The task focuses on formulas whose referenced cells lie in a rectangular neighbourhood of the target and its headers. The input supplies that spreadsheet context. There is no natural-language question asking the system to carry out a calculation. The system must infer what formula belongs in the target cell and express it as a sequence, including the pertinent references.
In the main experiment, the authors remove formulas from all input cells. They exclude examples with erroneous formulas and examples with references to ranges in other tables, applying the filtering to the inputs and target formulas as described in the paper. This preparation matters because the original data often contain the target formula elsewhere in the input. With surrounding formulas removed, the system can still use headers and cell values to infer what belongs in the target cell. The easy path of reproducing an available formula is much less accessible.
Formula prediction on Enron with input formulas removed, top-ranked accuracy
Plain T5 improves substantially on the earlier systems, and TabT5 adds a further gain.
The numbers
| System or setting | top-ranked formula accuracy |
|---|---|
| Chen et al. | 42.51 |
| Cheng et al. | 56.30 |
| T5-base | 69.40 |
| TabT5-small | 71.33 |
| TabT5-base | 71.61 |
| TabT5-large (this paper) | 71.79 |
The size of the plain T5 result matters for attributing the improvement. The two earlier formula systems have lower top-ranked accuracy than T5-base in the reported comparison. Thus the basic text-to-text architecture already changes the benchmark result substantially. The improvements from the table adaptation are measured against that stronger baseline. Small TabT5 reaches 71.33 ± 0.24, base reaches 71.61 ± 0.27, and large reaches 71.79 ± 0.20. The T5-base baseline is 69.40 ± 0.33. Within the TabT5 runs, the medians rise with capacity, with differences among the variants much narrower than their separation from the earlier published systems.
The appendix reports a version of the experiment in which the original formulas are visible in surrounding cells. There the T5-base result is 93.05 ± 0.98 top-ranked accuracy. Small TabT5 reaches 95.39 ± 0.17 and base TabT5 reaches 95.59 ± 0.08. These results answer a practical question about completing a formula when previous formulas are available. The authors regard that as a realistic scenario because the tables come from company spreadsheets. They explain the high scores in light of the opportunity to copy all or part of a formula from nearby cells. The main experiment’s preparation gives a better view of performance with that evidence removed.
FinQA: a program and its executed result
FinQA contains 8.281 financial question-answer pairs and records numerical reasoning as a sequence of mathematical operations. A target program gives a more explicit description of the intended computation than a single answer value. TabT5 receives table material, the question, and the retrieved passages. It generates a program, whose answer can be obtained by running it.
The paper reports both program accuracy and execution accuracy for the challenge. The former concerns correctness of the predicted program. The latter concerns the answer it returns. These measures address different properties of the output. Inspecting the program checks the operations and arguments used to express the answer, while executing it checks the resulting value. The paper reports an ensemble over 5 execution outputs. This condition is specific to the challenge results and should be kept with the numbers when comparing them to other tasks.
The FinQA baseline from Chen and colleagues scores 61.24 program accuracy and 58.86 execution accuracy. Plain T5-base gives 62.69 and 60.33 on those respective measures. Base TabT5 reaches 66.7 program accuracy and 64.43 execution accuracy. Large TabT5 reaches 70.79 program accuracy and 68.00 execution accuracy. The challenge table presents these as challenge results without further split labels. The paper also reports that TabT5 placed third in the SUKI workshop competition. The baseline comparison establishes improvement over the systems listed in the paper, while the workshop placement describes its position in a separate field of entrants.
What the ablations show
Removing denoising or the row and column embeddings
An ablation changes a component of a system and reruns the experiment to see how the measured result responds. The authors conduct component-removal runs on the base variant because of the computational cost. One version omits denoising. Another omits the row and column embeddings. The comparisons are given for ToTTo, WikiSQL, and Enron. FinQA has a comparison between plain T5 and full TabT5 variants, which gives a combined result for the system as used in that challenge.
Removing denoising gives the clearest drop of the two removals on overall ToTTo development BLEU. The full base setting has 49.00 ± 0.07 and the setting without denoising has 47.50 ± 0.43. Overall development PARENT moves from 57.70 ± 0.11 to 56.11 ± 0.40. Removing the coordinate embeddings gives 48.60 ± 0.17 BLEU and 57.12 ± 0.23 PARENT on that split. The coordinate signal helps by both measures, with a smaller change than the one seen when the training exercise is removed. On Non-Overlap development BLEU, the corresponding settings are 40.90 ± 0.13 for full base, 39.00 ± 0.64 without denoising, and 40.50 ± 0.26 without the embeddings. The removal results thus extend beyond the overall development numbers.
WikiSQL shows a different ordering of the removals. On test sequence accuracy, base TabT5 scores 91.45 ± 0.21. Removing denoising yields 87.51 ± 0.19, and removing the coordinate embeddings yields 84.39 ± 0.13. The latter is close to the plain T5-base test score of 84.27 ± 0.39. The development results also favour the full base version, at 92.55 ± 0.23 compared with 88.87 ± 0.31 without denoising and 85.51 ± 0.23 without the coordinates. In this setup, the direct representation of table positions is especially consequential. The comparison tests the value of those embeddings alongside the other parts of TabT5, rather than identifying what the system learned about any specific kind of question.
For Enron with input formulas removed, base TabT5 scores 71.61 ± 0.27 on top-ranked formula accuracy. Without denoising it scores 70.47 ± 0.28, and without row and column embeddings it scores 70.07 ± 0.36. Both settings still exceed the paper’s plain T5-base median of 69.40. The table treatment helps a system whose starting architecture is already able to produce many of the formulas correctly. In the formula-visible version of Enron, the same ablations give 93.92 ± 0.16 without denoising and 95.00 ± 0.16 without coordinate embeddings, against 95.59 ± 0.08 for full base. The relative size of the removals changes when other formulas provide evidence in the input.
These comparisons concern performance under a specific training recipe. Dropping denoising removes a stage of training along with the exercise itself. It gives the net effect of including that stage, with its data and objective. Dropping the embeddings changes the way the system represents each table even though the words and reading order remain available. The pattern across tasks supports the authors’ case that both design choices contribute, while the differences between tasks show why the strength of one choice cannot be inferred from a pooled statement about all the results.
Adding description-oriented training
The ToTTify comparisons test whether an additional objective resembling the eventual task helps. On ToTTo development data, the variant with ToTTify has the strongest reported base results on both metrics, overall and on Non-Overlap. The test result is narrower. BLEU favours the extra training on both subsets, while PARENT favours base TabT5 with denoising alone. Thus the additional task-shaped training gives a clearer advantage for agreement with the reference wording than for both aspects of the held-out test evaluation together.
The other tasks reported with ToTTify show lower medians than base TabT5 with denoising alone. On WikiSQL, ToTTify gives 91.34 ± 0.17 development and 90.06 ± 0.15 test sequence accuracy, against the base setting’s 92.55 ± 0.23 and 91.45 ± 0.21. On Enron without input formulas, top-ranked accuracy is 71.18 ± 0.22 with the added stage and 71.61 ± 0.27 without it. With formulas visible, those figures are 95.50 ± 0.05 and 95.59 ± 0.08. The direction is shared, but the size of the change depends on the setup. The WikiSQL result shows the clearer deterioration, and the formula-visible result is very close to the original.
These results fit the scope of the ToTTify exercise. The targets are sentences and the cues identify table-linked items. On ToTTo, the desired output is also a sentence about selected evidence. On the formula task, the desired output follows a spreadsheet’s formal syntax, and on WikiSQL it is the answer to a particular question with a reference computed from SQL. The extra training gives practice at a particular kind of output. The scores document where that practice transferred in these experiments. They do not isolate whether task resemblance, the corpus selection rule, or other properties of the additional training account for the changes.
Varying size and inspecting generated sentences
The small, base, and large variants show how the results change with capacity in the authors’ setup. WikiSQL has clearly higher development and test sequence accuracy as size increases. Enron has the same ordering on top-ranked formula accuracy, with scores clustered more closely. FinQA reports the large variant ahead of base on both program and execution accuracy. ToTTo has a mixed pattern. On overall development BLEU, large TabT5 gives 48.50 ± 0.13 against 49.00 ± 0.07 for base. On Non-Overlap development BLEU, large reaches 41.05 ± 0.10 against 40.90 ± 0.13 for base. The authors suggest that the large version may need more careful hyper-parameter tuning on ToTTo. The reported scores show the outcome of the settings tried.
A manual review addresses a separate question about interpreting ToTTo scores. The authors randomly select 80 outputs treated as TabT5 errors and label them by what went wrong. They judge 55% to be paraphrases, with the same meaning expressed through changes in wording or order. Overall, 72.5% are acceptable, a category that includes correct statements that omit a detail judged incidental. They also report that 35% of the sampled TabT5 outputs are identical to the corresponding T5 outputs. That last figure describes agreement between systems and is separate from whether an output is judged correct.
The examples give concrete meaning to the labels. A sentence about Alma Jodorowsky can state her role in Kids in Love and place the year in a different part of the sentence while preserving the same information. A statement about a television broadcast can omit the year and still be deemed acceptable when the remaining description is correct. A description of Putney railway station can leave out one of the zones the station serves, in which case the omission can be important to what a reader learns. The judgments therefore involve the significance of the missing material as well as whether the text overlaps the reference.
Some errors are grounded in a more direct factual problem. The paper distinguishes output that contradicts the source from output whose detail cannot be checked against it. A generated award description, for instance, can give a title for a work that the table does not support. The authors also describe substitutions of related names, such as using Washington Wizards in a context that calls for Washington Huskies. About 50% of hallucination cases in the review are described as less severe because the sentences are fluent and broadly similar in meaning in spite of the wrong entity. The other 50% are farther from the intended meaning. The distinction concerns the extent of the departure, while an incorrect entity remains a factual error.
Grammatical errors form another category. The authors mention the insertion of a determiner before Watauga County, an error that leaves the intended fact recoverable while making the sentence less grammatical. Their remaining error categories include incorrect aggregations and reversing the roles of entities in a statement. These examples help explain the authors’ call for better evaluation. A different word order can preserve a fact, a small omission can change it, and a fluent rewrite can introduce a plausible but unsupported fact. A score based on wording similarity has limited access to those distinctions.
Limitations
Limits the authors state
The authors identify potential harms from using generated outputs in downstream applications. They point to two sources of training material when discussing this risk. TabT5 inherits an initial T5 checkpoint and then learns further from Wikipedia tables, which can introduce additional undesirable biases. The paper’s benchmark scores measure task performance and the manual review examines types of generation errors. The authors give no measured estimate of the prevalence or impact of those biases.
They also identify pretraining coverage as an open question. The intermediate training uses Wikipedia tables. The authors propose exploring larger or more application-specific sources, including web tables and spreadsheets. They also propose extending the work beyond English, with interest in languages that have fewer resources. The paper’s evaluation comprises English datasets. Its results leave the effect of additional sources and the transfer to other languages as questions for subsequent experiments.
There are practical limits on the evidence the authors were able to gather. Cost confines the component ablations to the base variant. The external ToTTo submission procedure leads to a single reported test run. Their discussion of the large TabT5 variant also points to the amount of tuning that may be necessary to get stronger ToTTo results. As a result, the paper can compare the observed size settings and report their outcomes, but it cannot establish that the same size ordering would hold under more extensive tuning.
The authors suggest that some fluent substitutions of wrong entities may be related to denoising. During training, the system has to supply an entity when it has been hidden. They speculate that this practice can contribute to generating a related name in a description even when it is absent from the input. The examples make the hypothesis understandable. The review does not compare the hallucination categories across controlled denoising settings, so the causal account remains a speculation in the paper.
Limits of the experimental setup
The architectural comparisons demonstrate that a single text-to-text design can be used across the tasks after task-specific fine-tuning. The final scores incorporate more than the coordinate representation alone. In FinQA, retrieval supplies passages, the tokenizer handles numbers specially, and the challenge result uses an ensemble. Those choices are part of the evaluated setup. The FinQA table gives the outcome of the combination, without showing how much of the change follows from each input or decoding choice. The base removals on the other benchmarks offer more targeted evidence for their respective settings.
Similarly, the position ablation compares supplying the learned row and column vectors with omitting them. It says less about whether a different structural representation could yield the same or better results. Earlier work discussed in the paper includes structural attention and other ways to indicate table boundaries or positions. The headline comparisons vary architectures and training recipes as well as the presence of embeddings. WikiSQL gives strong evidence for the coordinate vectors inside TabT5, while asking which structural representation works best would require a separate controlled experiment.
The denoising comparison leaves open which aspects of the exercise matter most. It changes the use of table reconstruction and the exposure supplied by a dedicated intermediate stage. There is no reported comparison among corruption rates, or among otherwise matched experiments that separately hide tokens, cells, and columns. One can conclude that the stated recipe improves the reported base settings. The experiment gives less evidence about the best unit to hide or about how much of the gain could come from some other use of the same tables.
There is also a limit to what the cue-matching procedure for ToTTify establishes about its examples. A shared link, date, or number gives the collection rule a visible point of contact between statement and table. The procedure as described does not verify every assertion in each sentence against the table. This matters for a task that expects generated prose to stay grounded. The results can measure the net effect of the added training on ToTTo under its metrics. They do not measure what share of the collected sentences would pass a fact-by-fact grounding check.
The Enron results demonstrate how much the information allowed in the input affects the problem. The authors report that over 70% of the original tables contain the target formula in the input table. Accuracy with the original formulas present can therefore reflect recognition and reuse of an existing formula. The results with formulas removed address a harder form of completion. The filtering also confines the main experiment to the local setting the authors describe. References to ranges in other tables are excluded, and performance on the prepared benchmark gives no direct measure of completing such formulas.
Finally, the manual ToTTo labels apply to a sample of outputs already counted as errors. The 72.5% acceptability figure characterizes that sample, instead of serving as an estimate of acceptability for all generations. It also combines paraphrases with correct statements that omit some secondary information. That judgment can be appropriate for the authors’ examples and still depend on how a reader plans to use the description. A review of outputs that includes both high-scoring and low-scoring cases would answer a broader question about when the automatic metrics track factual quality.
What came after
The later citing work places the relationship between tables and language at several different points in a task. TabT5 begins with a table and generates an answer, description, or formula from it. These papers concern how a table can be obtained from another form, how it can change while a question is being handled, how its implicit information can be made explicit, and how generation fits into a larger account of scientific work. Their citations establish that they refer to TabT5. The directions of their contributions can be described without assuming they used its checkpoint, embeddings, or intermediate training objectives.
DePlot uses plot-to-table translation for one-shot visual language reasoning. Its task puts the conversion into a table before the language reasoning stage. For TabT5, the table is supplied and the representation must preserve the structure needed for an output. For DePlot, the table also serves as an intermediate form for information that starts out in a plot. The connection is the role of a table in making relationships available to a language system. The stated contribution concerns the conversion of the plot and its use in reasoning.
Chain-of-Table makes the table evolve in the reasoning chain for table understanding. TabT5 gives the encoder a representation of the initial table and asks its decoder to generate the target sequence. Chain-of-Table places changing tables within the reasoning process itself. This shifts attention from how cells are encoded at the start of a task to how a table can represent the state of the task as work on it proceeds. Both approaches give the table a structural role, at different points in producing a result.
Transforming Science with Large Language Models is a survey of AI-assisted scientific discovery, experimentation, content generation, and evaluation. It cites TabT5 from a scope broader than table-specific generation. Producing text or formal outputs from a structured source is one part of the wider subject addressed by the survey. Its contribution is to examine scientific uses across several kinds of activity, so its citation places TabT5 alongside later discussion with a different purpose from a benchmark experiment or an architectural extension.
TEN takes up table explicitization with a neurosymbolic approach. Its stated problem concerns making table information explicit. The connection to TabT5 is that both treat the organization of a table as part of the information to be conveyed or used. TabT5 represents row and column positions inside a generator and evaluates the results on tasks with specified targets. TEN makes explicitization itself the subject of the work. The citing papers thus extend the setting in which a table matters, from a given source for generation to an intermediate representation, an evolving part of reasoning, or an object whose implicit content is made explicit.
Cite
Cite as Ewa Andrejczuk, Julian Eisenschlos, Francesco Piccinno, Syrine Krichene and Yasemin Altun. 2022. Table-To-Text generation and pre-training with TabT5. Findings of the Association for Computational Linguistics: EMNLP 2022.
@inproceedings{andrejczuk2022table,
title = {{Table-To-Text generation and pre-training with TabT5}},
author = {Ewa Andrejczuk, Julian Eisenschlos, Francesco Piccinno, Syrine Krichene and Yasemin Altun},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2022},
year = {2022},
doi = {10.18653/v1/2022.findings-emnlp.503},
url = {https://doi.org/10.18653/v1/2022.findings-emnlp.503}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/andrejczuk-2022-table-text-generation-pre-training/