Elamur Research

TABARD: A Novel Benchmark for Tabular Anomaly Analysis, Reasoning and Detection

Paper · 2025 · Manan Roy Choudhury, Anirudh Iyengar Kaniyar Narayana Iyengar, Shikhhar Siingh et al.

Summary

A table can pass a basic data check and still give the wrong answer. An order date can be formatted correctly but fall after the shipment date. A total can be a valid number but disagree with the figures it is meant to summarize. An unusual entry can even be accurate and still break a convention that the rest of the table follows. TABARD asks whether large language models can distinguish these cases and point to the particular cells that need attention. Finding the cell matters because a warning about the table as a whole leaves someone to work out where the problem starts, which values are evidence, and which value may need correction.

The authors construct the benchmark from WikiTQ, FeTaQA, Spider, and BEAVER. They keep clean tables and make altered counterparts by editing selected cells under category-specific instructions. The categories cover invalid values, factual conflicts, inconsistent relationships, implausible dates or sequences, arithmetic errors, sensitive information, normalization problems, and inconsistent representation. The construction process records where the edits occurred and why they were made. Human reviewers check a sample of the generated anomalies. Detection systems return cell locations, which the authors compare with the recorded locations to measure how many flags are justified and how many planted anomalies are found.

The experiments compare requests that give different amounts of guidance, from a general warning about possible problems to a named anomaly category with examples. The authors also ask systems to reason through their decisions, check their own findings, or compare several lines of reasoning before settling on an answer. These changes help in some settings. On FeTaQA, for example, adding step-by-step reasoning to ChatGPT-4o’s most general prompt raises recall from 55.7% to 56.1%, while precision falls from 38.5% to 36.6%. The prompts that add verification yield better precision in some comparisons, and the results vary with the table source and the kind of anomaly.

The paper’s other approach, the Neuro-Symbolic Constraint Method, turns proposed checks into executable Python rules. A system proposes constraints from the schema and sample values, and the resulting code applies them to the table. The method can also obtain outside information for factual checks. It reaches 66.6% recall with ChatGPT-4o on WikiTQ and 71.3% with Gemini 1.5 Pro on FeTaQA. That extra coverage can come with many false alarms, particularly when a rule inferred from limited examples excludes a valid exception. TABARD shows why an executable check helps with reproducible detection, and why the rule it executes still has to be judged in the context of the data.

Deep dive: TABARD: A Novel Benchmark for Tabular Anomaly Analysis, Reasoning and Detection

TABARD tests whether language systems can find individual errors in tables and measures how prompting and executable validation rules affect detection. · about 38 minutes to read

The problem and its context

What it means for a cell to be anomalous

The word anomaly covers several different reasons to question an entry. A quantity may violate a rule about what values are allowed. A total may look ordinary on its own and become suspicious only when compared with the quantity and price in the same record. A place name may fit the format and vocabulary of a column while conflicting with what is known about the place it is supposed to identify. These cases look much the same if a detector sees only an isolated string or number. They become distinguishable once the detector knows what the column means and which other information bears on its value.

The paper makes a further distinction between correctness and consistency. A date written using a different ordering of month and day can denote a valid date. A system may still have reason to flag it when the rest of the column follows a common convention. Conversely, an entry can follow that convention exactly while referring to an impossible point in a sequence. A useful judgment depends on identifying the relevant expectation. The authors’ examples move between expectations about a field’s format, relationships inside a record, patterns across records, and facts beyond the table.

This distinction helps explain why the authors care about localization. Consider an order record with a conflicting pair of dates. The order date and shipment date are both relevant to the diagnosis. A statement that the row is inconsistent gives a reader some evidence, but it does not identify which entry the detector regards as anomalous. TABARD treats the location as the prediction. A system must choose an entry even when its reasoning uses a much wider part of the table. This is especially important when the reason involves several fields but the planted change affected only one of them.

The same issue appears at a larger scale in a duplicate identifier. The repeated value can be detected only by considering more than one record. When the task is to find the introduced anomaly, however, flagging all occurrences of the identifier can give a different result from identifying the occurrence created by the edit. The distinction between evidence and target is built into the evaluation. A method can recognize a real relationship and still be scored differently depending on how it assigns responsibility for breaking that relationship.

Why table structure matters

In the applications that motivate the study, tables supply evidence for other work. The paper names areas including finance, healthcare, scientific research, and government reporting. It also describes uses such as question answering, generating text from tables, understanding schemas, and integrating data. In these settings, a system can reason correctly from an input that already contains an erroneous value. An error in the underlying table can then enter an answer or analysis without any obvious failure in the downstream procedure.

A table provides clues that ordinary text does not organize in the same way. A column name can indicate the intended role of all values beneath it. A row can establish which quantities, dates, or attributes belong to the same record. Repetition across rows can make a formatting convention visible or expose an unexpected duplicate. The paper treats those clues as useful evidence, but each has a different reach. A name and a few representative values may suggest a numerical range. They may tell a detector very little about whether a particular place belongs with a particular postal code.

Even a structural problem can have a local manifestation. The normalization examples concern how attributes are stored and how they depend on other attributes. A field that combines information normally represented separately can be flagged at a cell, although the reason concerns the design or use of the column. This is a more demanding interpretation of an anomaly than simply finding a large deviation from the other values. It requires a judgment about what constitutes a suitable representation for the table’s purpose.

The four source datasets were developed for tasks involving tables, and the authors repurpose their contents for this different kind of evaluation and benchmarking. WikiTQ supplies open-domain tables connected with work on semantic parsing on semi-structured tables. FeTaQA is a resource for giving free-form answers to questions about tables. Spider connects questions to SQL in a cross-domain setting. TABARD uses the tables as data to inspect for irregularities, giving a system a different output to produce even when the underlying subject matter is familiar. FeTaQA, Spider

