Research map / Large language models / Language, safety and interpretability
LLaMAs Have Feelings Too: Unveiling Sentiment and Emotion Representations in LLaMA Models Through Probing
Dario Di Palma, Alessandro De Bellis, Giovanni Servedio, Vito Walter Anelli, Fedelucio Narducci, Tommaso Di Noia
Politecnico di Bari · Sapienza University of Rome
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- SST-2 leaderboard accuracy 96.05 · rank 26 of 272 papers
- IMDB leaderboard accuracy 95.79 · rank 15 of 174 papers
- Rotten Tomatoes leaderboard accuracy 92.03 · rank 2 of 11 papers
- Emotion leaderboard accuracy 86.85 · rank 4 of 11 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use Concat-Mean-Max-Min pooling instead of last-token (ablation) | probing of Llama 3.1 8B Instruct · Emotion | accuracy: 0.6885 -> 0.8685 | Improved |
| use Concat pooling instead of last-token (ablation) | probing of Llama 3.2 1B Instruct · IMDB | accuracy: 0.9009 -> 0.9400 | Improved |
| use mean pooling instead of last-token (ablation) | probing of Llama 3.1 8B Instruct · Rotten Tomatoes | accuracy: 0.9183 -> 0.9203 | Improved |
| use Attn/Mean pooling instead of last-token (ablation) | probing of Llama 3.2 1B Instruct · SST-2 | accuracy: 0.9352 -> 0.9450 | Improved |
| increase model size from 1B to 8B (ablation) | probing with best pooling · SST-2 | accuracy: 0.9450 -> 0.9605 | Improved |
| combine max pooling with tree-based classifiers (ablation) | probes · sentiment datasets | accuracy | Improved |
| use non-instruction-tuned Llama 3.2 1B instead of instruct (ablation) | SentriLlama 1B · sentiment datasets | accuracy | No clear effect |
| cut off layers after the best layer (SentriLlama) instead of full Instruct-Llama | Llama 3.2 1B · SST-2 | peak GPU memory: 2.4 GB -> 1.5 GB | Improved |
| cut off layers after the best layer (SentriLlama) instead of full Instruct-Llama | Llama 3.1 8B · SST-2 | peak GPU memory: 15.4 GB -> 3.2GB | Improved |
| cut off layers after the best layer (SentriLlama) instead of full Instruct-Llama | Llama 3.1 8B · SST-2 | avg. time per sample: 37.73 ms -> 5.31 ms | Improved |
| cut off layers after the best layer (SentriLlama) instead of full Instruct-Llama | Llama 3.1 8B · Rotten Tomatoes | avg. time per sample: 21.17 ms -> 19.30 ms | Improved |
| use SentriLlama 8B instead of fine-tuned DeBERTa | classifier · Emotion | accuracy | Hurt |
Open problems in task vectors and steering
Does steering and task-vector localization found on small open models carry over to larger models, other languages and non-linear representations?
- Tested on a few open models of about 7B to 9B, so larger and other models are untested. · 37 papers state it
- Evidence comes from English text only. · 16 papers state it
- Steering assumes linear directions and tests only simple additive interventions. · 13 papers state it
Closest papers by meaning
- Some Emotions Run Deeper: Layer-wise Probing and Causal Intervention in Large Language Models (EMNLP 2026 · similarity 0.87)
- Emotion-LLaMA: Multimodal Emotion Recognition and Reasoning with Instruction Tuning (NeurIPS 2024 · similarity 0.87)
- Usage-Modulated Sentiment Representations in Large Language Models (EMNLP 2026 · similarity 0.86)
- Sentiment Analysis in the Era of Large Language Models: A Reality Check (NAACL 2024 · similarity 0.86)
- LLM Braces: Straightening Out LLM Predictions with Relevant Sub-Updates (ACL 2025 · similarity 0.86)
- Exploring Model Editing for LLM-based Aspect-Based Sentiment Classification (AAAI 2025 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.