Abstract
Traditional text classification models typically process an entire document before making a prediction, leading to computational inefficiencies and a lack of interpretability. We present JUMPER, a neural framework that treats text classification as a sequential decision process. By reading text sentence-by-sentence and utilizing reinforcement learning, JUMPER learns to "jump" to a final decision as soon as sufficient evidence is found. Our results demonstrate that JUMPER reduces the amount of text read by 30–40% while maintaining high accuracy and providing inherent rationales for its decisions.
Introduction
Modern deep learning models for text classification often adopt a "read-everything" approach. While effective, this method is computationally expensive for long documents where key information might appear early. Furthermore, because these models compress the entire text into a dense vector, it is difficult to identify the specific evidence used for a classification.
JUMPER aims to mimic human reading behavior: scanning text sequentially and stopping once a conclusion is reached. This approach offers two primary benefits: increased inference speed through reduced text processing and natural interpretability, as the sentence where the model "jumps" serves as a rationale for the prediction.
Methodology: The JUMPER Framework
JUMPER processes text at the sentence level through a three-layered architecture.
- Encoding Layer: A Convolutional Neural Network (CNN) transforms the words of each sentence into a fixed-dimensional vector representation.
- Controller: A Gated Recurrent Unit (GRU) maintains the reading history. At each step, a Policy Network evaluates the current state and decides whether to continue reading (outputting "None") or to commit to a classification label ("jump").
- Symbolic Output Layer: This layer enforces a strict "one-jump constraint." Once a non-default label is selected, the decision is finalized, and the model terminates the reading process for that task.
Training via Reinforcement Learning
Since the optimal "jump" point is not labeled in standard datasets, JUMPER is trained using the REINFORCE algorithm. The reward function balances accuracy with efficiency, providing a positive reward for correct predictions and a small penalty for excessive reading to prevent the model from waiting until the end of the document unnecessarily.
Experimental Evaluation
The model was evaluated on sentiment analysis (Movie Review), topic classification (AG News), and a new real-world dataset: Occupational Injury (OI). The OI dataset consists of 3,995 legal cases requiring the extraction of 15 distinct information slots.
Key Results
- Efficiency: JUMPER reduced the total text read by 32.7% to 41.2% across benchmarks, significantly speeding up inference.
- Accuracy: Despite reading less text, JUMPER achieved comparable or superior accuracy to full-text baselines like Bi-GRU and Self-Attentive models.
- Interpretability: On the OI-Level task, JUMPER achieved 100% Jumping Accuracy, meaning it consistently identified the exact sentence containing the evidence for its decision.
- Multi-slot Reasoning: By feeding finalized symbolic decisions back into the recurrent state (decision-sharing), JUMPER improved performance on complex multi-task extraction scenarios.
Discussion and Conclusion
JUMPER demonstrates that "less is more" in text classification. By forcing a commitment through the one-jump constraint, the model learns to filter out irrelevant noise that can sometimes degrade the performance of full-text models.
While highly effective for localized evidence, the current "one-jump" constraint may face challenges with documents requiring the synthesis of disparate information. Future work will explore expanding the symbolic layer to handle more complex logical dependencies and reasoning across multiple jumps.
Summary updated