Multi-View Graph Representation Learning for Answering Hybrid Numerical Reasoning Question

Yifan Wei, Fangyu Lei, Yuanzhe Zhang, Jun Zhao, Kang LiuarXiv 2023

Abstract

Hybrid question answering (HybridQA) over financial reports involves both textual and tabular data, requiring models to select appropriate evidence for numerical reasoning. Existing encoder-decoder frameworks often rely on Machine Reading Comprehension (MRC) methods that flatten tables, damaging spatial structure and granularity relationships. This paper proposes a Multi-View Graph (MVG) Encoder to capture these relations from multiple perspectives. By constructing Tabular, Relation, and Numerical views, the model retains the original characteristics of hybrid data. Validated on the TAT-QA benchmark, the MVG model outperforms state-of-the-art methods.

Introduction: The Challenge of Hybrid Data

Financial reports present a unique challenge for automated question answering because evidence is distributed across unstructured text and structured tables. Traditional models often "flatten" tables into strings, leading to a loss of 2D spatial structure (e.g., row/column headers) and a mismatch in granularity between specific cell values and broader textual context.

Example of a financial document containing hybrid data (text and table) and the reasoning required to answer questions.

The MVG approach addresses these issues by representing the document as a graph where nodes represent different levels of information—from individual words and numbers to entire rows, columns, and sentences. This allows the model to maintain the "spatial" logic of a spreadsheet while aligning it with paragraph context.

Methodology: Multi-View Graph Encoder

The core of the proposed system is the Multi-View Graph (MVG) Encoder, which processes the input through three specialized lenses:

  • Tabular View: Preserves the 2D grid by connecting cells to their neighbors and headers, ensuring the model understands which headers describe which values.
  • Relation View: Bridges modalities by linking coarse-grained nodes (sentences, rows) to fine-grained nodes (words, numbers). For instance, if a word in a cell appears in a sentence, an edge is drawn between them.
  • Numerical View: Encodes mathematical magnitude by creating directed edges between numbers based on their values (e.g., $N_i > N_j$), helping the model capture relative scale.
The MVG architecture, showing graph construction, the encoder module with multi-view graph attention, and the tree-based decoder.

The architecture utilizes a pre-trained RoBERTa model for initialization, followed by a Graph Transformer with Multi-View Graph Attention (MGAT). The decoder is task-specific: a sequence tagging module for text spans and an expression tree generator for arithmetic operations like (A - B) / C.

Experimental Results

The model was evaluated on the TAT-QA dataset, which consists of 16,552 question-answer pairs requiring complex arithmetic across tables and text. The MVG model achieved significant performance gains:

  • State-of-the-Art Performance: It reached 70.9 EM and 79.1 F1 on the test set, surpassing previous benchmarks like RegHNT.
  • Significant Improvement: Compared to the TAGOP baseline, it showed a 20.8% increase in Exact Match (EM) and a 21.1% increase in F1 score.
  • Ablation Studies: Removing any of the three views resulted in a performance drop, confirming that the Tabular, Relation, and Numerical views provide complementary, necessary information.

Conclusion

By explicitly modeling the structural and numerical relationships inherent in financial reports, the Multi-View Graph Encoder effectively bridges the gap between text and tables. While the model currently excels at standard layouts, future work will focus on handling more complex, hierarchical, or nested table structures common in professional auditing and financial analysis.

Summary updated

BibTeX
@misc{wei2023multi,
  author = {Yifan Wei and Fangyu Lei and Yuanzhe Zhang and Jun Zhao and Kang Liu},
  title = {{Multi-View Graph Representation Learning for Answering Hybrid Numerical Reasoning Question}},
  year = {2023},
  eprint = {2305.03458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.03458},
}
Figure