Introduction
Traditional Natural Language Generation (NLG) tasks typically focus on either data-to-text accuracy or stylistic transformation. This paper introduces a novel unsupervised task: document-scale text content manipulation. Unlike standard style transfer, which alters the "voice" of a text while maintaining the same facts, content manipulation involves swapping the underlying data (e.g., sports statistics) while meticulously preserving the specific writing style, logical flow, and transitions of a reference document.
The Content Manipulation Task
The primary challenge in document-scale manipulation is moving beyond single sentences to full documents, which increases complexity exponentially. A model must decide which records from a massive table are worth mentioning based on the style of the reference text. For instance, if a sports journalist typically highlights rebounds and assists over points, the model should learn to prioritize those specific statistics from a new data table.
Proposed Methodology
The authors propose an unsupervised neural encoder-decoder architecture designed to handle the lack of parallel datasets. The model features three main innovations:
- Hierarchical Record Encoder: Tables are encoded using a two-level Bi-LSTM to capture individual records (player, stat type, value) and the relationships between rows (e.g., comparing different players).
- Interactive Attention (Co-attention): Instead of independent encoding, the model calculates an affinity matrix between every record in the table and every word in the reference text. This allows the model to learn the semantic relationship between the data ("what") and the style ("how").
- Back-Translation Objective: To facilitate unsupervised training, the model employs a cycle-consistency trick. It generates a summary from a table and a reference, then attempts to "back-translate" that summary to reconstruct the original reference text, creating a pseudo-supervised training signal.
Additionally, the decoder utilizes a copy mechanism to pull exact numbers and names directly from the data tables, ensuring high factual fidelity.
Experimental Results
The model was evaluated on a new document-level dataset based on the ROTOWIRE NBA game report corpus. The proposed approach, particularly the version utilizing interactive attention and back-translation, significantly outperformed competitive baselines:
- Content Selection: The model achieved a 39.47 F1-score, surpassing standard data-to-text models.
- Style Preservation: It reached a 35.02 Style BLEU score, demonstrating a superior ability to mimic reference phrasing compared to supervised models like HEDT (17.43).
- Human Evaluation: In blind tests, human evaluators rated the model's output significantly higher in Fluency (4.59/5.0).
Key Insights and Conclusion
A central finding of this research is that document-level style is fundamentally a selection strategy. By fusing data and style references via co-attention, the model captures the nuance of how specific data points trigger specific linguistic transitions. While the model occasionally struggles with logical consistency over very long sequences, the back-translation loop acts as a powerful regularizer for style preservation. Future work may involve neural-based retrieval to find compatible reference texts and improving the logical reasoning capabilities of the decoder.
Summary updated