Elamur Research

PACIFIC: Towards Proactive Conversational Question Answering over Tabular and Textual Data in Finance

Paper · 2022 · Yang Deng, Wenqiang Lei, Wenxuan Zhang et al.

Summary

A financial question can be brief because an earlier turn has already established what the user means. It can also be brief because the user has left out something the system needs to know. The difference matters. Once a conversation has established a revenue category, a follow-up can refer to it as it. But a request for its percentage change still needs a comparison period, and a table with several years may support several answers. PACIFIC turns this distinction into a benchmark for conversational question answering. A system must use the conversation and the financial document to decide whether it can answer or should ask the user a question of its own.

The authors build PACIFIC from TAT-QA, a financial question-answering dataset with expert-annotated answers. They group questions about the same document, arrange related topics together, and rewrite some questions as follow-ups. For selected questions, an annotator removes a detail that determines the answer. Another annotator asks for that detail, and the next user turn supplies it. The resulting dataset contains 2,757 conversations and 19,008 question–response pairs, including 2,462 turns in which the system is expected to clarify. The documents contain both tables and prose, and many answers require arithmetic over values drawn from them.

The authors’ system, UniPCQA, represents the document and dialogue as a sequence and generates a response in a common format. It can produce a clarification question, return text extracted from the document, or write a short Python expression whose result becomes the answer. In its joint training setup, it generates a clarification decision before generating the response. A decoding procedure called Consensus Voting samples several outputs and groups them by their resulting responses. Different expressions can therefore support the same numerical answer, while conflicting answers to an underspecified question can leave a clarification question as the most frequent response.

The strongest UniPCQA configuration reaches 61.9 exact match and 70.2 F1 on the PACIFIC test set for the full task. The strongest comparison system reaches 46.6 exact match and 52.3 F1, while the reported human scores are 86.3 and 92.1. The error analysis helps explain the gap. A system can ask for clarification at the wrong time, ask for the wrong detail, select the wrong evidence, or combine the right figures incorrectly. Among the sampled errors, choosing the wrong evidence is the largest category. Representing arithmetic as executable code addresses how to express a calculation, while the rest of the task still depends on understanding the conversation and grounding the answer in the document.

Deep dive: PACIFIC: Towards Proactive Conversational Question Answering over Tabular and Textual Data in Finance

PACIFIC tests when a financial question-answering system should ask for clarification and how it can use tables and text to calculate answers. · about 36 minutes to read

The problem and its context

When a short question is complete enough

The paper starts from a practical feature of financial questions. A user often wants a figure qualified by several details, such as a period, a region, and a portfolio segment. Those details determine which part of the document is relevant. They can narrow the answer to a particular table cell, identify a sentence in the accompanying prose, or establish which values should enter a calculation. The document may contain each of the values a system could plausibly use, so finding a number in the source is only part of answering the question.

A conversation lets the user leave out details that are already understood. Suppose the discussion concerns average recorded investment for a particular portfolio segment in the Americas. A follow-up about EMEA can change the region while carrying forward the measure and the portfolio segment. The system needs to preserve the right constraints and replace the one the user has changed. This is different from receiving a self-contained question in which the measure, segment, region, and period are all written out.

The authors describe two recurring forms of dependence on earlier turns. In anaphora, a later expression points back to something already introduced. A pronoun referring to total revenue is an example of this kind of coreference. In ellipsis, the user leaves words out because their meaning can be recovered. A follow-up naming another region can omit the description of the calculation that still applies. These two forms can occur together. Resolving a pronoun may tell the system which financial quantity to examine while leaving it to recover the rest of the request from the exchange.

A short question becomes ambiguous in the sense used by PACIFIC when the document and the conversation still leave an answer-changing detail unresolved. The paper’s total-revenue example shows the distinction. An earlier turn establishes total revenue as the quantity. The table contains revenue for several years. The next question asks for the percentage change, without identifying the period. Recovering what the pronoun refers to settles the quantity, while the endpoints of the comparison remain open. Asking about the period makes progress on the question because it targets the decision the system cannot yet make.

This is why the paper treats clarification as a kind of proactivity. The system initiates a short exchange when answering would otherwise require a guess. The objective remains the user’s information request, and the system’s initiative consists in asking for what is needed to fulfill it. An unnecessary question can also be a mistake. If the preceding exchange already supplies the period, a system that asks for it again has failed to use evidence the user has given.

What earlier work covered

The authors trace conversational question answering back to tasks in which a system responds to a question using a document. In a multi-turn setting, the question has to be understood in light of earlier exchanges. The paper discusses CoQA and QuAC as examples of document-grounded conversational question answering. Work on sequential question answering over tables also made the dependence of a follow-up on previous turns part of the task.

The paper describes two broad approaches to using the history. An end-to-end answering system takes the conversation and document together. How the current question depends on earlier turns is worked out as part of answering it. A rewriting pipeline instead produces a self-contained version of the current question and passes it to a separate question answerer. The rewrite makes the recovered information visible as text. It also creates a dependency between stages. If the rewrite carries forward the wrong year or leaves out a needed qualifier, the answerer receives an incomplete or misleading version of the request. The paper situates its rewriting comparisons in this line of work, including QReCC.

Another distinction concerns the evidence the answerer receives. The paper discusses work on answering questions over tables and text, including HybridQA and the benchmark for open question answering over tables and text. It also describes conversational benchmarks drawing on heterogeneous sources. For financial questions, these formats matter because the document can distribute the information needed for a single response across structured entries and prose. A row and column can locate an amount, while a paragraph can qualify it or explain how it changed.

The authors describe earlier financial question answering as primarily single-turn. FinQA and TAT-QA already made numerical reasoning part of working with financial tables and text. The paper also places its treatment of numeracy alongside reading-comprehension work such as DROP and mathematical question answering such as MathQA. This literature supplied ways to represent operations explicitly. Some approaches used modules for particular operation types, while financial systems could select aggregation operators or generate programs in a prescribed format.

