Elamur Research

Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction

Paper · 2024 · Zheye Deng, Chunkit Chan, Weiqi Wang et al.

Summary

A football commentary can announce a goal, explain how the player scored, and repeat the score at halftime. A match statistics table needs to count the goal once and also count the scoring attempt as a shot. The same commentary can describe other shots as headers that went wide or attempts that were blocked. Turning this account into a table calls for more than locating numbers or matching words. The system has to decide which passages describe the same event, what each event counts towards, and which team gets credit. Deng and colleagues study these decisions with LiveSum, a benchmark of 3,771 football commentaries paired with human-annotated match statistics.

The paper’s method, Text-Tuple-Table, or 3T, moves through a list of compact records called tuples on its way from prose to cells. Each football tuple identifies an event and the team involved, with a player identifier when available. The next stage consolidates the tuples according to the counting instructions. In the default football setup, the system writes code to perform this operation. A final prompt turns the consolidated records into a table. The stages give the system a way to gather evidence from throughout the commentary before it calculates totals. The authors release their code and data in the LiveSum repository.

On the LiveSum test set, the best overall exact cell error rate among the fine-tuned systems in the main comparison is 75.71%. GPT-4 prompted to work through the task step by step reaches 46.20%, and the same system with 3T reaches 25.27%. Claude 3 Opus with 3T gives the lowest overall error rate in that comparison, 14.04%, with a root mean square error of 0.438. Gains extend to shots and fouls, the hardest group. A review of GPT-4 outputs also finds that missed or incorrectly identified events account for most of the errors the reviewers classify. Better counting depends on what the extraction stage has managed to capture.

The authors also test the tuple approach on basketball summaries whose facts are already stated and on encyclopedia passages that come without reference tables. The first experiment finds improvements on several measures of table quality. In the second, tables produced with 3T answer more questions about the original passages than tables produced by dividing up the prose. The extracted tuples themselves score better on that test than the finished tables. The result points to a cost that matters beyond football. Organizing facts into a readable layout can make some of them harder to recover.

Deep dive: Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction

Text-Tuple-Table turns football commentary into match statistics by extracting and combining events before filling the cells of a summary table. · about 37 minutes to read

The problem and its context

When a cell has to be worked out

A table is useful because readers can go straight to the intersection that answers a question. If they want to know how many shots the away team took, they can find the away team’s row and the shots column. In live commentary, the evidence for that cell is distributed across the account. It may include a goal described early in the match, a header described as a miss, and later attempts identified by what the goalkeeper or a defender did. Each description is informative on its own. The requested statistic is a property of the collection.

The paper contrasts this case with an example from basketball in which a sentence states the teams and the final score. A table generator can pick up the numbers and align them with the team names. It still has to extract the right information, but the passage has already done the work of calculating the scores. In the football example, the score is useful evidence for goals, while the total for shots still has to be assembled from individual descriptions. Even when both outputs look like small tables of integers, the processes needed to fill their cells differ. Challenges in Data-to-Document Generation.

There are several decisions between reading an event description and adding to a cell. First comes recognition. A report that a header went wide can count as a shot even if it uses a different expression from the column heading. Next comes attribution. The team that committed a foul and the team awarded a free kick belong in different records, even if both facts appear in a single sentence. Then comes reconciliation. A score announcement and a description of the scoring move can refer to the same event. Finally there is aggregation, which combines genuinely distinct events into a total. A mistake at any of these points can produce a plausible-looking number.

The distinction between repeated references and overlapping categories is especially important. When two lines refer to the same scoring event, their agreement does not justify adding another goal. When one scoring event qualifies both as a goal and as a shot, however, it belongs in both columns under the benchmark’s instructions. A rule that treats every overlap as duplication would suppress valid counts. A rule that treats every mention as a distinct event would inflate them. The generator needs a representation in which it can ask what happened and which statistics the occurrence affects.

This is why the paper treats text-to-table generation as a form of information extraction with a further integration problem. Extraction identifies the information relevant to a request. Integration combines evidence that may repeat, complement, or qualify other evidence. The table then presents the result under headings a reader can use. Putting those operations under a single instruction makes the task easy to state and makes errors hard to locate. A cell can be wrong because the source was misunderstood, because identified events were counted incorrectly, or because a statistic was placed under the wrong heading.

What earlier tasks asked systems to do

Some earlier datasets started with structured data and asked for prose describing it. The paper discusses sports reports and the E2E dataset as examples of data that originated in this broader tradition. Reversing the direction gives a passage as input and a table as output. This can test whether a system recovers structure and associates the right value with each entity. The authors argue that it can also leave the underlying content nearly unchanged across the formats, so the resulting task provides limited evidence about a system’s ability to derive a statistic from dispersed observations. The E2E Dataset.

The examples of table-to-text work cited in the paper help explain why this happens. When a structured input supplies the information for a biography or a description of a table region, the prose is intended to convey facts already present in the input. If that prose becomes the input to a reverse task, many of the target facts can be looked up directly. The authors’ objection concerns what can be learned from the evaluation. Recovering a stated value and deriving an unstated total are different requirements, even when both result in the same kind of cell. Neural Text Generation from Structured Data.

Earlier text-to-table approaches also frame the task in different ways. A sequence-to-sequence approach treats the table as an ordered output that can be generated from an input passage. Another approach uses question answering to elicit values from text under conditions supplied by the task. The choice of formulation affects how a system searches for the facts and expresses the output. Neither formulation, on its own, determines what evidence the dataset demands. If the answer to a cell question can be found in one sentence, asking that question will test something different from asking for a count that depends on a whole match.

The paper situates tuple extraction within earlier work on generative extraction. That work asks a system to produce structured descriptions of facts from prose, and unified extraction frameworks use instructions to specify what kinds of facts to return. Text-Tuple-Table borrows that flexibility. The extraction stage is guided by what the output is supposed to contain. A match statistics request and a basketball player statistics request call for different records even if both outputs will ultimately have rows and columns. Large Language Models for Generative Information Extraction.