The gap in earlier anomaly detection

The paper traces related anomaly detection research through images, video, multimodal content, and logs. It describes work using visual and linguistic evidence to identify unusual events or objects, as well as work that combines text and images to detect fake news. It also describes approaches that adapt language systems to irregularities in system logs. Each line of work deals with a different unit of detection and a different set of clues about what counts as abnormal.

Earlier tabular work comes closer. The authors describe Li and colleagues as testing language systems as zero-shot detectors at the batch level and investigating synthetic data and fine-tuning as ways to improve detection. They describe AnoLLM as an unsupervised approach that works directly with textual representations of tabular features. TABARD puts the emphasis on the location of a particular cell and varies the kind of constraint that the cell violates. This lets the authors ask whether a method that handles an invalid numerical value also handles a mistaken fact, a broken arithmetic relationship, or an inappropriate disclosure.

The benchmark also distinguishes the information needed to define a task from the information supplied at test time. Its designers know which kind of perturbation they asked for and which cell changed. A detector can be asked to search broadly, or it can be told that it should look for a particular kind of anomaly. These are different versions of the practical problem. One resembles reviewing data when the failure is unknown. The other resembles checking a suspected failure mode. TABARD uses both to examine how much guidance the systems need.

The method, step by step

Choosing source tables and making paired examples

The authors select numeric and mixed-type tables from WikiTQ, FeTaQA, Spider, and BEAVER. A mixed-type table can include text, numbers, and dates, sometimes within a single column. The selection procedure looks at column-level clues such as distributions of inferred types, words in the schema, and indications that combinations of fields may identify records. These clues matter because some anomalies require particular kinds of input. A check on a computed total needs a table with related numerical fields. A chronological contradiction needs fields with intelligible temporal roles.

The authors keep tables with some numerical columns and complete entries. This establishes a common starting condition for the controlled edits. It also concentrates the benchmark on tables where the authors can alter values and retain a counterpart showing what was there before. The clean table can serve as the reference for restoring an edited cell or for checking how a detector behaves when no perturbation has been introduced.

For generation, the paper reports using ChatGPT-4o with temperature 0.7 and a maximum token limit of 1000. Temperature is the setting that controls how freely the generator samples possible continuations. The token limit restricts the length of its generated response. The authors use dynamic chunking to accommodate tables of different lengths. They give the generator a table with its original schema and a prompt for the intended anomaly category. The example generation prompt instructs it to edit existing entries, preserve the rows and columns, and leave the other values intact.

The authors describe the average injection level using a quantity based on the number of rows. The number of edits varies materially by table, and a table selected for perturbation receives at least one anomaly.

⌈0.5 |rows|⌉

Here rows denotes the rows of the table, and the vertical bars give their count. The factor 0.5 scales that count. The ceiling brackets round the result upward to a whole number. This describes the reported injection level, with the actual number depending on the table.

The process tracks changed cells and stores the anomaly category together with the generator’s explanation for each perturbation. An appendix describes a marker, @@@_, attached to modified values during generation so they can be located when constructing the labels. The marker serves as bookkeeping for identifying edited positions. The clean and perturbed counterparts keep the same schema. The authors emphasize that a query that executes on the original schema can still execute on the altered table. A successful query may consequently return evidence affected by an anomaly, even with no change to the query interface.

Turning anomaly categories into edits

Value anomalies concern the admissible contents of a field. In the paper’s order example, a negative quantity violates the expectation attached to that field. A change of this kind can be detected when the column meaning and the intended range are clear. A value may also look implausible given the other entries in its column. This is a weaker kind of evidence, because an observed distribution gives clues about a range without necessarily establishing every permitted value.

Factual anomalies conflict with external knowledge. The paper illustrates this with an implausible locale and gives the example of a city paired with a postal code from another city. Such values can be individually well formed. The detector must establish whether the purported relationship holds in the world. The table may contain enough context to formulate the lookup, such as a column naming the place and a second column giving its purported code. The answer to the lookup can still lie outside the table.

Logical anomalies break a relationship that the table assigns to fields in the same row. The paper uses an order placed after its supposed shipment as an example. Each date can be perfectly readable and fall in a plausible range. The problem appears when the detector compares the fields in the context of the order process. Temporal anomalies also involve time, with an emphasis on implausible dates, durations, or sequences. The illustrative date from the year 1600 is anomalous in an e-commerce table because of the period in which the recorded activity could plausibly have taken place.

Calculation anomalies involve a value whose expected result can be derived from other values. An incorrect total is the central example. The comparison depends on identifying the fields used in the calculation and understanding their roles. A detector that sees a total as just another numeric column may judge it against the other totals and miss the discrepancy. A rule that compares the total with the corresponding inputs can find the error even when the incorrect figure resembles other legitimate totals.

Security anomalies concern inappropriate storage or exposure of sensitive information. The example of a visibly unprotected card value makes the importance of column purpose clear. Its appearance could be plausible for the information the column names while the way it is retained is the anomaly. The authors state that sensitive-looking values in the benchmark are fabricated. The test asks whether the detector recognizes the handling problem from the table context.

Normalization anomalies involve how attributes and dependencies are represented. The prompts illustrate the idea with a field that bundles several address attributes and another that stores a repeating list within a cell. Consistency anomalies concern deviations in how comparable entries are recorded, such as incompatible date formats or repeated identifiers in a field intended to distinguish records. These categories both require attention to structure, but their examples call for different reasoning. A format comparison asks what convention comparable entries follow. A normalization judgment asks whether the organization of the attributes itself is suitable.

The categories guide generation and give the experiments a way to group results. They can describe overlapping properties. A chronology violation can be temporal because it concerns the order of events and logical because it breaks a relation between fields. A calculated value may also violate the allowed range for its column. The intended category remains useful for constructing and retrieving benchmark examples. The edited location is the common unit on which detection is scored.

