Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-07T10:28:24.912Z Has data issue: false hasContentIssue false

Learning from noisy out-of-domain corpus using dataless classification

Published online by Cambridge University Press:  17 June 2020

Yiping Jin
Affiliation:
Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University, Bangkok 10300, Thailand
Dittaya Wanvarie*
Affiliation:
Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University, Bangkok 10300, Thailand
Phu T. V. Le
Affiliation:
Knorex Pte. Ltd., 8 Cross St, Singapore 048424, Singapore
*
*Corresponding author. E-mail: Dittaya.W@chula.ac.th
Rights & Permissions [Opens in a new window]

Abstract

In real-world applications, text classification models often suffer from a lack of accurately labelled documents. The available labelled documents may also be out of domain, making the trained model not able to perform well in the target domain. In this work, we mitigate the data problem of text classification using a two-stage approach. First, we mine representative keywords from a noisy out-of-domain data set using statistical methods. We then apply a dataless classification method to learn from the automatically selected keywords and unlabelled in-domain data. The proposed approach outperformed various supervised learning and dataless classification baselines by a large margin. We evaluated different keyword selection methods intrinsically and extrinsically by measuring their impact on the dataless classification accuracy. Last but not least, we conducted an in-depth analysis of the behaviour of the classifier and explained why the proposed dataless classification method outperformed supervised learning counterparts.

Information

Type
Article
Copyright
© The Author(s), 2020. Published by Cambridge University Press
Figure 0

Figure 1. Number of correct keywords generated by each algorithm varying the percentage of label noise.

Figure 1

Table 1. Automatically mined keywords for the category ‘rec.sport.baseball’ with 0.3 label noise. The ambiguous keywords are underlined

Figure 2

Figure 2. The architecture of the seed-word-guided topic model.

Figure 3

Table 2. The number of labels assigned to documents in the browsing data set

Figure 4

Table 3. Statistics of data sets. The categories are sorted by the number of documents in the news-crawl corpus

Figure 5

Table 4. Generated keywords using pmi-freq

Figure 6

Table 5. Performance of various models on three data sets: news-crawl test set, news-crawl-v2 data set and on browsing data set. The best results on each data set are in boldface

Figure 7

Figure 3. The confusion matrix of STM model prediction on the news-crawl test set. The diagonal entries (correct predictions) have been removed to surface the misclassifications.

Figure 8

Table 6. Top five categories the STM model predicts for documents belonging to pets category

Figure 9

Table 7. Example documents with label ‘pets’ and are classified as ‘family & parenting’

Figure 10

Figure 4. LIME explanations on a sample document from news-crawl data set.

Figure 11

Figure 5. LIME explanations on a sample document from browsing data set.

Figure 12

Table 8. Performance of STM using different set of keywords on three data sets: news-crawl test set, news-crawl-v2 data set and browsing data set

Figure 13

Table 9. Sample generated keywords using mi and the P/R/F1 on the news-crawl-v2 data set

Figure 14

Table 10. Generated keywords using pmi-freq from IMDB training set

Figure 15

Table 11. Accuracy of various models on IMDB and Yelp test set. The best results on each data set are in boldface

Figure 16

Table 12. Impact of unlabelled in-domain data on the model performance. The best results on each data set are in boldface

Figure 17

Table A.1. Keywords for the category ‘talk.politics.mideast’ with 0.1/0.4/0.7 label noise

Figure 18

Table A.2. Keywords for the category ‘rec.autos’ with 0.1/0.4/0.7 label noise. The ambiguous keywords are underlined

Figure 19

Table A.3. Keywords for the category ‘rec.sport.baseball’ with 0.1/0.4/0.7 label noise. The ambiguous keywords are underlined

Figure 20

Figure B1. Screenshot from The New York Times homepage.

Figure 21

Table B1. Sample regular expression to extract the category of news articles

Figure 22

Table B2. Domains from where the news-crawl data sets were crawled

Figure 23

Figure B2. Sample URL and its different components.