Skip to main content
QUICK REVIEW

[Paper Review] Learning Structured Text Representations

Yang Liu, Mirella Lapata|arXiv (Cornell University)|May 25, 2017
Topic ModelingComputer Science47 references8 citations
TL;DR

This paper proposes a differentiable, end-to-end neural model that learns structured text representations by integrating a non-projective dependency parsing mechanism via matrix-tree theorem normalization, enabling the model to induce interpretable, task-specific discourse structures without external parsers or annotations. The approach achieves state-of-the-art performance on document modeling tasks while producing meaningful, non-projective dependency trees that align well with linguistic intuition.

ABSTRACT

In this paper, we focus on learning structure-aware document representations from data without recourse to a discourse parser or additional annotations. Drawing inspiration from recent efforts to empower neural networks with a structural bias, we propose a model that can encode a document while automatically inducing rich structural dependencies. Specifically, we embed a differentiable non-projective parsing algorithm into a neural model and use attention mechanisms to incorporate the structural biases. Experimental evaluation across different tasks and datasets shows that the proposed model achieves state-of-the-art results on document modeling tasks while inducing intermediate structures which are both interpretable and meaningful.

Motivation & Objective

  • To learn document-level representations that are aware of structural dependencies without relying on discourse parsers or annotated structures.
  • To address the limitations of projective dependency parsing and non-differentiable inference in existing attention-based models for document modeling.
  • To develop an efficient, differentiable training procedure that supports long documents and enables end-to-end learning of structural biases.
  • To evaluate whether induced structural dependencies are interpretable and meaningful despite no exposure to linguistic annotations.

Proposed method

  • Integrates a differentiable non-projective parsing algorithm into a neural sequence model using Kirchhoff’s Matrix-Tree Theorem to compute marginal probabilities over dependency trees.
  • Normalizes intra-sentence attention scores using the determinant of a weighted Laplacian matrix, ensuring differentiability and enabling end-to-end training.
  • Uses a structured attention mechanism that attends to sentence representations based on induced non-projective dependency structures.
  • Employs a GPU-parallelizable training procedure that avoids the sequential inside-outside algorithm, reducing training time compared to prior approaches.
  • Applies the model to document-level tasks by first encoding sentences and then aggregating them using the induced structural dependencies.
  • Leverages attention mechanisms to dynamically weight sentences based on their structural role in the induced dependency tree.

Experimental results

Research questions

  • RQ1Can a neural model learn meaningful, non-projective discourse structures from raw text without any linguistic annotations or external parsers?
  • RQ2How does end-to-end differentiable parsing via matrix-tree normalization compare to non-differentiable or projective parsing methods in document representation learning?
  • RQ3To what extent do the induced dependency structures resemble linguistically motivated discourse structures, and are they interpretable?
  • RQ4Does incorporating induced structural dependencies improve performance on document-level NLP tasks compared to standard attention or pooling baselines?
  • RQ5Can the model generalize to long documents and maintain computational efficiency through GPU-parallelizable operations?

Key findings

  • The model achieves state-of-the-art performance on document modeling tasks, including sentiment analysis, text categorization, and summarization, without using any discourse parser or annotated structures.
  • The induced dependency trees are interpretable and meaningful, with 79.6% of trees on the Yelp dataset being projective and showing coherent discourse relations such as elaboration.
  • The model achieves 82.8% agreement with the Stanford parser on head-dependency edges in the CZ Movies dataset, despite never being exposed to gold parses.
  • The average tree depth is low (2.81 on Yelp), indicating that most documents have shallow discourse structures, consistent with their short length.
  • The training procedure is significantly faster than inside-outside-based models, avoiding the 10x slowdown observed in prior approaches due to dynamic programming.
  • The attention mechanism tends to form direct, short-range dependencies (e.g., linking words to verbs), which are more effective for information aggregation in the model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.