Elamur Research

PixT3: Pixel-based Table-To-Text Generation

Paper · 2024 · Iñigo Alonso, Eneko Agirre and Mirella Lapata

Summary

A table contains more than a collection of words and numbers. Its rows, columns, headings, and merged cells help establish which values belong together. Generating a reliable description therefore requires both reading the entries and understanding their arrangement. PixT3 investigates whether a system can do this directly from an image of a table, rather than first converting the table into a long textual sequence. The paper presents this as a different approach to text generation: preserve the visual organization of the source and learn to describe what it contains.

The motivation is practical. Converting a table into text often requires repeating headings, inserting structural markers, and spelling out relationships that the original layout expresses spatially. These representations can exceed an input limit, particularly when a system receives the whole table. Restricting the input to selected cells reduces that problem, but it also gives the system substantial help: someone else has already decided what the description should discuss. The authors therefore evaluate separate conditions in which a generator receives selected cells alone, selected cells within the full table, or the full table without any selection.

PixT3 builds on Pix2Struct, an image-to-text system pretrained on webpage screenshots. The authors render tables and their metadata as images, divide those images into patches, and generate a description from the resulting visual representation. They also introduce an intermediate training task using synthetic tables. A cell is highlighted, and the system must identify the entries connected to it through rows and columns. This task is intended to teach structural relationships before training on descriptions. It uses artificial cell contents so that recognizing an arrangement matters more than knowing what a particular value means.

The experiments show a qualified advantage for the visual approach. On ToTTo, PixT3 trails the strongest text-based comparisons when only selected cells are available. When the full table is included alongside highlights, however, it performs substantially better. It also leads the automatic comparisons in the open-ended condition, where content selection becomes part of the task. Human assessment supports its stronger faithfulness in the conditions involving complete tables. The structural curriculum contributes modest improvements to aggregate automatic scores and a more pronounced reduction in manually identified structural errors.

The paper also tests transfer to Logic2Text tables after training on ToTTo. PixT3 again performs particularly well when a complete table accompanies highlighted cells, but these results should not be mistaken for evidence of strong logical reasoning. The authors explicitly explain that its comparatively faithful descriptions can be simpler than the reference descriptions. Large tables remain difficult, hallucinations persist, and some source information is lost through image reduction or truncation. The contribution is a useful alternative representation and a targeted structural curriculum, together with evidence about where they help—not a demonstration that visual input alone solves table understanding.

Interesting ideas

Preserve the organization that carries meaning. A representation should retain the relationships a task depends on, rather than merely preserve individual values. PixT3 keeps table layout available through images rather than expressing every relationship through repeated text. The wider lesson applies to forms, diagrams, document sections, and other structured inputs: before choosing a convenient serialization, ask what information becomes harder to recover after the conversion.

Teach relations through a small supporting task. The intermediate objective asks for cells connected to a highlighted location, instead of requiring a complete table transcription. This directs learning toward a particular structural skill while keeping the output manageable. A comparable strategy can help elsewhere when the final task is complex but an important prerequisite has a clear, automatically checkable target.

Use synthetic identifiers to isolate structural competence. Artificial cell values reduce the opportunity to answer from familiar names or semantic associations. A system must follow the arrangement of entries to succeed. This is useful for designing controlled training material and diagnostic tests in reasoning, document processing, and information extraction, where plausible content can conceal a failure to follow structure.

Separate content selection from expression. Providing selected cells alone, selected cells within context, and an unmarked table creates meaningfully different tasks. Success in the easiest condition does not establish that a system can decide what is worth saying or locate relevant evidence in a complete source. This distinction transfers to summarization, document answering, and report generation whenever preprocessing silently performs part of the task being measured.

Treat input reduction as a tradeoff between different losses. Shrinking a table preserves its extent but can destroy readability; truncating it preserves readable detail while removing coverage. PixT3 explicitly compares combinations of these operations. The reusable principle is to evaluate what each reduction discards, rather than treating every method of fitting an input budget as equivalent.

Measure support separately from reference resemblance. An open-ended description can be true while discussing different facts from the reference. Conversely, a sentence can resemble the reference while attaching a value to the wrong entity. The paper therefore combines automatic scores with judgments grounded in the actual table. This approach is useful wherever many outputs are acceptable and factual support matters more than reproducing a particular wording.

Check the specific error a component is meant to repair. The structural curriculum produces relatively small changes in aggregate scores, yet manual inspection finds a clearer change in structure-related mistakes. A targeted component deserves a targeted diagnostic alongside end-task evaluation. This helps distinguish an intervention that repairs its intended mechanism from one that merely changes a broad score.

Deep dive: PixT3: Pixel-based Table-To-Text Generation

PixT3 generates text from table images: how its structure-learning curriculum works, what the experiments show, and where it falls short. · about 38 minutes to read

How Mova uses it

Mova is a small language system implemented in Rust, with explicit parsing, frames, world state, rules, and recorded reasons. PixT3 suggests useful experiments for that architecture even though its main contribution is neural visual generation. The connections below are proposals assessed against the available implementation evidence. They do not establish that Mova has adopted PixT3, that a visual table reader exists in its native core, or that any proposed transfer has a measured benefit.

Idea: Preserve table relationships before generating language. Where: Introduction and Section 4.1. Area: data representation. Mova could represent cells, headings, row membership, column membership, and spans explicitly before admitting table-derived assertions into a world. Mova: частково є (typed frames and world state in prag and world; a corresponding table representation is not established). Why Mova: its logical direction benefits from retaining the relationships needed to justify an answer, even if those relationships enter through structured data rather than pixels.

Idea: Treat serialization as an observation with possible losses. Where: Introduction and Figure 1. Area: data processing. A proposed Mova table adapter could record which structural relationships survive conversion and which become unavailable. Mova: частково є (declared observations, assumptions, and failure behavior in the hybrid-system and groupant contracts). Why Mova: a successful conversion should not silently authorize conclusions that require structure the converted representation has discarded.

Idea: Use a supporting task focused on a prerequisite skill. Where: Section 4.2. Area: learning and evaluation. Mova could test row and column lookup independently from sentence interpretation or answer generation, using exact structural targets. Mova: частково є (bounded study and reviewed learning in tools/enrich, plus targeted native reader checks; table-neighborhood training is not established). Why Mova: isolating a prerequisite makes a failure easier to repair with rules or data rather than changing an entire reader.