Checking the edits and defining the target

The authors draw a random 15% sample of perturbed tables for manual verification. Two annotators use the altered table and the log explaining the proposed perturbations to judge whether each anomaly makes sense in context. The paper reports agreement on disjoint random samples, each described as 7.5% of the dataset. The reviewers examine whether a particular intervention deserves its label. They have access to the generator’s proposed justification, which helps them see what relation or convention it intended to violate.

The prediction task operates on cells. In the authors’ notation a table consists of indexed entries.

T = {Tᵢ,ⱼ}

Here T is the table, and Tᵢ,ⱼ is the entry at row index i and column index j. The braces collect those entries into the represented table. The paper uses m for the number of rows and n for the number of columns. Cell values come from a domain denoted by D, which can include types such as numbers, text, and dates. The paper later reuses D to denote the data being validated by the constraint method.

f : Tᵢ,ⱼ → {0, 1}

Here f is the cell classifier. The arrow shows that it sends the cell under consideration to one of the labels in braces. The paper calls the resulting label yᵢ,ⱼ. A label of 1 means anomalous, and 0 means normal. The cell on the left identifies what is being classified. The classifier can use the rest of the table, metadata, or outside information when deciding how to label it.

For the prompt-based methods, the system supplies pairs containing a row index and a column name. The authors convert the list into a table of yes and no labels with the same positions as the input. Cells named in the output receive yes labels. The remaining cells receive no labels. The recorded perturbations yield a ground-truth table in the same form. Thus a detector can return a sparse list of flags, while the scoring procedure can account for every planted anomaly, including those absent from the returned list.

This design gives a straightforward interpretation to a mismatch. If a method flags the original occurrence of a repeated identifier and the ground truth marks the edited occurrence, the recorded prediction and target differ. If a method finds the repeated identifier at the edited position, it receives credit for locating it. The judgment that there is a duplicate and the decision about the cell to report are related parts of the task. The benchmark scores the decision about the cell.

Giving the detector different amounts of guidance

The basic prompting experiments vary the specificity of the request. L1 warns that the table may have problems and asks the detector to locate them. L2 explicitly asks for anomalous cells, leaving the kind of anomaly open. L3 supplies the intended category, such as factual or logical. L4 retains that category and adds examples. Those examples demonstrate what qualifies under the category in the prompt. They are an instance of few-shot learning in the sense that the system receives examples as part of the request.

The first prompts resemble an inspection begun with little information about what went wrong. The later prompts resemble a targeted audit. An L3 instruction to seek calculation anomalies, for example, directs attention towards derived quantities and their inputs. L4 can further signal the kinds of discrepancies the experiment expects the detector to consider. The result remains a list of positions, so increasing specificity changes the guidance available to the system while keeping the form of its prediction comparable.

The authors test each level with and without chain-of-thought prompting, abbreviated CoT. In the CoT condition, the request asks the system to reason in steps before returning the list. At a more specific level, the reasoning instructions can direct the system to identify the relevant fields before checking their values. The evaluation still scores the reported coordinates. It does not award credit for intermediate reasoning that stops short of a correct flag. In the printed L1 prompts, the version with CoT also explicitly uses the term anomalies. For that comparison, step-by-step instructions are accompanied by a small change in the wording of the task itself.

For long tables from Spider and BEAVER, the direct prompts, indirect prompts, and self-verification methods use dynamic chunking. The authors explain that the rows and the generated response can together exceed the available context window, the amount of input and output the system can process in one call. Chunking makes those inputs feasible. It can also change the evidence available to a particular pass. For instance, a condition that becomes apparent from values in distant rows may be less readily visible when those rows are processed apart.

Reviewing proposed flags

MuSeVe, short for Multi-Reasoning Self Verification, asks for several lines of analysis. The prompt directs them to examine the table using different lines of reasoning, such as comparisons with expected values and checks of relationships between fields. Each path proposes particular cells and checks its own proposals. This yields judgments that can be compared at the level of coordinates.

The prompt confirms a candidate at the voting stage when more than 70% of the paths support it. The system then rereads the table and makes a final pass over the result. The vote favors flags that can obtain broad support among the proposed analyses. That can help remove a cell singled out on a weak rationale. An anomaly visible through a narrow but valid line of reasoning can also lose support at the vote, particularly if the other paths never apply the relevant test.

SeVCoT, or Self Verification Chain of Thoughts, asks for a candidate list from a single reasoning pass. The system checks those candidates against the table and its expectations, rereads the input, and revises the list before returning it. The authors also describe the rereading step in terms of recursive attention prompting. In practical terms, the prompt directs attention back to the data and the candidate flags for another judgment. SeVCoT relies on reconsideration of a single proposed list. MuSeVe combines reconsideration with agreement among multiple proposed analyses.

For both methods, self-verification is part of the prompt. The system is asked to act as a reviewer of its own proposed judgments. The result is scored against the same cell labels used for the basic prompts. This procedure can measure whether the added review improves the final decisions. Calling the paths independent in an instruction does not establish that they make independent errors, since they still inspect the same data and may make the same assumptions about it.

Proposing and executing constraints

The Neuro-Symbolic Constraint Method, abbreviated NSCM, moves the repeated checking of values into a program. To suggest conditions, a language system uses the schema and no more than 20 distinct values from each column. A second generation stage translates the proposed conditions into Python tests. The program can then apply the same check wherever it is relevant in the table. An inferred date range, for example, can be tested against every entry in the date field under the same interpretation.

The constraint prompt asks for a structured dictionary. The checks can concern domains, logical relations, time, calculations, security, or relations among rows. A separate part of the dictionary describes factual checks requiring outside information. In the prompt, numerical examples are treated as evidence for a general range or pattern. The instructions specifically forbid using the displayed values as a list of the only allowed numbers. That distinction matters because a set of representative values is generally much smaller than the set of possible values.

For factual checks, the dictionary identifies what information would make the validation possible. Suppose the cell under review associates a place with a code. The place can act as the contextual lookup key, the outside information can supply a corresponding code, and a rule can compare the observed code with the supplied one. The paper describes drawing on the language system’s knowledge and web retrieval for this stage. The resulting evidence augments the records that the program checks.

NSCM from table description to anomaly flags

The steps in order.

NSCM from table description to anomaly flagsStep 1: Read the schema and representative column values1. Read the schema and representative column valuesStep 2: Propose intrinsic checks and factual checks2. Propose intrinsic checks and factual checksStep 3: Obtain outside facts for the requested contexts3. Obtain outside facts for the requested contextsStep 4: Translate the checks into executable Python rules4. Translate the checks into executable Python rulesStep 5: Run the rules over the enriched table5. Run the rules over the enriched tableStep 6: Report cells associated with rule violations6. Report cells associated with rule violations

The formal description starts with S, the supplied schema, and U, the unique values grouped by column.

U = {U₁, U₂, …, Uₙ}

Here U collects the sample sets. Each U with a subscript is the set of selected distinct values for that column. The subscripts run through the n columns. The ellipsis denotes the intervening column sets.

V = {C₁, C₂, …, Cₖ} ∪ {E₁, E₂, …, Eⱼ}

Here V is the dictionary’s collection of validation constraints. The C terms are intrinsic constraints, which can be formulated using information available from the table. Their count is k. The E terms are external-knowledge constraints, which require facts to be supplied for the check. Their count is j. The union sign combines the collections, and either collection may be empty. The ellipses stand for the additional entries between the displayed terms.

e = (X, K, y, ϕ, k)

Here e is a specification from the external-knowledge portion. X contains the columns that identify the context for a lookup. K names the columns of knowledge to be added. y identifies the original column to validate, and ϕ denotes the condition to check. In this tuple, k specifies the needed outside knowledge. The paper uses the same letter earlier as the count of intrinsic constraints.

D′ = D ∪ {K(x)}

Here D is the original data and D′ is its augmented form. The symbol x denotes a distinct combination of values taken from the context columns X. The expression K(x) denotes the external information obtained for that combination. The union sign expresses augmentation with the lookup results. The intended effect is to make the outside values available alongside the records to which their context applies.

The next stage converts the described constraints into executable tests. The paper’s prompt for this stage asks for simple conditions and instructs the translator to interpret numeric strings as numbers where comparisons or calculations require it. It also distinguishes straightforward row conditions from checks such as uniqueness. A row check can examine the current record. A uniqueness check needs a comparison among records, so the appendix leaves room for tracking occurrences separately.

ϕ : (r ∈ D′) ↦ bool

Here ϕ is an executable predicate, r is a record, and the membership sign says that r belongs to the augmented data D′. The mapping arrow indicates that applying the predicate returns bool, a true or false outcome. In the validity convention used to describe anomaly collection, a failed predicate corresponds to a violation.

Φ = {ϕ₁, ϕ₂, …, ϕₘ}

Here Φ is the set of executable predicates. Each indexed ϕ is a rule, and m is the number of executable rules in this expression. The ellipsis represents the other rules. The predicates are embedded in a script the authors denote by P.

A = {(i, j) | ¬ϕₖ(rᵢ), rᵢ[j] violates ϕₖ}

Here A is the set of flagged cell positions, and each (i, j) gives a row index and a column index. The vertical bar introduces the conditions for including a position. The negation sign says that rule ϕₖ fails on row rᵢ, where k indexes the rule in this expression. The reference rᵢ[j] picks out column j of that row. The predicate must fail and the specified cell must be associated with the violation. This last requirement matters for rules that compare several fields. Once the affected column has been identified, the authors can compare A with the ground-truth set G.

The paper’s worked example checks dates written together in an order and shipment field. The recorded pair is 1600-01-01/1600-01-15. The example rule combines a plausible date interval for the table’s domain and a comparison of the two dates.

Dates ∈ [2000, 2030] and order date ≤ ship date

Here Dates refers to the dates parsed from the field, and the membership sign expresses the check against the interval from 2000 through 2030. The comparison sign says that the order date comes no later than the shipment date. Both components must hold. In the example, the years place the entry outside the proposed interval even though the two dates appear in the expected order. The script flags the dates field at position (1, "Dates"), using the row index and field name shown in the paper.

The example separates the decisions involved in producing the rule from those involved in running it. Selecting a plausible interval and identifying the dates it should govern require interpretation of the table. Checking a parsed date against that interval is a repeatable program operation. Once the same rule and the same information are supplied, the execution step gives a definite result. The main judgment shifts to whether that result corresponds to a real anomaly in the data.

Giving constraint generation more context

The appendix extends NSCM with generated metadata. The authors take the first 30 rows for a sample used in preparing metadata, and infer column types by applying pattern checks to up to 100 non-null entries per column. A column can have multiple inferred types. Gemini 1.5 Flash uses the sample and the inferred types to generate a title for the table and a short description for each column. The authors store those details in structured JSON.

This preparation lets the authors compare conditions with different contextual evidence. The basic condition uses the schema and sampled values. The enriched condition gives the constraint generator the schema, types, descriptions, title, and the first five rows. The sample used to prepare the metadata and the smaller preview given to the constraint generator are separate inputs. In both conditions the generated rules can ultimately be executed over the full data. The difference is how much information the rule generator has when deciding what the columns mean and what checks are appropriate.

The paper reports a public release of TABARD with its associated scripts and a datasheet. The appendix also records the prompt families and examples of the constraint and statement generation instructions. These descriptions connect the evaluation to the actual requests the systems received, which is important when a comparison depends on changes in wording, examples, or access to evidence.

Experiments and results

The tables and the comparison conditions

