Skip to main content
QUICK REVIEW

[Paper Review] Text as Environment: A Deep Reinforcement Learning Text Readability Assessment Model

Hamid Mohammadi, Seyed Hossein Khasteh|arXiv (Cornell University)|Dec 12, 2019
Text Readability and SimplificationComputer Science13 citations
TL;DR

This paper proposes RAIT, a deep reinforcement learning model that uses hard attention and active inference to assess text readability with minimal input, achieving state-of-the-art accuracy using less than half the input length of BERT. By dynamically selecting informative text windows via reinforcement learning, RAIT reduces computational load while maintaining high performance on Weebit and Cambridge Exams datasets.

ABSTRACT

Evaluating the readability of a text can significantly facilitate the precise expression of information in written form. The formulation of text readability assessment involves the identification of meaningful properties of the text regardless of its length. Sophisticated features and models are used to evaluate the comprehensibility of texts accurately. Despite this, the problem of assessing texts' readability efficiently remains relatively untouched. The efficiency of state-of-the-art text readability assessment models can be further improved using deep reinforcement learning models. Using a hard attention-based active inference technique, the proposed approach makes efficient use of input text and computational resources. Through the use of semi-supervised signals, the reinforcement learning model uses the minimum amount of text in order to determine text's readability. A comparison of the model on Weebit and Cambridge Exams with state-of-the-art models, such as the BERT text readability model, shows that it is capable of achieving state-of-the-art accuracy with a significantly smaller amount of input text than other models.

Motivation & Objective

  • To address the inefficiency of existing text readability models that process entire texts despite partial input being sufficient for accurate assessment.
  • To reduce computational complexity in transformer-based models by limiting self-attention to small, dynamic input windows.
  • To develop a method that intelligently selects the most informative text segments for readability classification using reinforcement learning.
  • To maintain high accuracy comparable to full-sequence BERT models while significantly reducing input length and inference latency.
  • To explore the feasibility of active inference in NLP tasks by applying domain decomposition to attention mechanisms.

Proposed method

  • The model employs a hard attention mechanism that allows the agent to observe only a small, contiguous window of words at a time, simulating a 'reading' process.
  • Reinforcement learning is used to train the agent to take actions—'move left', 'move right', or 'stop'—to navigate the text and select optimal observation windows.
  • The agent’s policy is optimized using a reinforcement learning loss function that maximizes readability prediction accuracy while minimizing the number of observed windows.
  • A domain decomposition method (DDM) is applied to split the input text into sub-problems, with global solution aggregation performed via reinforcement learning to combine partial representations.
  • The model integrates a pre-trained BERT encoder for feature extraction, with the reinforcement learning agent controlling the input window size and position.
  • Equations 5 and 6 describe the global solution aggregation strategy that combines partial predictions from multiple windows to form a final readability decision.

Experimental results

Research questions

  • RQ1Can a reinforcement learning agent effectively reduce input size for text readability assessment without sacrificing accuracy?
  • RQ2How does dynamic window selection via active inference compare to fixed-window or full-sequence attention in terms of computational efficiency and accuracy?
  • RQ3To what extent can domain decomposition of self-attention reduce computational complexity in transformer models for readability tasks?
  • RQ4Can semi-supervised signals be leveraged to train the agent with minimal labeled data while maintaining high performance?
  • RQ5Does the model generalize across different text types and domains, such as educational, medical, or social media texts?

Key findings

  • RAIT achieves state-of-the-art accuracy on the Weebit and Cambridge Exams datasets, with 0.943 and 0.762 F1 scores respectively, even when using only 256-word input windows.
  • The model reduces inference latency to 2.1ms with a 64-word window, compared to 12.6ms for full BERT, while maintaining 93.8% and 75.5% F1 scores.
  • RAIT outperforms BERT and ConvLSTM models when input length is restricted, demonstrating superior efficiency in low-resource settings.
  • The model uses only 1.2, 1.7, and 2.1 observed windows on average for 256, 128, and 64-word window sizes, respectively, indicating effective sampling.
  • The reinforcement learning-based global aggregation strategy mitigates the negative impact of limited self-attention range, preserving accuracy despite reduced context.
  • The full-window version of RAIT (100% input) performs identically to standard BERT in accuracy (F1 = 0.943 on Weebit), confirming that the method is compatible with full-input scenarios.

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.