In the authors’ account, such specialized operations give the system a way to calculate, but their design also shapes which calculations it can express. The paper reviews efforts to improve numeracy through post-training for numerical reasoning and prompting, including Chain-of-Thought Prompting. The authors describe those approaches in the context of reasoning over text. Their own design has to turn both table entries and prose into evidence for a calculation, while accommodating responses that require no arithmetic at all.

In earlier proactive dialogue systems, the authors distinguish work on recommendation and goal-oriented interaction from work on clarification in information seeking. Dialogue policies and goal planning gave systems ways to solicit preferences or adjust how an exchange proceeds. More directly related benchmarks such as ClariQ and Abg-CoQA made it possible to study clarifying questions or question answering with clarification. PACIFIC defines a task that evaluates the choice to clarify, the wording of the clarification, and direct answering within the same document-grounded setting.

The benchmark therefore asks about a combination of capabilities. Following the dialogue can recover a reference without resolving every constraint. Finding the right evidence may still leave a calculation to perform. Generating a fluent question can leave the ambiguity untouched if it asks about the wrong constraint. The task gives each of these problems a place in the same exchange, and the experiments evaluate both the whole response and some of the decisions that lead to it.

The method, step by step

How the conversations are constructed

The authors start with groups of questions and answers from TAT-QA that share a source document. The paper reports an average of 6 original question–answer pairs per shared context. A group becomes the basis for a conversation anchored in that same table and accompanying paragraphs. Because an original question may already require several constraints and a calculation, the authors keep it as the basis for an individual information request. They build the dialogue by arranging and rewriting the requests. This preserves questions whose difficulty comes from gathering and combining evidence within a single turn.

The annotators are postgraduate students specializing in finance or related disciplines. The seeker first arranges the questions so that neighboring turns have related topics. Shared entities guide this ordering. In the example about receivables, questions can be adjacent because they concern the same time or because they concern the same region. The authors describe automatic highlighting of entities by matching words in the questions against nouns in the paragraphs and tables. This gives the annotator a visible cue to which questions might be placed together.

The seeker then rewrites suitable questions as follow-ups. Consider the example in which the user moves from the Americas to EMEA. A self-contained question about EMEA would repeat the terms needed to specify the investment measure, the portfolio segment, and the time. In the conversational version, the user can mention the new region and use a reference to the previous request for the rest. The intended answer is still that of the original financial question. This part of the annotation changes how the request is expressed while preserving the information it seeks.

The next operation deliberately creates an information gap. For a selected question containing several entities, one entity is randomly selected for omission. The annotator rewrites the question so that the omission creates ambiguity. In the average-investment example, removing the portfolio segment leaves the region and the request for an average in place. The system needs to know which kind of recorded investment to average. This makes the gap more specific than general uncertainty about what the user is asking.

Another annotator acts as the system and asks for the missing detail. The authors give this annotator templates as a guide. The omitted detail then becomes the seeker’s next utterance, at which point the exchange can return to the original financial answer. An answerable follow-up and a clarification case thus have different constructions. In the first, the dialogue carries enough information to recover what the user left unsaid. In the second, the dialogue has been written to withhold a detail, and the answer becomes available after the user supplies it.

Two verifiers check each dialogue turn. When they identify a problem such as an incoherent exchange, the annotator revises it until it passes both checks. The first verification round catches 212 issues across the 19,008 turns, which the paper reports as 1.1%. Agreement between the verifiers is reported as 0.62. The paper names PACIFIC as the dataset and states that the authors will make the data and code openly available through the project repository.

The decision at the current turn

The system receives the dialogue up to the current user question and the document on which the exchange is based. The paper writes the available history as an ordered sequence.

Cₜ = {q₁, r₁, …, qₜ}

Here t is the current turn and Cₜ is the history available at that turn. The braces enclose the exchanges in their given order. q₁ is the opening user question and r₁ is the system response to it. The ellipsis stands for intervening questions and responses. qₜ is the current user question. The response rₜ is the quantity the system has yet to produce.

D = {E, T}

Here D is the document supplied with the conversation. E denotes its text passages and T its table. The braces group the components of the document. The equals sign defines the representation. The task starts with this document available to the system.

The first decision is clarification need prediction, or CNP. It gives the current turn a binary label. When the label indicates an information gap, clarification question generation, or CQG, produces the system’s question. Otherwise, conversational question answering, or CQA, produces the requested answer using the document and dialogue. Calls for clarification and direct answers both occupy the response position in the exchange.

The division makes different kinds of evaluation possible. A classifier can be tested on whether it recognizes ambiguities, while a question generator can be tested on the clarifications it writes. An answerer can be evaluated on turns that call for answers. For the full task, the system is responsible for both what kind of response to give and what to put in that response. The full task can be approached as a pipeline or by generating the response directly from the input.

Putting the document and dialogue in one sequence

UniPCQA uses sequence-to-sequence generation. An encoder reads a sequence representing the evidence and conversation, and a decoder produces the target sequence one token at a time. Its implementation can start from the pretrained weights of T5 or CodeT5. The latter is pretrained for tasks involving both code understanding and generation. The paper compares the base versions under the same training settings.

The input begins with the paragraphs, moves to the table, and ends with the conversation. Special markers identify the start of the paragraphs and the table. The paragraphs are separated, and the table is serialized by row, using delimiters to mark the progression through the cells and between rows. The example representation uses a colon after the first cell of a row and bars between later cells. User and system markers identify the speakers in the dialogue, which ends with the new user question.

The notation for the contents of the paragraphs is compact.

E = {p₁, …, pₖ}

