[Paper Review] Efficient strategies for hierarchical text classification: External knowledge and auxiliary tasks
This paper proposes efficient, low-complexity strategies to improve hierarchical text classification by introducing a reverse hierarchy auxiliary task and integrating external knowledge via vectorized class definitions. By combining these methods with a sequence-to-sequence model, the approach achieves state-of-the-art accuracy on WOS and DBpedia with significantly fewer parameters and shorter training times than prior methods.
In hierarchical text classification, we perform a sequence of inference steps to predict the category of a document from top to bottom of a given class taxonomy. Most of the studies have focused on developing novels neural network architectures to deal with the hierarchical structure, but we prefer to look for efficient ways to strengthen a baseline model. We first define the task as a sequence-to-sequence problem. Afterwards, we propose an auxiliary synthetic task of bottom-up-classification. Then, from external dictionaries, we retrieve textual definitions for the classes of all the hierarchy's layers, and map them into the word vector space. We use the class-definition embeddings as an additional input to condition the prediction of the next layer and in an adapted beam search. Whereas the modified search did not provide large gains, the combination of the auxiliary task and the additional input of class-definitions significantly enhance the classification accuracy. With our efficient approaches, we outperform previous studies, using a drastically reduced number of parameters, in two well-known English datasets.
Motivation & Objective
- To address the high computational cost of state-of-the-art hierarchical text classification (HTC) models by focusing on efficient, non-architectural improvements.
- To enhance model performance without increasing model complexity or training time.
- To explore the integration of external knowledge—specifically textual definitions of classes—into the prediction process.
- To investigate whether a reverse hierarchy auxiliary task improves error backpropagation and representation learning.
- To evaluate the impact of combining multiple efficient strategies in low-resource and high-resource settings.
Proposed method
- The task is framed as a sequence-to-sequence learning problem, where the encoder processes the input document and the decoder generates class labels from top to bottom of the hierarchy.
- An auxiliary task is introduced that reverses the prediction order, predicting from the most specific class to the root, to balance error backpropagation and improve representation learning.
- Textual definitions of all classes are retrieved from external dictionaries and embedded into the word vector space as class-definition vectors (CDVs).
- The CDVs are used to condition the prediction of each layer via a parent node conditioning (PNC) mechanism, injecting external knowledge at each decoding step.
- An adapted beam search incorporates CDVs to guide candidate generation, improving selection of hierarchical paths.
- The methods are combined and evaluated on two benchmark datasets: WOS and DBpedia, with ablation studies to isolate contributions.
Experimental results
Research questions
- RQ1Can a reverse hierarchy auxiliary task improve hierarchical text classification performance by balancing error backpropagation across layers?
- RQ2Does integrating vectorized textual definitions of classes as external knowledge enhance classification accuracy in hierarchical text classification?
- RQ3Can the combination of auxiliary tasks and external knowledge yield state-of-the-art results with fewer parameters and faster training than existing methods?
- RQ4How does the performance of these strategies vary between high-resource and low-resource datasets?
- RQ5Can knowledge integration be effectively applied during the decoding phase to improve hierarchical prediction?
Key findings
- The combination of the auxiliary task and parent node conditioning (PNC) with class-definition embeddings achieved the highest accuracy on the WOS dataset, outperforming previous state-of-the-art models.
- On the DBpedia dataset, which has significantly more training samples, the gains from external knowledge were more modest, indicating that large datasets reduce the relative benefit of external knowledge.
- The proposed methods achieved state-of-the-art performance on both WOS and DBpedia with a drastically reduced number of parameters compared to prior approaches.
- Training time for each model remained around one hour for 30 epochs, with no significant overhead from the auxiliary task.
- The modified beam search did not yield substantial improvements, but the PNC strategy consistently enhanced performance when combined with beam search.
- The results demonstrate that external knowledge integration and auxiliary tasks are orthogonal and complementary, with the strongest gains seen when both are applied together.
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.