Robust (Controlled) Table-to-Text Generation with Structure-Aware Equivariance Learning

Fei Wang, Zhewei Xu, Pedro Szekely, Muhao Chen
5/8/2022
cs.CLcs.AIcs.LG
transformer-attention

Official code: luka-group/Lattice (56 stars, Python, Apache-2.0, last commit 2024-04-01).

Abstract

Controlled table-to-text generation seeks to generate natural language descriptions for highlighted subparts of a table. Previous SOTA systems still employ a sequence-to-sequence generation method, which merely captures the table as a linear structure and is brittle when table layouts change.

Show full abstract

We seek to go beyond this paradigm by (1) effectively expressing the relations of content pieces in the table, and (2) making our model robust to content-invariant structural transformations. Accordingly, we propose an equivariance learning framework, which encodes tables with a structure-aware self-attention mechanism. This prunes the full self-attention structure into an order-invariant graph attention that captures the connected graph structure of cells belonging to the same row or column, and it differentiates between relevant cells and irrelevant cells from the structural perspective. Our framework also modifies the positional encoding mechanism to preserve the relative position of tokens in the same cell but enforce position invariance among different cells. Our technology is free to be plugged into existing table-to-text generation models, and has improved T5-based models to offer better performance on ToTTo and HiTab. Moreover, on a harder version of ToTTo, we preserve promising performance, while previous SOTA systems, even with transformation-based data augmentation, have seen significant performance drops. Our code is available at https://github.com/luka-group/Lattice.

View on arXivView PDF

Code Implementations(1)

luka-group/LatticeOfficial100%
Apache-2.0

[NAACL 2022] Robust (Controlled) Table-to-Text Generation with Structure-Aware Equivariance Learning.

569Python, ShellApr 25, 20222 years agoApache-2.0
attention-mechanismequivarianceequivariant-networkequivariant-representationstable-to-text+1 more

Similar Papers

Cite this paper

@article{wang2022robust,
  title  = {Robust (Controlled) Table-to-Text Generation with Structure-Aware Equivariance Learning},
  author = {Fei Wang and Zhewei Xu and Pedro Szekely and Muhao Chen},
  year   = {2022},
  eprint = {2205.03972},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.03972}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.03972.svg)](https://codeofpaper.com/paper/2205.03972)

Discussion