E is the text component of the document. Each p with a subscript is a paragraph, from the first paragraph p₁ through the last paragraph pₖ. The subscript k gives the number of paragraphs, and the ellipsis stands for the ones between the endpoints. The braces enclose the collection in document order.

T = {c₁₁, …, c₁ₙ, …, cₘ₁, …, cₘₙ}

T is the table. Each c with two subscripts denotes a cell, with the row index first and the column index second. There are m rows and n columns. The first row runs from c₁₁ to c₁ₙ, and the last from cₘ₁ to cₘₙ. The ellipses stand for the intervening cells and rows. The serialization takes the cells in this row-wise order.

This representation gives the generator cues about where a piece of information came from. A value in a row sits among the other entries of that row, while an explanatory sentence sits in a paragraph. Earlier uses of a financial term appear inside turns marked by speaker. The same encoder can process all of these elements. Working out which row or column matters, or which utterance supplies a missing reference, remains part of what the system must learn.

Representing the answer as executable code

The authors separate the act of expressing a calculation from the act of carrying it out. UniPCQA generates Python code that specifies the operands and the operation. For arithmetic, an expression can use addition, subtraction, multiplication, or division. Counting can be represented as a call to len on a list of the relevant items. The paper uses list representations for short textual answers, answers with several spans, and clarification questions as well. A span is a passage selected from the document. In the list representation, its text is the item the system is expected to return.

This gives outputs with different functions a common way of being generated. A list of extracted strings identifies pieces of evidence to present directly. A list containing a question carries the wording of a clarification. An arithmetic expression can yield a numerical answer without giving the user the code as the final financial response. The authors reconstruct the expected Python expressions from the answer derivations in the source data. The generator is trained on the expression that yields the answer, which supplies a target for both the operands and the operation.

The paper illustrates evaluation of a count with a short example.

eval(len(["2018", "2019"])) → 2

In this example, eval denotes execution of the generated expression. The square brackets enclose a list, the comma separates its elements, and the quotation marks indicate that 2018 and 2019 are strings. The parentheses give each function its argument. len returns the number of elements, and the arrow points from the evaluated expression to its result, 2. The evidence choice resides in the contents of the list. Python performs the counting once the list is available.

A calculation uses the same division of labor. In the paper’s receivables dialogue, the reported percentage change compares the earlier and later allowances for credit losses. The generator has to select the relevant allowance amounts for that region and place them in the appropriate relation. The example also shows how two expressions can represent the same change.

(88 − 105) / 105 = 88 / 105 − 1

88 is the later allowance in the example and 105 the earlier allowance. The parentheses group the subtraction before the division on the left. The minus sign denotes subtraction and the slash denotes division. The 1 on the right is the unit removed from the later-to-earlier ratio. The equals sign indicates that the two expressions have the same mathematical value. That equivalence matters for decoding because the outputs can differ as strings while making the same quantitative claim.

An executable expression can still contain the wrong figures or the wrong operation. Its utility is that once those choices are made, the system can use Python to obtain the value. The paper uses eval to derive responses without implementing a separate interpreter for a newly defined set of financial operators. CodeT5 is of particular interest in this setup because the format of the desired calculation resembles the code it encountered during pretraining.

How UniPCQA produces a response with Consensus Voting

The steps in order.

How UniPCQA produces a response with Consensus VotingStep 1: Serialize the paragraphs and table1. Serialize the paragraphs and tableStep 2: Append the conversation and current question2. Append the conversation and current questionStep 3: Sample sequences containing decisions and responses3. Sample sequences containing decisions and responsesStep 4: Decode each sequence into its resulting response4. Decode each sequence into its resulting responseStep 5: Group candidates that yield the same response5. Group candidates that yield the same responseStep 6: Return the response with the most votes6. Return the response with the most votes

Training the response and clarification decision

The authors use the sequence format for individual tasks as well as for the combined task. The isolated clarification predictor learns to generate the decision. The clarification generator learns the question corresponding to the missing detail. The answerer learns which textual items or calculation to return. The joint format puts the decision and the response in a single sequence.

[clari.] y [resp.] rₜ

[clari.] marks the start of the clarification decision. y is the decision, with True meaning that the user should be asked for more information and False meaning that a direct answer is expected. [resp.] marks the start of the response field. rₜ denotes the response at turn t, represented here in the target output format. The brackets and periods in the markers are literal parts of those markers.

The order makes the decision explicit before the response is generated. This gives the decoder a supervised signal about whether a question is answerable from what has already been said. It also means the response is produced after the decision tokens. If the decoder commits to the wrong label, that choice can steer the rest of the sequence toward a direct answer where the user needs a question, or toward a question when a direct answer is available. The response-only comparison evaluates joint-task performance without requiring that explicit label in the generated output.

For training, each example pairs the dialogue and the document with the target sequence for the chosen task. The objective is to make the training target likely when its tokens are generated in order.

ℒθ = ∑ₗ₌₁ᴸ log pθ(oₗ | o<ₗ; Cₜ, D)

ℒθ is the sequential log-likelihood under parameters θ. ∑ adds the terms, with l running from the first target position 1 to L, the paper’s maximum target sequence length. o is the target sequence, oₗ is its token at position l, and o<ₗ means the target tokens before that position. pθ is the conditional probability assigned by the system with parameters θ, and log takes its logarithm. The vertical bar means that the token probability is conditioned on the preceding tokens and the input. The semicolon inside the expression separates the preceding output tokens from that input. Cₜ and D are the dialogue through the current user turn and the source document, respectively. Training adjusts θ to maximize the objective.

The paper uses a learning rate of 5e-5 and weight decay of 0.01 for both initializations. The maximum source length is 1280 and the maximum target length is 128. Training runs for up to 15 epochs with a mini-batch size of 4. The retained checkpoint is chosen by exact match on the development set. T5 base and CodeT5 base each have 220M parameters in the comparison. The authors choose versions of the pretrained baselines with broadly comparable parameter counts, including BERT large at 340M and RoBERTa large at 355M.

