Skip to content

Cookies

We use cookies to enhance your experience. Learn more

ResearchPublication

Aspect-based sentiment analysis of social media data with pre-trained language models

Earlier work with the University of Amsterdam, from 2021. A study of what tweets say about plant-based food, aspect by aspect, with methods chosen to need as little labeled data as possible.

Three paper discs in a row on gray paper, green, cream and red, each with a short cream strip above it.

Where this comes from

This paper was written by researchers at the University of Amsterdam and in the data science team of Prosus, and presented in December 2021 at NLPIR, the International Conference on Natural Language Processing and Information Retrieval. It is listed here as earlier published work with authors from Prosus. What follows is from the paper’s abstract.

What the paper asks

Aspect-based sentiment analysis reads the sentiment of a text toward each thing it talks about, where plain sentiment analysis gives one verdict for the whole text. The paper applies it to tweets about plant-based food, a field where, the authors write, opinions are polarized and this had not been done before. The aim was a method for real cases, so two things mattered most: needing less labeled data, and better performance.

What it did

  • It proposes ways of preparing social media text for this kind of analysis.
  • To find which aspect a tweet is about, it uses regular expressions, which need no labeled examples.
  • To classify the sentiment toward an aspect, it fine-tunes BERT, explores a semi-supervised technique, and adds part-of-speech tags to the predictions.

What it found

Regular expressions removed the need for labeled data in finding aspects. For the sentiment toward an aspect, fine-tuning BERT on a small subset of the data was the most accurate of the ways tried to depend less on labels at the level of the aspect.

The paper

Aspect-Based Sentiment Analysis of Social Media Data With Pre-Trained Language ModelsAnina Troya, Reshmi Gopalakrishna Pillai, Cristian Rodriguez Rivero, Zulkuf Genc, Subhradeep Kayal, Dogu Araci. NLPIR 2021

Authors

  • Anina Troya

  • Reshmi Gopalakrishna Pillai

  • Cristian Rodriguez Rivero

  • Zülküf Genç

    Director of AI, Prosus

  • Subhradeep Kayal

  • Dogu Araci

References

  1. Aspect-Based Sentiment Analysis of Social Media Data With Pre-Trained Language ModelsAnina Troya, Reshmi Gopalakrishna Pillai, Cristian Rodriguez Rivero, Zulkuf Genc, Subhradeep Kayal, Dogu Araci. Proceedings of the 2021 5th International Conference on Natural Language Processing and Information Retrieval (NLPIR 2021), Sanya, pages 8 to 17. ACM

Keep reading

  • Publication

    One model for the whole home page

    A shopping app’s home page is filled by many recommenders, each tuned for its own slot. This model writes one page per person, per meal moment: the title, the subtitle and what to show. In a live test on one slot it brought 137% more orders from that list.

  • Publication

    New robots, old tricks: teaching robots to speak AI

    A post of November 2026 on a year of wiring Darwin, the Prosus humanoid robot. Five parts spoke five protocols, and the post asks what a robot should tell an AI agent about its actions before the agent can use it.

  • Method

    Meet the large commerce model

    Language models learn from text. Magnet Decision learns from what people search for, look at, buy and come back for. Here’s how it’s built.