Using Natural Language Processing and Machine Learning to Replace Human Content Coders

Yilei Wang, Jingyuan Tian, Yagizhan Yazar, Deniz S. Ones, Richard N. Landers

Research output: Contribution to journalArticlepeer-review

6 Scopus citations

Abstract

Content analysis is a common and flexible technique to quantify and make sense of qualitative data in psychological research. However, the practical implementation of content analysis is extremely laborintensive and subject to human coder errors. Applying natural language processing (NLP) techniques can help address these limitations. We explain and illustrate these techniques to psychological researchers. For this purpose, we first present a study exploring the creation of psychometrically meaningful predictions of human content codes. Using an existing database of human content codes, we build an NLP algorithm to validly predict those codes, at generally acceptable standards. We then conduct a Monte-Carlo simulation to model how four dataset characteristics (i.e., sample size, unlabeled proportion of cases, classification base rate, and human coder reliability) influence content classification performance. The simulation indicated that the influence of sample size and unlabeled proportion on model classification performance tended to be curvilinear. In addition, base rate and human coder reliability had a strong effect on classification performance. Finally, using these results, we offer practical recommendations to psychologists on the necessary dataset characteristics to achieve valid prediction of content codes to guide researchers on the use of NLP models to replace human coders in content analysis research.

Original languageEnglish (US)
JournalPsychological Methods
DOIs
StateAccepted/In press - 2022

Bibliographical note

Publisher Copyright:
© 2022 American Psychological Association

Keywords

  • Content analysis
  • Environmental sustainability
  • Machine learning
  • Natural language processing
  • Text classification

PubMed: MeSH publication types

  • Journal Article

Fingerprint

Dive into the research topics of 'Using Natural Language Processing and Machine Learning to Replace Human Content Coders'. Together they form a unique fingerprint.

Cite this