Idea: Use artificial identifiers to test structure without lexical clues. Where: Section 4.2 and Appendix D. Area: evaluation. Synthetic tables containing unfamiliar identifiers could test whether a proposed Mova reader follows membership and heading relationships rather than recognizing familiar content. Mova: нове, as a proposed table-specific diagnostic; related hidden coverage elsewhere is unknown. Why Mova: transparent logic needs tests that prevent semantic familiarity from disguising a structural shortcut.

Idea: Match synthetic structures to training-source distributions. Where: Appendix D. Area: data generation. A Mova experiment could derive distributions of table shapes and spans from its admitted training sources, then generate owned structural fixtures from those distributions. Mova: нове, for a proposed table generator; the digest does not establish an equivalent implementation. Why Mova: structurally realistic synthetic cases would complement hand-written examples without requiring copied factual content.

Idea: Keep synthetic generation separate from held-out material. Where: Appendix D. Area: evaluation hygiene. Structural statistics for a proposed table curriculum should come from training material, while assessment tables remain untouched. Mova: вже є (tools/dictindex excludes held-out benchmarks and school assessment text; school and training documentation separate assessment from learning). Why Mova: the paper reinforces an existing boundary that must also apply when the imported information is a distribution instead of a sentence.

Idea: Make merged-cell relationships explicit. Where: Section 4.2 and Figure 3. Area: knowledge representation. A cell spanning several rows or columns could connect to all relevant structural regions, with each connection retaining its source. Mova: нове, for this proposed table relation; the existing graph mechanisms do not establish span-aware table reading. Why Mova: a logical reader cannot safely infer a unique heading relationship when the source layout expresses a more complicated connection.

Idea: Prefer compact relational targets to complete transcription when appropriate. Where: Section 4.2 and Appendix D. Area: efficiency. A proposed Mova check could request only the cells needed to establish a claim, while retaining access to the source structure. Mova: частково є (bounded observations in retention mice and explicit groupant observations; table-specific relational targets are not established). Why Mova: checking the relevant relation may provide clearer evidence at lower cost than reconstructing an entire document.

Idea: Design an objective that cannot be solved through an easier shortcut. Where: Appendix D, alternative objectives. Area: experimental design. Before adopting a synthetic task, Mova could test whether local cues permit success without following the intended relationship. Mova: частково є (negative controls and regression gates are established principles; this table-specific shortcut analysis is a proposal). Why Mova: an apparently successful exercise is useful only if success requires the mechanism it is supposed to teach.

Idea: Separate supplied selection from native selection. Where: Section 3 and Appendix B. Area: evaluation. A future table reader could be assessed with selected evidence alone, selected evidence inside the complete source, and a source with no selected evidence. Mova: нове, as a proposed table evaluation protocol; an equivalent existing protocol is not established. Why Mova: this would reveal whether a gain comes from understanding, locating evidence, or receiving an externally simplified problem.

Idea: Keep full context available when selected evidence is ambiguous. Where: Sections 3 and 6. Area: semantics. Mova could require access to relevant headings and neighboring structure before turning an isolated cell into a typed fact. Mova: частково є (prag and world interpret roles and context; a table-specific context requirement is not established). Why Mova: a value can be readable while its owner, measure, or meaning remains unresolved.

Idea: Treat open-ended content selection as its own capability. Where: Section 6, OpenE evaluation. Area: task decomposition. Choosing a claim worth reporting could be recorded separately from verifying and expressing it. Mova: частково є (configured bounded task concretization and explicit operational interfaces in tools/octopus; general automatic composition remains experimental). Why Mova: separate decisions would make it possible to diagnose an unhelpful but true report without confusing that problem with factual error.

Idea: Carry table titles as evidence with a distinct role. Where: Sections 4.1 and 4.3. Area: provenance. A proposed table world could retain page and section titles as contextual sources rather than merging their wording indiscriminately with cell contents. Mova: частково є (source provenance in tools/dictindex and contextual interpretation in world; a typed table-metadata interface is not established). Why Mova: titles can resolve what a table concerns, but their contribution should remain inspectable.

Idea: Evaluate readability and coverage as separate input losses. Where: Section 4.1 and Appendix C. Area: resource management. For any proposed visual adapter, Mova could report whether reduction made text unreadable or removed a region altogether. Mova: частково є (explicit budgets and outcomes in bounded workflows; visual loss accounting is not established). Why Mova: the correct response to missing evidence depends on whether the evidence was absent, omitted, or present but unreadable.

Idea: Refuse to infer complete coverage from a bounded input. Where: Section 4.1 and Limitations. Area: evidence admission. A table-derived claim could carry an indication that only part of its source was observed. Mova: вже є (bounded-prefix reporting in tools/dictindex and partial-pass safeguards in corpus workflows). Why Mova: the same principle prevents an inspected fragment from becoming evidence about every row or an entire source collection.

Idea: Inspect performance by input size. Where: Section 6 and Figure 4. Area: evaluation. Mova could stratify future table tests by structural or rendered size rather than reporting only an overall score. Mova: частково є (source-bounded measurements and explicit resource reporting exist; the corresponding table analysis is not established). Why Mova: an average can conceal a reader that works reliably on small inputs and fails when source complexity increases.

Idea: Compare representations under a more constrained budget. Where: Section 6 and Figure 4. Area: controlled comparison. A Mova experiment could reduce the budget of a proposed structural reader and compare it with alternative representations, while acknowledging that different input units are not equivalent. Mova: частково є (declared domains and conformance profiles in groupant tooling; this representation comparison is unverified). Why Mova: the comparison would help distinguish benefits of representation from benefits of simply receiving more source material.

Idea: Test transfer on a separate source distribution. Where: Section 5 and Table 2. Area: generalization. A table reader developed on one admitted collection could be tested on a distinct collection without adapting to its answers. Mova: частково є (held-out evaluation and cross-source language checks are established; table transfer is not established). Why Mova: a logical component should expose where its assumptions stop applying instead of treating familiar-source performance as general competence.

Idea: Recover selection annotations from existing formal structure. Where: Section 5, Logic2Text construction. Area: annotation. Where an admitted source already contains a formal expression, Mova could trace its referenced values back to source records and save the correspondence for review. Mova: частково є (source-bound correspondences and reviewed annotation workflows exist; logical-form-to-table tracing is not established). Why Mova: such tracing could create inspectable supervision without asking a teacher to invent an alignment.

