SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.14321 · ACL · 2023

ROBUT: A Systematic Study of Table QA Robustness Against Human-Annotated Adversarial Perturbations

Dragomir Radev, Boyu Mi, Yilun Zhao, Xiangru Tang, Zhenting Qi, Chen Zhao, Linyong Nan, Wenlin Zhang

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2306.14321.json · badge: /api/ran/2306.14321.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yilunzhao/RobuT canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
FunctionStatusWhere it lives
convert_to_float Ran
ran, honoured the contract we drafted
yilunzhao/RobuT/utils/eval_utils.py
code served (permissive licence) · get_code("bca6148c557e6cfd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import six

def _split_thousands(delimiter, value):
    split = value.split(delimiter)
    return len(split) > 1 and any(map(lambda x: len(x) == 3, split))

delimiter = ', '

def convert_to_float(value):
    """Converts value to a float using a series of increasingly complex heuristics.

  Args:
    value: object that needs to be converted. Allowed types include
      float/int/strings.

  Returns:
    A float interpretation of value.

  Raises:
    ValueError if the float conversion of value fails.
  """
    if isinstance(value, float):
        return value
    if isinstance(value, int):
        return float(value)
    if not isinstance(value, six.string_types):
        raise ValueError("Argument value is not a string. Can't parse it as float")
    sanitized = value
    try:
        if '.' in sanitized and ',' in sanitized:
            return float(sanitized.replace(',', ''))
        if ',' in sanitized and _split_thousands(',', sanitized):
            return float(sanitized.replace(',', ''))
        if ',' in sanitized and sanitized.count(',') == 1 and (not _split_thousands(',', sanitized)):
            return float(sanitized.replace(',', '.'))
        if sanitized.count('.') > 1:
            return float(sanitized.replace('.', ''))
        if sanitized.count(',') > 1:
            return float(sanitized.replace(',', ''))
        return float(sanitized)
    except ValueError:
        raise ValueError('Unable to convert value to float')

ARGS = {
    "value": "1,234.56"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
six — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
execute Ran
ran on a synthesized input
yilunzhao/RobuT/utils/eval_utils.py
code served (permissive licence) · get_code("7998bb6f998f1b8a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np

# Create a simple pandas DataFrame to use as the table
data = {
    'A': ['10', '20', '30'],
    'B': ['1,000', '2,000', '3,000'],
    'C': ['100.50', '200.75', '300.25']
}
table = pd.DataFrame(data)

# Define cell coordinates (row, col) tuples
cell_coos = [(0, 0), (1, 0), (2, 0)]

# Define aggregation type
aggregation_type = 'SUM'

ARGS = {
    'aggregation_type': aggregation_type,
    'cell_coos': cell_coos,
    'table': table
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, six — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_float32 Ran
ran on a synthesized input
yilunzhao/RobuT/utils/eval_utils.py
code served (permissive licence) · get_code("f3d19b17e614286d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import struct

def to_float32(v):
    """If v is a float reduce precision to that of a 32 bit float."""
    if not isinstance(v, float):
        return v
    return struct.unpack('!f', struct.pack('!f', v))[0]

# Test case 1: float value
test_float = 3.14159265359

# Test case 2: non-float value (e.g., int)
test_int = 42

# Test case 3: string (non-float)
test_string = "hello"

# Test case 4: None
test_none = None

# Test case 5: list (non-float)
test_list = [1, 2, 3]

# The function takes one parameter 'v' which can be any type
# We'll test with a float since that's the main use case
ARGS = {
    'v': 3.14159265359
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_prediction_sequence Not yet run
unverified (harvested, no recorded run)
yilunzhao/RobuT/main/run_tapas.py
code served (permissive licence) · get_code("1d43704b2478ff62")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
convert_to_float 2 other papers
2 dated earlier
2004.02349 (2020-04)
TAPAS: Weakly Supervised Table Parsing via Pre-training
2104.08303 (2021-04)
Capturing Row and Column Semantics in Transformer Based Question Answering over Tables

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Despite significant progress having been made in question answering on tabular data (Table QA), it's unclear whether, and to what extent existing Table QA models are robust to taskspecific perturbations, e.g., replacing key question entities or shuffling table columns. To systematically study the robustness of Table QA models, we propose a benchmark called ROBUT, which builds upon existing Table QA datasets (WTQ, WIKISQL-WEAK, and SQA) and includes human-annotated adversarial perturbations in terms of table header, table content, and question. Our results indicate that both state-of-the-art Table QA models and large language models (e.g., GPT-3) with few-shot learning falter in these adversarial sets. We propose to address this problem by using large language models to generate adversarial examples to enhance training, which significantly improves the robustness of Table QA models. Our data and code is publicly available at https: //github.com/yilunzhao/RobuT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2306.14321")
get_code_for_paper("2306.14321")
have("2306.14321")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2306.14321.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2306.14321.svg)](https://syntology.ai/paper/2306.14321)

Connect an agent — have() is free.