A second line of influence is decomposed prompting, in which a system is asked to solve related subtasks separately. The paper discusses an earlier method called Divide-and-Generate that divides text into smaller portions and generates tables from them. The attraction is straightforward. Each local generation works from a more manageable amount of text. The concern is that the boundaries of a passage need not correspond to the boundaries of an event. In football commentary, the line announcing a goal and the line describing the finish could fall on opposite sides of a cut. Each portion could independently supply evidence for a goal, leaving their relationship to be resolved later. Decomposed Prompting.

Text-Tuple-Table decomposes the work by operation. It first asks which facts are relevant across the passage, then asks what those facts imply together, and finally asks how to lay them out. This motivates both the benchmark and the method. LiveSum supplies a case where moving between prose and tables changes what has to be inferred. The intermediate records give the authors something to inspect between the text and the final numbers.

The method, step by step

What the input and output mean

The task starts with a passage. It may also include instructions about the intended contents or layout of the tables. LiveSum is an instructed task. Its instructions specify which match events to count, how to classify certain cases, and how to organize the output. The encyclopedia experiment instead asks for useful facts without a passage-specific instruction that enumerates the cells. Both fit the paper’s definition because the instruction is optional.

S = (x, y)

Here S is the input, x is the source passage, and y is the instruction when one is supplied. The parentheses group the components of the input. In the uninstructed case, the source passage is the only one of these components present.

x = (x₁, …, xₙ)

The symbol xᵢ denotes the token at position i in the passage. A token is a unit of the text sequence. The subscript runs from the first position, 1, to the passage length n. The ellipsis stands for the intervening tokens.

y = (y₁, …, yₘ)

Here yᵢ is the instruction token at position i, and m is the number of tokens in the instruction. The sequence applies when the task supplies an instruction.

T = {T¹, …, Tᵏ},  k ≥ 1

The letter T denotes the output collection. Each Tⁱ is an individual table at index i. The superscripts distinguish tables and do not indicate powers. The braces enclose the collection, the ellipsis stands for its intervening members, and k ≥ 1 requires at least one output table.

cⁱ = (cⁱ₁, …, cⁱ_d),  d = |cⁱ|

Here cⁱ is the caption associated with table Tⁱ. The symbol cⁱⱼ denotes its token at position j, and d is the length of that caption, indicated by the vertical bars. The index i continues to refer to the table.

number of cells in Tⁱ = nⁱᵣ × nⁱ꜀

The quantities nⁱᵣ and nⁱ꜀ give the row and column counts for table Tⁱ. The multiplication sign combines these dimensions to give the number of positions in the grid. The paper assumes a regular grid without merged cells.

Tⁱ[p,q] = (Tⁱ[p,q,1], …, Tⁱ[p,q,r]),  r = |Tⁱ[p,q]|

The expression Tⁱ[p,q] denotes the cell in row p and column q of table i. In the expressions with a third index, that index selects a token inside the cell. The token sequence has length r, as indicated by the vertical bars. The paper uses the first column as the location of row headers when they are present, and the first row as the location of column headers when they are present.

The content requirement concerns the meaning of the whole statement that a cell makes. A value in a row headed Away Team and a column headed Shots is a count of shots by the away team. A caption can specify which match or passage the table concerns. The value alone does not carry any of that context. The formal definition therefore reads a cell together with the available headers and caption and requires that the resulting information be supported by, or inferable from, the passage. An instruction, when one exists, further constrains what the table should say. The definition allows row headers, column headers, or both.

From mentions to event records

The design starts from the observation that the relation among a row label, a column label, and a cell value can be represented as a triple. A tuple is an ordered record whose positions play distinct roles. For a table with both kinds of header, those roles can be the row, the column, and the value. With only one kind of header, the corresponding representation can be a pair. This motivates using records before the grid has been built. In particular, the first-stage record need not already contain the eventual value of a cell.

How Text-Tuple-Table builds a summary table

The steps in order.

How Text-Tuple-Table builds a summary tableStep 1: Read the passage and any task instructions1. Read the passage and any task instructionsStep 2: Extract relevant facts as tuples2. Extract relevant facts as tuplesStep 3: Consolidate tuples under the task rules3. Consolidate tuples under the task rulesStep 4: Place the consolidated values under table headers4. Place the consolidated values under table headers

In the general extraction prompt, the authors ask for relations involving a subject, an object, and an action, or attributes expressed as a subject, an attribute, and a value. The latter form fits a statement that already gives a player’s statistic. The former can preserve who did what before any total is available. The instructions tell the extractor which kind of information is relevant. The extractor reads the passage and returns the records to be passed to the next prompt.

LiveSum specializes the tuple format. If the commentary identifies a player, the record can carry player, team, and event. If only the team is known or the event is expressed at team level, the record can carry team and event. The extraction prompt sets a vocabulary tied to the target columns. The categories are goals, shots, fouls, yellow cards, red cards, corner kicks, free kicks, and offsides. The requested record format puts those labels where a later operation can use them to group observations.

A description of a missed header illustrates the kind of recognition required. The player name and team locate the actor. The fact that the header was an attempt identifies a shot under the task rule. The direction of the miss and its position on the pitch help a reader picture the play. Those details have no separate column in the requested table, so the extraction can leave them behind. The result preserves the actor and event category needed to update the shot total.

A foul and a free kick show why the extractor can need several records from a sentence. One match example describes a home player being awarded a free kick after an away player fouls him. The free-kick record belongs to the home team. The foul record belongs to the away team. A single record centered on the recipient of the free kick would miss the other statistic. Extracting a foul for the recipient would preserve the event category while reversing its attribution. The tuple format makes these two problems visible before they turn into unexplained differences in the totals.

