Papers › Capturing Row and Column Semantics in Transformer Based Question Answering over Tables

Capturing Row and Column Semantics in Transformer Based Question Answering over Tables

16 Apr 2021NAACL 2021 4arXiv:2104.08303archive 2025-07-28

Michael Glass, Mustafa Canim, Alfio Gliozzo, Saneem Chemmengath, Vishwajeet Kumar, Rishav Chakravarti, Avi Sil, Feifei Pan, Samarth Bharadwaj, Nicolas Rodolfo Fauceglia

Transformer based architectures are recently used for the task of answering questions over tables. In order to improve the accuracy on this task, specialized pre-training techniques have been developed and applied on millions of open-domain web tables. In this paper, we propose two novel approaches demonstrating that one can achieve superior performance on table QA task without even using any of these specialized pre-training techniques. The first model, called RCI interaction, leverages a transformer based architecture that independently classifies rows and columns to identify relevant cells. While this model yields extremely high accuracy at finding cell values on recent benchmarks, a second model we propose, called RCI representation, provides a significant efficiency advantage for online QA systems over tables by materializing embeddings for existing tables. Experiments on recent benchmarks prove that the proposed methods can effectively locate cell values on tables (up to ~98% Hit@1 accuracy on WikiSQL lookup questions). Also, the interaction model outperforms the state-of-the-art transformer based approaches, pre-trained on very large table corpora (TAPAS and TaBERT), achieving ~3.4% and ~18.86% additional precision improvement on the standard WikiSQL benchmark.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2104.08303")

Code

Syntology Ran 1 of 10 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

IBM/row-column-intersection officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 1 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
9unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from IBM/row-column-intersection. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

avg IBM/row-column-intersection/tableqa/aggregation_integration.py official repository ran fingerprinted Apache-2.0 (permissive) · 7a1a277b5455acbd · report
convert_to_float IBM/row-column-intersection/tableqa/tapas_eval.py official repository unverified Apache-2.0 (permissive) · 67478c039bf8b9c0 · report
get_numeric_col_vals IBM/row-column-intersection/tableqa/aggregation_integration.py official repository unverified Apache-2.0 (permissive) · 3e6f5c4103652755 · report
log_softmax IBM/row-column-intersection/tableqa/seq_pair_apply2tables.py official repository unverified Apache-2.0 (permissive) · 4b0deab5f5cb8d50 · report
sentence_to_inputs IBM/row-column-intersection/dataloader/distloader_base.py official repository unverified Apache-2.0 (permissive) · e8e58c66ec0109a2 · report
standard_json_mapper IBM/row-column-intersection/dataloader/distloader_seq_pair.py official repository unverified Apache-2.0 (permissive) · d994de88d7cad170 · report
to_ndarray IBM/row-column-intersection/tableqa/seq_pair_apply2tables.py official repository unverified Apache-2.0 (permissive) · 1be60c6154b0426b · report
to_number IBM/row-column-intersection/tableqa/aggregation_integration.py official repository unverified Apache-2.0 (permissive) · 19b6aef837a2c77c · report
tokenize_string IBM/row-column-intersection/tableqa/tapas_eval.py official repository unverified Apache-2.0 (permissive) · 84b82f831409eb64 · report
wtq_normalize IBM/row-column-intersection/tableqa/tapas_eval.py official repository unverified Apache-2.0 (permissive) · cd5b71c63186c124 · report

Tasks

Question Answering

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections