TaPas: Weakly Supervised Table Parsing via Pre-training
Paper · 2020 · Jonathan Herzig, Pawel Krzysztof Nowak, Thomas Müller et al.
Summary
A question about a table can require several kinds of understanding at once. The system must connect the question’s wording to column names, identify relevant rows, interpret quantities, and decide whether the answer is already written in a cell or must be calculated. The usual semantic parsing approach turns the question into an executable expression. TaPas investigates a smaller output representation: identify the cells that matter, choose an operation when necessary, and execute that compact prediction. The paper asks how far this design can go when training examples supply answers without spelling out the calculation that produced them.
TaPas builds on BERT. Its encoder receives the question alongside a table represented as a token sequence. Additional embeddings preserve information that flattening would otherwise obscure: which row and column contain each token, how comparable values rank within a column, and which cells supplied the preceding answer in a conversation. Separate prediction components identify answer cells and choose among SUM, COUNT, AVERAGE, and NONE. NONE means that the selected cell contents themselves constitute the answer. The resulting computation remains explicit, even though the reading and selection decisions happen inside the encoder.
The training procedure combines table pretraining with fine-tuning on question–answer examples. Pretraining uses 6.2M Wikipedia tables and 21.3M associated text snippets. The learning task is to reconstruct hidden content using the remaining text and table context. During subsequent question answering, answers that can be located unambiguously in the table provide cell-selection targets. A numerical answer requiring calculation supplies a different signal: TaPas computes differentiable estimates for the available operations, combines them according to their predicted probabilities, and adjusts that expected result towards the correct answer. This makes it possible to learn operand and operator choices without searching for a complete discrete program that happens to return the target.
The results establish that this restricted representation can compete with more elaborate parsers on the evaluated tasks. On the SQA test set, average question accuracy reaches 67.2, compared with the earlier best result of 55.1; sequence accuracy reaches 40.4, compared with 28.1. On WikiSQL, weakly supervised TaPas obtains 83.6 denotation accuracy against the authors’ reference answers, close to the reported comparison result of 83.9. On WikiTQ, training on its original task data yields 42.6, while prior task training on WikiSQL yields 48.7 and prior task training on SQA yields 48.8. The authors release their implementation and pretrained parameters.
These findings have a clear boundary. TaPas is evaluated with a supplied, individual table, and its answer representation permits an aggregation over selected cells rather than an unrestricted calculation. Large tables, operations on strings, differences between quantities, and nested aggregations can fall outside its capabilities. The paper therefore demonstrates the usefulness of table-aware pretraining and compact executable answers within a particular task setting. It does not establish that arbitrary table reasoning can dispense with richer representations.
Interesting ideas
Expose order directly. TaPas adds a rank signal for column entries that can be interpreted as numbers or dates. This supplies information that ordinary token representations may express poorly: the relative ordering of comparable values. An engineer can reuse the principle whenever a question depends on magnitude, chronology, or an extreme value. The representation should make the relevant relation available rather than require a reader to reconstruct it from the spelling of each quantity. Rank does not replace the original value, but it gives comparisons and superlatives a useful structural cue.
Predict a compact executable answer. A selected set of cells plus an operation is easier to constrain than a general program. The important insight is to choose an output language that matches the operations the application actually needs. In a narrow reporting or educational task, identifying evidence and naming a calculation may be sufficient. This can make execution and inspection straightforward. The benefit depends on the task boundary: once answers require nested operations or transformations that the representation cannot express, compactness becomes a source of failure.
Train through an expected result. For numerical questions, TaPas lets uncertain cell choices and uncertain operations contribute to a differentiable answer estimate. The final answer then provides a learning signal for intermediate decisions that have no direct labels. This is useful when collecting outputs is easier than annotating reasoning paths. Similar designs could apply wherever candidate operations produce comparable outcomes in a shared output space. The caution is equally reusable: agreement with the final outcome does not uniquely identify the intended intermediate computation.
Constrain the container before its contents. TaPas first chooses a column and then permits selections within it. This introduces a structural preference that matches the answer organization in its datasets. Elsewhere, a reader might first choose an attribute, an entity category, a document region, or another coherent group before selecting individual items. Such a restriction can remove implausible combinations early. It should be justified by the application’s answer structure, because a useful constraint in one setting can exclude valid answers in another.
Represent conversational state at the evidence level. The previous answer is encoded by marking its cells. A follow-up question therefore encounters the earlier result in the same structure used for current reasoning. This is a concrete approach to coreference resolution when later language refers to an earlier selection. The broader lesson is that dialogue state can include grounded evidence, rather than only a textual transcript. The marker’s scope also matters: remembering the immediately preceding answer is less expressive than maintaining a complete history of discourse relations.
Match pretraining to the structure of the input. TaPas reconstructs hidden table content while retaining row, column, and header information. Whole-cell masking further makes the learning unit correspond to a meaningful table unit. The reusable principle is to align the corruption task with the structure that later decisions will use. For records, forms, or other organized inputs, hiding a complete field may demand more contextual understanding than hiding a fragment whose neighbors nearly reveal it. The paper also shows why this choice needs evaluation: extra objectives and synthetic examples did not automatically improve downstream results.
Deep dive: TaPas: Weakly Supervised Table Parsing via Pre-training
How TaPas answers questions about tables through cell selection, arithmetic, table pre-training and learning from answers alone. · about 39 minutes to read
How Mova uses it
For Mova, the small transparent language system written in Rust, TaPas offers several concrete design directions. The relevant stages are world construction, answering, learning, and conversational frames. These are proposed uses of the paper’s ideas. There is no implementation evidence here establishing that Mova already contains these mechanisms, and no basis for naming existing source files or claiming that particular tests pass.
Ordered attributes in the world stage
The first proposal concerns how Mova stores comparable properties. When the world stage compiles values for entities of the same kind, it could preserve an explicit ordering for each relevant attribute. A question about the tallest entity or the cheapest item could then consult the stored order while retaining the values and their sources.
This borrows the purpose of TaPas’s numerical rank embedding while changing its form. TaPas supplies rank information to a learned encoder. Mova could make the ordering an inspectable part of its world representation. The connection is about representing a useful relation explicitly; it does not require Mova to reproduce the neural architecture.
A suitable implementation would belong with the world records and the code that compiles measures and attributes. Proposed tests should check whether comparable values receive a consistent order, whether equal values are handled coherently, and whether incompatible attributes remain separate. A cheap item and a short person should not become comparable merely because both descriptions contain quantities. These are engineering requirements for the proposed adaptation, rather than capabilities demonstrated by TaPas.
Short computations in the answer stage
The second proposal is to make some answers consist of selected quantities and a named operation. For school questions or arithmetic problems expressed in text, Mova could identify the relevant quantities in its world representation and record the calculation applied to them.
That would create a short explanation trace: the selected evidence, the operation, and the result. A reviewer could inspect whether the system chose the right quantities independently of whether it performed the arithmetic correctly. This follows TaPas’s separation between reading decisions and explicit execution.
The appropriate files would be those implementing answer selection, operation choice, and execution, if Mova adopts this design. Tests could distinguish selection errors from calculation errors by checking the recorded operands as well as the final result. The proposal must retain TaPas’s expressivity warning. A calculation requiring several dependent operations cannot always be represented by a single operator applied to a selected set.
Learning from answers without annotated paths
The third proposal belongs to the learning stage. Mova could explore a differentiable execution surrogate to train reading or operator choices from answer-only educational or question-answering data. Rather than requiring a hand-written explanation for every example, training would compare an expected outcome with the target answer.
This is the most direct borrowing from TaPas’s scalar-answer training. It is also the least justified as an immediate implementation claim. Its suitability depends on how Mova represents uncertainty and whether those choices can participate in a differentiable objective. The paper establishes the technique within TaPas; it does not establish compatibility with Mova’s current learning machinery.
Proposed tests would need to examine the selected interpretation as well as answer accuracy. Several operand sets or operations can produce the same result. A successful experiment would therefore need evidence that learning improves the intended reading, rather than merely finding convenient calculations.
Restricting candidates before selection
The fourth proposal applies when Mova queries its world representation. It could first identify the relevant attribute or entity class, then select individual entities within that scope. This adapts TaPas’s preference for selecting cells from a common column.
The expected benefit is a smaller and more coherent candidate set. A question about prices should direct attention towards price-bearing records before the system chooses particular items. The restriction should remain explicit enough to inspect, because choosing the wrong scope can make the correct answer unreachable.
Tests could check that valid candidates survive the restriction and that unrelated entities are excluded. They should also include questions whose answers legitimately cross categories, so that a useful preference does not silently become an unjustified universal rule.
Carrying prior answers into conversational frames
The final proposal concerns dialogue-style questions about fables or other short narratives. Entities returned in the preceding answer could carry a flag in Mova’s conversational frame. A follow-up referring to “which of them” could then resolve its candidate group from that stored result.
TaPas motivates this through its previous-answer cell marker. Mova’s version would mark entities rather than table cells and would participate in narrative reference resolution. Tests could inspect whether the flag follows the returned entities, changes when the answer changes, and remains distinct from other salient narrative participants.
Together, these proposals preserve the paper’s most useful engineering pattern: make a small amount of task-relevant structure explicit, then use it to constrain reading and execution. Their status remains exploratory until Mova’s source and tests demonstrate otherwise.
The problem and its context
Tables sit between ordinary prose and a fully specified database interface. Their organization carries meaning, but much of that meaning remains implicit. A header tells the reader what entries describe. A row associates properties of an entity or event. Repeated column structure makes comparisons possible. Natural-language questions can refer to any of these relationships without using the table’s exact wording.
Answering such questions is therefore more demanding than finding a matching string. A question may ask for an entity associated with an extreme value, a collection satisfying a condition, the number of qualifying entries, or a numerical aggregate. Question answering must connect linguistic expressions to the table’s organization and then carry out the appropriate selection or calculation.
The paper’s starting point is the conventional semantic-parsing pipeline. An encoder reads the question, and a decoder produces a logical expression. Execution against the table yields the denotation, meaning the answer returned by the expression. In this arrangement, the logical form is an intermediate representation connecting language understanding to database-style computation.
Why answer-only supervision is attractive
Training a parser with complete logical forms provides a detailed target, but collecting those targets is costly. Annotators need to express the intended operation in the chosen formalism. The paper situates its work among attempts to reduce that burden through paraphrases, human involvement, transfer across domains, and weak supervision.
Under weak supervision, a training example gives the question and its answer without specifying the program. Work such as Semantic Parsing on Freebase from Question-Answer Pairs belongs to this background. The attraction is practical: a person may know the answer without knowing how to encode the reasoning as a formal expression.
The missing program creates an identification problem. A calculation can return the right answer for an unintended reason. If a question asks for a count, many unrelated selections may have the required size. If a numerical answer occurs in several places, retrieving an accidental match may look successful. Such computations are spurious: their outputs agree with supervision, but their interpretation of the question is wrong.
Searching for programs also creates sparse learning signals. Most candidate expressions fail to return the desired answer, so a learner may receive little useful guidance about which partial choices were promising. The paper connects these difficulties to earlier weakly supervised parsing research, including From Language to Programs.
TaPas addresses the training problem partly by changing what is predicted. Rather than generate a long expression and obtain feedback only after execution, it predicts a compact selection and operation. For numerical answers, a continuous approximation allows the outcome to influence intermediate probabilities directly.
The costs of producing logical forms
The authors also question whether a full logical form is necessary for the tasks under study. The application ultimately needs an answer. Producing a formal expression introduces requirements that concern the intermediate language itself: the expression must be well formed, the formalism must cover the intended operations, and decoding must respect its constraints.
The paper additionally identifies label bias as a difficulty associated with structured prediction. It cites Globally Normalized Transition-Based Neural Networks in that discussion. TaPas’s response is architectural: use an encoder with prediction layers instead of an autoregressive decoder that emits a formal expression piece by piece.
This does not eliminate representation choices. TaPas still defines an executable output language, consisting of cells and an operation. Its simplification lies in the limited structure of that language. The tradeoff is central to interpreting the paper: avoiding general logical-form generation reduces some complications while narrowing the computations that can be represented.
Earlier attempts at direct table reasoning
The paper does not present direct answer prediction as a wholly new direction. It describes earlier differentiable systems trained from answers without explicitly generating logical forms.
Neural Programmer sequentially chooses symbolic operations over table regions, with the available operations specified in advance. The paper contrasts this with another approach in which operations themselves are learned. These systems establish that answer supervision can train latent computational choices.
Another predecessor represents the question and table as a graph and predicts answer cells. According to the TaPas paper, that approach does not support aggregation over the selected cells. A further supervised approach predicts rows, a column, and an operation in sequence.
TaPas combines several properties that the authors regard as advantageous: a common encoder, table-aware pretraining, support for aggregation, and an explicit mechanism for conversational follow-ups. Its contribution is therefore a particular combination of representation, initialization, and training procedure, rather than the bare idea of answering without a conventional parser.
Why pre-training belongs in the argument
The other major background is pretraining for language understanding. The paper discusses contextual representations and masked reconstruction as ways to learn useful parameters before task-specific supervision. Deep Contextualized Word Representations and BERT are part of that context.
The question is how to extend this approach to tables without discarding their structure. One option is to turn a table into prose. The paper identifies TabFact as work that explored rendering tabular information in natural language for use with BERT. TaPas instead retains explicit table coordinates and masks content within the structured representation.
The authors also draw an analogy with joint learning over text and images. LXMERT and ViLBERT extend BERT-style ideas to paired modalities. TaPas applies a related motivation to text and tables: the surrounding language and the organized data can help explain each other.
The resulting research question is specific. Can table-aware representations, learned from abundant text–table pairs, make a restricted answer mechanism effective enough to rival semantic parsers trained from the same kind of weak supervision? The experiments examine that question across conversational, SQL-oriented, and more compositional table tasks.
The method, step by step
TaPas separates representation, prediction, and execution. The encoder builds contextual representations of the question and table together. Prediction components assign probabilities to columns, cells, and operations. Execution converts the chosen cells and operation into the answer. Training uses either recovered cell targets or a differentiable numerical outcome, depending on what the answer reveals.
From table pre-training to an executable answer
The steps in order.
Encode language and table structure together
The input begins with the question, followed by the table. Words are split into word pieces using BERT’s tokenizer. A separator distinguishes the question from the tabular portion. TaPas does not insert a separate boundary token between every pair of cells or rows.
Flattening creates a sequence the encoder can process, but sequence position alone cannot adequately express table organization. TaPas therefore adds several kinds of embedding to the token representation.
The ordinary position identifier records where a token occurs in the sequence. To distinguish the two content types, a segment identifier uses 0 for question content and 1 for table content. Column and row identifiers locate table tokens within their original structure; question tokens use 0 for these coordinates.
The rank identifier adds order information when a column’s entries can be parsed as floating-point values or dates. Comparable values are sorted, and their ranks receive embeddings. Noncomparable content uses 0, while the smallest comparable item receives 1. This signal is intended to help with questions about relative magnitude or an extreme value.
The motivation for rank is narrower than a general solution to numerical understanding. A word-piece representation describes how a number is written. It need not reliably encode how that number compares with another. The paper cites Do NLP Models Know Numbers? in explaining this concern.
In conversational use, another embedding identifies tokens belonging to cells selected for the previous answer. The marker is 1 for those cells and 0 elsewhere. This makes the prior result available during the encoding of a follow-up question.
Choose a column and then cells
Cell selection starts with a linear prediction from each token’s final contextual vector. A cell’s score is obtained by averaging the scores of its constituent tokens. The resulting selection probability treats inclusion as a Bernoulli decision: the cell is either selected or excluded.
These cell decisions are independent in the output distribution, subject to a column restriction. TaPas also predicts a categorical choice over columns. Each column is represented through an average of the representations of its cells, and a linear layer produces its score. A softmax turns column scores into probabilities.
An additional category represents an empty column. Choosing it means selecting no cells. This gives the system an explicit empty-answer route instead of forcing every prediction to include some table content.
Once a column is chosen, selection probabilities for cells elsewhere are set to 0. This encodes the dataset-specific preference that an answer’s cells belong together within a column. It also reduces the number of combinations available to the cell selector.
The distinction between a cell’s representation and a cell’s value matters. The representation supports the learned selection decision. The value is what execution later retrieves or uses in arithmetic. TaPas learns which evidence to use, while the execution step performs the specified operation on that evidence.
Predict the operation
A separate linear layer reads the final vector associated with the initial special token, [CLS]. A softmax produces probabilities for the available operations. SUM adds values, COUNT returns the size of the selected set, AVERAGE computes its mean, and NONE returns selected cell contents without aggregation.
The architecture illustration uses a question about the total days associated with the leading entries. Its role is to show the division of labor: selection identifies the relevant entries in the appropriate column, while the operation determines how their values become an answer.
At inference, TaPas chooses the operation with greatest probability. It includes a cell when its selection probability exceeds 0.5, after applying the column restriction. The resulting discrete prediction is executed against the table.
This last step is not the continuous calculation used for scalar training. The distinction between training-time expectations and inference-time decisions becomes important when probabilities remain uncertain.
Build the pre-training corpus
The authors collect 6.2M tables from Wikipedia. Of these, 3.3M are Infobox tables and 2.9M are WikiTable tables. They retain tables containing no more than 500 cells.
The downstream tasks use horizontal tables with named columns. The WikiTable extraction therefore targets tables with an identifiable header row. Infoboxes are transformed into a structure with a header and a data row. The authors acknowledge that these transformed examples are unusual as tables, but report that including them helps downstream performance.
Associated language comes from several parts of the surrounding article: captions, titles, descriptions, section titles, and section text. This collection yields 21.3M snippets. Such text acts as a proxy for the language that will later accompany a table in a question-answering task.
The pretraining construction uses a word-piece budget of 128 in the final experiments. An associated text fragment contributes 8 to 16 word pieces. To represent the table within the remaining budget, construction begins with the first word of each header and cell, then adds further words in turns until the budget is filled.
This allocation favors some coverage across table entries before spending the remaining space on their additional words. For each table, the procedure generates 10 different snippets. The resulting examples expose the encoder to different textual contexts associated with tabular content.
Reconstruct hidden content
The pretraining objective is masked reconstruction. Text uses whole-word masking, and table content uses whole-cell masking. If a cell is selected for masking through any of its pieces, the pieces belonging to the whole cell are hidden.
Whole-cell masking makes the reconstruction task structurally meaningful. A partially visible cell may offer enough local spelling information to recover a missing piece. Hiding the entire cell encourages use of its header, neighboring entries, and associated language.
The authors also try a matching objective that asks whether a table and text belong together. This does not improve downstream performance in their experiments. They relate the finding to RoBERTa, which similarly did not benefit from its compared sentence-pair objective.
Another experiment generates questions and answers over real tables through a grammar, then adds these synthetic pairs to task training. The paper reports no significant downstream gain and does not give detailed results for that experiment.
Pretraining begins from BERT-Large parameters rather than from an completely random initialization. The additional table embeddings are initialized randomly. The authors find that beginning with text-pre-trained parameters improves convergence on held-out data.
Convert answers into training targets
A training example contains an utterance, its table, and the answer denotation. The paper describes the collection as follows:
D = {(xᵢ, Tᵢ, yᵢ)}ᵢ₌₁ᴺ
D is the training collection. N is its number of examples. For example i, xᵢ is the utterance, Tᵢ is the table, and yᵢ is the answer. The table maps cell coordinates to their values.
Preprocessing converts each answer into cell coordinates C and, when applicable, a scalar s. C contains table locations matching the denotation. The scalar field is populated when the answer is a numerical singleton that can be interpreted as a float.
These fields determine the supervision route. If the answer is a cell selection without a populated scalar field, training targets those coordinates. If the answer is a scalar absent from the table, training targets a calculation. If a numerical answer also occurs in a cell, the example is ambiguous between retrieval and aggregation.
SQA supplies answer cells directly. For WikiSQL and WikiTQ, the procedure derives them by matching answer denotations against table contents. Examples are dropped when an answer cannot be represented as a scalar or located in the table, and when matching produces ambiguous cell locations.
Train directly from answer cells
For cell-selection examples, TaPas chooses the target column containing the largest number of answer cells. The authors report that the relevant cells in their datasets occupy a common column. An empty answer instead targets the empty-column category.
The column component of the loss is:
J_columns = (1 / |Columns|) ∑co∈Columns CE(p_col⁽co⁾, 𝟙[co = col])
J_columns is the column-selection loss. Columns is the candidate set, including the empty category, and |Columns| is its size. The variable co ranges over candidates; col is the target column. The probability p_col⁽co⁾ belongs to candidate co. CE is cross-entropy, and 𝟙 is an indicator that equals 1 when its condition holds and 0 otherwise.
Within the target column, the cell loss is:
J_cells = (1 / |Cells(col)|) ∑c∈Cells(col) CE(p_s⁽c⁾, 𝟙[c ∈ C])
J_cells penalizes incorrect cell decisions. The set of cells belonging to the target column is denoted by Cells(col), while |Cells(col)| gives the number of cells in that set. The variable c identifies a cell. Its selection probability is p_s⁽c⁾, while membership in C supplies the binary target.
A direct cell answer also teaches the operation predictor to choose NONE:
J_aggr = −log p_a(op₀)
J_aggr is the operation loss. The function p_a gives operation probabilities, and op₀ denotes NONE. The negative logarithm makes low probability on the required operation costly.
The combined objective is:
J_CS = J_columns + J_cells + αJ_aggr
J_CS is the total cell-selection objective. The coefficient α is a hyper-parameter controlling the contribution of operation supervision. The other terms train the column and cell choices.
Learn arithmetic from the final scalar
For a scalar absent from the table, the answer does not disclose the operands or operation. Searching for all discrete computations returning that value can produce many accidental solutions.
TaPas instead uses soft execution. A selected cell is treated as a random inclusion decision, and its probability contributes continuously to the estimated operation result. For COUNT, the expectation is:
E[COUNT(S)] = ∑c p_c
E denotes expectation. S is the random selected set, c ranges over cells, and p_c is the probability that cell c belongs to S. Each probability contributes to the expected set size.
For SUM, the expectation is:
E[SUM(S)] = ∑c p_cT_c
T_c is the numerical value stored in cell c. Multiplying it by p_c weights that value by its inclusion probability. Summing these contributions yields the expected sum.
The operation distribution is renormalized to exclude NONE:
p̂_a(opᵢ) = p_a(opᵢ) / ∑j≥1 p_a(opⱼ)
p̂_a is the renormalized distribution. The operation opᵢ is an aggregation, while opⱼ ranges over aggregation choices and excludes op₀, the NONE category. The denominator removes probability assigned to NONE from the normalization.
The predicted scalar is then:
s_pred = ∑i≥1 p̂_a(opᵢ) · compute(opᵢ, p_s, T)
s_pred is the expected numerical answer. The function compute supplies a differentiable estimate for operation opᵢ using cell-selection probabilities p_s and table values T. The operation probability weights each estimate.
This construction allows the final-answer error to influence both kinds of decision. It can change which cells receive probability and how much probability each operation receives. There is no need to annotate the intended aggregation for every scalar example.
Stabilize scalar learning
The absolute numerical error is:
a = |s_pred − s|
Here a measures the magnitude of the discrepancy, s_pred is the soft predicted answer, and s is the target scalar.
The scalar objective uses Huber loss:
J_scalar = { 0.5 · a² if a ≤ δ
{ δ · a − 0.5 · δ² otherwise
J_scalar is the regression loss, and δ determines where it changes from a quadratic penalty to a linear one. The paper reports that this objective is more stable than squared error for its setting.
Scalar supervision also penalizes probability assigned to NONE:
J_aggr = −log(∑i≥1 p_a(opᵢ))
The sum covers aggregation operations. Its probability approaches 1 when NONE receives little mass, reducing the penalty.
The complete scalar-answer objective is:
J_SA = J_aggr + βJ_scalar
J_SA combines operation and numerical supervision. The hyper-parameter β controls the relative weight of the scalar regression term.
Very large scalar losses can destabilize training. The authors therefore introduce a cutoff: when an example’s scalar loss exceeds that threshold, its entire training loss is set to 0. They associate this behavior with outlying examples.
A temperature adjustment sharpens selection probabilities towards binary values. This addresses a mismatch between continuous training and discrete execution. A soft calculation can depend on fractional contributions that disappear when selection is thresholded.
Resolve ambiguous numerical answers
A numerical answer that occurs in the table can be obtained either by retrieving that cell or by calculating the same value. TaPas does not permanently assign such examples to a route during preprocessing.
The decision rule is:
use cell-selection supervision if p_a(op₀) ≥ S
The probability p_a(op₀) is the current probability of NONE. S is a threshold hyper-parameter between 0 and 1. When the condition fails, the example uses scalar-answer supervision instead.
The paper connects this policy to A Discrete Hard EM Approach for Weakly Supervised Question Answering. The current prediction determines which latent interpretation supplies the training target. This resolves ambiguity operationally, but it does not prove that the chosen route matches the question’s intended reasoning.
Why a soft average needs special treatment
COUNT and SUM have straightforward expectations because they are sums of contributions. AVERAGE divides a selected total by a selected count, and both quantities are uncertain.
The target expectation is:
E[AVERAGE(S)] = E[(∑c G_cT_c) / (∑c G_c)]
G_c is the Bernoulli inclusion variable for cell c: it is 1 when selected and 0 otherwise. T_c is the cell value. The numerator is the selected sum, and the denominator is the selected count.
Simply dividing expected sum by expected count gives a weighted average, which generally differs from this expectation. It also has an undesirable invariance: scaling all inclusion probabilities by a common factor leaves that weighted average unchanged. As a result, the objective may not sufficiently discourage probabilities that all remain below the inference threshold.
The appendix rewrites the desired expectation:
E[AVERAGE(S)] = ∑c T_cp_c E[1 / (1 + ∑j≠c G_j)]
The probability p_c is the expected value of G_c. The index j ranges over cells other than c. Conditioning on c being included supplies the fixed 1 in the denominator, leaving uncertainty about the remaining selected cells.
For that denominator, the paper defines:
X_c = 1 + ∑j≠c G_j
X_c is the selected count when cell c is included. It consists of the fixed contribution from c and the Bernoulli contributions of other cells.
The remaining expectation is:
Q_c = E[1 / X_c]
Q_c is the expected reciprocal count for the contribution of cell c. The paper identifies the distribution involved as a Poisson binomial distribution with a fixed included item.
Jensen’s inequality gives:
Q_c ≥ 1 / E[X_c] = 1 / (1 + ∑j≠c p_j)
E[X_c] is the expected conditional count. The probabilities p_j describe inclusion of the other cells. This supplies a lower-bound approximation to the reciprocal expectation.
The appendix then uses a Taylor expansion:
Q_c ≈ 1 / μ_c + var(X_c) / μ_c³ + ⋯ + (−1)ᵏE[(X_c − μ_c)ᵏ] / μ_cᵏ⁺¹
μ_c denotes E[X_c]. The function var is variance, and k is the expansion order. The later terms use moments of deviations from the expected conditional count.
For independent inclusion variables, the variance is:
var(X_c) = ∑j≠c p_j(1 − p_j)
Each term is the variance of a Bernoulli inclusion decision. Independence permits these variances to be added.
The zero-order approximation becomes:
AVERAGE₀(T, p) = ∑c T_c p_c / (1 + ∑j≠c p_j)
AVERAGE₀ denotes the zero-order approximation. T is the collection of cell values, and p is the collection of inclusion probabilities.
The correction used for the second-order approximation is:
ε_c = [∑j≠c p_j(1 − p_j)] / (1 + ∑j≠c p_j)²
ε_c incorporates uncertainty in the other cells’ inclusion decisions. Its numerator is their total variance, and its denominator is the squared expected conditional count.
The corrected aggregate is:
AVERAGE₂(T, p) = ∑c T_c p_c(1 + ε_c) / (1 + ∑j≠c p_j)
AVERAGE₂ is the second-order approximation. It adjusts the zero-order contribution through ε_c. Both approximations remain differentiable and can therefore participate in scalar-answer training.
The authors report small improvements over a weighted-average baseline. They also explain that average questions are uncommon in the evaluated data, limiting the importance of this comparison for the headline results.
Experiments and results
The experiments evaluate answer correctness across tasks with different question structures. Their common condition is that each question is associated with an individual table. The principal metric is denotation accuracy: whether the returned answer agrees with the reference answer, regardless of the internal path used to produce it.
This distinction is essential. A correct denotation establishes successful output on that example. It does not on its own establish correct operand selection, correct interpretation of the language, or a unique reasoning path. The paper supplements answer accuracy with a manual examination of selected cells.
The datasets
WikiTQ contains questions written about Wikipedia tables. Workers were encouraged to ask compositional questions involving comparisons, extreme values, aggregation, or arithmetic. Other workers checked the resulting questions. Its construction makes it a useful test of whether the restricted TaPas output representation can cover a substantial range of natural table questions.
SQA is derived by decomposing selected compositional WikiTQ questions into conversational sequences. Each component question can be answered through table cells. The collection contains 6,066 sequences, with an average of 2.9 questions per sequence. Its conversational structure tests the ability to use prior answers when interpreting later questions.
WikiSQL focuses on translating questions into SQL. Its questions originate in templates that workers paraphrased into natural language. Additional workers verified the paraphrases. TaPas uses answer denotations for its weakly supervised training rather than learning to reproduce the SQL expressions.
The preprocessing procedure matters for the training population. SQA supplies cell coordinates, whereas the other datasets require matching answers to table content. Ambiguous matches and answers that cannot be represented through the permitted cell-or-scalar targets are removed from training.
Training and evaluation conditions
Questions, headers, and cell contents are tokenized with BERT’s vocabulary of 32k word pieces. Numerical and date parsing follows an approach similar to Neural Programmer.
The authors use 32 Cloud TPU v3 cores. They describe an execution setup supporting a maximum sequence length of 512, alongside the shorter 128-word-piece construction used for final pretraining examples. Reported training time is around 3 days for pretraining. Under the specified batch settings, fine-tuning takes approximately 10 hours for WikiSQL and WikiTQ, compared with roughly 20 hours for SQA.
Hyper-parameters for WikiSQL and WikiTQ are chosen through Bayesian optimization. SQA uses grid search. Main results are reported as the median across 5 independent runs, reflecting the authors’ concern that BERT-based training can degenerate.
SQA and WikiTQ use their official evaluation scripts. WikiSQL requires a qualification: the authors find errors in roughly 2% of the answers generated by the official execution procedure. Some values declared numerical are stored as text, producing inappropriate comparisons or aggregates. TaPas’s principal WikiSQL scores therefore use answers computed through the authors’ own execution implementation.
WikiSQL: competitive answer prediction
The paper reports weakly supervised WikiSQL denotation accuracy of 83.6 for TaPas, compared with 83.9 for the cited leading weak-supervision approach. The following comparison retains the paper’s evaluation qualification.
WikiSQL denotation accuracy reported in the paper
Weakly supervised TaPas performs close to the cited leading approach.
The numbers
| System or setting | denotation accuracy % |
|---|---|
| Hard EM comparison | 83.9 |
| TaPas, weak supervision (this paper) | 83.6 |
Giving TaPas gold cell selections and aggregation labels raises its reported WikiSQL denotation accuracy to 86.4. These labels are extracted from the reference SQL for the experiment. The authors treat this as full supervision for TaPas, even though the target is less elaborate than a complete SQL expression.
That comparison supports a practical point about annotation. A person need not necessarily write SQL to supply the supervision required by this architecture. Marking the relevant cells and identifying the operation is sufficient. The paper argues that this can be done by nonexpert annotators.
The fully supervised result should remain separate from the weakly supervised claim. It measures the same architecture with additional intermediate information. It does not demonstrate answer-only learning at that higher accuracy.
WikiTQ: task transfer helps
On WikiTQ, TaPas trained with the original task data obtains 42.6 denotation accuracy. The authors report that this exceeds earlier approaches of the comparable direct-reasoning kind.
Additional task training changes the result substantially. Training first on WikiSQL and then on WikiTQ yields 48.7. Using SQA before WikiTQ yields 48.8. The transfer experiment is straightforward within TaPas because each task ultimately trains compatible cell and operation predictions.
WikiTQ denotation accuracy under different prior task training
Prior question-answer training improves TaPas on WikiTQ.
The numbers
| System or setting | denotation accuracy % |
|---|---|
| TaPas, original task data | 42.6 |
| TaPas, prior WikiSQL training | 48.7 |
| TaPas, prior SQA training (this paper) | 48.8 |
The paper describes the WikiSQL-transfer result as 4.2 points above the previous state of the art. That claim belongs to the reported comparison conditions. It should not be generalized into a claim that any source table task will provide the same improvement.
The result also distinguishes table pretraining from task transfer. Reconstructing hidden content teaches representations from text–table pairs. Training on another question-answering dataset supplies experience with selecting evidence and operations. Both can contribute, but they provide different supervision.
SQA: conversational gains
SQA evaluates individual questions and complete conversational sequences. Average question accuracy measures correctness across turns. Sequence accuracy requires the questions in a sequence to be answered correctly together.
SQA test average question accuracy
TaPas improves the reported conversational question-answering result.
The numbers
| System or setting | average question accuracy % |
|---|---|
| Previous best | 55.1 |
| TaPas (this paper) | 67.2 |
The reported SQA sequence accuracy is 40.4 for TaPas, compared with the earlier result of 28.1. The paper states that its improvements across the reported SQA metrics are at least 11 points.
These results demonstrate that the architecture can handle conversational table questions effectively in this setting. They do not isolate the previous-answer marker as the sole cause. The complete system also includes table pretraining, structural embeddings, and its selection architecture.
What the combined results establish
Across the tasks, TaPas is competitive in spite of using a restricted output representation. Its strongest conversational gains occur where answers are cell selections, while scalar training extends coverage to questions requiring aggregation.
The comparison also illustrates why a task name is insufficient to characterize difficulty. WikiSQL includes aggregation labels, but many such examples can be answered through a cell lookup. WikiTQ asks more compositional questions, yet some required operations still lie outside TaPas’s representation.
The paper’s evidence is consequently strongest for a practical proposition: a carefully initialized encoder with structural information and explicit execution can solve many benchmark table questions without decoding a general logical form. The experiments leave open how the same design behaves on substantially larger contexts or richer calculations.
What the ablations show
The paper examines architecture components, aggregation supervision, selected evidence, and pretraining behavior. These analyses help distinguish the contribution of the representation from the apparent complexity of the task labels.
Table pre-training and coordinates matter most
The embedding ablations remove ordinary position information, numerical rank information, column identifiers, or row identifiers. The authors pre-train and fine-tune the resulting variants, limiting ablation pretraining to 200,000 steps because of its cost.
Across the datasets, the strongest contributions come from table pretraining and the row and column embeddings. This supports the paper’s central design choice: a general text encoder benefits from learning the regularities of tables and receiving explicit access to their organization.
Ordinary token positions and numerical ranks also help, but their reported influence is smaller. This is a useful qualification to the appealing rank idea. Making order explicit is sensible and contributes positively, yet the experiments identify basic table structure and table-specific pretraining as more consequential.
The no-table-pre-training condition still begins from a BERT initialization learned on text. Its comparison therefore concerns the additional value of table pretraining, instead of a contrast between pretraining of any kind and entirely random parameters.
The shortened ablation schedule also matters. Its development results should be interpreted within that controlled setting. They are not interchangeable with the final task scores reported elsewhere.
Removing arithmetic exposes dataset differences
The authors remove the scalar-answer and aggregation objectives, leaving training through cell selection. Under the WikiTQ development ablation setting, accuracy changes from 29.0 with aggregation to 23.1 without it.
For WikiSQL development data, the corresponding reported values are 84.7 and 82.6. The smaller effect might initially suggest that aggregation contributes little. The dataset analysis provides a more informative explanation.
The paper reports aggregation in 17% of WikiSQL development examples. However, for each aggregation type, more than 98% of its examples apply the operation to a cell set containing either a single entry or no entries. For SUM and AVERAGE, selecting a single value can reproduce the aggregate answer without performing a meaningful multi-entry calculation.
COUNT is more revealing. The cell-selection-only variant reaches 28.2 accuracy on COUNT examples, compared with 66.5 when aggregation is available. The weaker system sometimes succeeds by retrieving 0 or 1, values that commonly occur in an index column.
The lesson is methodological. A dataset can contain an operator label without consistently requiring the corresponding operation. Answer accuracy may reward a shortcut that returns the same value. To understand arithmetic capability, the experiment must examine when arithmetic is necessary.
Correct aggregates usually use the intended cells
The authors manually inspect 200 WikiTQ development predictions. For correct answers produced through aggregation, they examine whether the selected evidence matches the intended cells.
Among those correct aggregation predictions, 96% also have correct cell selections. This provides evidence beyond final-answer agreement. In the inspected sample, correct outputs usually arise from the appropriate selected evidence instead of an arbitrary calculation that happens to agree.
The result remains conditional. It concerns correct aggregation predictions within a manual sample. It does not measure evidence correctness across every prediction or establish that spurious solutions have disappeared.
The same inspection finds that 14% of correct aggregation predictions involve a single cell. Such answers could potentially be obtained without aggregation. This again shows that the apparent operation and the computation strictly required by the example need not coincide.
Masked reconstruction varies by content type
The pretraining analysis uses 10,000 held-out examples. Tables in this evaluation partition do not occur in pretraining data. The analysis therefore tests reconstruction on held-out tables rather than simply evaluating additional masks on training tables.
Overall masked word-piece accuracy is 71.4. Header accuracy reaches 96.6, compared with 63.4 for cells and 68.8 for associated text. The authors suggest that recurring table kinds across Wikipedia articles may help explain the ease of predicting headers.
Words and numbers differ substantially. Accuracy for words is 74.1, while numerical accuracy is 53.9. Exact numerical reconstruction is difficult because a plausible nearby quantity is still wrong under exact matching.
These are reconstruction scores, not question-answering accuracies. A system that predicts a likely header or number has learned useful regularities, but that does not establish that it can reliably execute arithmetic or maintain numerical consistency.
Nearby numbers are different from exact numbers
The appendix introduces a softer numerical score:
acc(x, y) = { 1 if x = y
{ 0 if x or y is nonnumerical
{ 1.0 − |x − y| / max(x, y) otherwise
The function acc scores a prediction x against a target y. Exact agreement receives 1. A nonnumerical mismatch receives 0. For numerical mismatches, the final expression reduces the score according to their absolute separation relative to the larger value.
With this measure, overall reconstruction accuracy is reported as 74.5, while numerical accuracy is 80.5. These values measure partial numerical agreement under the appendix’s definition. They must not be substituted for the exact reconstruction results.
The rugby-table example makes the distinction concrete. TaPas reconstructs some draw and loss entries correctly and gives nearby estimates for other numerical fields. Yet the restored table does not satisfy all arithmetic relationships among its columns.
The example therefore illustrates a boundary between plausible completion and consistent computation. An encoder can exploit numerical regularities without enforcing every equation that should hold across a record or table.
Additional objectives are not automatically beneficial
Whole-cell masking helps downstream performance, according to the authors. By contrast, the table–text matching objective does not provide a downstream gain in their experiments.
Grammar-generated question–answer augmentation also fails to improve task performance significantly. Because detailed results are omitted, the paper supports a limited conclusion about those attempted procedures, instead of a general rejection of synthetic data.
The average approximations offer another measured result. The zero-order and second-order forms improve slightly over the weighted-average alternative, but average questions are rare. Their mathematical motivation is stronger than the amount of benchmark evidence available to quantify their practical importance.
Limitations
The paper distinguishes architectural limits from errors observed in evaluation. A careful reading should also separate those author-stated limits from conclusions the experiments simply do not support.
Author-stated limits on context
TaPas processes an individual table that fits within memory. The evaluated setup does not represent an entire database containing several related tables. It also cannot fully encode tables that exceed its available input capacity.
In the manual WikiTQ error analysis, 10% of the inspected errors involve tables that do not fit within 512 tokens. This makes context size an observed failure source rather than a purely hypothetical concern.
The authors suggest compressing or filtering tables so that only relevant material is encoded. They leave this direction for future work. The paper therefore does not demonstrate a complete retrieval or filtering solution for oversized tables.
This context restriction also defines the task being solved. TaPas receives the relevant table. Selecting that table from a large collection is a separate problem and is not established by the reported answer accuracies.
Author-stated limits on computation
The executable representation permits an operation over a selected cell set. It does not represent an unrestricted sequence of dependent calculations.
The authors illustrate this with a question that first needs an average-based condition and then a count of entities satisfying it. Such nested aggregation requires intermediate results beyond the supported representation.
In their sampled WikiTQ errors, the authors do not encounter that particular nested-aggregation pattern. They take this as a suggestion that the evaluated datasets have limited compositional depth. It is evidence about the inspected examples, rather than proof that nested computation is unimportant in table use generally.
The error analysis does identify subtraction as a missing capability. In 2% of its inspected errors, the answer requires a difference between scalars. A lifespan-style question can require subtracting dates even when the relevant values have been read correctly.
Author-reported answer and language difficulties
Some answers cannot be returned by selecting cells because their text does not occur verbatim in the table. This accounts for 16% of the inspected WikiTQ errors. Supporting those cases would require operations on cell strings or another mechanism for producing the missing answer form.
Complex temporal comparison accounts for 10% of the inspected errors. The paper gives a historical question involving a period and a comparison across countries. Such examples show that dates in the input and a rank embedding do not by themselves solve every temporal interpretation.
Another 12% of the inspected errors involve ambiguity, incorrect labels, or missing information. These cases limit what can be concluded from a failed prediction: the issue may lie partly in the question or reference data rather than exclusively in the answering procedure.
TaPas selects no cells in 13% of the inspected errors. The authors suggest penalties as a possible response. The remaining 37% do not fall into the identified categories. This unresolved group cautions against treating the named phenomena as a complete diagnosis.
Limits inferred from the supervision
A correct scalar does not uniquely specify its derivation. Soft execution avoids searching through many discrete programs, but it does not remove ambiguity from answer-only data.
The expectation can agree with a target through a mixture of imperfect operand and operator choices. Training encourages useful probabilities, while inference requires a discrete choice. Temperature sharpening addresses part of this mismatch, but the experiments do not establish that it vanishes.
The ambiguous-answer policy introduces another dependence on current predictions. Choosing supervision according to the present probability of NONE can reinforce a retrieval interpretation even when the intended operation is arithmetic, or the reverse. This is a possible consequence of the design, instead of a separately quantified failure rate in the paper.
Similarly, ignoring examples beyond the scalar-loss cutoff improves stability at the cost of withholding their training signal. The paper associates large losses with outliers, but does not establish that every ignored example is unsuitable for learning.
Limits inferred from data and evaluation choices
The column restriction is well matched to the reported answer organization. It should not be assumed appropriate for arbitrary tasks requiring an answer assembled from several columns.
Preprocessing also narrows the training set. Examples with ambiguous coordinate matches or answers outside the supported targets are dropped. The resulting method depends partly on how reliably denotations can be converted into useful supervision.
WikiSQL’s answer-execution discrepancy further limits casual comparison. The authors explain why their references differ from the official execution output, and their appendix compares evaluation variants. The headline score must retain that qualification.
Finally, the pretraining analysis concerns restoration of hidden tokens. Its softer numerical metric rewards proximity, and its example reveals inconsistent restored values. These findings support learned table regularities; they do not demonstrate an exact numerical representation or guaranteed arithmetic consistency.
What came after
The later citation record places TaPas within several continuing research directions: structured pretraining, numerical reasoning, retrieval, richer table contexts, and alternative interfaces between language and execution. Citation alone does not establish that a later system adopted TaPas’s cell selector, rank embeddings, or differentiable scalar objective. The relationships below distinguish the subjects named by those later works from any stronger claim of direct architectural inheritance.
Structured pre-training continued in several forms
Understanding Tables with Intermediate Pre-training continues the theme expressed in its title: an additional pretraining stage aimed at table understanding. This is closely connected to TaPas’s central experimental finding that text pretraining benefits from further exposure to structured tabular input. The citation relationship supports placing the works in that discussion, without establishing that their objectives are identical.
TABBIE concerns pretrained representations for tabular data. It belongs to the representational side of the problem: what an encoder should learn about organized cells before a particular downstream task is specified. TaPas makes this question concrete through coordinates, headers, and masked cells.
TAPEX explicitly frames table pretraining through learning a neural SQL executor. Its stated direction puts execution at the center of pretraining. TaPas supplies a useful comparison point because its pretraining task reconstructs content, while execution enters its question-answering procedure through explicit operators.
FORTAP identifies formulas as a resource for numerical-reasoning-aware table pretraining. The connection is the need for learning signals that capture numerical relationships, rather than only plausible token completion. TaPas’s reconstruction analysis already exposes the distinction between predicting a nearby number and respecting a table’s arithmetic constraints.
Structure-Grounded Pretraining for Text-to-SQL links structural learning to SQL prediction. It represents a direction in which pretraining and an explicit query language coexist. TaPas’s results therefore need not be read as an argument that structured pretraining belongs only to direct answer selection.
Richer contexts broaden the task
TAT-QA names a financial question-answering setting combining tabular and textual material. That scope broadens the evidence beyond the supplied table alone. Relative to TaPas’s setup, it raises the question of how reading and calculation should operate when necessary information can come from different forms of context.
MultiHiertt concerns numerical reasoning over hierarchical tables and text. HiTab likewise identifies hierarchical tables as a setting for question answering and language generation. Their stated subjects point toward structures that a flat row-and-column representation may not fully describe.
Open Question Answering over Tables and Text broadens the retrieval setting as well as the evidence type. Open Domain Question Answering over Tables via Dense Retrieval explicitly names table retrieval as part of the problem. These directions correspond to a boundary in TaPas: answering from a supplied table leaves finding the relevant table unresolved.
The important connection is a change in task scope. TaPas demonstrates a reader and executor for bounded context. Later titles in these areas identify questions about where the context comes from, how it is organized, and whether table cells alone contain the necessary evidence.
Alternative reasoning interfaces remain active
Binding Language Models in Symbolic Languages concerns a language-to-symbolic interface. Its stated direction provides a useful counterpart to TaPas’s minimal executable representation. Both make the relationship between learned interpretation and executable structure a central issue, while the citation record alone does not establish a shared implementation.
DIN-SQL names decomposition, in-context learning, and self-correction for text-to-SQL. CodeS concerns open-source systems for text-to-SQL. These works show that explicit query production remains part of the later research landscape that cites TaPas.
Chain-of-Table puts evolving tables within a reasoning chain, according to its title. This points towards intermediate table states as part of a reasoning interface. TaPas’s own limit is instructive in that comparison: its final selected set and operation do not represent a general chain of intermediate transformations.
SpreadsheetCoder addresses formula prediction from semi-structured context. It places another kind of executable artifact beside cell-and-operation answers. The common engineering question is how much structure the output should expose for the task at hand.
Charts connect visual evidence with tabular reasoning
ChartQA names a benchmark combining visual and logical reasoning about charts. Its scope extends the evidence-reading problem to a visual presentation, while retaining the need to relate language to quantities and operations.
DePlot identifies plot-to-table translation as the bridge to visual-language reasoning. This creates a conceptual connection to table readers: once information has a tabular form, questions about selection, structure, and calculation become directly relevant.
UniChart concerns pretraining for chart comprehension and reasoning. Multimodal Table Understanding names a broader multimodal scope for tables. These titles indicate that later work treats organized data not only as tokenized cells but also as information encountered through different presentations.
The available citation information does not justify claiming that these systems use TaPas internally. Their relevance is that they revisit related questions about representation, pretraining, and reasoning when the input extends beyond a directly supplied textual table.
Broader evaluation and synthesis
UnifiedSKG concerns unifying structured knowledge grounding through a text-to-text formulation. TableLlama names a generalist direction for table tasks. Both titles point towards broader task coverage than the bounded answer representation studied by TaPas.
Table Meets LLM explicitly asks about understanding structured table data. Exploring Numerical Reasoning Capabilities identifies numerical reasoning over tables as its focus. TaPas’s analyses remain relevant questions for such evaluations: does a correct answer require arithmetic, are the selected quantities appropriate, and does apparent numerical competence survive checks of consistency?
Transformers for Tabular Data Representation places representation approaches within a survey. A Survey of Data Augmentation Approaches for NLP provides another synthesis context, relevant to the distinction between TaPas’s successful pretraining and its unsuccessful synthetic augmentation experiment.
The broader citation list also includes Beyond the Imitation Game and A Survey of Frontiers in LLM Reasoning. Their stated scopes concern capabilities and reasoning more generally. They establish that TaPas is cited beyond narrowly defined table parsing, but do not by themselves supply evidence about which of its mechanisms those works adopt.
Across these directions, TaPas remains a precise reference point. It connects table-specific pretraining, explicit structural cues, answer-only learning, and a small executable output. Its results make that combination worth studying, while its limitations clarify when a richer context representation or a more expressive computation language becomes necessary.
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksComputer Vision and Pattern Recognition · 3,621 works
Topics 2Research subjects and languages the work is about.Language models & pretraining · 4,145 worksSemantic parsing & meaning representation · 194 works
Concepts 1Key ideas and methods explained on our concept pages.Parsing · 54 works
Appears in
Mentioned in articles aboutTel Aviv
Cite
Cite as Jonathan Herzig, Pawel Krzysztof Nowak, Thomas Müller, Francesco Piccinno and Julian Eisenschlos. 2020. TaPas: Weakly Supervised Table Parsing via Pre-training. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics.
@inproceedings{herzig2020tapas,
title = {{TaPas: Weakly Supervised Table Parsing via Pre-training}},
author = {Jonathan Herzig, Pawel Krzysztof Nowak, Thomas Müller, Francesco Piccinno and Julian Eisenschlos},
booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
year = {2020},
doi = {10.18653/v1/2020.acl-main.398},
eprint = {2004.02349},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2020.acl-main.398}
}References
- R. Agarwal, C. Liang, D. Schuurmans, and M. Norouzi. 2019. Learning to generalize from sparse and underspecified rewards. arXiv preprint arXiv:1902.07198. OpenAlex ↗ · Scholar ↗
- D. Andor, C. Alberti, D. Weiss, A. Severyn, A. Presta, K. Ganchev, S. Petrov, and M. Collins. 2016. Globally normalized transition-based neural networks. arXiv preprint arXiv:1603.06042. our card
- Daniel Andor, Luheng He, Kenton Lee, and Emily Pitler. 2019. Giving bert a calculator: Finding operations and arguments with reading comprehension. arXiv preprint arXiv:1909.00109. our card
- Y. Artzi and L. Zettlemoyer. 2013. Weakly supervised learning of semantic parsers for mapping instructions to actions. Transactions of the Association for Computational Linguistics (TACL), 1:49–62. our card
- J. Berant, A. Chou, R. Frostig, and P. Liang. 2013. Semantic parsing on Freebase from question-answer pairs. In Empirical Methods in Natural Language Processing (EMNLP). our card
- Wenhu Chen, Hongmin Wang, Jianshu Chen, Yunkai Zhang, Hong Wang, Shiyang Li, Xiyou Zhou, and William Yang Wang. 2019. Tabfact: A large-scale dataset for table-based fact verification. ArXiv, abs/1909.02164. our card
- Minseok Cho, Reinald Kim Amplayo, Seung won Hwang, and Jonghyuck Park. 2018. Adversarial tableqa: Attention supervision for question answering on tables. In ACML. OpenAlex ↗ · Scholar ↗
- J. Clarke, D. Goldwasser, M. Chang, and D. Roth. 2010. Driving semantic parsing from the world's response. In Computational Natural Language Learning (CoNLL), pages 18–27. OpenAlex ↗ · Scholar ↗
- A. M. Dai and Q. V. Le. 2015. Semi-supervised sequence learning. In Advances in Neural Information Processing Systems (NeurIPS). our card
- Pradeep Dasigi, Matt Gardner, Shikhar Murty, Luke Zettlemoyer, and Eduard Hovy. 2019. Iterative search for weakly supervised semantic parsing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2669–2680. our card
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding (https://doi.org/10.18653/v1/N19-1423). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics. our card
- L. Dong and M. Lapata. 2016. Language to logical form with neural attention. In Association for Computational Linguistics (ACL). our card
- D. Dua, Y. Wang, P. Dasigi, G. Stanovsky, S. Singh, and M. Gardner. 2019. DROP: A reading comprehension benchmark requiring discrete reasoning over paragraphs. In North American Association for Computational Linguistics (NAACL). our card
- Daniel Golovin, Benjamin Solnik, Subhodeep Moitra, Greg Kochanski, John Elliot Karro, and D. Sculley, editors. 2017. Google Vizier: A Service for Black-Box Optimization (http://www.kdd.org/kdd2017/papers/view/google-vizier-a-service-for-black-box-optimization). OpenAlex ↗ · Scholar ↗
- K. Guu, P. Pasupat, E. Z. Liu, and P. Liang. 2017. From language to programs: Bridging reinforcement learning and maximum marginal likelihood. In Association for Computational Linguistics (ACL). our card
- T. Haug, O. Ganea, and P. Grnarova. 2018. Neural multi-step reasoning for question answering on semi-structured tables. In European Conference on Information Retrieval. OpenAlex ↗ · Scholar ↗
- J. Herzig and J. Berant. 2017. Neural semantic parsing over multiple knowledge-bases. In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
- P. J. Huber. 1964. Robust estimation of a location parameter. The Annals of Mathematical Statistics, 35(1):73–101. OpenAlex ↗ · Scholar ↗
- Wonseok Hwang, Jinyeung Yim, Seunghyun Park, and Minjoon Seo. 2019. A comprehensive exploration on wikisql with table-aware word contextualization. arXiv preprint arXiv:1902.01069. our card
- S. Iyer, I. Konstas, A. Cheung, J. Krishnamurthy, and L. Zettlemoyer. 2017. Learning a neural semantic parser from user feedback. In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
- M. Iyyer, W. Yih, and M. Chang. 2017. Search-based neural structured learning for sequential question answering. In Association for Computational Linguistics (ACL). our card
- R. Jia and P. Liang. 2016. Data recombination for neural semantic parsing. In Association for Computational Linguistics (ACL). our card
- J. Lafferty, A. McCallum, and F. Pereira. 2001. Conditional random fields: Probabilistic models for segmenting and labeling data. In International Conference on Machine Learning (ICML), pages 282–289. OpenAlex ↗ · Scholar ↗
- Guillaume Lample and Alexis Conneau. 2019. Cross-lingual language model pretraining. arXiv preprint arXiv:1901.07291. OpenAlex ↗ · Scholar ↗
- Carolin Lawrence and Stefan Riezler. 2018. Improving a neural semantic parser by counterfactual learning from human bandit feedback (https://www.aclweb.org/anthology/P18-1169). In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1820–1830, Melbourne, Australia. Association for Computational Linguistics. our card
- C. Liang, M. Norouzi, J. Berant, Q. Le, and N. Lao. 2018. Memory augmented policy optimization for program synthesis with generalization. In Advances in Neural Information Processing Systems (NeurIPS). OpenAlex ↗ · Scholar ↗
- P. Liang, M. I. Jordan, and D. Klein. 2011. Learning dependency-based compositional semantics. In Association for Computational Linguistics (ACL), pages 590–599. OpenAlex ↗ · Scholar ↗
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized BERT pretraining approach (http://arxiv.org/abs/1907.11692). CoRR, abs/1907.11692. our card
- Jiasen Lu, Dhruv Batra, Devi Parikh, and Stefan Lee. 2019. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. arXiv preprint arXiv:1908.02265. our card
- Sewon Min, Danqi Chen, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2019. A discrete hard EM approach for weakly supervised question answering (https://doi.org/10.18653/v1/D19-1284). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2851–2864, Hong Kong, China. Association for Computational Linguistics. our card
- D. Muhlgay, J. Herzig, and J. Berant. 2019. Value-based search in execution space for mapping instructions to programs. In North American Association for Computational Linguistics (NAACL). OpenAlex ↗ · Scholar ↗
- Thomas Müller, Francesco Piccinno, Massimo Nicosia, Peter Shaw, and Yasemin Altun. 2019. Answering conversational questions on structured data without logical forms. arXiv preprint arXiv:1908.11787. OpenAlex ↗ · Scholar ↗
- A. Neelakantan, Q. V. Le, M. Abadi, A. McCallum, and D. Amodei. 2017. Learning a natural language interface with neural programmer. In International Conference on Learning Representations (ICLR). our card
- Arvind Neelakantan, Quoc V. Le, and Ilya Sutskever. 2015. Neural programmer: Inducing latent programs with gradient descent. CoRR, abs/1511.04834. OpenAlex ↗ · Scholar ↗
- Timothy Niven and Hung-Yu Kao. 2019. Probing neural network comprehension of natural language arguments (https://doi.org/10.18653/v1/P19-1459). In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4658–4664, Florence, Italy. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Panupong Pasupat and Percy Liang. 2015. Compositional semantic parsing on semi-structured tables (https://doi.org/10.3115/v1/P15-1142). In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1470–1480, Beijing, China. Association for Computational Linguistics. our card
- M. E. Peters, M. Neumann, M. Iyyer, M. Gardner, C. Clark, K. Lee, and L. Zettlemoyer. 2018. Deep contextualized word representations. In North American Association for Computational Linguistics (NAACL). our card
- A. Radford, K. Narasimhan, T. Salimans, and I. Sutskever. 2018. Improving language understanding by generative pre-training. Technical report, OpenAI. OpenAlex ↗ · Scholar ↗
- Y. Su and X. Yan. 2017. Cross-domain semantic parsing via paraphrasing. In Empirical Methods in Natural Language Processing (EMNLP). OpenAlex ↗ · Scholar ↗
- Yibo Sun, Duyu Tang, Nan Duan, Jingjing Xu, Xiaocheng Feng, and Bing Qin. 2018. Knowledge-aware conversational semantic parsing over web tables. arXiv preprint arXiv:1809.04271. OpenAlex ↗ · Scholar ↗
- Hao Tan and Mohit Bansal. 2019. Lxmert: Learning cross-modality encoder representations from transformers. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. our card
- Eric Wallace, Yizhong Wang, Sujian Li, Sameer Singh, and Matt Gardner. 2019. Do nlp models know numbers? probing numeracy in embeddings. arXiv preprint arXiv:1909.07940. our card
- Bailin Wang, Ivan Titov, and Mirella Lapata. 2019. Learning semantic parsers from denotations with latent structured alignments and abstract programs (https://doi.org/10.18653/v1/D19-1391). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3772–3783, Hong Kong, China. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Y. Wang, J. Berant, and P. Liang. 2015. Building a semantic parser overnight. In Association for Computational Linguistics (ACL). our card
- Pengcheng Yin, Zhengdong Lu, Hang Li, and Kao Ben. 2016. Neural enquirer: Learning to query tables in natural language (https://doi.org/10.18653/v1/W16-0105). In Proceedings of the Workshop on Human-Computer Question Answering, pages 29–35, San Diego, California. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Y. Zhang, P. Pasupat, and P. Liang. 2017. Macro grammars and holistic triggering for efficient semantic parsing. In Empirical Methods in Natural Language Processing (EMNLP). our card
- Victor Zhong, Caiming Xiong, and Richard Socher. 2017. Seq2sql: Generating structured queries from natural language using reinforcement learning (http://arxiv.org/abs/1709.00103). CoRR, abs/1709.00103. our card
This page in Markdown https://md.research.elamur.ai/free/en/papers/herzig-2020-tapas-weakly-supervised-table-parsing/