Consolidating and counting the records

The integration stage receives tuples from extraction together with the applicable instructions. The general design allows the system to consolidate the records directly in its response. The default method for LiveSum instead prompts it to develop code for the consolidation. The generated program handles the counting, and the integrated result is passed to the table-generation prompt. Thus a system that interprets the text remains involved in deciding how the counting rules should be applied, while the arithmetic is carried out by the program.

The paper illustrates the approach with Python generated by GPT-4. The example creates a collection of counters for a team when the program encounters that team. It then uses the event field to select the relevant update. In the example, a goal increases the goals and shots counters. Other attempts, including saved, missed, or blocked ones, increase the shots counter. Handball and dangerous play are treated as fouls. A second yellow card contributes to the red card count, and the illustrated code also adds it to the yellow card count. A penalty can contribute to the free kick count. These rules explain why the task cannot always be reduced to counting how frequently each literal event label appears.

The code example shows conditional updates to event totals. It should be read alongside the paper’s motivating example of repeated goal descriptions. That example calls for deciding whether different pieces of text describe the same occurrence. Incrementing a counter is a separate operation. If several records for the same event reach a counting routine as distinct input items, counting them correctly requires that their shared identity has already been resolved or that the integration step can infer it from the records. The illustrated counter shows how category rules affect totals. It does not show a general test for determining whether two mentions are the same match event.

There is also a distinction between repeated mentions and repeated tuples. Two identical-looking records can arise because one action was described repeatedly, or because the same player carried out the same kind of action on different occasions. Collapsing identical records mechanically would lose valid events in the latter case. Conversely, records with different surface labels can refer to the same play. The paper’s global extraction prompt has access to the full match account, including surrounding evidence that may help with this distinction. The compact tuple format carries forward selected facts, making the quality of that selection consequential for integration.

For the last stage, a separate prompt receives the consolidated tuples and requests the final layout. LiveSum specifies comma-separated values, or CSV, with a row for each of the home and away teams and columns for the requested events. This stage associates the integrated numbers with their final headings. In a less constrained task, it can decide how to distribute material among captioned tables. The stages therefore have distinct contracts. Extraction supplies evidence, integration makes the evidence usable in combination, and table generation exposes the result under readable labels.

The same overall design changes with the source and goal. In Struc-Bench Table, the authors extract team or player attributes and their values. They pass those records to table generation without changing them in an integration stage because the target values are already available in the input. In the Wiki40B experiment, the system extracts useful attributes or relations, consolidates them directly when appropriate, and arranges the result into captioned Markdown tables. The stages define where a particular operation would occur. They do not require the same operation for every kind of passage.

How LiveSum was built

The authors collected BBC Sports live commentaries for English Premier League matches from 2014 to 2023. They obtained complete accounts for 3,771 matches. The source accounts presented formatting problems for the intended benchmark, so the authors used ChatGPT to rewrite commentary in a commentator’s style while introducing some variation. They then inspected sentences for changes of meaning and corrected cases they identified. The accounts therefore concern real matches, but the experimental passages include editorial and automatic transformations of the original wording.

Anonymization is a separate part of the production process. The authors obtained the player lists for the matches and combined string matching, textual similarity, and named entity recognition to match detected names against the rosters. Players received numbered identifiers with their team affiliation attached. Each team became Home Team or Away Team. The authors also describe manually checking for names that the automated process missed. By including team affiliation with a player identifier, they reduce the need to recover teams from prior knowledge or to reconstruct them from the passage.

Human annotation provided the reference statistics. The authors recruited five volunteers with an interest in football from English-speaking countries. The volunteers annotated the events, and disagreements were resolved by majority vote. The paper describes a review of 100 discrepant cases and attributes the observed discrepancies to carelessness. In the reference-building procedure, the reviewed events become records whose occurrences can be counted. The team labels become rows and the event types become columns. This reference process uses event annotation to establish the target, whereas 3T has to infer event records from the passage at evaluation time.

The authors randomly assigned 3,017 commentary–table pairs to the training set and 754 to the test set. Across LiveSum, the average commentary length is 1,256 words. The training and test averages are 1,258 and 1,250 words, respectively. Their similar lengths are consistent with the authors’ random division. Event frequency also varies considerably by category. The reported average occurrence frequencies in the test set include 12.55 for shots, 10.57 for fouls, and 0.03 for red cards. These are dataset statistics about the events, whereas the performance measures later in the paper describe errors in the output cells.

What was trained and what was prompted

The paper’s fine-tuned comparators learn from LiveSum training examples. Fine-tuning adapts a pretrained system to a task by updating parameters on examples of the desired behavior. The authors use LoRA to make that adaptation fit their computational resources. LoRA represents the trainable changes using low-rank components. The setup uses rank 8 and an alpha setting of 32. The rank controls the size of the low-rank representation, and alpha is its scaling setting.

The training setup loads the pretrained weights in FP16, uses the Adam optimizer, and sets the learning rate to 5e-5 with a batch size of 32. The maximum length of the combined input and generated sequence is 3,500. The run uses a linear schedule, a warm-up of 3,000 steps, and evaluation every 300 steps. These settings specify the supervised comparison. The extraction, integration, and table prompts of 3T do not involve an additional LiveSum parameter update.

The direct zero-shot prompt gives the system the counting rules, the commentary, and the required format, without a worked example. Its chain-of-thought counterpart asks it to work through the task step by step before presenting the table. Both receive the same substantive rules. This gives the authors a comparison with a simpler way of encouraging intermediate work. The phrasing can elicit a written reasoning process, while 3T passes the outputs of separate stages forward as explicit inputs. The API experiments use a temperature of zero. Chain-of-Thought Prompting.