From candidate sequences to a response

Greedy decoding chooses the most probable next token at each step and continues until it has a single output. An early commitment can shape every subsequent choice. Consensus Voting instead samples multiple completed sequences. The candidates may propose different clarification decisions, use different operands, or express the same calculation in different ways. The authors take inspiration from Self-Consistency, which motivates considering several generated paths and looking for agreement among their outcomes.

Sampling uses a temperature of 0.5 and restricts token choices to the top 40 candidates at each step. Temperature changes how concentrated the sampling probabilities are, and the top-k restriction limits the choices to the highest-ranked tokens. The main voting configuration draws 40 complete outputs. The two uses of 40 refer to different parts of decoding. One specifies the size of the token shortlist at a step, while the other specifies how many completed sequences receive votes.

The vote counts agreement among derived responses. The paper writes the rule as a maximization over the generated candidates.

rₜ = arg maxₒᵢ∈O ∑ⱼ₌₁ᴺ I(σ(oⱼ) = σ(oᵢ))

Here rₜ is the selected response at turn t. O is the collection of sampled sequences and N is the number drawn. oᵢ is a candidate under consideration, and ∈ says it belongs to O. The summation sign ∑ counts across candidates oⱼ, indexed by j from 1 through N. The function σ obtains the response from a sequence, for instance by executing the expression it contains. The equality inside I tests whether two candidates yield the same response. The indicator I contributes one vote for a match and no vote otherwise. arg max selects a candidate whose derived response has the largest count. The left side names the response obtained from that candidate.

Agreement is consequently about what the system would return. A list with the same regions in a different order can produce the same count. Algebraically equivalent expressions can yield the same amount of change. Their votes pool even where the generated expressions differ. Conversely, candidates making different assumptions about an unspecified period can generate different percentage changes, so each answer may have relatively little support. A recurring clarification question can then win by plurality, meaning that its count exceeds each competing response count. The rule compares resulting responses, so it does not first pool every sequence whose clarification label is True regardless of the question it asks.

Experiments and results

The splits and the kinds of questions they contain

PACIFIC retains the train, development, and test division of TAT-QA. Training contains 2,201 dialogues and 15,087 turns, of which 1,872 are clarification turns. Development has 278 dialogues and 1,982 turns, with 320 clarification turns. Test also has 278 dialogues, with 1,939 turns and 270 clarification turns. The 2,462 clarification turns across the dataset account for 13.0% of its 19,008 question–response pairs. This distribution makes direct answering a frequent requirement of the full task while leaving a substantial set of turns on which an answer should wait for clarification.

The response types show what the direct answerer is being asked to do. Across PACIFIC, 7,136 turns have a single-span response and 2,072 have a multiple-span response. There are 377 counting turns and 6,961 arithmetic turns. The 2,462 clarification questions form their own response category. These counts describe the dataset as a whole. In particular, arithmetic is a large category alongside single-span extraction.

The paper also groups questions by evidence source. Across response types, it counts 8,717 turns in the table category, 4,173 in the text category, and 6,118 in the category involving both. For arithmetic specifically, 4,744 are associated with table evidence and 2,074 with combined table and text evidence. The answerer therefore has to work with table entries often, while also handling examples for which the paragraphs play a role.

The change from standalone requests to conversation is visible in the lengths the authors report. In the training split, PACIFIC questions average 9.6 words, compared with 12.5 for TAT-QA. PACIFIC’s training responses average 4.6 words, while TAT-QA’s training answers average 4.1. The authors connect the shorter user turns to the abbreviated phrasing of follow-ups and the longer responses to the introduction of clarification questions. These measurements reflect the change in what each side of the exchange says.

Detecting and writing a clarification

The paper evaluates clarification need prediction as binary classification. Precision measures how often a prediction to clarify is appropriate under the annotation. Recall measures how often a turn requiring clarification is identified. F1 combines those measures, giving a system a reason to do well on both. The distinction matters in a dataset where the majority of turns permit a direct answer. Simply favoring direct answers would leave a different pattern of errors from asking too frequently.

The classifier baselines are BERT large and RoBERTa large. For the baselines, the authors flatten the table by row and follow it with the paragraph tokens. On the PACIFIC test split, BERT large reaches 80.0 precision, 83.9 recall, and 81.7 F1 for clarification need prediction. RoBERTa large reaches 90.0 precision, 90.8 recall, and 90.2 F1. UniPCQA with T5 reaches 90.6 precision, 91.6 recall, and 91.1 F1. On development, UniPCQA with T5 records 92.3 F1 and RoBERTa large records 91.2. The comparison shows how competitive a dedicated classifier can be on the initial decision, even though its output leaves the rest of the turn to another component.

Evaluation of the generated clarification asks whether the system writes a question close to the reference. The paper uses ROUGE-2 F1, exact match, and token-level F1. ROUGE-2 looks at overlap in adjacent pairs of words or tokens. Token-level F1 credits overlap in individual tokens, and exact match requires the predicted wording to match the evaluated reference. A question can therefore receive high overlap scores while differing from the reference in a term that matters to the user.

The template baseline, BERT+TB, extracts a phrase with BERT and fills a blank in a pre-defined question. CopyTrans. uses an encoder–decoder with a mechanism for copying input material. Q-GPT generates questions with a system initialized from GPT-2 and adapted to the clarification task. These alternatives probe different ways to obtain the wording. A template fixes the shape of the question and focuses on the slot. A copying system can reuse pieces of the source. A generator can vary the full wording.

Clarification question generation on PACIFIC test by exact match

UniPCQA with T5 matches the reference questions most often.