Idea: Evaluate support independently of wording overlap. Where: Section 6 and human evaluation. Area: evaluation. Mova could compare whether an answer is supported by its world separately from whether it resembles a prepared answer. Mova: частково є (fast reading separates answers, prepared evidence, and miss classification in world retention). Why Mova: different valid expressions should remain distinguishable from assertions that merely repeat expected words.

Idea: Use multiple measures without merging their meanings. Where: Section 6 and Appendices E and G. Area: statistics. A report could retain separate measures for reference resemblance, source support, and task completion. Mova: вже є (typed evidence boundaries in the hybrid-system contract and distinct assessment controls). Why Mova: a single composite success label would obscure whether a reader answered fluently, correctly, or usefully.

Idea: Assess the error category a change targets. Where: Section 6, curriculum analysis. Area: diagnosis. A table-rule revision could be evaluated on wrong heading associations or row attachments as well as final answer accuracy. Mova: частково є (fast-reader miss categories and language-rule audits; table-specific structural errors are a proposal). Why Mova: targeted evidence would show whether a rule repairs its intended mechanism when aggregate results barely move.

Idea: Separate faithfulness from informativeness. Where: Limitations and Appendix E. Area: generation evaluation. A proposed reporting component could record both whether each claim is supported and whether the report supplies the requested information. Mova: частково є (explicit task outcomes and answer reasons; a table-description informativeness assessment is not established). Why Mova: a cautious sentence can be true while avoiding the comparison or count the user actually needs.

Idea: Do not infer reasoning ability from a faithful simple sentence. Where: Limitations. Area: reasoning. Mova should require an explicit operation or justification for a comparative, counting, or inferential claim rather than treating successful description as a reasoning certificate. Mova: вже є (math computes exact operations and world retains reasons; hybrid-system evidence types remain distinct). Why Mova: this protects the system’s logical role from an evaluation shortcut that rewards safe descriptions.

Idea: Use an intermediate plan before verbalization. Where: Limitations. Area: task architecture. A future table application could produce a checked plan containing selected records, operations, and conclusions before writing prose. Mova: частково є (quantitative worlds, math::steps, and bounded operational plans; a table-generation planner is not established). Why Mova: this fits the existing preference for explicit computation and justification, while remaining a proposed transfer from the authors’ future direction.

Idea: Make human verification depend on the source. Where: Appendix G. Area: evaluation. Reviewers of proposed table-derived facts could inspect the relevant source and assess each claim independently instead of judging plausibility from background knowledge. Mova: частково є (exact corpus-witness and review gates in dictionary admission; the paper’s human table evaluation is not implemented). Why Mova: source-grounded review helps keep externally plausible information from being mistaken for something the document establishes.

Idea: Measure reviewer agreement. Where: Section 6, human evaluation. Area: statistics. Human judgments used in a table study could include agreement analysis and retain disagreements for inspection. Mova: вже є (peta/tools/treeagree reports chance-corrected agreement and sentence-resampled intervals for parser-source comparisons). Why Mova: the existing statistical machinery illustrates why agreement should be reported, although parser agreement does not establish agreement among human table reviewers.

Idea: Use paired comparisons when the same items are assessed. Where: Section 6, human significance analysis. Area: statistics. A proposed table experiment could compare systems on shared examples with a paired procedure appropriate to its measured unit. Mova: вже є (paired evaluation principles and paired bootstrap analyses in the application ledger). Why Mova: shared items should remain paired so that variation in example difficulty does not obscure the intervention being tested.

Idea: Treat task adaptation and system size as separate explanations. Where: Sections 5 and 6, LLaVA comparison. Area: experimental interpretation. Mova could compare a specialized component with a larger external consultant while recording differences in training and task exposure. Mova: частково є (native inference and optional consultant boundaries are explicit). Why Mova: a comparison can motivate specialization without proving that system size is irrelevant or that the training conditions were equivalent.

Idea: Preserve difficult cases instead of silently simplifying the claim. Where: Section 6 and Limitations. Area: failure reporting. A proposed reader could retain whether it failed because of layout, missing context, lost input, or an unsupported inference. Mova: вже є (gaps, bounded outcomes, and fast-reader miss classification). Why Mova: an explicit unresolved case gives the learning workflow a concrete target and prevents a simpler answer from concealing the original difficulty.

Idea: Keep table observations separate from admitted knowledge. Where: Section 4.3 and the faithfulness analyses in Section 6. Area: knowledge admission. A generated description should remain a candidate assertion until source checks establish what supports it. Mova: вже є (reviewed staging in tools/enrich, dictionary admission gates, and distinct evidence types in the hybrid-system contract). Why Mova: PixT3’s remaining hallucinations reinforce the need for an admission boundary even when generation improves.

Idea: Explore multiple views of oversized inputs. Where: Limitations. Area: data processing. A future visual adapter could inspect several source regions and combine only observations with compatible row, column, and provenance identities. Mova: нове, as a proposed table-processing experiment; no such adapter is established by the digest. Why Mova: this offers a possible response to truncation while fitting explicit observation composition, but coverage and consistency would need separate measurement.

Idea: Make the table reader an explicit optional module. Where: Conclusion, proposed extensions to semantic parsing. Area: system integration. Any PixT3-inspired visual component could expose typed observations to Mova’s logical core without replacing native language mechanisms or treating generated prose as proof. Mova: частково є (domain interfaces and explicit execution boundaries in layers and the hybrid-system architecture). Why Mova: a bounded interface would allow investigation of visual sources while keeping assumptions, external computation, and native justification distinguishable.

The problem and its context

Why describing a table is a compound task

Table-to-text generation belongs to the broader problem of producing language from structured information. The paper places tables alongside tuples and graphs as sources from which a system might construct a readable description. Its examples of earlier applications include sports reporting from box scores and descriptions derived from biographical records. The cited work on data-to-document generation and biography generation illustrates the range of outputs involved.

The difficulty starts before sentence construction. A table typically permits many descriptions, and the input does not uniquely determine which one should be produced. A generator may describe an individual row, connect entries across columns, report a comparison, or select a fact that seems notable. Fluency alone cannot resolve this choice. A polished sentence may discuss the wrong part of the table or misinterpret a relationship between entries.