The supplementary example-based experiments draw examples from the LiveSum training split. The authors sample from matches in which all event categories occur, and they include the reasoning in demonstrations for the chain-of-thought condition. This is few-shot learning in the sense used in the paper. Examples are supplied in the prompt in the hope that the system can use them to solve the next instance. The example selection matters because a full case can illustrate even the rarely observed categories. It also makes an already long input longer.

How the paper scores a table

The football tables have numeric cells with a fixed interpretation, so the paper evaluates them with root mean square error, abbreviated RMSE, and exact cell error rate, abbreviated ER. RMSE is given by the following expression.

RMSE = √[(Σᵢ₌₁ⁿ (yᵢ − ỹᵢ)²) ÷ n]

Here n is the number of evaluated cells, and i indexes them after laying out the table as a single sequence of cells. The symbol yᵢ is the reference value at that position, and ỹᵢ is the generated value at the same position. In this expression, y refers to cell values rather than to the instruction sequence in the task definition. The subtraction gives the difference between the values, the superscript ² squares it, Σ adds over the cells from 1 through n, and division by n gives the mean. The square root returns the result to the scale of the cell values.

ER counts a cell as wrong whenever its value differs from the reference. It gives the same weight to a small mismatch and a much larger one. RMSE gives larger disagreements more influence. A system can therefore move closer to the correct counts while still getting about the same share of cells wrong. It can also make more cells exact while introducing large errors in a smaller set. Using both measures helps distinguish these outcomes. The authors use regular expressions to recognize outputs in a range of surface formats and filter out instances whose tables cannot be parsed meaningfully.

Wiki40B has no reference tables, so the paper uses Auto-QA Coverage. The metric comes from the earlier work that introduced Divide-and-Generate. A question generator uses the passage to propose questions and answers. A separate answering step uses the candidate table. The evaluation then checks whether the table-based answer agrees with the answer based on the passage. The authors add a screening step to remove proposed questions that ChatGPT cannot answer correctly from the source passage.

Cov(T) = (Σᵢ₌₁^|G(S)| E₍qᵢ,aᵢ₎[Q(T,qᵢ)]) ÷ |G(S)|

Here Cov(T) is the coverage score for the generated table representation T. In this experiment S is the source passage. The function G produces the list of question–answer pairs from that passage, and the vertical bars in |G(S)| give the length of the list used in scoring. At index i, qᵢ is the question and aᵢ is its source-based answer. The function Q(T,qᵢ) gives the answer produced using T for qᵢ. The expression E₍qᵢ,aᵢ₎ evaluates whether that answer is equivalent to aᵢ for the question qᵢ. The summation adds the judgments over the list, and division gives average coverage over the evaluated questions.

This measure treats a fact as covered when it can be recovered in an answer. A table can lose coverage because a fact is absent, because the stored value is incorrect, or because the answering procedure fails to retrieve it from the representation. It can also express a fact differently from the source and earn credit if the two answers are judged equivalent. This makes coverage suitable for comparing several layouts of the same passage while leaving the score dependent on the behavior of the question generator, answerer, and evaluator.

Experiments and results

Direct generation on LiveSum

The main LiveSum test set contains 754 match commentaries with reference counts. The authors compare supervised adaptation with direct zero-shot prompting, chain-of-thought prompting, and the full 3T pipeline. The three systems adapted to the training split are Mistral-7B-Instruct-v0.2, LLaMA-2-Chat 7B, and LLaMA-2-Chat 13B. The broader zero-shot comparison includes systems with different sizes and capabilities. The resulting comparison shows how these particular configurations perform on the same benchmark. The overlapping LLaMA-2-Chat 13B conditions also permit a narrower look at how training and prompting affect the same named system. Mistral 7B. Llama 2.

Fine-tuned LLaMA-2-Chat 13B gives the lowest overall RMSE among the tested fine-tuned configurations, 4.287, and the lowest overall ER in that group, 75.71%. With direct zero-shot prompting, LLaMA-2-Chat 13B reaches 4.279 RMSE and 75.33% ER. Its chain-of-thought result is 4.162 RMSE and 74.75% ER. The three rows place this system’s supervised and prompted results close together relative to the spread of the full comparison. Among the fine-tuned configurations, overall ER ranges from 75.71% to 76.03%.

The strongest entries in the main zero-shot comparison include Mistral Large, Claude 3 Opus, and GPT-4. On the LiveSum test set, GPT-4 with chain of thought records 2.225 overall RMSE and 46.20% overall ER. Claude 3 Opus with the same prompting style has the lowest overall RMSE in that zero-shot table, 2.079, and an overall ER of 47.17%. Mistral Large with chain of thought reports 2.139 overall RMSE and 47.12% overall ER. The rankings depend on whether the priority is exact values or the size of the numeric deviations.

The results also show why a single average can obscure the character of the task. The authors group goals and red cards into the easy set. The commentary gives direct cues for scores, and red cards occur rarely. Shots and fouls form the hard set because descriptions vary and require more interpretation. Yellow cards, corner kicks, free kicks, and offsides make up the medium set. The group labels express the authors’ assessment of difficulty. The observed error rates then show how the tested systems handle those groups.

On easy LiveSum test cells, direct zero-shot Mistral Large reaches an ER of 0.27% and an RMSE of 0.005. For the same prompt and system, the hard group has an ER of 84.62%. With chain-of-thought prompting, Mistral Large’s hard-cell ER is 84.08%, the strongest hard-group result in the main zero-shot comparison. A system can recover the score and handle the sparse red-card column while continuing to struggle with descriptions that accumulate into frequent events. In the hard group, the fine-tuned LLaMA-2-Chat 13B result is 94.42% ER.

GPT-4 with chain of thought gives the lowest medium-group ER in the main zero-shot comparison, 45.86% on the test set. Its hard-group rate is 88.73%. The paper observes that the medium group varies widely across systems and helps determine the overall ranking. In the zero-shot rows its ER reaches as high as 89.25% for LLaMA-2-Chat 70B with chain of thought. These group-level differences show why the benchmark needs cases beyond the most readily identified events. Doing well on goals and red cards can coexist with substantial errors in the rest of the table.