Clarification question generation on PACIFIC test by exact matchBERT+TB: 33.2BERT+TB33.2CopyTrans.: 37.9CopyTrans.37.9Q-GPT: 63.4Q-GPT63.4UniPCQA with T5 (this paper): 71.1UniPCQA with T5 (this paper)71.1
The numbers
System or settingexact match
BERT+TB33.2
CopyTrans.37.9
Q-GPT63.4
UniPCQA with T5 (this paper)71.1

On PACIFIC test, UniPCQA with T5 obtains 87.8 ROUGE-2 F1 and 91.1 token-level F1 for clarification questions. Q-GPT obtains 83.9 and 87.8 on those measures. On development, their exact-match scores are 76.9 and 67.8, respectively. The authors point out that many clarification questions use similar phrasing, which helps explain why even the template and copy baselines achieve relatively high overlap scores. They attribute some of UniPCQA’s advantage to how it represents the hybrid input. The comparison tests complete generators and representations together, so its score does not isolate the effect of any particular input marker.

Answering when the user has supplied enough information

The conversational answering experiment compares two ways of getting from a follow-up to an answer. One uses the conversation and document together. The other rewrites the current query and sends the rewritten text to a single-turn answerer. Both are evaluated with exact match and a numeracy-focused F1 score. The latter measures partial overlap with the expected answer while accounting for numerical content.

For the rewriting pipeline, the authors compare the original question as written, a Transformer-based rewriter called Trans.++, and a T5 rewriter. The main learned rewrites come from training on QReCC, a general-domain conversational benchmark. The authors also report a T5 rewriter trained on PACIFIC rewrites to show what changes with access to in-domain supervision. These systems use TAGOP to answer the resulting questions. TAGOP selects information through sequence tagging and applies aggregation operators designed for answering from financial tables and text.

On the PACIFIC test split for conversational answering, passing the original question to TAGOP scores 34.7 exact match and 43.2 F1. A Trans.++ rewrite learned on QReCC gives 36.2 exact match and 43.9 F1. The comparable T5 rewrite reaches 36.6 exact match and 44.2 F1. T5 trained on PACIFIC rewriting data gives 46.2 exact match and 54.2 F1. These runs show that the domain of the rewrite training data is consequential when the answerer depends on the rewritten question to recover the information left implicit in the dialogue.

The comparison also uses the original self-contained questions from TAT-QA, labeled Gold. This gives an indication of what a pipeline can do when the wording of the rewritten request is supplied. Under that condition, TAGOP reaches 50.1 exact match and 58.0 F1 on test. The answerer still has to extract evidence and carry out any operation requested. For the same Gold condition, UniPCQA with T5 achieves 62.3 exact match and 71.1 F1, and UniPCQA with CodeT5 achieves 63.9 exact match and 72.2 F1. These Gold-input results reflect the original TAT-QA task. They should be read separately from the results for answering actual PACIFIC follow-ups.

For answering with the whole conversation available, the baselines include NumNet+ V2, which uses a numerical graph over text, and TAGOP adapted to the conversational input. A BERT-based approach called HAE incorporates information about earlier answers in its input representations. HAE returns extracted spans and has no calculation component. Its PACIFIC test result of 18.2 exact match and 25.4 F1 illustrates the difficulty of applying a span answerer to a dataset where many requested values have to be derived. End-to-end TAGOP reaches 43.3 exact match and 50.4 F1 on the same split.

End-to-end conversational answering on PACIFIC test by F1

Both UniPCQA initializations score above the other end-to-end answerers.

End-to-end conversational answering on PACIFIC test by F1HAE with BERT large: 25.4HAE with BERT large25.4NumNet+ V2: 36.9NumNet+ V236.9TAGOP: 50.4TAGOP50.4UniPCQA with T5: 67.3UniPCQA with T567.3UniPCQA with CodeT5 (this paper): 67.9UniPCQA with CodeT5 (this paper)67.9
The numbers
System or settingF1
HAE with BERT large25.4
NumNet+ V236.9
TAGOP50.4
UniPCQA with T567.3
UniPCQA with CodeT5 (this paper)67.9

The corresponding end-to-end exact-match scores on PACIFIC test are 58.9 for UniPCQA with T5 and 59.8 for UniPCQA with CodeT5. On development, the T5 configuration reaches 62.6 exact match and 69.7 F1, and CodeT5 reaches 64.7 exact match and 72.0 F1. The end-to-end experiment tests the ability to use dialogue history when producing an answer. The full proactive evaluation adds the requirement to determine when that kind of response is appropriate.

The full proactive task

For the overall comparison, a response can be a clarification or a financial answer. The paper evaluates it with exact match and numeracy-focused token-level F1. The three baselines use different ways to get from the document and dialogue to the response. DialoGPT generates a dialogue response, with targets that contain document spans without numerical calculations. FinQANet retrieves supporting facts, then generates a structured program or a natural-language clarification. Both can generate a response without an explicit classification step for clarification need.

The remaining baseline is a T5 and TAGOP pipeline. T5 determines whether the system should ask a question and generates the question when necessary. On turns that call for an answer, TAGOP reads the conversational material and produces the answer. This gives the pipeline dedicated components for both branches and access to the operations developed for TAT-QA. The authors connect its advantage over FinQANet to the suitability of those operators for a benchmark derived from TAT-QA.

On PACIFIC test for the full task, DialoGPT scores 22.6 exact match and 30.7 F1. FinQANet scores 38.0 exact match and 45.5 F1. The T5 and TAGOP pipeline reaches 46.6 exact match and 52.3 F1. The T5 version of UniPCQA, before the explicit clarification label and voting are added, reaches 56.9 exact match and 65.4 F1. Its CodeT5 counterpart, also without those additions, reaches 60.4 exact match and 68.5 F1.