Controlled generation reduces that uncertainty by specifying relevant cells. ToTTo uses highlighting to identify content that a description should concern. This gives researchers a way to study expression while constraining selection. Yet the amount of context supplied around those cells remains consequential. Selected values can be difficult to interpret without their headings or the rest of the table.

The paper’s opening example concerns the fleet of Shuttle America. An aircraft name, an operator, and a surrounding heading contribute different parts of the intended statement. The original visual arrangement makes their organization available at a glance. In a textual serialization, that organization has to be reconstructed through markers and repeated contextual information.

What linearization solves and what it costs

A conventional approach turns the table into a string and applies a text-oriented generator. The paper describes representations built from cell values and their row or column context. This makes tabular information compatible with pretrained text systems, but it can be verbose. A heading that appears once visually may be repeated as context for several entries.

That repetition consumes the available sequence length. Once a table exceeds the input budget, a system cannot simply read all of it in the same way. One response is to retain only highlighted cells. This is effective for a narrow controlled setting, but it changes the task: the generator no longer has to find relevant content within the original table.

The authors argue that this restriction is especially problematic when selection is unavailable or the source distribution changes. A generator accustomed to abridged inputs may struggle when presented with a full table. The resulting weakness is not necessarily a failure of language production. It can arise because the representation makes important context expensive or difficult to access.

The paper does not claim that earlier work ignored structure altogether. It discusses systems that encode layout, use templates, perform content planning, or incorporate other task-specific mechanisms. Lattice, for example, modifies how a text-based system handles table relationships. The central distinction is that these approaches still generally begin with linearized input.

Why a visual route is plausible

The alternative is to make the rendered table itself the input. This connects table generation to vision and language and to systems that read information from document images. The paper cites work on OCR-free document understanding, visual document processing, and chart answering as evidence that pixels can support language-oriented tasks.

The cited OCR-free document understanding work is relevant because it avoids making separately recognized text the mandatory intermediate representation. The paper contrasts this with earlier visual table pipelines that first recognize text or generate HTML, then pass a string to a conventional generator. Such a pipeline may inherit recognition errors while returning to the same text-centric representation problem.

PixT3 instead starts from Pix2Struct. Its webpage pretraining is useful because tables resemble visually organized documents more than ordinary photographs. Layout, readable text, and spatial relationships matter together. Its ability to handle different image proportions is also valuable: a table may be wide, tall, or irregularly shaped.

The authors connect this approach to Vision Transformers, which process image patches through a Transformer. The architectural idea comes from attention-based sequence processing, but the input units are image regions rather than textual pieces.

This background explains both the opportunity and the remaining problem. A visual encoder can preserve layout as an input signal, but it does not automatically know the conventions of tables. The structure-learning curriculum is designed to bridge that gap.

The method, step by step

Define what information the generator receives

The authors distinguish the source table from its description. The table is the structured input; the description is a sequence of output words. Conventional approaches express the table as a sequence of textual records. PixT3 replaces that input sequence with an image, while retaining an autoregressive text decoder.

Autoregressive generation means that each output position depends on the source and on words already generated. The system does not produce an entire sentence as a single indivisible choice. It assigns probabilities to successive continuations, conditioned on the visual input.

Before discussing architecture, the paper establishes the generation settings. TControl supplies highlighted cells without the complete table. LControl supplies the table together with highlighting. OpenE supplies the table without highlighting. These labels are important throughout the experiments because each setting assigns different responsibilities to the system.

TControl largely removes source selection from the task. LControl retains selection guidance but requires the generator to interpret it inside a larger structure. OpenE adds the need to choose content. Comparing results without preserving these distinctions would mix different problems under the same task name.

From table structure to a generated description

The steps in order.

From table structure to a generated descriptionStep 1: Convert the source table into HTML1. Convert the source table into HTMLStep 2: Render cells and metadata as an image2. Render cells and metadata as an imageStep 3: Reduce or truncate oversized images3. Reduce or truncate oversized imagesStep 4: Encode patches with spatial positions4. Encode patches with spatial positionsStep 5: Practice structural lookup on synthetic tables5. Practice structural lookup on synthetic tablesStep 6: Fine-tune on table images and descriptions6. Fine-tune on table images and descriptionsStep 7: Generate text from the encoded source7. Generate text from the encoded source

The flow summarizes the processing and training components rather than implying that synthetic practice occurs again for every new table. Intermediate training prepares the system; supervised fine-tuning adapts it to descriptions; inference then uses the learned encoder and decoder.

Render the table and its context

The rendering pipeline first parses a table into HTML and then produces an image. When page or section metadata is available, that text is placed above the table. The input therefore contains both the cells and contextual information that may help interpret them.

This design keeps the encoder’s input visually unified. A title does not enter through a separate text channel while the table enters through an image channel. Both become parts of the same rendered source.

The rendering differs according to the generation setting. An image of isolated highlighted cells provides a much thinner visual object than a complete table. In LControl, highlights indicate relevant content while the surrounding layout remains visible. In OpenE, the layout remains but the selection signal disappears.

This distinction also helps explain a later result. The authors do not expect the image-based approach to have its greatest advantage on isolated cells. Removing much of the table also removes much of the structural information that motivates visual encoding.

Convert the image into patches

An input image has height, width, and color channels. The paper expresses its shape as follows:

x ∈ ℝ^(H×W×C)

Here, x is the table image. H is its height, W its width, and C the number of channels. The expression specifies the array of pixel values supplied to the visual encoder.

The image is divided into square patches. The number of patches is determined by the image dimensions and patch size:

N = HW / P²

N is the patch count, which becomes the visual input sequence length. P is the side length of a square patch. H and W retain their meanings as image height and width. This relationship describes the patch grid after the image has been prepared for the encoder.

Each patch is flattened into a vector:

xₚ ∈ ℝ^(N×(P²·C))

xₚ denotes the sequence of flattened patches. There are N patch vectors, and each contains the pixel-channel values from a square region with side length P. The patch vectors are linearly embedded before entering the encoder.

PixT3 uses patches of 16×16 pixels. Positional information tells the encoder where each patch belongs. This matters because a value’s location helps determine its relationship to other entries. Recognizing the same printed string in a different row can change what the table says.