Adding examples to the prompt

Long commentaries restrict the options for evaluating demonstrations. The authors report that the LiveSum inputs generally exceed 2,000 tokens and that including a full example could exceed a 4,096-token limit. Their supplementary comparison uses gpt-3.5-turbo-16k and gpt-4o, with zero-example conditions for comparison. Besides the number of examples, the setup varies whether the prompt uses chain of thought. Its scope is narrower than the main comparison.

On the LiveSum test set, gpt-3.5-turbo-16k without a worked example records 57.3% overall ER and 2.08 overall RMSE. The corresponding chain-of-thought condition gives 57.2% ER and 2.05 RMSE. With a single worked example and no chain-of-thought instruction, overall ER is 61.9% and RMSE is 2.76. In the single-example chain-of-thought setup, the overall figures are 62.0% ER and 3.24 RMSE. In this comparison, including the demonstration is associated with worse overall performance under either prompt.

For gpt-4o, the zero-example chain-of-thought condition gives 40.4% overall ER and 1.41 overall RMSE. The five-example chain-of-thought condition gives 46.4% overall ER and 1.53 overall RMSE. Its hard-group ER is 72.9%, compared with 78.1% for the zero-example chain-of-thought condition. The corresponding medium-group rates are 56.3% and 41.7%, respectively. The same demonstration setup can help the hardest cells by this measure while degrading a broader slice of the output. The authors suggest that examples can influence answers without reliably teaching the intended procedure. Their comparison establishes the uneven effect of the chosen prompts and examples.

The effect of 3T on LiveSum

The authors report the full pipeline for Claude 2.1, Mistral Large, GPT-4, and Claude 3 Opus. They excluded other candidates from this part of the comparison because extraction from long inputs yielded very few tuples or many duplicates. This selection matters for interpreting the results. The table-to-be is only as recoverable as the records the system can collect. The comparison asks whether a separate integration and rendering procedure helps once the system can produce usable records.

Overall exact cell error on the LiveSum test set

The tuple pipeline lowers overall cell error for every system shown.

Overall exact cell error on the LiveSum test setClaude 2.1 with direct prompting: 57.16Claude 2.1 with direct prompting57.16Claude 2.1 with 3T: 42.77Claude 2.1 with 3T42.77Mistral Large with direct prompting: 47.45Mistral Large with direct prompting47.45Mistral Large with 3T: 40.70Mistral Large with 3T40.70GPT-4 with direct prompting: 46.32GPT-4 with direct prompting46.32GPT-4 with 3T: 25.27GPT-4 with 3T25.27Claude 3 Opus with direct prompting: 48.33Claude 3 Opus with direct prompting48.33Claude 3 Opus with 3T (this paper): 14.04Claude 3 Opus with 3T (this paper)14.04
The numbers
System or settingerror %
Claude 2.1 with direct prompting57.16
Claude 2.1 with 3T42.77
Mistral Large with direct prompting47.45
Mistral Large with 3T40.70
GPT-4 with direct prompting46.32
GPT-4 with 3T25.27
Claude 3 Opus with direct prompting48.33
Claude 3 Opus with 3T (this paper)14.04

The corresponding overall LiveSum test RMSEs with 3T are 2.066 for Claude 2.1, 1.631 for Mistral Large, 0.929 for GPT-4, and 0.438 for Claude 3 Opus. Both numeric measures improve relative to their direct-prompt rows. The strongest direct zero-shot performance and the strongest performance with the pipeline come from different combinations of prompt and system. In particular, GPT-4 with chain of thought has the lowest overall ER in the main direct or chain-of-thought comparison, while Claude 3 Opus leads the full pipeline comparison.

The hard cells reveal the clearest changes. GPT-4 with 3T gives a hard-group ER of 46.22% and RMSE of 1.219. Claude 3 Opus with 3T gives 21.29% ER and 0.477 RMSE on the same group. Both reach much lower error than their corresponding direct prompt on those cells. Claude 3 Opus also reaches 14.79% ER on medium cells with 3T. Its easy-group ER with the pipeline is 5.30%, higher than the 2.52% from its direct prompt. Mistral Large likewise moves from 0.27% easy-group ER with its direct prompt to 8.82% with the pipeline. Improvements in the aggregate can accompany losses on a category that a system already handles well.

The authors report relative reductions as well as the absolute scores. For instance, they give a 70.9% reduction in overall ER for Claude 3 Opus and 45.4% for GPT-4 compared with the direct prompting baselines used in the ablation account. These are relative reductions reported by the paper. The final absolute error rates answer a different question about how many cells, among the evaluated outputs, still disagree with their reference values.

Transferring the representation to Struc-Bench Table

The Struc-Bench Table experiment uses a benchmark derived from RotoWire basketball data. Here the generator is asked to recover team and player attributes already present in the text. The tuple stage makes those attributes explicit, and the next substantive operation is table construction. Since this transfer skips consolidation of event counts, a gain here supports the value of the intermediate representation even when the underlying task largely involves locating and arranging stated information.

The test compares direct zero-shot generation and tuple-based generation for ChatGPT and GPT-4. It also reports the prior fine-tuned LLaMA-7B result. The authors reuse the benchmark’s instructions and scoring implementation. They remove expressions such as “unknown” for absent values from the zero-shot outputs before calculating the revised scores, because a reference can leave the same cell blank. This adjustment is part of the reported comparison and affects scores sensitive to differences in surface form.