TABARD contains 5,295 tables in its combined dataset statistics. The WikiTQ and FeTaQA group accounts for 4,840 tables. Its reported average size is (17, 5) and its median is (13, 6), with row and column counts in that order. The Spider and BEAVER group contains 455 tables with a reported average of (349, 7) and a median of (51, 7). The difference between the average and median in that group is consistent with the wide spread in its row counts. The paper reports a maximum of (30000, 37) for its row and column statistics. The benchmark therefore tests the methods on considerably more than one characteristic table size.

The paper describes WikiTQ and FeTaQA as shorter and generally more regular than the combined Spider and BEAVER group. The distinction groups tables by provenance as well as by tendencies in length. It does not produce groups that differ only in length. The sources differ in their schemas and contents, and the larger tables frequently need chunking for the prompt-based detection methods. For this reason, comparisons across groups report the effect of working with those sources as assembled in TABARD, including the practical processing they require.

The main evaluation uses ChatGPT-4o, Gemini 1.5 Pro, LLaMA 3.1 70B Instruct, and DeepSeek-V3. The prompting comparisons examine the baseline levels with and without CoT and the two methods that review their own flags. The paper runs NSCM with ChatGPT-4o and Gemini 1.5 Pro. The authors attribute the absence of corresponding NSCM experiments for LLaMA and DeepSeek to limitations in accessing the external tools. The paper also sets May 2025 as the reference month and year for evaluation, so judgments involving the present can use a common temporal assumption.

The human check of the generated labels reports Cohen’s kappa scores of 94.48 and 94.23 on the two disjoint review samples, respectively. Their Jaccard coefficients are 92.67 and 93.56, respectively, on the paper’s reported scale. Cohen’s kappa is an agreement measure that accounts for agreement expected by chance. The Jaccard coefficient represents the overlap between sets relative to the entries covered by either set. These measurements concern agreement between the generated anomalies and human judgments during verification. The results that follow concern how well detection systems recover the recorded anomalous cells.

What the scores count

Precision measures how often a flag is correct among the locations the method reports. Recall measures how frequently the method finds the locations recorded as anomalous. A yes in both the prediction and ground truth is a true positive. A yes from the detector for a ground-truth no is a false positive. A ground-truth yes that the detector misses is a false negative. The paper reports precision and recall as its main measures and also computes F1, which combines the two.

The denominator matters when interpreting each metric. A detector that returns a few carefully chosen flags can achieve high precision while missing many changes. An expansive detector can recover more of the recorded changes while producing a long list of extra flags. Both behaviors are visible when the paper reports precision and recall side by side. Clean inputs are especially informative about extra flags because they offer no planted target to recover. The main results, however, are organized around average precision and recall by source and category, rather than a separate headline rate for clean tables.

The unit is the cell. Even when a rule depends on an entire record, it must yield a location for comparison with the labels. In the experiments that name an anomaly category in the prompt, the score reflects what the system can find once told which kind to seek. It does not separately measure whether the system could have chosen that category from scratch. Similarly, a satisfactory explanation can help produce a good decision without receiving a separate score of its own.

Prompting and constraint execution trade precision for recall

The basic prompt results show that added reasoning can move precision and recall in different directions. With ChatGPT-4o on FeTaQA, L1 recall is 55.7% without CoT and 56.1% with it. Precision for the same comparison is 38.5% and 36.6%, respectively. At L4 on FeTaQA, ChatGPT-4o’s recall is 55.1% without CoT and 56.6% with it. Gemini 1.5 Pro reaches 55.3% recall on FeTaQA at L4 without CoT and 56.0% with CoT. These results show that explicit reasoning can help recover more planted anomalies, while the direction and size of the change depend on the condition.

ChatGPT-4o average recall by detection method on FeTaQA

The executable constraint method finds more of the labeled anomalies than the selected direct prompts.

ChatGPT-4o average recall by detection method on FeTaQAL1 without chain-of-thought: 55.7L1 without chain-of-thought55.7L1 with chain-of-thought: 56.1L1 with chain-of-thought56.1L4 without chain-of-thought: 55.1L4 without chain-of-thought55.1L4 with chain-of-thought: 56.6L4 with chain-of-thought56.6Neuro-Symbolic Constraint Method (this paper): 63.6Neuro-Symbolic Constraint Method (thispaper)63.6
The numbers
System or settingRecall %
L1 without chain-of-thought55.7
L1 with chain-of-thought56.1
L4 without chain-of-thought55.1
L4 with chain-of-thought56.6
Neuro-Symbolic Constraint Method (this paper)63.6

On FeTaQA, MuSeVe with ChatGPT-4o attains 48.9% precision, the strongest ChatGPT-4o precision in the paper’s main comparison for that source. It exceeds the L4 condition with CoT, reported at 44.1% precision. SeVCoT gives ChatGPT-4o the strongest precision on the other source groups in that comparison, reaching 46.8% on Spider+BEAVER and 56.9% on WikiTQ. The results give different roles to the review procedures. Agreement among proposed analyses works well for FeTaQA precision in this comparison. Rereading and reviewing a single candidate list works better on the other groups.

The constraint method supplies the stronger headline recall results. With ChatGPT-4o it reaches 63.6% recall on FeTaQA and 66.6% on WikiTQ. With Gemini 1.5 Pro it reaches 71.3% on FeTaQA and 60.0% on WikiTQ. The associated precision numbers deserve attention. On FeTaQA the main table gives ChatGPT-4o with NSCM a precision of 18.1. On the paper’s reporting scale, this is far below the precision of MuSeVe on that source. An executable rule can reach every row and still be too broad. Repeated application makes both the extra coverage and the cost of a poor condition visible.

