Built independently by an author, for readers. Read the story and support ChapterPal

keyword

sentiment analysis

Sentiment analysis is a natural language processing and text analysis technique used to systematically identify, extract, and quantify the subjective opinions, feelings, and attitudes expressed within written text. Often referred to as opinion mining, it evaluates linguistic content across various granularities, including entire documents, individual sentences, phrases, or specific entity aspects, to determine semantic polarity, commonly categorizing sentiment as positive, negative, or neutral, or mapping it onto fine-grained emotional scales. Methodologies for performing this task range from rule-based systems and polarity lexicons to supervised machine learning and deep neural network models that capture contextual and syntactic patterns. The technique is widely utilized in data science, commercial market research, customer feedback systems, and social media monitoring to automatically gauge public perception, consumer satisfaction, and user viewpoints.

19 items

Hate Speech and Counter Speech Detection: Conversational Context Does Matter

Hate Speech and Counter Speech Detection: Conversational Context Does Matter

Xinchen Yu, Eduardo Blanco, Lingzi Hong

OrganizationsArizona State UniversityUniversity of North Texas

Why you should read this

Presents a context-aware dataset of Reddit comments to demonstrate that incorporating conversational history substantially alters human annotations and significantly boosts neural network performance when detecting hate speech and counter speech.

Hate speech is plaguing the cyberspace along with user-generated content. This paper investigates the role of conversational context in the annotation and detection of online hate and counter speech, where context is defined as the preceding comment in a conversation thread. We created a context-aware dataset for a 3-way classification task on Reddit comments: hate speech, counter speech, or neutral. Our analyses indicate that context is critical to identify hate and counter speech: human judgments change for most comments depending on whether we show annotators the context. A linguistic analysis draws insights into the language people use to express hate and counter speech. Experimental results show that neural networks obtain significantly better results if context is taken into account. We also present qualitative error analyses shedding light into (a) when and why context is beneficial and (b) the remaining errors made by our best model when context is taken into account.

Added

2026-09-26

Towards Efficient NLP: A Standard Evaluation and A Strong Baseline

Towards Efficient NLP: A Standard Evaluation and A Strong Baseline

Xiangyang Liu, Tianxiang Sun, Junliang He, Jiawen Wu, Lingling Wu, Xinyu Zhang, Hao Jiang, Zhao Cao, Xuanjing Huang, Xipeng Qiu

OrganizationsFudan UniversityHuawei

Why you should read this

Establishes ELUE, a standardized evaluation benchmark with a public leaderboard to measure Pareto improvements across accuracy and computational cost, while introducing ElasticBERT as a strong baseline capable of both static and dynamic early exiting across any layer.

Supersized pre-trained language models have pushed the accuracy of various natural language processing (NLP) tasks to a new state-of-the-art (SOTA). Rather than pursuing the reachless SOTA accuracy, more and more researchers start paying attention to model efficiency and usability. Different from accuracy, the metric for efficiency varies across different studies, making them hard to be fairly compared. To that end, this work presents ELUE (Efficient Language Understanding Evaluation), a standard evaluation, and a public leaderboard for efficient NLP models. ELUE is dedicated to depicting the Pareto Frontier for various language understanding tasks, such that it can tell whether and how much a method achieves Pareto improvement. Along with the benchmark, we also release a strong baseline, ElasticBERT, which allows BERT to exit at any layer in both static and dynamic ways. We demonstrate the ElasticBERT, despite its simplicity, outperforms or performs on par with SOTA compressed and early exiting models. With ElasticBERT, the proposed ELUE has a strong Pareto Frontier and makes a better evaluation for efficient NLP models.

Added

2026-09-26

Deep Convolutional Neural Networks for Sentiment Analysis of Short Texts

Deep Convolutional Neural Networks for Sentiment Analysis of Short Texts

Cícero Nogueira dos Santos, Maíra Gatti

OrganizationsBrazilian Research LabIBM

Why you should read this

Proposes CharSCNN, a deep convolutional neural network that jointly extracts character- and sentence-level representations to improve sentiment classification performance on short texts across movie review and Twitter benchmarks.

Sentiment analysis of short texts such as single sentences and Twitter messages is challenging because of the limited contextual information that they normally contain. Effectively solving this task requires strategies that combine the small text content with prior knowledge and use more than just bag-of-words. In this work we propose a new deep convolutional neural network that exploits from character- to sentence-level information to perform sentiment analysis of short texts. We apply our approach for two corpora of two different domains: the Stanford Sentiment Treebank (SSTb), which contains sentences from movie reviews; and the Stanford Twitter Sentiment corpus (STS), which contains Twitter messages. For the SSTb corpus, our approach achieves state-of-the-art results for single sentence sentiment prediction in both binary positive/negative classification, with 85.7% accuracy, and fine-grained classification, with 48.3% accuracy. For the STS corpus, our approach achieves a sentiment prediction accuracy of 86.4%.