Struc-Bench evaluates similarity to reference tables using SacreBLEU, ROUGE-L, BERTScore, BLEURT, and BARTScore. The benchmark also reports separate content and format scores using prompted judgments and manually designed heuristics. The prompted and heuristic scores assess complementary properties of the table, while the text generation measures compare the generated output with its reference in different ways. Higher scores are preferable for these metrics, including BARTScore, whose values in the paper are negative. BLEU score. ROUGE. BLEURT. BARTScore.

BLEURT on the Struc-Bench Table test set

Passing through tuples improves BLEURT for both zero-shot systems.

BLEURT on the Struc-Bench Table test setChatGPT with direct prompting: 64.66ChatGPT with direct prompting64.66ChatGPT with 3T: 67.47ChatGPT with 3T67.47Fine-tuned LLaMA-7B: 66.07Fine-tuned LLaMA-7B66.07GPT-4 with direct prompting: 77.08GPT-4 with direct prompting77.08GPT-4 with 3T (this paper): 79.80GPT-4 with 3T (this paper)79.80
The numbers
System or settingBLEURT
ChatGPT with direct prompting64.66
ChatGPT with 3T67.47
Fine-tuned LLaMA-7B66.07
GPT-4 with direct prompting77.08
GPT-4 with 3T (this paper)79.80

ChatGPT with the tuple method improves on its direct prompt across the measures reported in the paper. Its Struc-Bench test SacreBLEU moves from 77.58 to 78.91, its ROUGE-L from 86.11 to 88.36, and its content prompting score from 6.84 to 7.29. The fine-tuned comparison still scores 90.60 on SacreBLEU and 7.69 on the content prompting score. ChatGPT with 3T reaches a format prompting score of 9.88, compared with 8.60 for fine-tuned LLaMA-7B. Those results give different views of the transfer, depending on how much the evaluation values reference similarity, format, or content.

GPT-4 also improves on several measures. On the Struc-Bench test set its content prompting score goes from 7.45 to 7.60, and its format heuristic score goes from 3.87 to 3.89. Its ROUGE-L moves from 92.81 with direct prompting to 92.37 with 3T, and BARTScore moves from -1.58 to -1.60. The transfer evidence is consequently stronger as a claim about gains on multiple measures than as a claim about uniform improvement. The fine-tuned comparator retains the highest SacreBLEU and BARTScore shown for this dataset, while GPT-4 with 3T reaches the highest BLEURT in the comparison.

Generating tables with no prescribed facts to extract

For Wiki40B, the authors sample 500 passages from the English portion and evaluate whether generated tables preserve information needed to answer questions. There are no reference tables and no passage-specific list of fields to fill. Before screening, ChatGPT proposes 20 question–answer pairs per passage. The paper also uses ChatGPT to verify those pairs, answer the retained questions from the generated representations, and judge agreement. The authors compare the resulting coverage for Divide-and-Generate, 3T, and a representation consisting directly of the tuples extracted at the first stage.

The coverage figure shows the share of passages reaching each coverage threshold. These are two different quantities. Coverage is the share of a passage’s evaluated questions answered successfully from its table. The share reaching a threshold describes how often a representation achieves at least that coverage. At the 70% coverage threshold, about 65% of the Wiki40B cases reach the threshold with 3T, compared with 50% with Divide-and-Generate. The comparison tests whether the retained information can be recovered in answers. Its evaluation is independent of agreement with any particular reference layout.

The first-stage tuple representation reaches higher coverage than the completed table representation across the reported curve. The paper also reports 83% in its analysis of cases retaining the same coverage in the comparison involving tuple extraction. A table can reorganize information into a layout that looks clearer to a reader while making particular details less accessible to the answerer or dropping them during consolidation and rendering. The relative position of the curves motivates looking at what happened to the records between extraction and the final table.

What the ablations show

Keeping the stages separate

The controlled LiveSum comparisons use two variants of 3T. The merged variant asks for all the operations in one prompt. It instructs the system to extract event records, integrate them, and give the final CSV table. It retains the proposed sequence of operations as guidance, while removing the explicit handoffs between separate prompts. The direct-execution variant preserves the separate extraction and table-generation calls and changes the middle stage. In that stage, the system integrates the records directly in its response instead of supplying code to carry out the counting.

The GPT-4 results illustrate the distinction. All the figures in the chart are overall exact cell error rates on the LiveSum test set. The values come from the full ablation comparison, which reports more decimal places than the compact comparison in the main discussion.

GPT-4 prompting variants by overall cell error on the LiveSum test set

The separated pipeline with code-based integration has the lowest overall error.

GPT-4 prompting variants by overall cell error on the LiveSum test setDirect prompt: 46.32Direct prompt46.32Chain-of-thought prompt: 46.20Chain-of-thought prompt46.20Merged 3T: 42.34Merged 3T42.343T with direct integration: 41.553T with direct integration41.553T with code-based integration (this paper): 25.273T with code-based integration (thispaper)25.27
The numbers
System or settingerror %
Direct prompt46.32
Chain-of-thought prompt46.20
Merged 3T42.34
3T with direct integration41.55
3T with code-based integration (this paper)25.27

For the same GPT-4 comparison, overall test RMSE is 2.273 for the direct prompt, 2.225 for chain of thought, 1.621 for the merged variant, 1.418 for direct integration, and 0.929 for the full pipeline. Giving the system the proposed sequence in one prompt already improves over the direct request. The still lower RMSE of the direct-integration variant is consistent with a benefit from the explicit handoffs. The best setting combines those handoffs with code-based integration.

The category results prevent a stronger claim that every stage choice helps on every kind of event. In the GPT-4 ablation appendix, the merged variant reaches 0.13% ER on easy cells, while full 3T reaches 3.18%. For medium cells, the full pipeline reaches 25.83% ER, compared with 43.22% for the merged prompt and 40.13% for the separated prompts with direct integration. The full pipeline’s advantage in the overall score comes with a different distribution of errors. If easy cells dominate a particular reader’s use of the table, the overall ranking alone gives an incomplete picture.