The appendix extends the prompt comparison to LLaMA 3.1 70B Instruct and DeepSeek-V3. The authors describe DeepSeek as generally stronger in this comparison, especially with less elaborate prompts, and report more evident benefits from CoT for it on FeTaQA and WikiTQ. The appendix also describes weaker or uneven responses to increasingly detailed prompts for LLaMA. These comparisons concern configurations actually run with those systems. The constraint results cover a different set of systems, so the paper does not rank all four on a common NSCM condition.

The harder categories depend on the method

Value anomalies are often among the easiest to recover. On FeTaQA, NSCM with ChatGPT-4o reaches 95.0% recall for value anomalies, and NSCM with Gemini 1.5 Pro reaches 95.2%. On WikiTQ, the corresponding value recall reported in the paper is 84.2% and 83.8%. These are category results. They do not describe recall for every planted anomaly on those sources. The authors relate value detection to clues such as irregular formats and values that stand out from plausible ranges.

Factual anomalies are persistently hard for several of the prompt-based methods. With MuSeVe, factual recall for ChatGPT-4o is below 38% across the source groups. Under SeVCoT, Gemini 1.5 Pro reaches 36% factual recall on WikiTQ and 41.1% on Spider+BEAVER. Asking a system to check its first answer can make it reconsider how it interpreted an entry. A second pass over the same material can still lack the outside fact that would settle the question.

Temporal anomalies also challenge the prompting conditions, although the constraint results show that some temporal checks can be expressed effectively as rules. Gemini 1.5 Pro with NSCM reaches 94.6% recall for temporal anomalies on FeTaQA and 75.0% for logical anomalies on that source. Some of these checks can be framed around intervals or an expected order among fields. A detector can benefit from applying such rules consistently, while the broader difficulty of the categories remains dependent on which relations the data require it to infer.

ChatGPT-4o recall for security anomalies on WikiTQ

Constraint execution recovers more labeled security anomalies than either self-verifying prompt.

ChatGPT-4o recall for security anomalies on WikiTQMuSeVe: 51.0MuSeVe51.0SeVCoT: 42.0SeVCoT42.0Neuro-Symbolic Constraint Method (this paper): 81.2Neuro-Symbolic Constraint Method (thispaper)81.2
The numbers
System or settingRecall %
MuSeVe51.0
SeVCoT42.0
Neuro-Symbolic Constraint Method (this paper)81.2

The source groups matter even when the category and prompt are held steady. With SeVCoT, the paper reports ChatGPT-4o logical recall of 56.5% on FeTaQA and 47.7% on Spider+BEAVER. The longer tables, their schemas, and the need to split inputs all accompany this comparison. The observation shows that a successful prompt on a comparatively regular source can give different results under a more heterogeneous setting. It does not isolate a cause attributable to table length alone.

What the ablations show

How much the added prompting can explain

The paper compares complete detection configurations and varies particular inputs, including prompt specificity, CoT, anomaly distributions, and metadata supplied to the rule generator. These comparisons show which settings change the measured outcomes. They offer less evidence about the independent contribution of each stage inside the most elaborate methods.

The ordinary prompt comparisons come closest to testing a specific change. At a fixed level and on a fixed dataset, the CoT version and the ordinary version ask for the same output positions. In some cases, such as the reported ChatGPT-4o FeTaQA comparisons, the step-by-step version finds more anomalies. The appendix identifies value, logical, temporal, normalization, and calculation cases in which richer instructions can help. The pattern covers tasks where a procedural check can often be specified, such as examining related fields before deciding whether their values agree. Some comparisons also change small details of wording, so they measure the supplied prompt variants as a whole.

MuSeVe and SeVCoT are a comparison between review strategies. Their results suggest that a second look can help and that voting can help in particular settings. They do not isolate the effect of the vote from the other instructions used to generate and review candidates. The study also does not evaluate a series of voting thresholds or independently remove the final reread while holding everything else fixed. The reported numbers support the performance of the complete requests under the tested conditions.

The merged anomaly experiment shows an especially sharp example of the dependence on setting. With Gemini 1.5 Flash on the merged Spider+BEAVER tables, the paper reports recall of 33.6 for L1 with CoT and 1.1 for MuSeVe. Those values are on the appendix’s recall reporting scale. The contrast is useful because MuSeVe’s multi-path review produces good precision in some of the main experiments. On a table containing several kinds of perturbation, its review procedure can return far fewer of the correct flags. The results alone do not reveal which instruction or stage caused that change.

Category overlap and what a merged table tests

The category overlap analysis reports how often examples from an anomaly category also appear under another category. This gives empirical context to the conceptual overlap between categories. The FeTaQA matrix reports 100.0 at the factual and logical intersection. In Spider+BEAVER, consistency overlaps with logical anomalies at 87.3 and with value anomalies at 95.4 on the paper’s percentage scale. On WikiTQ, the calculation and normalization intersection is 89.5, while the calculation and temporal intersection is 0.0. Overlap can therefore be strong for a particular pair even when one member of the pair has little overlap with several other categories.

The analysis helps explain why category names need careful interpretation. A named category in a detection request supplies a starting point for inspection. It need not describe every property of the changed cell. A wrong calculation can generate an invalid value, and a logical error can depend on an external fact. The overlap analysis describes relationships among category instances in the benchmark. It supplies no separate accuracy measurement for assigning multiple labels to each cell.

For a separate evaluation, the authors merge category-specific perturbations created from the same base table. They remove redundant rows and duplicate anomalies in the process. Their notation distinguishes a base table from each version altered under a particular category.

Tᵢ,merged = (⋃ₐ∈Aᵢ Tᵢ⁽ᵃ⁾) ∖ Rᵢ

Here Tᵢ,merged is the merged table for base-table identifier i. The symbol a denotes an anomaly category, and Aᵢ contains the categories applied to that base table. The expression Tᵢ⁽ᵃ⁾ denotes the corresponding perturbed table. The union collects the variants, and the set difference removes the redundant rows or duplicate anomalies collected in Rᵢ.

