paper-with-me

홈 › Papers

How Large a Vocabulary Does Text Classification Need? A Variational Approach to Vocabulary Selection

2019-02-27 · NAACL 2019 6 · Wenhu Chen, Yu Su, Yilin Shen, Zhiyu Chen, Xifeng Yan, William Wang

With the rapid development in deep learning, deep neural networks have been widely adopted in many real-life natural language applications. Under deep neural networks, a pre-defined vocabulary is required to vectorize text inputs. The canonical approach to select pre-defined vocabulary is based on the word frequency, where a threshold is selected to cut off the long tail distribution. However, we observed that such simple approach could easily lead to under-sized vocabulary or over-sized vocabulary issues. Therefore, we are interested in understanding how the end-task classification accuracy is related to the vocabulary size and what is the minimum required vocabulary size to achieve a specific performance. In this paper, we provide a more sophisticated variational vocabulary dropout (VVD) based on variational dropout to perform vocabulary selection, which can intelligently select the subset of the vocabulary to achieve the required performance. To evaluate different algorithms on the newly proposed vocabulary selection problem, we propose two new metrics: Area Under Accuracy-Vocab Curve and Vocab Size under X\% Accuracy Drop. Through extensive experiments on various NLP classification tasks, our variational framework is shown to significantly outperform the frequency-based and other selection baselines on these metrics.

📄 PDF Abstract BibTeX arXiv:1902.10339

Code (1)

wenhuchen/Variational-Vocabulary-Selection 공식 구현 tf

Tasks

General Classificationtext-classificationText Classification

Methods 이 논문이 사용한 방법론

Variational Dropout Variational Dropout is a regularization technique based on dropout, but uses a variational inference grounded approach. In…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Pre-training image-language transformers for open-vocabulary tasks

2022-09-09 · AJ Piergiovanni, Weicheng Kuo, Anelia Angelova

We present a pre-training approach for vision and language transformer models, which is based on a mixture of diverse tasks. We explore both the use of image-text captioning data in pre-training, which does not need addi…

Question AnsweringVisual EntailmentVisual Question AnsweringVisual Question Answering (VQA)

Detecting Twenty-thousand Classes using Image-level Supervision

2022-01-07 · Xingyi Zhou, Rohit Girdhar, Armand Joulin, Philipp Krähenbühl 외

Current object detectors are limited in vocabulary size due to the small scale of detection datasets. Image classifiers, on the other hand, reason about much larger vocabularies, as their datasets are larger and easier t…

Cross-Domain Few-Shot Object Detectionimage-classificationImage ClassificationOpen Vocabulary Object Detection

Vocabulary-free Image Classification and Semantic Segmentation

2024-04-16 · Alessandro Conti, Enrico Fini, Massimiliano Mancini, Paolo Rota 외

Large vision-language models revolutionized image classification and semantic segmentation paradigms. However, they typically assume a pre-defined set of categories, or vocabulary, at test time for composing textual prom…

Classificationimage-classificationImage ClassificationLanguage Modeling+4

Open Vocabulary Extreme Classification Using Generative Models

2022-05-12 · Findings (ACL) 2022 5 · Daniel Simig, Fabio Petroni, Pouya Yanki, Kashyap Popat 외

The extreme multi-label classification (XMC) task aims at tagging content with a subset of labels from an extremely large label set. The label vocabulary is typically defined in advance by domain experts and assumed to c…

ClassificationExtreme Multi-Label ClassificationMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATION+3

SILC: Improving Vision Language Pretraining with Self-Distillation

2023-10-20 · Muhammad Ferjad Naeem, Yongqin Xian, Xiaohua Zhai, Lukas Hoyer 외

Image-Text pretraining on web-scale image caption datasets has become the default recipe for open vocabulary classification and retrieval models thanks to the success of CLIP and its variants. Several works have also use…

ClassificationContrastive LearningOpen Vocabulary Semantic SegmentationQuestion Answering+7