Hierarchical Encoder with Auxiliary Supervision for Neural Table-to-Text Generation: Learning Better Representation for Tables

Tianyu Liu, Fuli Luo, Qiaolin Xia, Shuming Ma, Baobao Chang, Zhifang Sui

Introduction

Table-to-text generation involves transforming structured data, such as Wikipedia infoboxes, into fluent natural language descriptions. Traditional neural models often treat tables as flat sequences of words, failing to capture the inherent hierarchical structure where attributes (e.g., "Birthdate") are linked to specific values (e.g., "04 January 1895"). This approach faces significant challenges in open-domain settings with diverse attributes and struggles to maintain semantic consistency when table rows are reordered. Researchers from Peking University have proposed a hierarchical encoder framework designed to learn richer semantic representations through a two-level LSTM architecture and specialized auxiliary supervision tasks.

Hierarchical Architecture

The core of the proposed model is a two-level hierarchical encoder designed to mirror the structure of table data.

The hierarchical encoder architecture featuring word-level and attribute-level LSTMs coupled with a coarse-to-fine attention mechanism.

The architecture consists of:

  • Word-level LSTM: This layer encodes the individual words within each attribute-value pair, capturing local semantic information.
  • Attribute-level LSTM: This higher-level layer takes the final hidden states from the word-level LSTM to encode the sequence of attributes, capturing the global table structure.
  • Coarse-to-fine Attention: During the decoding phase, a dual-attention mechanism is employed. The model first identifies the relevant attribute (coarse-grained) and subsequently focuses on specific words within that attribute (fine-grained) to generate the output text.

Auxiliary Supervision Tasks

To further enhance the encoder's representational power, the authors introduce three auxiliary supervision tasks during training. These tasks force the model to internalize the table's schema and semantic content more effectively than simple input concatenation.

Comparison between standard word-attribute concatenation (a) and the proposed auxiliary sequence labeling supervision task (b).
  1. Auxiliary Sequence Labeling: The model is required to predict the attribute name (e.g., "Occupation") based solely on its content (e.g., "educator and poet"). This ensures the model "remembers" the category of the data it processes.
  2. Text Auto-encoder: Recognizing that target descriptions and source tables share the same underlying meaning, the model uses a text encoder to compress the description. The table representation is then trained to match this compressed text representation, bridging the semantic gap.
  3. Multi-label Classification: The model must predict the set of attributes present in the table, ensuring the global state captures all available information.

Experimental Setup and Results

The model was evaluated on the WIKIBIO benchmark, a large-scale dataset of over 700,000 Wikipedia infoboxes and biography sentences. WIKIBIO is particularly challenging due to its vast array of attributes and inherent noise from web crawling.

The proposed framework achieved state-of-the-art results, with a BLEU score of 45.14 and a ROUGE score of 41.26, significantly outperforming vanilla seq2seq baselines and previous structure-aware models. Human evaluations confirmed these findings, with the model scoring higher in information accuracy and showing a reduced tendency to "hallucinate" or omit key facts.

Discussion and Future Work

A key insight from this research is that explicit supervision via labeling and text-matching makes the model remarkably robust to table disorder. While standard models suffer when row order is shuffled, this hierarchical approach maintains high performance.

However, limitations remain. The model occasionally includes irrelevant information and lacks the external common sense required for complex inferences (e.g., deducing "retired" from a "Finaldate" attribute). Future research will likely focus on integrating external knowledge bases and developing specialized reasoning modules to handle logical or mathematical inferences across multiple table rows.

Summary updated

BibTeX
@inproceedings{liu2019hierarchical,
  author = {Tianyu Liu and Fuli Luo and Qiaolin Xia and Shuming Ma and Baobao Chang and Zhifang Sui},
  title = {{Hierarchical Encoder with Auxiliary Supervision for Neural Table-to-Text Generation: Learning Better Representation for Tables}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33016786},
}
Figure