Manuscript Offprint

arXiv:2609.01216

H2Table: Hierarchical Hypergraph-Enhanced Large Language Models for Complex Table Reasoning

Jia Ling, Yangfan Wang, Chen Tang, Haoming Tan, Yang Yang, Yi Guan, Jingchi Jiang

H²Table: Hierarchical Hypergraph-Enhanced Large Language Models for Complex Table Reasoning

Jia Ling¹, Yangfan Wang¹, Chen Tang², Haoming Tan¹, Yang Yang³, Yi Guan¹, Jingchi Jiang¹,⁴,*

¹Harbin Institute of Technology, ²AI Research Center, Midea Group (Shanghai) Co., Ltd.

³Changchun University of Science and Technology

⁴State Key Laboratory of Smart Farm Technologies and Systems

{2022112476, yf.wang, 2022111514}@stu.hit.edu.cn

travistang@foxmail.com, yangyang_hit_wi@163.com

{guanyi, jiangjingchi}@hit.edu.cn

Abstract

Tables are ubiquitous across diverse domains, yet reasoning over them remains a significant challenge for modern large language models (LLMs). Current approaches typically linearize tables into sequences, inherently overlooking their intrinsic two-dimensional and hierarchical structure. To address this, we propose H²Table (Hierarchical Hypergraph-Enhanced Table Reasoning), a novel framework that represents complex tables as hierarchical nested hypergraphs. To process this representation, we design a tailored hypergraph encoder to facilitate message passing between hyperedges (headers) and nodes (cells), thereby perceiving the semantic entailment relationships between them within complex tables. Furthermore, we introduce a set of learnable query vectors acting as a lightweight bridge to extract representative structural embeddings from the encoder into the LLM. Experimental results demonstrate that our approach effectively handles complex table question answering tasks with hierarchical nested headers. Notably, on the HiTab dataset, H²Table achieves an average improvement of 22.88% over state-of-the-art baselines on highly complex tables with a nesting depth of four. Our code is available at: https://github.com/lila120/h2table.

References (15)

  • The Llama 3 Herd of Models
  • RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • Gemma 2: Improving Open Language Models at a Practical Size
  • Llama 2: Open Foundation and Fine-Tuned Chat Models
  • The model was optimized using AdamW ($\beta_1 = 0.9, \beta_2 = 0.95$, weight decay = 0.05) with a learning rate of $1 \times 10^{-5}$
  • For TATQA, we employed LLM to transform the original flat matrix tables into the aforementioned hierarchical format
  • Consequently, the relative performance comparisons remain strictly fair
  • The manual inspection revealed that 91 tables were converted accurately, whereas 9 exhibited noticeable structural errors
  • The results reveal a clear performance disparity between correctly and incorrectly converted tables:
  • The overall evaluation encompasses the full TATQA test set of 1,669 QA pairs
  • This discrepancy confirms that structural conversion quality directly influences downstream TableQA performance
  • We clarify that all compared methods (including closed-source models, fine-tuned baselines, and H²Table) are evaluated under exactly the same answer-cleaning and format-normalization criteria
  • As illustrated in Figure 5, our model successfully yields the correct answer to the given question, whereas a strong baseline, TAMO, fails to do so
  • Deep Hierarchy
  • These statistical results substantiate that the advantages of H²Table on highly complex hierarchical tables are robust and not an artifact of small sample variance