Skip to main content
QUICK REVIEW

[Paper Review] DocTag2Vec: An Embedding Based Multi-label Learning Approach for Document Tagging

Sheng Chen, Akshay Soni|arXiv (Cornell University)|Jul 14, 2017
Text and Document Classification TechnologiesComputer Science28 references6 citations
TL;DR

This paper proposes DocTag2Vec, a novel multi-label learning approach that jointly learns distributed representations of words, documents, and tags in a shared vector space using an extension of Doc2Vec. By leveraging k-nearest neighbor search on learned tag embeddings, it achieves state-of-the-art performance on multiple benchmark datasets, outperforming existing methods like SLEEC and Doc2Vec, especially in incremental learning and dynamic tag handling scenarios.

ABSTRACT

Tagging news articles or blog posts with relevant tags from a collection of predefined ones is coined as document tagging in this work. Accurate tagging of articles can benefit several downstream applications such as recommendation and search. In this work, we propose a novel yet simple approach called DocTag2Vec to accomplish this task. We substantially extend Word2Vec and Doc2Vec---two popular models for learning distributed representation of words and documents. In DocTag2Vec, we simultaneously learn the representation of words, documents, and tags in a joint vector space during training, and employ the simple $k$-nearest neighbor search to predict tags for unseen documents. In contrast to previous multi-label learning methods, DocTag2Vec directly deals with raw text instead of provided feature vector, and in addition, enjoys advantages like the learning of tag representation, and the ability of handling newly created tags. To demonstrate the effectiveness of our approach, we conduct experiments on several datasets and show promising results against state-of-the-art methods.

Motivation & Objective

  • To address the challenges of real-time, incremental, and dynamic document tagging in social media and news platforms.
  • To eliminate the need for pre-extracted feature vectors by directly processing raw text in multi-label learning.
  • To enable dynamic handling of new tags through learnable tag embeddings, supporting evolving tag sets.
  • To improve tagging accuracy by capturing semantic relationships between documents and their associated tags.
  • To provide reusable, semantically meaningful vector representations for tags that can be used across downstream NLP applications.

Proposed method

  • Extends Doc2Vec to jointly learn dense vector representations for documents, words, and tags in a shared embedding space.
  • Uses stochastic gradient descent (SGD) to train the model on raw text and associated tags, optimizing for semantic similarity between documents and their ground-truth tags.
  • Employs a k-nearest neighbor (k-NN) search over learned tag embeddings to predict relevant tags for unseen documents.
  • Supports incremental training by updating the model with new documents and tags without retraining from scratch.
  • Learns unique embedding vectors for each tag, enabling the model to handle newly created tags dynamically.
  • Utilizes a skip-gram architecture similar to Word2Vec and Doc2Vec, where tags are treated as additional context tokens during training.

Experimental results

Research questions

  • RQ1Can a joint embedding model that learns document, word, and tag representations simultaneously outperform traditional multi-label learning methods in document tagging?
  • RQ2To what extent can DocTag2Vec handle dynamic tag sets and new tags without retraining?
  • RQ3How does the performance of DocTag2Vec compare to state-of-the-art methods like SLEEC and Doc2Vec across different datasets and evaluation metrics?
  • RQ4Does the use of k-NN on tag embeddings lead to better generalization and higher precision in multi-label tagging?
  • RQ5Can the learned tag embeddings improve tagging quality beyond the training data, especially in cases where editorial judgments are suboptimal?

Key findings

  • On the Wiki10 dataset, DocTag2Vec achieves precision comparable to SLEEC and significantly outperforms baseline Doc2Vec, especially as k increases.
  • On WikiNER, DocTag2Vec matches or exceeds SLEEC in precision@k beyond k=1, demonstrating strong generalization.
  • On the RM dataset, SLEEC outperforms DocTag2Vec due to limited training data, but DocTag2Vec still delivers competitive results with better scalability and incremental learning support.
  • Incremental training of DocTag2Vec on the NCT dataset maintains high performance, with precision consistently outperforming Doc2Vec and remaining competitive with SLEEC.
  • The overall recall of DocTag2Vec is slightly better than SLEEC, indicating improved coverage of relevant tags.
  • Case studies show that DocTag2Vec predicts more relevant tags than editorial judgments in several instances, including correctly identifying NBA news with /Sports & Recreation/Basketball instead of the incorrect /Baseball/ tag.

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.