Sentiment is a pervasive feature in natural language text, yet it is an open question how sentiment is represented within Large Language Models (LLMs). In this study, we reveal that across a range of models, sentiment is represented linearly: a single direction in activation space mostly captures the feature across a range of tasks with one extreme for positive and the other for negative. Through causal interventions, we isolate this direction and show it is causally relevant in both toy tasks and real world datasets such as Stanford Sentiment Treebank. Through this case study we model a thorough investigation of what a single direction means on a broad data distribution.
We further uncover the mechanisms that involve this direction, highlighting the roles of a small subset of attention heads and neurons. Finally, we discover a phenomenon which we term the summarization motif: sentiment is not solely represented on emotionally charged words, but is additionally summarized at intermediate positions without inherent sentiment, such as punctuation and names. We show that in Stanford Sentiment Treebank zero-shot classification, 76% of above-chance classification accuracy is lost when ablating the sentiment direction, nearly half of which (36%) is due to ablating the summarized sentiment direction exclusively at comma positions.
Large Language Models for Sentiment Analysis to Detect Social Challenges: A Use Case with South African Languages
University of Johannesburg, South Africa(约翰内斯堡大学);IU International University of Applied Sciences(国际应用科学大学);Karlsruhe University of Applied Sciences(卡尔斯鲁厄应用科学大学)
Enhancing Granular Sentiment Classification with Chain-of-Thought Prompting in Large Language Models
John F Kennedy High school Fremont, USA(约翰·F·肯尼迪高中弗里蒙特分校);Queensland Academy for Science Mathematics and Technology(昆士兰科学数学与技术学院);Research Spark Hub Inc(Research Spark Hub公司)
Large language model for Bible sentiment analysis: Sermon on the Mount
Indian Institute of Technology Guwahati(印度理工学院古瓦哈提分校);Data61, Commonwealth Scientific and Industrial Research Organisation(澳大利亚联邦科学与工业研究组织 Data61);Indian Institute of Technology Delhi(印度理工学院德里分校);Maverick Trailblazers Inc.(Maverick Trailblazers 公司);UNSW Sydney(新南威尔士大学);Pingala Institute of Artificial Intelligence(Pingala 人工智能研究院)
An evaluation of LLMs and Google Translate for translation of selected Indian languages via sentiment and semantic analyses
Transitional Artificial Intelligence Research Group, School of Mathematics and Statistics, UNSW Sydney(过渡人工智能研究组,数学与统计学学院,UNSW悉尼);Department of Civil Engineering, National Institute of Technology, Rourkela, India(土木工程系,印度国家理工学院,拉尔凯拉);Centre for Artificial Intelligence and Innovation, Pingla Institute, Sydney, Australia(人工智能与创新中心,Pingla研究所,悉尼,澳大利亚)
Explainable Multimodal Aspect-Based Sentiment Analysis with Dependency-guided Large Language Model
Harbin Institute of Technology(哈尔滨工程大学);Zhongguancun Academy(中关村学院);Zhongguancun Institute of Artificial Intelligence(中关村人工智能研究院);University of Science and Technology of China(中国科学技术大学)
Unveiling the Potential of Sentiment: Can Large Language Models Predict Chinese Stock Price Movements?
International Digital Economy Academy (IDEA)(国际数字经济学院(IDEA));The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Data Science and Analytics Thrust, The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州)数据科学与分析学域);Financial Technology Thrust, The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州)金融科技学域)
Removing Non-Stationary Knowledge From Pre-Trained Language Models for Entity-Level Sentiment Classification in Finance
Underwood International College, Yonsei University(延世大学安德伍德国际学院);NCSOFT;KB Kookmin Bank(KB国民银行);College of Business & Economics, Chung-Ang University(中央大学工商经济学院)
Sentiment Analysis in the Era of Large Language Models: A Reality Check
DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);Nanyang Technological University(南洋理工大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);The Chinese University of Hong Kong(香港中文大学)
Robust Fake News Detection using Large Language Models under Adversarial Sentiment Attacks
TIB – Leibniz Information Centre for Science;TIB -- Leibniz Information Centre for Science;Marburg University \& Hessian Center for Artificial Intelligence (hessian.AI) Marburg/Darmstadt;\ TIB \& L3S Research Center Hannover Germany
MOSABench: Multi-Object Sentiment Analysis Benchmark for Evaluating Multimodal Large Language Models Understanding of Complex Image
College of Computer, National University of Defense Technology(国防科技大学计算机学院);School of Computer and Information Engineering, Hefei University of Technology(合肥工业大学计算机与信息工程学院);CCNU(中国地质大学)