Manuscript Offprint

arXiv:2608.26949

A Table Is Worth 64 Tokens: Pixel-level Compression for Multi-Table Document Question Answering

Iñigo Alonso, Mirella Lapata

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Answering questions over real-world documents requires processing long inputs that interleave text with tables. Optical context compression, which represents context as images, promises to reduce token cost, but its effect on table understanding remains unclear. We study pixel-level table compression for question answering over documents with multiple tables, evaluating five VLMs across two benchmarks and five visual-token budgets. Representing tables as images at native resolution matches text in both performance and efficiency, but downscaling them makes models compensate the loss in readability with longer, less effective reasoning traces that cancel the expected savings. Highly downscaled tables, however, preserve enough signal to identify whether they are relevant to a question. We exploit this asymmetry with a training-free, two-step method: the model first identifies the tables needed to answer a question from a pixel-compressed context, and then reasons over those at native resolution. On long documents, our method saves 41% of total tokens and gains 7 accuracy points over single-step QA with native resolution tables. It also uses 15% fewer tokens than the most efficient single-step compressed configuration, with no accuracy loss. 1^{1}

1 Introduction

Real-world documents are long and heterogeneous, mixing free-form text with structured elements such as tables. Despite advances in efficient attention, processing long inputs remains computationally costly (Liu et al., 2025), and performance degrades once contexts approach or exceed the lengths seen during pre-training (Liu et al., 2024; Hsieh et al., 2024). Representing the input efficiently is therefore not just an optimization goal but a requirement for handling documents at scale.

Recent work on optical context compression has shown that text rendered as an image typically consumes fewer tokens than the same text represented as raw text (Wei et al., 2025). Originally tested on OCR-style reconstruction, these findings have since been extended to downstream tasks, both with dedicated training (Xing et al., 2025a; Cheng et al., 2026) and with off-the-shelf VLMs (Li et al., 2025). This evidence, however, is limited to plain text which motivates our central question: can pixel-level table compression improve efficiency at no performance cost?

To answer it, we focus on question answering (QA) over financial documents, a task representative of real-world challenges: long context, heterogeneous information (text and tables), and questions requiring numerical reasoning. We evaluate 5 open-weight models spanning fixed- and native-resolution visual encoders, under a common framework of five visual token budgets (64, 128, 256, 512, and 1,024 tokens per image), using the number of tokens processed by the decoder backbone as a proxy for efficiency. Our experiments show that simply lowering the resolution is not enough: under aggressive compression, models cannot decipher fine-grained cell values, and compensate by reasoning more, to the point where the extra reasoning eats into the input savings that motivated the compression in the first place. At the same budgets, however, models remain able to identify which tables are needed to answer a question.

Drawing on these findings, we propose a simple two-stage method (see Figure 1). The model first receives the document with every table compressed to a given budget and, instead of answering directly, it identifies the relevant tables first; these tables are then supplied as images at native resolution, and the model reasons over them to produce an answer. Concurrent work shows that decoupling evidence identification from reasoning can improve long-context reasoning (Guan et al., 2026; Zhao et al.,

1^{1}Code and data will be released upon publication.

Stage 1: Identify evidence over compressed tables

Stage 2: Reason over requested tables in full-resolution

Q: In which year is Commercial Utilized Loans and leases positive?

Figure

Figure 1: Our two-stage identify first, reason later method. Stage 1: the model receives the document with every table compressed to a small visual token budget and, instead of answering, identifies the tables it needs. Stage 2: the identified tables are supplied at native resolution and the model reasons over them to answer.

2026). Our method shows that compression makes the identification step cheap, since it preserves the coarse information needed to locate relevant tables. Our contributions can be summarised as follows:

• We characterize the accuracy-efficiency trade-off of pixel-level table compression in multi-table document QA, across 5 VLMs, two datasets, and five visual-token budgets. At native resolution, table images match their HTML serialization in accuracy while using fewer tokens; under aggressive compression, however, the rendered tables become illegible, models can no longer read individual cell values, and accuracy drops.

• We identify an asymmetry in how compression affects model behaviour. Lower resolutions degrade fine-grained reading and induce longer reasoning traces that offset part of the input-token savings, yet even heavily downscaled tables retain enough coarse signal for question-conditioned identification of the relevant tables.

• We exploit this asymmetry with a two-stage method that follows an identify first, reason later recipe: it first identifies relevant tables in a compressed context and then reasons over only those tables at native resolution. On long documents it saves 41% of total tokens while gaining 7 accuracy points over single-step QA with native-resolution tables, and matches the accuracy of the most efficient single-step compressed configuration using 15% fewer tokens.

• We situate the method against external retrieval. A dedicated retriever identifies evidence tables more accurately than a model reading a compressed context, but this advantage does not carry through to a better accuracy-efficiency trade-off; our method matches or exceeds retrieval at lower token cost, and continues to save tokens when applied on top of retrieved context.

References (50)