In this setting the authors report a FeTaQA precision of 44.0 for Gemini 1.5 Flash with L1 and CoT, compared with 27.7 for LLaMA 3.1 70B Instruct under the same prompt and source condition. For Gemini, the FeTaQA L1 precision without CoT is 46.4. This is another instance in which the more elaborate request does not improve the reported precision. The merged experiment uses Gemini 1.5 Flash, which is also used to prepare metadata in the appendix. The main Gemini detection comparison uses Gemini 1.5 Pro.

Changing which anomalies are retained

The authors build several variations from the merged construction to investigate whether the arrangement of anomalies affects detection. The first variation samples categories and their perturbed cells under a per-table budget. It draws a category, draws a cell within that category, and repeats until it has the desired number of distinct category and cell selections. The budget depends on the largest original perturbation set among the applicable categories.

Dᵢ = max(1, maxₐ∈Aᵢ |Pᵢ⁽ᵃ⁾|)

Here Dᵢ is the perturbation budget for table i. The set Pᵢ⁽ᵃ⁾ contains the perturbed cells for category a on that table, and the bars give its size. The inner maximum selects the largest such size across Aᵢ, the applicable categories. The outer maximum gives the budget a minimum of 1.

After sampling, the authors retain the chosen edits and restore the other values from the clean counterpart. The paper uses essentially the same restoration rule in its performance-guided variation.

T̃ᵢ⁽ᵃ⁾(r, c) = Tᵢ⁽ᵃ⁾(r, c) if (r, c) ∈ Sᵢ ∩ Pᵢ⁽ᵃ⁾, and Tᵢᴳᵀ(r, c) otherwise

Here T̃ᵢ⁽ᵃ⁾ is the variation for base table i and category a. The variables r and c identify a row and column. The unadorned Tᵢ⁽ᵃ⁾ is the category-specific perturbed version, and Tᵢᴳᵀ is the original ground-truth counterpart used to restore values. The set Sᵢ holds selected edits, and Pᵢ⁽ᵃ⁾ contains that category’s perturbed positions. The intersection sign restricts retained edits to positions both selected and perturbed in the category. The authors use content-based row matching when possible and deduplicate the result after merging.

The second variation imposes a different budget and restricts where perturbations can fall. It begins with a budget based on the number of perturbed cells counted over all applicable categories.

Dᵢ = ∑ₐ∈Aᵢ |Pᵢ⁽ᵃ⁾|

Here Dᵢ is the starting budget for this variation. The summation sign adds the sizes of the category-specific sets Pᵢ⁽ᵃ⁾ for the categories a in Aᵢ. The bars again denote the number of positions in a set. After sampling candidate category and cell pairs, the method filters the selections so each retained row has at most one edited position and so each column stays within a chosen cap. The example setting for the cap is K = 4, where K is the maximum number of retained perturbations per column. The filtered positions play the role of the selected edits in reconstructing the variants.

The third variation organizes categories by earlier detection performance. It assigns them to groups for lower, middle, and higher prior performance and uses those group assignments in sampling. It draws a group and then samples a cell from that group until the budget is met. The budget is the maximum category-specific count for the table. The recorded sampling information includes the category group and the retained positions, so an individual variation can be traced to its selected perturbations.

w_g = ∑ₐ∈Aᵢᵍ π(a) · |Pᵢ⁽ᵃ⁾|

Here w_g is the weight of performance group g. The set Aᵢᵍ contains the anomaly categories assigned to that group for table i. The function π(a) gives a prior performance score for category a, and |Pᵢ⁽ᵃ⁾| gives its number of available perturbed cells. The dot denotes multiplication, and the summation adds the weighted counts within the group.

p_g = w_g ÷ (w_UNDER + w_MID + w_OVER)

Here p_g is the probability of drawing group g. The numerator is its weight, and the three weights in the denominator represent the groups with lower, middle, and higher prior performance, respectively. Division normalizes a group’s weight by the combined weight. The authors describe the variation as giving difficult categories more opportunity to appear. The formula as printed depends on both earlier performance and available cell counts. If the score used is F1 directly, a higher F1 gives a larger contribution at the same cell count, so preferential sampling of harder cases is not implied by that formula alone.

The variation results show that detection is sensitive to the construction of the mixed cases. On the Spider+BEAVER variations, Gemini 1.5 Flash with MuSeVe has reported precision of 34.6 under Variation 1 and 6.2 under Variation 2. On FeTaQA, the same system and method have precision of 36.6 under Variation 1 and 41.9 under Variation 3. The authors interpret the poor scores under the row and column constraints as evidence that isolated anomalies can be harder to identify. The data support sensitivity to the combined construction. Because the variations also alter the retained cells, their density, and category composition, the comparison does not measure a pure effect of row isolation.

What extra metadata changes

The NSCM appendix tests rules generated with schema and sampled values, rules separately generated for the different table variations, and rules generated with richer metadata. The last condition adds a title, natural-language column descriptions, inferred types, and a preview. This is a direct test of the combined context package. It does not separately measure whether the title, the descriptions, the types, or the rows account for an observed change.

For Spider+BEAVER, the reported precision rises from 55.5 in the schema-only condition to 64.0 in the enriched condition. On WikiTQ, recall moves from 46.7 to 37.9. The added information can support more appropriate conditions, for example by resolving what a column is meant to represent. The WikiTQ result shows that supplying richer descriptions also changes which anomalies the generated rules cover. The study measures the net outcome of those changed rules. It does not establish that added context improves both metrics across sources or that every individual rule becomes more accurate.

Limitations

Limits identified by the authors

The task works within a single table. It covers some relations among rows and columns, but the authors exclude inconsistencies that can be established only through related tables, joins, or linked records. Some prompts give examples involving references to information elsewhere, and NSCM can add outside factual values. The ability to obtain a fact for a check and the ability to reason systematically over several linked tables are distinct capabilities. The experiments establish results for the former kind of checking within the single-table task.