Full proactive question answering on PACIFIC test by exact match

The strongest UniPCQA system leads the automated comparisons, with human experts scoring higher.

Full proactive question answering on PACIFIC test by exact matchDialoGPT: 22.6DialoGPT22.6FinQANet: 38.0FinQANet38.0T5 with TAGOP: 46.6T5 with TAGOP46.6UniPCQA with T5: 56.9UniPCQA with T556.9UniPCQA with CodeT5: 60.4UniPCQA with CodeT560.4UniPCQA with CodeT5, joint training and voting (this paper): 61.9UniPCQA with CodeT5, joint training andvoting (this paper)61.9Human experts: 86.3Human experts86.3
The numbers
System or settingexact match
DialoGPT22.6
FinQANet38.0
T5 with TAGOP46.6
UniPCQA with T556.9
UniPCQA with CodeT560.4
UniPCQA with CodeT5, joint training and voting (this paper)61.9
Human experts86.3

With joint training and Consensus Voting, the CodeT5 version obtains 70.2 F1 on test for the full task. The T5 version with the same additions scores 59.4 exact match and 68.3 F1. On development, the complete CodeT5 configuration reaches 64.5 exact match and 72.6 F1, while the complete T5 configuration reaches 62.1 exact match and 70.7 F1. The human comparison reported on test is 86.3 exact match and 92.1 F1. The complete system’s results therefore show gains over the alternative architectures under the same overall task, along with a sizable gap to the human comparison.

What the ablations show

What explicit supervision and voting each add

The full-task experiments compare variants that start from the same pretrained weights. For T5, the response-only version scores 56.9 exact match and 65.4 F1 on PACIFIC test. Joint training that makes the clarification decision explicit brings those scores to 58.7 and 67.5. Adding Consensus Voting yields 59.4 and 68.3. The development split shows the same order, with exact match moving from 60.0 to 61.6 with joint training and reaching 62.1 with voting.

The CodeT5 variants follow the same pattern. On PACIFIC test, the response-only version records 60.4 exact match and 68.5 F1. Adding the clarification label gives 61.0 and 69.4. Using Consensus Voting with the jointly trained version gives 61.9 and 70.2. On development, CodeT5 exact match is 63.2 for the response-only version, 64.0 for joint training, and 64.5 after voting. In both initializations, explicitly learning the decision helps the final response, and voting on sampled responses adds a further gain.

The comparison supports two conclusions at different stages. Label supervision helps even when the system has to commit to one decoding path. Voting helps when several outputs can be sampled from a jointly trained system. The paper gives examples of voting correcting the decision to answer and also correcting the result of a calculation. The aggregate scores combine those effects. They do not measure how much of the gain comes from each mechanism, and the reported variants do not establish how much voting would add to the response-only configuration.

The authors vary the number of drawn outputs over 1, 5, 10, 20, and 40. They report that performance generally improves with more samples for both initializations. More draws give a recurring response more opportunities to accumulate votes and give other derivations a chance to support it. The study ends at 40 because of the experimental environment. The observed trend describes the tested range.

Where code pretraining helps

T5 base and CodeT5 base have the same reported parameter count, and the paper uses the same training settings for them. That makes their comparison informative about the choice of initialization for the common UniPCQA format. CodeT5 leads in the aggregate full-task results. The breakdown by answer type and evidence source shows where that lead is concentrated.

On PACIFIC test across all evidence sources, the complete CodeT5 version reaches 60.7 exact match for arithmetic, compared with 56.1 for T5. On arithmetic responses associated with table evidence, it reaches 58.7 compared with 53.5 for T5. On those associated with both table and text, the corresponding scores are 67.4 and 63.7. These are the kinds of answers for which a generated expression has to encode relationships among values. The authors interpret the results as evidence that code-related pretraining fits that representation.

The ranking changes for some response types. Across all sources, the complete T5 system obtains 60.6 exact match on single spans, compared with 59.2 for CodeT5. On multiple spans, T5 reaches 66.2 and CodeT5 reaches 65.7. On counting, they obtain 45.0 and 40.0, respectively. Counting is expressed as code too, but the result depends on constructing the right list. The test breakdown gives a concrete reason to distinguish a system’s ability to express an operation from its ability to identify everything the operation should act on.

Evidence source also changes the ranking. Over the test turns categorized as text-only, T5 reaches 54.6 exact match and CodeT5 50.0. Over table turns, CodeT5 reaches 59.5 and T5 56.0. On turns assigned to both sources, CodeT5 reaches 70.6 and T5 67.4. These groups contain different mixtures of answer types, so their aggregate scores should not be read as a controlled comparison of how difficult a table or paragraph is in isolation. They do show that the overall CodeT5 lead coexists with weaker results in some subsets.

The low-resource study varies how much of the PACIFIC training data is available, from 10% to 100%. The authors report that UniPCQA compares favorably with FinQANet and the T5 and TAGOP pipeline when training data are scarce, with CodeT5 especially strong in that regime. The interpretation is that the pretrained initialization supplies capabilities that can be reused with less task-specific annotation. The study evaluates systems under reduced PACIFIC supervision. It leaves the effectiveness of transfer to other financial datasets open.

What rewriting reveals about the answering pipeline

The authors evaluate rewriting separately from answering. Their rewriting measures are exact match and ROUGE-1 recall, which gives credit for recovering individual tokens present in the reference. This comparison helps distinguish a pipeline that makes a better answer from one whose rewritten question merely looks closer to the expected wording on some measure.

On the PACIFIC test split, the unchanged conversational question has ROUGE-1 recall of 69.9 and exact match of 43.6 when compared with the self-contained reference. The QReCC-trained T5 rewriter achieves 80.2 ROUGE-1 recall and 29.7 exact match. The combination is informative. The rewritten questions recover more reference words on the recall measure, while fewer of the resulting strings match the entire reference. In the answering pipeline, those rewrites deliver only a modest improvement over using the original question. Token recovery alone is an incomplete account of how well the rewrite has carried forward the constraints needed by TAGOP.