Pix2Struct uses spatial position embeddings rather than relying only on a position along a flattened sequence. It also supports varying image resolutions and aspect ratios. The image can therefore be prepared without forcing every table into the same shape and distorting its proportions.

Fit the image within a finite budget

Visual input still has a size limit. The authors use a maximum of 2,048 patches, corresponding to an image area of 524,288 pixels. This constraint is substantial because 41.74% of ToTTo tables exceed that size when rendered. The paper also reports that 5% exceed 8.3M pixels, corresponding to 32,768 patches.

Simply shrinking every large image until it fits can make its text unreadable. This is a different failure from dropping part of a table, but both can prevent accurate generation. The authors therefore combine down-scaling with truncation.

Their preprocessing uses a parameter denoted γ to govern this compromise. The aim is to avoid reducing text indefinitely merely to preserve the full table. Once the selected reduction has been applied, remaining oversized content is truncated to satisfy the patch budget.

The experiments select γ as 0.39. This choice is empirical, based on comparisons of different preprocessing settings. It should not be interpreted as a universal rendering constant or as a guarantee that every relevant cell survives.

The paper’s treatment of oversized inputs is a useful reminder that a visual representation does not eliminate capacity limits. It changes the way information is packed and the kinds of information lost when capacity is exceeded.

Initialize from screenshot pretraining

PixT3 starts from the base Pix2Struct system, which has 282M parameters. Pix2Struct was pretrained using 80M webpage screenshots associated with the C4 corpus. Its training included a reading curriculum and a screenshot-parsing task.

In screenshot parsing, the target is a simplified HTML representation of a highlighted webpage region. That pretraining already links visible text and layout to structured textual output. PixT3 uses those learned capabilities as its starting point.

The original pretraining also includes a denoising component related to BART. The paper states that 50% of the input text is masked while the system is asked to reconstruct the relevant subtree. This is background about the initialization, not PixT3’s new table-specific objective.

The authors’ contribution begins from the observation that general document competence is insufficiently specific. Tables contain conventions about row membership, column membership, and spanning cells. A system pretrained on broad webpage material may not reliably apply those conventions during description generation.

Build synthetic tables with controlled structure

For intermediate training, the authors create synthetic tables rather than adopting an existing scientific-table collection. Their reason concerns the distribution of structures. They want examples resembling Wikipedia tables in ToTTo, including their sizes and use of spanning cells.

The generator measures structural distributions from the ToTTo training set. It then samples table shapes and spans from those distributions. The generation process caps the structure at 20 columns and 75 rows.

Using the training split matters. The synthetic curriculum is shaped by the intended application, but held-out assessment material is not needed to construct it. The paper explicitly connects this design to avoiding contamination and overfitting.

Cell contents are artificial combinations of alphabetic characters and digits. Their purpose is identification rather than realistic semantics. If every value were a familiar country, athlete, or year, a system might exploit content associations. Artificial identifiers make the structural task more direct.

The synthetic collection contains 135,400 tables. The split assigns 120,000 to training, 7,700 to validation, and 7,700 to testing. Appendix D further describes the generated targets as averaging 121 tokens, with the longest containing 877 tokens.

Those target lengths matter because intermediate training has a computational cost. The chosen task is intended to express useful relationships without requiring a full transcription of every table.

Learn the neighborhood of a highlighted cell

The new supporting task highlights a random cell. The target identifies the highlighted entry and the cells associated with it through the relevant columns and rows.

This is a retrieval-like structural exercise. It asks the system to recognize where entries belong, rather than predict a hidden value from semantic context. The distinction is important because arbitrary table values need not be predictable from their neighbors.

Targets use a pseudo-HTML organization related to Pix2Struct’s existing output format. That continuity reduces the mismatch between the original screenshot-parsing task and the new curriculum. The decoder is already accustomed to producing structured textual representations of visual input.

Spanning cells require a richer target than a single row and column intersection. If a highlighted cell participates in several rows or columns, the target includes the corresponding related entries. The supporting task therefore exposes the system to heterogeneous layouts rather than only uniform grids.

The paper also considers masking-based alternatives. However, when missing entries encode positions, a system may infer them from nearby clues without inspecting the broader structure. The authors’ preferred task makes explicit retrieval of related cells central to success.

Fine-tune for descriptions

After intermediate training, PixT3 is trained on table images paired with descriptions from ToTTo. Separate variants are trained for the different generation settings.

The conditional probability of a description is factorized autoregressively:

P(y | x; θ) = ∏ᵢ₌₁ⁿ P(yᵢ | y<ᵢ, x; θ)

P(y | x; θ) is the probability assigned to the complete description y given image x. θ denotes the trainable parameters. yᵢ is the word at output position i, and y<ᵢ is the already generated prefix. In this probability expression, n is the number of output positions. It is a local use of the symbol, distinct from the column-count notation in the paper’s earlier table description.

Training teaches the system to assign probability to the reference descriptions under this conditional structure. During generation, the decoder uses the image representation and its partial output to choose continuations.

The decoder’s maximum output length is 50 tokens. The paper reports that this covers 97.49% of training descriptions. This is another explicit boundary: the task concerns relatively short descriptions rather than unrestricted reports about every aspect of a table.

Training and checkpoint selection

The experiments use a single NVIDIA A100 80GB GPU. Fine-tuning uses a batch size of 8 with gradient accumulation over 32 steps. Optimization uses AdamW.

The learning-rate schedule warms up for 1,000 steps to 0.0001 and then follows cosine decay to 0. Intermediate structural training lasts 1.4k steps. The decoder remains trainable during that stage because the authors’ initial experiments favored training it over freezing its weights.

Appendix H reports a fine-tuning setting of 30 epochs, mixed precision using fp16, and validation every 250 steps. Early stopping is based on validation BLEU. Inference uses 8 beams.

All generation settings use the same listed fine-tuning hyper-parameters. This helps keep the experimental distinction focused on the information supplied to the system instead of a different training recipe for every setting.

The authors release their implementation, trained systems, and associated data. The release is part of the contribution because reproducing the approach requires both the generation procedure and the rendering and synthetic-data preparation choices.

Experiments and results

Datasets and what they test

ToTTo is the main training and evaluation dataset. The paper describes it as manually curated and varied in subject matter and table type. Its highlighted cells support controlled generation, while removing those highlights creates the open-ended condition.