Looking across systems, the paper finds that the merged variant is especially dependent on the system receiving it. For Claude 2.1, the LiveSum test ER is 57.16% for the direct baseline and 57.15% for the merged variant. Its RMSE goes from 3.171 to 2.869. The changed prompt improves proximity to the reference counts with nearly the same frequency of exact matches. For Claude 3 Opus, the merged prompt gives 51.59% overall ER, compared with 48.33% for direct generation, and its overall RMSE moves from 2.253 to 2.426. Mistral Large also records a higher overall error rate with the merged prompt than with its direct baseline.

These are comparisons of complete prompting procedures. The merged and separated settings differ in the number of calls, the visibility of the intermediate output, and what each call receives as context. The result establishes how those choices work together. It does not assign a numerical share of the improvement to exposing the tuples, narrowing the scope of each prompt, or presenting the instructions more than once. The contrast with chain-of-thought prompting shows that the tested explicit procedure produces gains beyond those of the brief step-by-step instruction, for the configurations that can use 3T.

Integrating in text or with code

The middle-stage comparison holds the stage structure in place and changes how the event records are consolidated. GPT-4’s overall LiveSum test ER is 41.55% with direct integration and 25.27% with generated code. For Claude 3 Opus the figures are 45.50% and 14.04%, respectively. The direct-integration variant gives both systems lower overall error than their direct table prompts. The separated stages can therefore be beneficial even when the middle stage works through the records in its response. Code-based integration adds further improvement in these runs.

For Claude 2.1 and Mistral Large, the pattern differs. Direct integration yields overall test ERs of 65.24% and 51.58%, respectively. Both are higher than their direct table-prompt rates in the full ablation comparison. With code-based integration, Claude 2.1 reaches 42.77% and Mistral Large reaches 40.70%. A weak direct-integration result does not imply the extracted records have no value. The code condition shows that the same overall architecture can use intermediate records to much better effect when the counting is delegated to a program.

This comparison supports the authors’ interpretation that structured counting is a large part of the improvement. Consider the rule that a goal also counts as a shot. A program can apply that update whenever a relevant input satisfies the condition. A response that integrates events directly has to apply the rule repeatedly while tracking all the other totals. The advantage is conditional on receiving events that the program can interpret. A correctly implemented update to the shot count cannot restore an attempt the extractor never recorded.

Finding errors before they become numbers

The paper’s LiveSum case study takes advantage of the intermediate records. The authors randomly sample 100 results from GPT-4 with 3T and inspect them. They trace the errors they find in that review to extraction. Missing event tuples account for 78% of the errors and wrong event tuples for 21%. The reported categories locate errors among the inspected outputs. They are distinct from the test set’s overall cell error rate, which counts mismatches in final table values.

In one example, the response records the free kick won by a home player but omits the foul committed by an away player. The correct integration of the returned list would still leave the away team short of evidence for its foul total. In another example, the commentary describes a penalty after a player draws a foul. The extraction includes a foul attributed to the player who drew it as well as a correctly attributed foul for the opponent, and it misses the free kick required by the benchmark’s penalty rule. That output shows three separable issues within one play. The same passage can supply a correctly identified event, a wrongly attributed record, and a missing record.

The Wiki40B case analysis follows the representations through all the stages. For a sample of 50 articles, the authors report a mean tuple accuracy of 81.6% at extraction. Their error definition includes incomplete records, duplicates, and cases where an original sentence was copied in place of a structured record. They observe integration of similar items in 24% of the sampled articles. In other cases the records were sorted, categorized, or returned unchanged. The operation required of the middle stage varies even within the same corpus.

At table construction, the authors report fragmenting longer material into incomplete tuples in 14% of sampled Wiki40B articles. They also report merging related material into long sentences in 6%. The latter behavior can change how readily a question can be answered without necessarily changing the underlying facts. This helps interpret the higher coverage of the raw tuples. The analysis identifies specific ways the representation changes on the route to a table, while the coverage difference mixes the effects of content preservation and answerability.

Limitations

Limits identified by the authors

The authors identify extraction from long commentary as a prerequisite the pipeline cannot always meet. Some of the tested systems return a small fraction of the needed events or repeat the same tuple many times. Once that happens, the later stages have too little reliable material for the intended calculation. The results for Claude 2.1, Mistral Large, GPT-4, and Claude 3 Opus consequently describe the group for which the authors could run the intended pipeline. The paper leaves improved extraction for weaker candidates open.

The authors also flag the context cost of worked examples. The limitations discussion treats broader few-shot evaluation as future work, while the supplementary experiments do report example-based results for gpt-3.5-turbo-16k and gpt-4o. Taken together, these parts of the paper mark a difference between the limited tests that fit and a broad survey under conditions comparable to the main benchmark. The tested examples give mixed results, including a favorable hard-group result in one gpt-4o condition. They leave the effects of other example choices and longer demonstration sets unresolved.

In Wiki40B, the authors explicitly acknowledge that the question answerer’s ability to work with a table can affect coverage. A tuple list and a finished table expose information in different forms. If the answerer finds a needed fact in the list and misses it in the table, the coverage score alone cannot identify whether the finished table dropped the fact. The sampled cases show that fragmentation and merging sometimes occur. Measuring how often an information change, instead of a retrieval failure, caused a coverage drop would require a further comparison.

Limits visible in the evaluation

The main LiveSum error measures are conditional on parsing. When the regular-expression procedure cannot recover a usable table, the authors filter the instance out. Their rationale is that once numbers cannot be assigned to cells, they cannot calculate a meaningful cell error for that output. This isolates numeric agreement on assessable tables. For a reader who needs an end-to-end account of how frequently the system provides a usable and accurate table, the excluded outputs form part of the task outcome. The cell scores on their own do not establish that success rate.