Training the T5 rewriter on PACIFIC changes both measures. On the PACIFIC test rewriting evaluation it reaches 94.8 ROUGE-1 recall and 79.7 exact match. The paper treats this as a separate in-domain condition because it gives the rewriter direct supervision from PACIFIC. Its comparison with a QReCC-trained rewriter helps explain the weak transfer result. Its comparison with the Gold condition shows how much the answerer still needs to do, even when dialogue dependence has largely been addressed upstream.

The Gold condition has another role in interpreting the answering scores. A self-contained question relieves the answerer of recovering omitted references from the dialogue, while preserving the need to identify the right evidence and produce the right result. The gap between an automatic rewrite and Gold with the same answerer says something about the rewrite. The remaining errors with Gold can arise from financial answering itself. Together, the two evaluations show where a pipeline depends on both components working and why a weak overall score cannot be assigned to rewriting alone.

How votes change decisions in individual cases

One case concerns an average over annual amounts. Greedy decoding includes 4.01 in the sum where the expected derivation uses 4.04. Among the sampled outputs are expressions that use 4.04 and differ in the order of the addends. Those expressions support the same answer because order does not change the sum. A candidate that uses the wrong figure and a candidate that divides by the wrong denominator instead yield competing responses. The example shows what is gained by comparing the result of an expression rather than comparing the expression’s wording or syntax.

The other case concerns percentage change in total revenue. An earlier turn identifies the quantity, and the accompanying table gives amounts from 2017 to 2019. The follow-up requests a percentage change without saying which period is intended. Greedy decoding selects the same amount for the beginning and end of the calculation, yielding 0.0. Another sampled derivation produces 7.18 by making a different choice about the period. The examples distinguish having a financially meaningful expression from having grounds for choosing that expression in the conversation.

In the detailed case, the period clarification receives 10 votes. The response of 0.0 receives 4 and the response of 7.18 receives 2. Other numerical responses also appear. The winning clarification addresses the missing endpoints of the comparison. The example illustrates how assumptions can divide the votes for direct answers. The vote itself is over responses, so it helps here because the samples proposing clarification concentrate on the same question.

What the remaining failures look like

The authors randomly sample 100 errors from UniPCQA and classify them by what went wrong. Wrong evidence is the largest category at 34%. In the paper’s illustration, the system chooses a figure that does not belong in the requested comparison. Missing evidence accounts for 12%. The extracted figures can all be relevant in this category, yet a total is still incomplete because it leaves out another amount required by the question. These two failures call for different diagnoses when inspecting a generated expression. One is a substitution, while the other is an omission.

Wrong derivation accounts for 13% of the sampled errors. In these cases the required information is present, but the expression applies it incorrectly. The salary example includes the relevant amounts and then uses the wrong divisor for their average. The distinction between evidence and derivation matters because a numerical answer can be wrong even when every operand was copied correctly. A short Python expression makes it possible to inspect which of those choices failed.

Incorrect clarification need predictions account for 18% of the sampled failures. The paper reports that 11% of all sampled failures are ambiguous questions treated as answerable, while 7% are answerable questions treated as requiring clarification. A separate 7% concerns clarification questions whose wording fails to resolve the ambiguity. One example asks for a year when the reference clarification concerns the broader payment period. The system can therefore recognize the need to ask and still fail to identify exactly what the user should supply.

The remaining 18% includes such issues as incorrect scale or missing symbols and punctuation. The paper compares the shares associated with span extraction with an earlier TAGOP error analysis on TAT-QA, reporting 84% there and 46% for UniPCQA on PACIFIC. These percentages describe the composition of errors in different settings. PACIFIC introduces clarification failures alongside the evidence and numerical errors already possible in financial question answering. The comparison shows how the mix of failures changes when the task expands.

Limitations

Limits identified by the authors

The authors describe the numerical reasoning in PACIFIC as basic. It covers arithmetic, counting, and comparison. Python gives UniPCQA a way to express a range of operations, but the expressions required by the dataset exercise a limited part of that range. The experiments support claims about the calculations the questions actually request. The authors identify more complicated calculations as an area for future dataset development.

The construction of ambiguity is also deliberately narrow. Each constructed ambiguous question has one omitted detail. This helps the annotators agree on what the clarification should target. A user can in practice leave several details unsettled, which raises further questions about which to ask for first or whether to combine them in a single response. PACIFIC’s clarification turn supplies a question, and the authors also identify the presentation of candidate options as a form of clarification worth studying. Those cases would expand what the system is expected to do once it recognizes that an answer depends on additional information.

The evidence in PACIFIC consists of tables and prose. The authors point out that financial documents can also contain charts and images. A system reading those sources would have to recover information from other forms of representation before it could use it in a calculation or recognize what a user’s reference denotes. The paper establishes a task for reasoning over serialized tables and text, with broader document modalities left open.

For UniPCQA, the authors identify the reliance of numerical reasoning on pretrained capabilities. Executing code guarantees that the code’s calculation is carried out as specified. The system still writes the code, including its values, operation, and operand order. The paper proposes studying post-training on tasks that could transfer domain-specific or task-relevant knowledge, as well as prompting approaches that might help the system learn the relationships among its different inputs and outputs. These are directions the authors draw from their error analysis.

Limits of what the evaluation establishes

PACIFIC begins with curated financial question–answer pairs and constructs the dialogues around them. This preserves the source questions’ subject matter and gives the authors a way to verify the intended answer after clarification. It also means the frequency and kinds of ambiguity arise from a design choice about which details to remove. The reported clarification rate characterizes PACIFIC. The setup does not measure how often users ask underspecified questions in naturally occurring financial conversations or how readily they know the detail that a system asks them to supply.