The development and test evaluations also distinguish overlapping and non-overlapping subsets. The distinction concerns whether table header values appeared in training. This is narrower than saying that every aspect of a non-overlapping example is completely new, but it provides a useful test of transfer beyond familiar headers.

The official test set is not publicly available. The authors obtain test scores through submission to the ToTTo evaluation service. Development results support analysis and checkpoint selection; official test results provide the held-out comparison.

Logic2Text supplies a different transfer setting. It contains 10,161 Wikipedia tables paired with human descriptions and logical forms. Its descriptions frequently involve operations such as comparison or counting rather than straightforward restatement.

To create content-selection annotations, the authors trace values in logical forms back to table cells. The resulting highlights make it possible to apply the same generation settings used for ToTTo. The reported transfer evaluation uses the official Logic2Text test set with 1,085 examples.

Except for LLaVA, the compared systems are trained on ToTTo and then tested on Logic2Text. This is therefore a transfer experiment, rather than a comparison in which each system receives task-specific Logic2Text training.

Comparison systems and their differences

The text-based comparisons include a straightforward T5 generator, CoNT, and Lattice. T5 provides a strong general text-to-text starting point. CoNT adds contrastive learning and a corresponding decoding strategy. Lattice introduces structural restrictions on attention and cell encoding.

T5-base, CoNT, and Lattice have 220M parameters. T5-3B provides a larger text-based comparison with 3B parameters. PixT3 has 282M parameters, placing it closer in size to the smaller task-trained systems than to the larger comparisons.

For transfer, the paper also evaluates LLaVA-1.5, associated with visual instruction tuning. The evaluated system is reported as having 13B parameters and is not specifically fine-tuned for table-to-text generation.

LLaVA receives an image, an instruction, and textual examples of descriptions. Because it handles a single image at a time in this setup, it does not receive a conventional sequence of complete visual input-output demonstrations. The authors supply three example descriptions to guide style, but this remains a different preparation regime from supervised ToTTo fine-tuning.

That difference is central to interpretation. The comparison asks whether a large general visual-language system can perform the task under the chosen prompting arrangement. It does not isolate parameter count while holding training exposure constant.

What the automatic measures capture

The paper uses BLEU, PARENT, and BLEURT. They provide complementary views, although none is a complete measure of table understanding.

BLEU compares generated text with reference text through overlapping word sequences. The cited BLEU paper supplies the metric’s background. In this study, the authors use BLEU as an indicator related to generation quality and fluency.

PARENT also considers the source table, making it more directly relevant to data-to-text support. The authors treat it as a proxy for faithfulness. Still, a proxy score should not be equated with checking every proposition against the table.

BLEURT compares an output with a reference using a learned scoring approach. It contributes another assessment of semantic agreement and generated quality. Its dependence on a reference remains important in open-ended generation, where valid outputs may select different content.

ToTTo: isolated selected cells favor text-based generation

In TControl, PixT3 does not lead the automatic evaluation. On the ToTTo test set, CoNT obtains BLEU 48.7 and PARENT 58.1. PixT3 obtains BLEU 45.4 and PARENT 55.5.

Lattice also records test PARENT 58.1, while its test BLEU is 48.0. These results show that the visual representation is not uniformly better. When the input has already been reduced to the selected cells, a textual representation is well matched to the remaining task.

The authors interpret this setting as comparatively unfavorable to PixT3 because isolated cells provide limited visual structure. The observation is consistent with the paper’s motivation: the strongest advantage should arise when layout and full-source access matter.

This result also prevents an overly broad conclusion about replacing text with images. The useful representation depends on which information is available and what the system must do with it.

ToTTo: full tables with highlights favor PixT3

The ranking changes strongly in LControl. Here, the generator receives the complete table and a selection signal. PixT3 leads the reported automatic comparisons.

ToTTo test set, loosely controlled generation, PARENT

PixT3 leads when the complete table accompanies highlighted content.

ToTTo test set, loosely controlled generation, PARENTT5-base: 27.1T5-base27.1T5-3B: 25.8T5-3B25.8Lattice: 30.8Lattice30.8CoNT: 29.2CoNT29.2PixT3 (this paper): 54.7PixT3 (this paper)54.7
The numbers
System or settingPARENT
T5-base27.1
T5-3B25.8
Lattice30.8
CoNT29.2
PixT3 (this paper)54.7

The corresponding ToTTo test BLEU results are 24.5 for T5-base, 23.9 for CoNT, and 45.4 for PixT3. The full-table input is therefore not merely neutral context for the textual comparisons. Their performance is much weaker than in TControl.

The non-overlapping test subset preserves the same broad advantage. PixT3 records BLEU 38.1 and PARENT 50.3 in LControl. CoNT records BLEU 19.2 and PARENT 26.1.

These scores support the claim that PixT3 handles the complete-table condition better under the tested configurations. They do not by themselves determine how much of the advantage comes from visual organization, preprocessing, pretraining, or accessible input coverage. The ablations address parts of that question.

ToTTo: open-ended generation remains difficult

OpenE removes the highlighting signal. The generator must choose content and express it, while automatic scoring still compares against particular reference descriptions.

On the ToTTo test set, PixT3 obtains BLEU 24.7 and PARENT 28.3. CoNT obtains BLEU 21.6 and PARENT 25.8. Lattice obtains BLEU 20.8 and PARENT 25.9.

The paper reports an automatic advantage for PixT3, but it also emphasizes that the setting depresses performance across systems. Part of the problem is genuine task difficulty. Another part is the possibility of a supported description that differs from the reference’s selection.

This makes the human study especially important. Reference resemblance cannot settle whether an independently selected claim is true of the table.

Logic2Text: transfer depends on the setting

PixT3 performs strongly on Logic2Text in TControl by the reported overlap and source-aware measures. It obtains BLEU 20.6 and PARENT 61.86. CoNT obtains BLEU 18.8 and PARENT 61.73.

However, human faithfulness judgments in this setting are much less favorable than the PARENT values might suggest. PixT3 receives a faithfulness proportion of 32, compared with 35 for CoNT and 34 for Lattice. The measures are capturing different aspects of the output.

In LControl, PixT3 obtains BLEU 21.5 and PARENT 56.45. CoNT obtains BLEU 11.8 and PARENT 43.25. LLaVA obtains BLEU 5.9 and PARENT 23.18.