Added

2026-09-25

AraBERT: Transformer-based Model for Arabic Language Understanding

AraBERT: Transformer-based Model for Arabic Language Understanding

Wissam Antoun, Fady Baly, Hazem M. Hajj

OrganizationsAmerican University of Beirut

Why you should read this

Introduces AraBERT, an Arabic-specific transformer model pretrained on large-scale text that outperforms multilingual BERT across sentiment analysis, named entity recognition, and question answering benchmarks.

The Arabic language is a morphologically rich language with relatively few resources and a less explored syntax compared to English. Given these limitations, Arabic Natural Language Processing (NLP) tasks like Sentiment Analysis (SA), Named Entity Recognition (NER), and Question Answering (QA), have proven to be very challenging to tackle. Recently, with the surge of transformers based models, language-specific BERT based models have proven to be very efficient at language understanding, provided they are pre-trained on a very large corpus. Such models were able to set new standards and achieve state-of-the-art results for most NLP tasks. In this paper, we pre-trained BERT specifically for the Arabic language in the pursuit of achieving the same success that BERT did for the English language. The performance of AraBERT is compared to multilingual BERT from Google and other state-of-the-art approaches. The results showed that the newly developed AraBERT achieved state-of-the-art performance on most tested Arabic NLP tasks. The pretrained araBERT models are publicly available on this https URL hoping to encourage research and applications for Arabic NLP.

Added

2026-09-25

A holistic lexicon-based approach to opinion mining

A holistic lexicon-based approach to opinion mining

Xiaowen Ding, B. Liu, Philip S. Yu

OrganizationsUniversity of Illinois Chicago

Why you should read this

Proposes a holistic lexicon-based framework that accurately identifies feature-level sentiment in customer reviews by resolving context-dependent opinion words and aggregating conflicting sentiment expressions through linguistic conventions and external evidence.

One of the important types of information on the Web is the opinions expressed in the user generated content, e.g., customer reviews of products, forum posts, and blogs. In this paper, we focus on customer reviews of products. In particular, we study the problem of determining the semantic orientations (positive, negative or neutral) of opinions expressed on product features in reviews. This problem has many applications, e.g., opinion mining, summarization and search. Most existing techniques utilize a list of opinion (bearing) words (also called opinion lexicon) for the purpose. Opinion words are words that express desirable (e.g., great, amazing, etc.) or undesirable (e.g., bad, poor, etc) states. These approaches, however, all have some major shortcomings. In this paper, we propose a holistic lexicon-based approach to solving the problem by exploiting external evidences and linguistic conventions of natural language expressions. This approach allows the system to handle opinion words that are context dependent, which cause major difficulties for existing algorithms. It also deals with many special words, phrases and language constructs which have impacts on opinions based on their linguistic patterns. It also has an effective function for aggregating multiple conflicting opinion words in a sentence. A system, called Opinion Observer, based on the proposed technique has been implemented. Experimental results using a benchmark product review data set and some additional reviews show that the proposed technique is highly effective. It outperforms existing methods significantly.

Added

2026-09-24

Opinion observer: analyzing and comparing opinions on the Web

Opinion observer: analyzing and comparing opinions on the Web

Bing Liu, Minqing Hu, Junsheng Cheng

OrganizationsUniversity of Illinois Chicago

Why you should read this

Presents Opinion Observer, a framework that mines product features from customer reviews using supervised language pattern mining and visually compares consumer sentiments across competing products feature by feature.

The Web has become an excellent source for gathering consumer opinions. There are now numerous Web sites containing such opinions, e.g., customer reviews of products, forums, discussion groups, and blogs. This paper focuses on online customer reviews of products. It makes two contributions. First, it proposes a novel framework for analyzing and comparing consumer opinions of competing products. A prototype system called Opinion Observer is also implemented. The system is such that with a single glance of its visualization, the user is able to clearly see the strengths and weaknesses of each product in the minds of consumers in terms of various product features. This comparison is useful to both potential customers and product manufacturers. For a potential customer, he/she can see a visual side-by-side and feature-by-feature comparison of consumer opinions on these products, which helps him/her to decide which product to buy. For a product manufacturer, the comparison enables it to easily gather marketing intelligence and product benchmarking information. Second, a new technique based on language pattern mining is proposed to extract product features from Pros and Cons in a particular type of reviews. Such features form the basis for the above comparison. Experimental results show that the technique is highly effective and outperform existing methods significantly.

Added

2026-09-18

CROWDSOURCING A WORD–EMOTION ASSOCIATION LEXICON

CROWDSOURCING A WORD–EMOTION ASSOCIATION LEXICON

Saif M. Mohammad, Peter D. Turney

Why you should read this

Presents a practical crowdsourcing methodology for constructing large-scale word-emotion lexicons, proving that sense-verification questions and association-based framing substantially increase annotation quality and inter-annotator agreement.