The evaluation gives the answerer the relevant document. That makes it possible to study evidence selection within a table and its accompanying prose, but leaves open the separate question of choosing the document when the user’s request could refer to several sources. Similarly, the test split assesses held-out conversations under the inherited TAT-QA partition. The rewriting comparison shows how a general-domain rewriter fares in PACIFIC, while the results do not establish that a system trained on PACIFIC would transfer to a different financial corpus or document format.

Exact match and token overlap provide a consistent way to compare predictions to references. They capture only part of the usefulness of a clarification. An alternate formulation might resolve the same missing period and receive a weaker string match. Conversely, a question with nearly identical wording might ask for the wrong category. The case analyses show why checking the decision and the content of a clarification matters. A reference score at the response turn leaves room for a different evaluation of whether the user understands the question, supplies the needed information, and proceeds to a satisfactory answer.

Consensus Voting measures agreement among outputs from the same underlying generator. A recurring answer can be supported by different valid expressions. It can also recur because the sampled sequences share a mistaken reading of the document. If an incorrect year attracts concentrated support, disagreement among other answers may even leave it as the plurality response. The benchmark results show that voting helps under the tested conditions. They do not establish that the vote count is a reliable measure of uncertainty across financial conversations.

The overall scores also combine different kinds of behavior, including extracting a short span, carrying out arithmetic, and asking a question. Improvements in those scores establish that the complete response is more frequently correct by the study’s metrics. They leave the source of the improvement partly dependent on the breakdowns. In particular, the arithmetic gains with CodeT5 do not imply that code pretraining improves all executable outputs, as the counting and span comparisons illustrate. The evidence supports a system whose initialization, supervision, and decoding suit important parts of PACIFIC, with substantial errors still visible at the level of individual decisions.

What came after

Later papers cite PACIFIC in connection with proactive dialogue, conversational answering, and the evaluation of systems that read tables. Their stated topics show several ways researchers continued with questions that PACIFIC brings together. Some focus on the policy for asking, some on the conversational answerer, and others on the documents or dialogue data used to test these capabilities.

Prompting and Evaluating Large Language Models for Proactive Dialogues studies clarification alongside target-guided dialogue and non-collaboration. It places the decision to seek missing information within a broader investigation of prompting and evaluation for systems that take initiative. PACIFIC’s version of initiative is tied to completing a financial request, while the later paper’s stated scope includes settings in which a system is guided by a target or encounters a non-collaborative exchange. Prompting and Evaluating Large Language Models for Proactive Dialogues.

Plug-and-Play Policy Planner for Large Language Model Powered Dialogue Agents takes up the question at the level of dialogue policy. PACIFIC poses a concrete choice between asking for a missing detail and producing the answer. The later paper addresses planning for dialogue agents, a framing in which the choice of what move to make can be studied as part of organizing the interaction. Plug-and-Play Policy Planner.

Structured Uncertainty guided Clarification for LLM Agents focuses on using structured uncertainty to guide clarification. The connection is particularly close to PACIFIC’s distinction between knowing the subject of a question and knowing every constraint needed to answer it. A system may have resolved the reference to revenue while still facing an open period. The later paper’s emphasis is on uncertainty as a guide to the clarification, whereas PACIFIC defines and supervises the decision through annotated conversational turns. Structured Uncertainty guided Clarification.

ChatQA studies conversational question answering and retrieval-augmented generation. It continues the line of work concerned with answering a question that depends on an ongoing exchange. PACIFIC supplies the relevant financial document and tests the use of its contents and the prior turns. Retrieval-augmented generation adds the problem of obtaining evidence for the answer, giving the conversational answering problem a wider setting. ChatQA.

Table Question Answering in the Era of Large Language Models surveys tasks, methods, and evaluation for table question answering. PACIFIC belongs to the part of that landscape where a table contributes evidence across a conversation and where an answer may depend on prose and arithmetic as well. The survey’s stated scope is to organize the wider field that contains such tasks, along with the methods and evaluations used to study them. Table Question Answering in the Era of Large Language Models.

When Tables Go Crazy evaluates vision and language systems on French financial documents. It shares PACIFIC’s concern with testing systems on financial material while extending the setting along language and modality. That connects to a limit the PACIFIC authors identify. Serialized tables and accompanying text capture important parts of financial documents, and the later paper examines documents through a multimodal evaluation. When Tables Go Crazy.

A Teacher-Student Approach to Creating Verified Synthetic Clarification and Correction Dialogues for TableQA Tasks returns to the construction of dialogue data. Its stated approach is to create verified synthetic dialogues for table question answering using a teacher and student, with correction as well as clarification in scope. PACIFIC’s data construction turns selected standalone questions into exchanges in which a missing detail can be requested and supplied. The later work takes dialogue creation itself as the research problem and includes exchanges concerned with correcting an earlier turn. A Teacher-Student Approach to Creating Verified Synthetic Clarification and Correction Dialogues for TableQA Tasks.

Cite

Cite as Yang Deng, Wenqiang Lei, Wenxuan Zhang, Wai Lam and Tat-Seng Chua. 2022. PACIFIC: Towards Proactive Conversational Question Answering over Tabular and Textual Data in Finance. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.emnlp-main.469

@inproceedings{deng2022pacific,
  title = {{PACIFIC: Towards Proactive Conversational Question Answering over Tabular and Textual Data in Finance}},
  author = {Yang Deng, Wenqiang Lei, Wenxuan Zhang, Wai Lam and Tat-Seng Chua},
  booktitle = {Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.469},
  url = {https://doi.org/10.18653/v1/2022.emnlp-main.469}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/deng-2022-pacific-proactive-conversational-question-answering/