The full table plus selection signal is again PixT3’s strongest comparative setting. It can use contextual layout while avoiding the full uncertainty of choosing a topic without guidance.

OpenE gives a less decisive automatic result. Lattice obtains BLEU 11.7 and PARENT 38.12. CoNT obtains BLEU 11.0 and PARENT 36.94. PixT3 obtains BLEU 11.4 and PARENT 35.68.

The paper characterizes PixT3 as competitive with the stronger task-trained alternatives in this transfer condition. It does not lead every metric. LLaVA obtains BLEU 6.7 and PARENT 20.14, remaining weaker under the evaluated prompting setup.

Human assessment of faithfulness

The human study evaluates whether generated descriptions are supported by the table and its metadata. Reviewers see an uncompressed table image, contextual titles, and a candidate description.

The authors sample 100 examples from ToTTo development data and 100 from the Logic2Text test set. They evaluate the generation settings and include human reference descriptions as a comparison. The study collects 7,200 judgments.

Reviewers are asked to evaluate support rather than consult outside information. The instructions also address cases such as expanded acronyms and implicit information. A description that cannot sensibly be evaluated is treated as false.

The open-ended ToTTo judgments illustrate the main result:

ToTTo development sample, open-ended generation, human faithfulness

PixT3 descriptions are judged more faithful than the text-based comparisons.

ToTTo development sample, open-ended generation, human faithfulnessLattice: 20Lattice20CoNT: 35CoNT35PixT3 (this paper): 78PixT3 (this paper)78Reference: 89Reference89
The numbers
System or settingproportion rated faithful
Lattice20
CoNT35
PixT3 (this paper)78
Reference89

In ToTTo LControl, the human faithfulness values are 16 for Lattice, 16 for CoNT, and 72 for PixT3. The reference receives 84. In TControl, the ordering changes: Lattice receives 79, CoNT 76, and PixT3 69.

Logic2Text shows a similar dependence on the generation setting. In LControl, PixT3 receives 40, while Lattice and CoNT each receive 3. In OpenE, PixT3 receives 60, compared with 16 for Lattice and 26 for CoNT.

The authors use paired bootstrap resampling for significance analysis. They report p < 0.05 for the stated differences in LControl, and report that PixT3 differs significantly from the text-based comparisons in OpenE. Inter-rater agreement is described as moderate, with Fleiss’ Kappa 0.55.

These findings support the claim that PixT3 is more faithful in important full-table conditions. They do not show that every generated description is faithful, equally informative, or an adequate substitute for the reference’s reasoning.

What the ablations show

The structural curriculum changes the intended error category

The principal ablation compares PixT3 with and without the intermediate structure-learning curriculum. Both variants use the image-based fine-tuning pipeline, including the chosen preprocessing and task adaptation.

The automatic improvements are modest. Averaged across generation settings on ToTTo development data, the version without the curriculum obtains BLEU 38.7 and PARENT 46.0. With the curriculum, the corresponding values are BLEU 39.2 and PARENT 46.5.

On the ToTTo test set, the version without the curriculum obtains BLEU 38.3 and PARENT 45.6. The version with it obtains BLEU 38.7 and PARENT 46.3. BLEURT also improves in the reported aggregate comparison.

The stronger diagnostic concerns structural mistakes. The authors manually inspect a random development sample of 200 outputs and identify descriptions that misread or disregard table organization.

ToTTo development sample, structural faithfulness errors

The structural curriculum reduces the targeted category of mistakes.

ToTTo development sample, structural faithfulness errorsPixT3 without curriculum: 23PixT3 without curriculum23PixT3 with curriculum (this paper): 7PixT3 with curriculum (this paper)7
The numbers
System or settingstructural faithfulness errors %
PixT3 without curriculum23
PixT3 with curriculum (this paper)7

This is more direct evidence about the proposed mechanism than an overall overlap score. The curriculum is intended to improve structural interpretation, and the manual analysis examines that category.

The authors also observe that outputs from the variants are frequently semantically equivalent to the target, reporting 43% in that inspection. This helps explain why broad metrics and targeted error analysis can tell different stories. A change in relational accuracy may not require a large change in the surrounding wording.

The result remains bounded by its sample and error definition. It supports the value of this curriculum in the tested pipeline; it does not establish universal structural understanding.

Task fine-tuning is indispensable

The paper also reports the performance of Pix2Struct without the table-generation adaptation. On ToTTo development data, it obtains BLEU 0.2, PARENT 0.6, and BLEURT −1.433.

This baseline is useful because screenshot pretraining alone does not produce a competent table-description system. The architecture and initialization provide a starting point, but the target task still needs supervised adaptation.

It would therefore be misleading to attribute the complete result to visual input alone. PixT3 combines a pretrained visual-language foundation, table-specific preprocessing, intermediate structural training, and supervised description training.

The ablation separates some of these contributions, especially task adaptation and the extra curriculum. It does not independently isolate every aspect of the visual foundation.

Larger input capacity is not the whole explanation

The main textual comparisons use 512 input tokens, while PixT3 uses 2,048 image patches. This creates a plausible alternative explanation: perhaps PixT3 wins mainly because it can inspect more of the table.

The authors train a PixT3 variant limited to 512 patches. In the size-stratified analysis, this restricted variant performs somewhat worse than the main version and degrades more readily as tables grow.

Nonetheless, it continues to outperform the textual comparisons in the reported LControl analysis. The result weakens the claim that the advantage is entirely due to the main patch budget.

It does not establish a perfectly matched resource comparison. A patch and a text token encode different amounts and kinds of information. The experiment is informative as a constrained variant, but equal sequence counts do not imply equal information, compute, or effective coverage.

Table size reveals where robustness breaks down

The paper groups tables by rendered pixel size and examines PARENT performance in LControl. The textual comparisons deteriorate as table size increases. PixT3 is more stable until the tables become very large.

This analysis matters because an overall average could conceal that behavior. A system might appear competitive while failing primarily on the large inputs that motivated the new representation.

The size analysis supports relative robustness, not immunity. PixT3 also deteriorates when the image becomes too difficult to fit while preserving useful detail.

The figures distinguish overlapping and non-overlapping subsets through bounds around the overall trend. That presentation keeps source familiarity visible alongside size, instead of collapsing both influences into a single score.

