TL;DR
When feeding tables to Large Language Models (LLMs), flattening them into text scrambles their 2D geometry, while compressing structural embeddings into a single summary token blurs cells, rows, and columns together. RoTA fixes this "structural role collapse" by giving each structural role its own dedicated pathway and soft-prompt token before handing them off to a frozen LLM. This lightweight, three-token interface boosts accuracy across five table-reasoning benchmarks without ever touching the LLM’s weights.
What Problem Does This Paper Address?
Imagine looking at the number "26" floating in space. Without a row to tell you who it belongs to (say, "Sara") and a column to tell you what it measures ("age" vs. "score"), the number is meaningless.
When we ask LLMs to answer questions about tables (Table QA), we usually serialize the table into a flat 1D string using delimiters like pipes and newlines. This forces the LLM to mentally reconstruct a 2D grid from punctuation cues alone—a surprisingly brittle process.
To help, recent "table-as-modality" approaches (much like vision-language models) pair a specialized graph encoder with the LLM. However, state-of-the-art methods like TAMO take all the rich cell, row, and column embeddings from that encoder and average them into a single global token. The authors call this structural role collapse: by blending local evidence (cells), records (rows), and attributes (columns) into one vector at the encoder–LLM boundary, we throw away the exact structural distinctions the LLM needs to reason accurately.
Methods
RoTA (Role-preserving Table Alignment) acts as a cleaner translator between a table encoder and a frozen LLM (primarily LLaMA2).
- What is standard: Following prior work (TAMO), RoTA feeds the standard serialized table text and question into the LLM, while simultaneously processing the table through a Hypergraph Neural Network (HGNN). In this hypergraph, cells are nodes, and rows/columns are hyperedges connecting groups of cells.
- What is new: Instead of globally pooling the HGNN’s outputs into one vector, RoTA keeps the three structural types strictly separated:
- Role-wise Pooling: It separately mean-pools cell states, row-hyperedge states, and column-hyperedge states into three distinct summary vectors.
- Role-specific Projectors: Rather than using one shared projection network, each role gets its own trainable projector ($P_{\text{cell}}, P_{\text{row}}, P_{\text{col}}$) to map its vector into the LLM's embedding space.
- Three-Token Soft Prompt: These three structural tokens are prepended right before the serialized text embeddings. Only the hypergraph encoder and the three projectors are trained; the LLM remains completely frozen.
Datasets
No new datasets are introduced. The authors evaluate RoTA on five established Table QA benchmarks:
- StructQA: Structure-sensitive table QA (used as the primary diagnostic testbed).
- WikiTQ (WikiTableQuestions): Open-domain web tables requiring complex reasoning.
- HiTab: Hierarchical tables with multi-level headers.
- WikiSQL: Table QA evaluated via executable SQL logic.
- FeTaQA: Free-form, generative question answering grounded in table evidence.
Key Insights and Ideas
- It’s about the roles, not just the extra parameters or tokens: A natural skepticism is: Does RoTA only win because three tokens and three projectors hold more capacity than one? Cleverly, no. Repeating a global token three times, randomly grouping table states into three tokens, or giving a shared projector an extra MLP to match RoTA's exact parameter count (32.55M parameters) all fall short of RoTA. Semantic separation is doing the heavy lifting.
- All three structural roles pull their weight: Ablating any single role (cell, row, or column) degrades accuracy on StructQA by 1.92 to 3.85 points, with masking columns hurting the most. Using only one role drops accuracy by up to 5.94 points.
- Structure anchors messy text: When the authors scrambled the row and column order in the serialized text (while keeping the hypergraph representation fixed), RoTA maintained much higher prediction consistency than TAMO. Preserving roles makes the LLM less vulnerable to arbitrary formatting quirks.
Key Results
Across all five benchmarks using a frozen LLaMA2 backbone, RoTA consistently beats the reproduced single-token TAMO baseline (and massively outperforms prompting the frozen LLM with text alone):
- Accuracy gains: +5.50 points on StructQA (reaching 65.37%), +3.92 on HiTab (52.78%), +3.43 on WikiTQ (40.49%), and +2.62 on WikiSQL (79.80%).
- Generation gains: +2.00 BLEU points on FeTaQA (37.19).
- Backbone generalization: Controlled tests on frozen Mistral-7B and Qwen3-8B show similar advantages on StructQA and WikiTQ.
Qualitatively, gradient-attribution tracking shows why this works: when asked which season a team had "28" appearances, TAMO blurs attention onto adjacent seasons, whereas RoTA cleanly links Apps = 28 across the row to pinpoint the exact target cell (2009/10).
Limitations and Future Work
- Coarse, question-blind compression: Regardless of table size or what the user asks, RoTA summarizes all cells, rows, and columns into three static, question-independent tokens. Fine-grained localization could benefit from question-conditioned pooling.
- Hierarchical blind spots: Splitting tables strictly into cells, rows, and columns is a somewhat blunt instrument for complex hierarchical tables (like HiTab) that feature nested, multi-level headers.
- Preprocessing dependency & scope: RoTA assumes cleanly parsed tables with accurate row/column metadata. Furthermore, the authors only test frozen LLMs against TAMO as the primary baseline; combining RoTA with LoRA or full fine-tuning, and comparing against broader table-LLM systems, remains open for future work.
Summary updated