[Paper Review] Abstractive Text Classification Using Sequence-to-convolution Neural Networks
This paper proposes Sequence-to-Convolution Neural Networks (Seq2CNN), a two-part deep learning model that first abstractively summarizes variable-length texts using an attention-based RNN encoder-decoder block, then classifies the summary with a convolutional neural network. The key contribution is a novel training scheme, Gradual Weight Shift (GWS), which stabilizes end-to-end training and achieves state-of-the-art accuracy of 90.36% on the AG’s News dataset, outperforming standard TextCNN and models without GWS.
We propose a new deep neural network model and its training scheme for text classification. Our model Sequence-to-convolution Neural Networks(Seq2CNN) consists of two blocks: Sequential Block that summarizes input texts and Convolution Block that receives summary of input and classifies it to a label. Seq2CNN is trained end-to-end to classify various-length texts without preprocessing inputs into fixed length. We also present Gradual Weight Shift(GWS) method that stabilizes training. GWS is applied to our model's loss function. We compared our model with word-based TextCNN trained with different data preprocessing methods. We obtained significant improvement in classification accuracy over word-based TextCNN without any ensemble or data augmentation.
Motivation & Objective
- Address the limitation of traditional TextCNNs that require fixed-length inputs due to parameter dependence on sequence length.
- Enable end-to-end training of text classification models on variable-length texts without preprocessing such as padding or cropping.
- Improve classification performance by leveraging abstractive summarization to preserve key semantic content from long or variable-length inputs.
- Stabilize training of multi-task models with dual objectives (summarization and classification) through a novel training scheme.
- Demonstrate that abstractive summarization via RNNs can enhance downstream text classification beyond extractive methods like TextRank.
Proposed method
- Use an attention-based encoder-decoder RNN (Sequential Block) to generate abstractive summaries from input texts, preserving salient content.
- Feed the generated summary into a TextCNN-based classification head (Convolution Block) to predict text categories.
- Share a non-static word embedding layer between both blocks to enable parameter sharing and joint optimization.
- Implement a novel training strategy called Gradual Weight Shift (GWS), which dynamically balances the loss weights between summarization and classification objectives during training.
- Apply GWS by gradually reducing the weight of the sequence loss (for summarization) and increasing the weight of the classification loss over training steps.
- Use a general sequence loss function based on word-level cross-entropy between predicted and ground-truth summary tokens, with potential for future refinement using surrogate losses.
Experimental results
Research questions
- RQ1Can abstractive summarization improve text classification performance on variable-length inputs compared to fixed-sequence models?
- RQ2Does a two-stage model combining summarization and classification outperform standard TextCNNs when trained end-to-end without data preprocessing?
- RQ3Can a multi-task training scheme with dynamically balanced loss functions stabilize training and improve convergence in sequence-to-sequence classification models?
- RQ4How does the proposed Gradual Weight Shift (GWS) method compare to standard training in terms of loss stability and final classification accuracy?
- RQ5To what extent does the model remain robust to short input texts where extractive summarization methods like TextRank fail?
Key findings
- Seq2CNN achieved a test accuracy of 90.36% on the AG’s News dataset when trained with Gradual Weight Shift (GWS), significantly outperforming the same model without GWS (89.87%) and standard Vanilla CNN (89.67%).
- The model with GWS showed stable training loss curves, with both total and sequence loss converging smoothly, whereas models without GWS exhibited fluctuating sequence loss after 2,000 steps.
- Seq2CNN demonstrated robustness to short texts, successfully generating summaries even when TextRank failed to produce any output for very short inputs.
- The model outperformed word-based TextCNNs without ensemble methods or data augmentation, indicating the effectiveness of abstractive summarization and end-to-end training.
- The abstractive summarization block effectively captured key content from long and variable-length inputs, enabling high-performance classification without input length preprocessing.
- The proposed GWS training scheme is generalizable and can be applied to other multi-task models with sequence and classification objectives by adjusting loss weight scheduling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.