Down-scaling and truncation need to be balanced

Appendix C compares preprocessing settings using γ values of 0.87, 0.58, 0.39, 0.26, and 0.00. The γ = 0.00 condition represents down-scaling without truncation.

The authors identify 0.39 as the preferred setting. Their conclusion is that neither excessive truncation nor relying entirely on shrinking is beneficial.

The interpretation is concrete. If every cell remains but its text becomes unreadable, nominal coverage is not useful coverage. If every visible character remains clear but important cells have been removed, readability does not ensure an adequate source.

The comparison therefore supports a compromise within this pipeline. It does not establish that a single preprocessing choice will work equally well for other renderers, table styles, or tasks.

Alternative intermediate objectives expose a shortcut

The masking alternative fills synthetic cells with information indicating their position, hides some entries, and asks the system to reconstruct them. This produces relatively short targets and trains quickly.

Its downstream results are worse than those of the chosen structural objective. The authors suggest that nearby entries may provide enough information to infer a missing positional value without inspecting the whole row or column.

They also try combining that masking task with the preferred structural task. The combined approach still falls behind PixT3’s selected curriculum.

The important lesson is about the relationship between task design and intended skill. An objective can look structurally motivated while allowing a solution that uses only local clues. The supporting task must make the desired relation necessary, not merely present in the input.

Limitations

The authors’ stated limits

The authors explicitly acknowledge that oversized tables remain a problem. They report that 16% of Wikipedia tables in ToTTo are still too large for PixT3 to represent effectively.

This follows from the input pipeline itself. Visual encoding can represent some tables more effectively than a verbose string, but the patch limit remains finite. Shrinking and truncating the image can remove the evidence needed for a reliable description.

The authors suggest multiple-image rendering as a possible future response. That is a research direction, not a capability demonstrated by the evaluated system. Combining views would introduce its own questions about coverage, alignment, and repeated or inconsistent evidence.

Hallucination is another stated limitation. The structural curriculum reduces a class of faithfulness errors, but it does not eliminate unsupported output or reach human-level performance.

This matters because a layout-aware representation still feeds a generative decoder. The presence of the correct evidence in an image does not guarantee that every generated assertion will follow it.

The most consequential stated limitation concerns reasoning. The authors warn that PixT3 and its comparisons have restricted ability to make logical connections or derive information beyond what the table directly states.

They specifically explain the Logic2Text human-faithfulness advantage through simpler generated sentences rather than stronger reasoning. A sentence may correctly report participation in an event while avoiding the ranking or numerical comparison expressed by the reference.

The proposed future planning component addresses this gap. A visual representation could supply observations, while an intermediate plan would determine operations and conclusions before generation. The paper does not implement or validate that combination.

What the setup leaves unresolved

A careful reading also reveals limits imposed by the evaluation design. These are not additional experimental findings; they are boundaries on what the reported evidence establishes.

First, the study does not isolate all sources of PixT3’s advantage. The representation, screenshot pretraining, rendering procedure, source reduction, and supervised adaptation work together. The curriculum ablation identifies the contribution of the added structural stage more directly than it identifies the independent contribution of pixels.

Second, equal sequence lengths do not create a complete resource match. The restricted-patch experiment is a useful control, but it does not show that visual and textual inputs consume equal computation or retain equal information.

Third, the LLaVA comparison is not a pure experiment on size. LLaVA lacks the task-specific fine-tuning given to PixT3 and the textual generators. The result supports specialization under the tested conditions, while leaving open how a differently adapted visual-language system would behave.

Fourth, faithfulness and informativeness remain distinct. Human reviewers assess whether a description is supported, not whether it expresses the most useful fact or performs the operation the reference emphasizes. A safer sentence can score well on support while accomplishing less.

Fifth, open-ended automatic evaluation remains reference-dependent. The paper recognizes that alternative selections can be valid. A low score can therefore reflect content divergence as well as generation failure, while a strong score does not replace source verification.

Sixth, human judgment is itself imperfect. The reference descriptions are not unanimously accepted, and reported agreement is moderate. The study provides valuable independent evidence, but its labels should not be treated as an infallible factual oracle.

Seventh, the synthetic curriculum deliberately limits semantic complexity. Artificial identifiers help isolate structural relations, but they do not teach the meaning of units, the interpretation of specialized headings, or the operations required by a logical description.

Finally, the paper does not establish multilingual table generation or a general semantic parsing capability. Both appear as possible extensions. The demonstrated contribution concerns the evaluated table-description tasks and their tested conditions.

How to read the central claim

The strongest supported claim is conditional: under the paper’s rendering, training, and input limits, PixT3 handles full-table generation more effectively than the tested textual systems, especially when highlighting remains available.

A broader claim that visual input is always superior would conflict with TControl results. A claim that the system reasons better would conflict with the authors’ own explanation of Logic2Text faithfulness.

The paper is most persuasive when read as an investigation of representation and structural preparation. It shows that layout can be useful input, that the choice of generation setting changes system rankings, and that targeted structural training can reduce a meaningful class of errors.

What came after

The paper identifies several directions for further investigation, but no later citing studies are established here. There is therefore no supported basis for attributing a subsequent result or implementation to PixT3.

The authors propose multilingual table descriptions, additional structure-sensitive objectives, and applications to semantic parsing. They also suggest processing very large tables through multiple images and introducing an intermediate planning stage.

These directions address different unresolved problems. Multiple images concern source coverage. Better structural objectives concern relationships between cells. Planning concerns the operations that connect observed values to a supported statement.

Their distinction is useful: improving visual access, improving structural interpretation, and improving reasoning are separate research tasks. PixT3 provides evidence for progress on the first two within its evaluated setting, while leaving the third explicitly open.

Cite

Cite as Iñigo Alonso, Eneko Agirre and Mirella Lapata. 2024. PixT3: Pixel-based Table-To-Text Generation. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.acl-long.364

@inproceedings{alonso2024pixt3,
  title = {{PixT3: Pixel-based Table-To-Text Generation}},
  author = {Iñigo Alonso, Eneko Agirre and Mirella Lapata},
  booktitle = {Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.364},
  url = {https://doi.org/10.18653/v1/2024.acl-long.364}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/alonso-2024-pixt3-pixel-based-table-text/