Unifying Structured Data as Graph for Data-to-Text Pre-Training

Shujie Li, Liang Li, Ruiying Geng, Min Yang, Binhua Li +6 more
1/2/2024
cs.CLcs.AI

Official code: AlibabaResearch/DAMO-ConvAI (1,602 stars, MIT, last commit 2026-01-22).

Abstract

Data-to-text (D2T) generation aims to transform structured data into natural language text. Data-to-text pre-training has proved to be powerful in enhancing D2T generation and yields impressive performances. However, previous pre-training methods either oversimplified structured data into a sequence without considering input structures or designed training objectives tailored for a specific data structure (e.g., table or knowledge graph). In this paper, we unify different types of structured data (i.e., table, key-value data, knowledge graph) into the graph format and cast different data-to-text generation tasks as graph-to-text generation. To effectively exploit the structural information of the input graph, we propose a structure-enhanced pre-training method for D2T generation by designing a structure-enhanced Transformer. Concretely, we devise a position matrix for the Transformer, encoding relative positional information of connected nodes in the input graph. In addition, we propose a new attention matrix to incorporate graph structures into the original Transformer by taking the available explicit connectivity structure into account. Extensive experiments on six benchmark datasets show the effectiveness of our model. Our source codes are available at https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/unid2t.

View on arXivView PDF

Code Implementations(1)

MIT

DAMO-ConvAI: The official repository which contains the codebase for Alibaba DAMO Conversational AI.

1,602252CSS, MDXJul 15, 20229 months agoMIT
conversational-aideep-learningdialognatural-language-processing

Similar Papers

Cite this paper

@article{li2024unifying,
  title  = {Unifying Structured Data as Graph for Data-to-Text Pre-Training},
  author = {Shujie Li and Liang Li and Ruiying Geng and Min Yang and Binhua Li and Guanghu Yuan and Wanwei He and Shao Yuan and Can Ma and Fei Huang and Yongbin Li},
  year   = {2024},
  eprint = {2401.01183},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.01183v1}
}

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/2401.01183.svg)](https://codeofpaper.com/paper/2401.01183)

Discussion