In-Context Learning for Long-Context Sentiment Analysis on Infrastructure Project Opinions
Large language models (LLMs) have achieved impressive results across various tasks. However, they still struggle with long-context documents. This study evaluates the performance of three leading LLMs: GPT-4o, Claude 3.5 Sonnet, and Gemini 1.5 Pro on lengthy, complex, and opinion-varying documents concerning infrastructure projects, under both zero-shot and few-shot scenarios. Our results indicate that GPT-4o excels in zero-shot scenarios for simpler, shorter documents, while Claude 3.5 Sonnet surpasses GPT-4o in handling more complex, sentiment-fluctuating opinions. In few-shot scenarios, Claude 3.5 Sonnet outperforms overall, while GPT-4o shows greater stability as the number of demonstrations increases.
Code (0)
등록된 구현이 없습니다.
Tasks
In-Context LearningSentiment AnalysisSimilar Papers 제목 키워드 기반
Modeling Rich Contexts for Sentiment Classification with LSTM
Sentiment analysis on social media data such as tweets and weibo has become a very important and challenging task. Due to the intrinsic properties of such data, tweets are short, noisy, and of divergent topics, and senti…
ClassificationGeneral ClassificationSentiment AnalysisSentiment ClassificationContext-aware Sentiment Word Identification: sentiword2vec
Traditional sentiment analysis often uses sentiment dictionary to extract sentiment information in text and classify documents. However, emerging informal words and phrases in user generated content call for analysis awa…
Language ModelingLanguage ModellingSentiment AnalysisLSTM based models stability in the context of Sentiment Analysis for social media
Deep learning techniques have proven their effectiveness for Sentiment Analysis (SA) related tasks. Recurrent neural networks (RNN), especially Long Short-Term Memory (LSTM) and Bidirectional LSTM, have become a referenc…
Sentiment AnalysisKC-ISA: An Implicit Sentiment Analysis Model Combining Knowledge Enhancement and Context Features
Sentiment analysis has always been an important research direction in natural language processing. The research can be divided into explicit sentiment analysis and implicit sentiment analysis according to whether there a…
Common Sense ReasoningSentiment AnalysisContextual Bidirectional Long Short-Term Memory Recurrent Neural Network Language Models: A Generative Approach to Sentiment Analysis
Traditional learning-based approaches to sentiment analysis of written text use the concept of bag-of-words or bag-of-n-grams, where a document is viewed as a set of terms or short combinations of terms disregarding gram…
Decision MakingDimensionality ReductionOpinion MiningSentence+3