ER and RMSE also compress the distribution of mistakes across match tables. A system can score well on cells that frequently contain straightforward values and remain unreliable for the most frequent or linguistically varied events. The difficulty groups expose part of that variation, and the analysis of rare red cards explains why ease in the aggregate should be interpreted with care. The reported group scores do not separately establish reliability on the subset of matches where a rare event actually occurred. Likewise, an exact final count can in principle result from offsetting omissions and extractions. Final table metrics cannot distinguish that path from a complete inventory of correctly grounded events.

The test set is drawn from the same collected corpus as the training set. It contains English Premier League accounts processed by the same paraphrasing and anonymization procedure. Team affiliation is inserted alongside player identifiers. These choices make the benchmark more focused on recognizing and integrating event evidence. They also narrow what performance there establishes about raw commentaries in other formats, sources that omit explicit affiliations, or documents that require resolving names across a longer history. The basketball and Wiki40B experiments broaden the evaluation in other directions, but neither repeats the same match-event inference problem under those alternative conditions.

The fine-tuning comparison represents the particular tested systems and training recipe. The strongest zero-shot candidates differ from the fine-tuned candidates, so an overall ranking across the groups cannot isolate the effect of training from differences between the systems. The LLaMA-2-Chat 13B overlap offers a closer comparison and shows relatively similar overall scores across its trained and prompted conditions. The stronger evidence for the method comes from comparisons that change the prompting procedure for the same candidate.

The transfer experiments test different forms of usefulness. In Struc-Bench, removing stand-ins for blank values is part of the scoring setup, and similarity measures can respond to presentation differences. In Wiki40B, questions are selected by an automated generator and screened through an automated answerer. The resulting measure covers facts elicited by the surviving questions. It leaves other statements in the source untested and does not directly enumerate unsupported claims in the table. Higher scores in these experiments support transfer under the tested objectives. They leave open how the representations would perform under a common evaluation of correctness, coverage, and readability.

Finally, the paper defines a regular table with headings available along at least one dimension and simplifies the problem by excluding merged cells. The reference LiveSum format is especially constrained. Its team rows and event columns are defined in advance. The Wiki40B task gives the generator more freedom over headings and captions, while judging that freedom through question answering. These setups offer evidence about regular grids and task-specific summaries. Questions about complex layouts, independently verified event provenance, and arbitrary source documents extend beyond the reported tests.

What came after

The later citing work ranges from overviews of automated research to papers dedicated to table generation. The titles establish the topics those papers take up, and the citations establish their connection to Deng and colleagues. The citation record alone does not specify which papers reuse LiveSum, reproduce the prompts, or adopt the tuple representation. Their subjects nevertheless show how the problem of turning textual evidence into a structured result appears in several research settings.

The surveys place the citation in a broader field than sports statistics. From Automation to Autonomy surveys scientific discovery, with automation and autonomy as its organizing concerns. Deng and colleagues’ work gives a concrete case within that scope of an input-to-output task whose intermediate work is made explicit. Transforming Science covers AI-assisted scientific discovery, experimentation, content generation, and evaluation. The point of contact is at the intersection of generation and evaluation. The form of a generated artifact and the evidence it preserves can be assessed separately. From Automation to Autonomy. Transforming Science.

A Survey of AI Scientists cites the work from another survey context, this time organized around systems intended to carry out scientific work. RoadMapper addresses roadmap generation for complex research problems and names a multi-agent system as its approach. Its output concerns organizing research steps, whereas LiveSum organizes observations into statistics. The two tasks share a broad question about how to structure information for later use. The citation identifies a connection without establishing that RoadMapper uses the football benchmark or its counting procedure. A Survey of AI Scientists. RoadMapper.

The transfer most directly suggested by subject matter is from football commentary to other source material that must be summarized in a grid. arXiv2Table takes up realistic benchmarking and evaluation for literature-review table generation. What counts as a useful table changes with that setting. LiveSum specifies teams and event categories ahead of time, while the later title identifies literature-review tables as the evaluation object. This places the citation near the original paper’s question about whether a benchmark demands the work that users expect from a table generator. It does not establish a shared dataset or scoring rule. arXiv2Table.

Moneyball with LLMs analyzes tabular summarization in sports narratives, the closest later topic to LiveSum’s source material. Its title identifies the same broad transformation from a narrative record of sport to a table. Hemolix.TabGen takes document-to-table generation as its subject and frames the work around optimization. Where LiveSum provides an event inventory and counting rules, a title about generating tables from documents identifies a broader input category. The available citation details do not indicate how either paper handles tuple extraction or repeated event descriptions. Moneyball with LLMs. Hemolix.TabGen.

TEN names table explicitization as the problem and a neurosymbolic approach as the framing. In Deng and colleagues’ paper, making implicit information explicit happens when descriptions of events become records with named roles, and again when those records become values with headers. The later title points to another line of work on making information explicit in tables, although it does not specify which parts of Text-Tuple-Table it uses. TableMBR names minimum Bayes risk and structural consistency as the basis for table generation. That focus connects to the final artifact’s structure, which Deng and colleagues study through formatting scores and through the ability to recover information from rendered tables. The citation does not establish that the papers test structural consistency in the same way. TEN. TableMBR.

Cite

Cite as Zheye Deng, Chunkit Chan, Weiqi Wang, Yuxi Sun, Wei Fan, Tianshi Zheng, Yauwai Yim and Yangqiu Song. 2024. Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.emnlp-main.523

@inproceedings{deng2024text,
  title = {{Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction}},
  author = {Zheye Deng, Chunkit Chan, Weiqi Wang, Yuxi Sun, Wei Fan, Tianshi Zheng, Yauwai Yim and Yangqiu Song},
  booktitle = {Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.523},
  url = {https://doi.org/10.18653/v1/2024.emnlp-main.523}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/deng-2024-text-tuple-table-information-integration/