Papers
Topics
Authors
Recent
Search
2000 character limit reached

Rhetorical Recursive Neural Network (R2N2)

Updated 22 May 2026
  • R2N2 is a deep neural architecture that integrates discourse structure via Rhetorical Structure Theory to capture hierarchical relationships in text.
  • It transforms RST trees into dependency-style representations and uses BiLSTM-derived EDU embeddings with relation-specific transformations and unnormalized attention.
  • Empirical evaluations reveal that R2N2 outperforms traditional models in tasks like sentiment analysis and framing classification, highlighting the importance of high-quality discourse parsing.

The Rhetorical Recursive Neural Network (R2N2) is a deep architecture developed to leverage discourse structure, as defined by Rhetorical Structure Theory (RST), for tasks such as text classification and sentiment analysis. By explicitly incorporating syntactic and rhetorical dependencies among elementary discourse units (EDUs), R2N2 captures the information flow and relational salience dictated by RST trees, providing a compositional semantic representation that is highly sensitive to a document’s hierarchical organization and discourse function (Ji et al., 2017).

1. RST Discourse Parsing and Structure Representation

R2N2 operates on documents parsed by an RST parser. In the typical pipeline, a document is segmented into EDUs (minimal discourse segments, e.g., clauses), which are organized into a constituency-style RST tree. Each internal node represents a rhetorical relation such as “Contrast” or “Elaboration,” with a nucleus-satellite orientation marking argumentative centrality.

For efficient neural processing, the RST constituency tree is deterministically converted to a dependency-style tree: each EDU becomes a node, while arcs encode both the direction (satellite to nucleus) and the associated discourse relation. The root of this dependency tree aligns with the central nucleus of the document (Ji et al., 2017).

2. EDU Embeddings and Initialization

At the leaf level, each EDU is encoded by a BiLSTM over its word embeddings. The forward and backward hidden states are concatenated to form an initial university-level vector embedding: ei=[hEDUi;  h1]R2dwe_{i} = [\overrightarrow{h}_{|{\rm EDU}\,i|};\;\overleftarrow{h}_{1}] \in \mathbb{R}^{2d_w} This embedding is subsequently passed through a tanh\tanh activation to stabilize the encoding and form the base case for recursive composition.

3. Recursive Composition and Relation-Specific Modeling

Recursive composition is performed bottom-up on the RST dependency tree. The vector for node ii is computed as: vi=tanh(ei+jchildren(i)αi,jWri,jvj)v_{i} = \tanh \bigg( e_{i} + \sum_{j \in \mathrm{children}(i)} \alpha_{i,j} \mathbf{W}_{r_{i,j}} v_{j} \bigg) where Wri,jRd×d\mathbf{W}_{r_{i,j}} \in \mathbb{R}^{d \times d} is a learned, relation-specific transformation matrix for the rhetorical relation ri,jr_{i,j} on arc iji \leftarrow j. This mechanism explicitly encodes different rhetorical relations by modulating how child contributions flow up the tree via specific affine transformations.

The scalar attention gate αi,j\alpha_{i,j} determines the weight for each child. This is computed as: αi,j=σ(eiWαvj)\alpha_{i,j} = \sigma(e_i^\top \mathbf{W}_\alpha v_j) where σ\sigma denotes the sigmoid function, and tanh\tanh0 is a global attention matrix. Notably, these attention values are unnormalized, reflecting an RST-theoretic bias that multiple satellites may simultaneously contribute maximally (Ji et al., 2017).

4. Prediction Layer and Classification

After recursive aggregation, the root node’s embedding tanh\tanh1 provides a document-level representation conditioned on both content and discourse structure. For tanh\tanh2-class classification (e.g., multi-way sentiment, framing), this vector is fed to a softmax classifier: tanh\tanh3 Here, tanh\tanh4 and tanh\tanh5 are classifier weights. The prediction tanh\tanh6 yields the inferred class label.

5. Training Procedures and Hyperparameters

The model is trained via cross-entropy loss between the predicted distribution tanh\tanh7 and the gold label tanh\tanh8. Optimization may use stochastic gradient descent or Adam, with hyperparameters such as learning rate and dropout rate (tanh\tanh9 applied to both input and hidden layers) selected per corpus by held-out validation. Embedding and hidden sizes are chosen from ii0. Word embeddings are either pre-trained (e.g., from GloVe) or initialized randomly.

Gradient clipping (norm capped at ii1) is applied for stability. Dropout regularization is enforced throughout the architecture to mitigate overfitting, particularly important for neural models over structured input (Ji et al., 2017).

6. Empirical Performance and Ablation Studies

Empirical evaluation across five datasets—Yelp (5-way sentiment), Media Frames (15-way framing), Congressional Debates (2-way), Movie Reviews (2-way), and Congressional Bills (2-way survival)—demonstrates that the full R2N2 model consistently outperforms or matches state-of-the-art baselines in four out of five settings. Results are summarized below:

Task Prior Best (model) R2N2 FULL
Yelp (5-way) 71.0% (HierAtt) 71.3%
Frames (15-way) 56.8% (LR+ngrams) 58.4%
Debates (2-way) 74.0% (Struct-Reg) 75.7%
Movies (2-way) 82.9% (hand-wtg) 83.1%
Bills (2-way) 88.5% (Struct-Reg) 78.4%

Notably, R2N2 underperforms on legislative bills, likely due to RST parser mismatch with the document domain, establishing the importance of high-quality discourse parsing (Ji et al., 2017).

Ablation studies confirm that unnormalized attention induces superior performance relative to standard softmax normalization across siblings (degradation from 71.8% to 70.3% on Yelp when switching to softmax), supporting the non-competitive interpretation of RST satellite roles. Additional analyses reveal that parsing accuracy correlates linearly with model accuracy, suggesting advances in discourse parsing would directly translate to improved categorization (Ji et al., 2017).

7. Connections, Design Motivations, and Applications

By constructing the RNN over an RST-derived dependency tree, R2N2 inherits an inductive bias toward interpretative centrality, emphasizing nucleus EDUs. Simultaneously, it enables end-to-end, task-driven learning via relation-specific composition and learnable attention, subsuming both flat and hand-weighted discourse models. This design is particularly effective in tasks where the rhetorical salience and hierarchical structure of document components directly influence classification outcomes, such as opinion mining, news framing, and genre-specific text classification (Ji et al., 2017).

Visualizations of model-inferred attention weights demonstrate interpretability: R2N2 typically highlights the most sentiment-dense EDUs, but performance may degrade where parser errors misrepresent discourse structure. This suggests R2N2’s explanatory power is tied closely to upstream parsing fidelity, a key consideration in practical deployments.

In summary, R2N2 integrates RST argument structure, relation-type modeling, and neural composition into a unified architecture for discourse-aware text categorization, facilitating both improved predictive performance and interpretability through linguistically grounded modeling.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Rhetorical Recursive Neural Network (R2N2).