Even though considerable attention has been given to the polarity of words (positive and negative) and the creation of large polarity lexicons, research in emotion analysis has had to rely on limited and small emotion lexicons. In this paper we show how the combined strength and wisdom of the crowds can be used to generate a large, high-quality, word-emotion and word-polarity association lexicon quickly and inexpensively. We enumerate the challenges in emotion annotation in a crowdsourcing scenario and propose solutions to address them. Most notably, in addition to questions about emotions associated with terms, we show how the inclusion of a word choice question can discourage malicious data entry, help identify instances where the annotator may not be familiar with the target term (allowing us to reject such annotations), and help obtain annotations at sense level (rather than at word level). We conducted experiments on how to formulate the emotion-annotation questions, and show that asking if a term is associated with an emotion leads to markedly higher inter-annotator agreement than that obtained by asking if a term evokes an emotion.

Added

2026-09-14

Semantics derived automatically from language corpora contain human-like biases

Semantics derived automatically from language corpora contain human-like biases

Aylin Caliskan, Joanna J. Bryson, Arvind Narayanan

OrganizationsPrinceton UniversityUniversity of Bath

Why you should read this

Establishes that standard word embeddings automatically acquire human racial, gender, and social prejudices from ordinary text, introducing the Word Embedding Association Test to measure implicit bias in machine learning models.

Artificial intelligence and machine learning are in a period of astounding growth. However, there are concerns that these technologies may be used, either with or without intention, to perpetuate the prejudice and unfairness that unfortunately characterizes many human institutions. Here we show for the first time that human-like semantic biases result from the application of standard machine learning to ordinary language---the same sort of language humans are exposed to every day. We replicate a spectrum of standard human biases as exposed by the Implicit Association Test and other well-known psychological studies. We replicate these using a widely used, purely statistical machine-learning model---namely, the GloVe word embedding---trained on a corpus of text from the Web. Our results indicate that language itself contains recoverable and accurate imprints of our historic biases, whether these are morally neutral as towards insects or flowers, problematic as towards race or gender, or even simply veridical, reflecting the {\em status quo} for the distribution of gender with respect to careers or first names. These regularities are captured by machine learning along with the rest of semantics. In addition to our empirical findings concerning language, we also contribute new methods for evaluating bias in text, the Word Embedding Association Test (WEAT) and the Word Embedding Factual Association Test (WEFAT). Our results have implications not only for AI and machine learning, but also for the fields of psychology, sociology, and human ethics, since they raise the possibility that mere exposure to everyday language can account for the biases we replicate here.

Added

2026-09-12

Distributed Representations of Sentences and Documents

Distributed Representations of Sentences and Documents

Quoc V. Le, Tomas Mikolov

OrganizationsGoogle

Why you should read this

Introduces Paragraph Vector, an unsupervised framework that extends word embeddings to entire sentences and documents, capturing semantic context and word order to outperform traditional bag-of-words models across text classification and sentiment analysis benchmarks.

Many machine learning algorithms require the input to be represented as a fixed-length feature vector. When it comes to texts, one of the most common fixed-length features is bag-of-words. Despite their popularity, bag-of-words features have two major weaknesses: they lose the ordering of the words and they also ignore semantics of the words. For example, "powerful," "strong" and "Paris" are equally distant. In this paper, we propose Paragraph Vector, an unsupervised algorithm that learns fixed-length feature representations from variable-length pieces of texts, such as sentences, paragraphs, and documents. Our algorithm represents each document by a dense vector which is trained to predict words in the document. Its construction gives our algorithm the potential to overcome the weaknesses of bag-of-words models. Empirical results show that Paragraph Vectors outperform bag-of-words models as well as other techniques for text representations. Finally, we achieve new state-of-the-art results on several text classification and sentiment analysis tasks.

Added

2026-09-07

License

Published with permission

Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank

Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank

Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, Christopher Potts

OrganizationsStanford University

Why you should read this

Introduces the Stanford Sentiment Treebank and Recursive Neural Tensor Networks, establishing a framework to accurately model phrase-level semantic compositionality and negation scope across parse trees.

Semantic word spaces have been very useful but cannot express the meaning of longer phrases in a principled way. Further progress towards understanding compositionality in tasks such as sentiment detection requires richer supervised training and evaluation resources and more powerful models of composition. To remedy this, we introduce a Sentiment Treebank. It includes fine grained sentiment labels for 215,154 phrases in the parse trees of 11,855 sentences and presents new challenges for sentiment compositionality. To address them, we introduce the Recursive Neural Tensor Network. When trained on the new treebank, this model outperforms all previous methods on several metrics. It pushes the state of the art in single sentence positive/negative classification from 80% up to 85.4%. The accuracy of predicting fine-grained sentiment labels for all phrases reaches 80.7%, an improvement of 9.7% over bag of features baselines. Lastly, it is the only model that can accurately capture the effects of negation and its scope at various tree levels for both positive and negative phrases.

Added

2026-09-07