The source selection assumes complete rows and columns. This makes construction of controlled edits more straightforward, and it leaves a practical gap whenever a detector has to decide how missing information affects an apparent violation. A missing input to a calculation, for example, changes what evidence is available for checking a total. A missing field and a wrongly recorded field can also require different responses. Though some illustrative prompts mention nulls or blanks, the authors identify evaluation on incomplete tables as future work.

The main comparisons examine prompting and rule generation. They leave open how fine-tuning specifically for tabular anomaly detection would change the results. The authors also identify mixed anomalies, task-driven detection, and tables with visual content as directions for further research. The merged appendix studies tables with edits from several categories. It gives some evidence about co-occurring anomalies in a table, while a more explicit evaluation of several anomaly types within a single cell remains a proposed extension.

Rule quality is a limitation of NSCM that the authors connect directly to extra flags. A system given the schema and at most 20 distinct values from one column may infer a rule that is more restrictive than the domain justifies. An unusual but permitted value can then fail the rule. A similar problem arises with logical and calculation conditions derived from sparse examples. An apparent relationship may be common in the displayed records and still have valid exceptions in the rest of the data. Once the condition is written into code, the program applies it consistently to those exceptions as well.

The authors outline two ways of improving rule generation. One would use measured outcomes from earlier executions to assess and rank constraint patterns on held-out data. The other would feed recurring violation or false-positive patterns back into the generation prompt. These are proposed extensions. The paper’s results demonstrate what the tested constraints achieve before either of these feedback procedures has been established as an improvement.

Limits visible in the evaluation

The benchmark starts with tables drawn from existing data and uses planted interventions for its known anomalies. This gives the evaluation precise labels for the changes. It also means the labels reflect what the generator did under category-specific prompts. A strong result gives evidence about recovering these interventions. Its relevance to naturally occurring errors depends on how closely their forms and distributions resemble those produced in TABARD. The human review supports contextual plausibility for the sampled changes, with the reviewers seeing the generator’s stated rationale. The agreement scores are a check on that labeling process instead of an estimate of detection quality for previously unknown natural errors.

The generation record also ties an anomaly label to the modified cell. This suits the benchmark’s goal and creates some difficult attribution cases. A detector can identify a genuine broken relationship and assign the flag to the other field in the relation. It can also flag a questionable value already present in an underlying table that was not one of the recorded edits. Under the cell-level comparison, such a flag is outside the ground-truth set. The precision measure is therefore a measure of agreement with the benchmark’s recorded targets, including their assumptions about which entries are normal.

The contrast between the short and long table groups cannot tell how the same kind of table would behave if only its length changed. Source, schema, content, and processing all differ across the groups. The appendix’s perturbation variations provide a more deliberate way to adjust the construction within a base table, but those variations alter several properties of the anomaly set together. The experiments show that source and construction matter. They offer less evidence about the effect of a specific change in row count, schema complexity, or perturbation density considered alone.

The results also leave decisions about how to use a flag open. The benchmark scores localization. It does not establish that a detector can recover the original value or choose a defensible repair. A high recall result from NSCM can give a reviewer more candidates to inspect, and low precision can at the same time increase that inspection burden. The study reports interpretable, executable rules as an advantage for seeing what triggered a flag. It gives no separate measurement of whether readers can verify the explanation efficiently, or whether the rule’s supporting factual information is correct independently of the final flag.

Finally, some broad statements in the results discussion are stronger than the accompanying numbers. For FeTaQA under L4 with CoT, the paper gives Gemini 1.5 Pro recall of 56.0% and ChatGPT-4o recall of 56.6%. On WikiTQ under NSCM, it gives Gemini recall of 60.0% and ChatGPT-4o recall of 66.6%. These comparisons support reporting the ordering under each condition with its associated dataset and metric. They do not support a general claim that Gemini equals or exceeds ChatGPT-4o on recall. The comparisons across the paper are most informative when read at the level of a particular source, anomaly category, and detection method.

What came after

TabGuard is a later citing work concerned with adaptive anomaly detection for tables. Its stated approach uses agentic orchestration to select validators dynamically and generate them as needed. A validator in this setting is a check that can be applied to tabular data. The title points to a decision upstream of the check itself, namely which validator to use and when the system should generate one.

TABARD makes that upstream decision visible through its comparison of prompts and its work with generated constraints. A condition formulated from a schema and representative values can be applied consistently, but the same experiments show that useful conditions depend on what the fields mean and which anomalies occur in the table. TabGuard’s emphasis on selection and generation addresses that choice as part of the detection procedure. The citation and title establish this connection in research direction. They leave open whether TabGuard uses the TABARD dataset, inherits the NSCM procedure, or improves any of the scores reported here.

Cite

Cite as Manan Roy Choudhury, Anirudh Iyengar Kaniyar Narayana Iyengar, Shikhhar Siingh, Sugeeth Puranam and Vivek Gupta. 2025. TABARD: A Novel Benchmark for Tabular Anomaly Analysis, Reasoning and Detection. Findings of the Association for Computational Linguistics: EMNLP 2025.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2025.findings-emnlp.1189

@inproceedings{choudhury2025tabard,
  title = {{TABARD: A Novel Benchmark for Tabular Anomaly Analysis, Reasoning and Detection}},
  author = {Manan Roy Choudhury, Anirudh Iyengar Kaniyar Narayana Iyengar, Shikhhar Siingh, Sugeeth Puranam and Vivek Gupta},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2025},
  year = {2025},
  doi = {10.18653/v1/2025.findings-emnlp.1189},
  url = {https://doi.org/10.18653/v1/2025.findings-emnlp.1189}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/choudhury-2025-tabard-novel-benchmark-tabular-anomaly/