mlsanityData to 7 Oct 2026

In-Context Learning for Long-Context Sentiment Analysis on Infrastructure Project Opinions

arXiv 2410.11265 ↗First posted 15 Oct 2024cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 17 of its 38 references that are in the map. First posted on arXiv 15 Oct 2024.

Builds on

17 of 38 references.

References · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  3. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  4. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  5. 2022A Survey on In-context Learningcited by 717
  6. 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 518
  7. 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 334
  8. 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 314
  9. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 262
  10. 2024LLMs instead of Human Judges? A Large Scale Empirical Study across 20 NLP Evaluation Taskscited by 236
  11. 2024Benchmark Data Contamination of Large Language Models: A Surveycited by 138
  12. 2023In-Context Learning with Many Demonstration Examplescited by 39
5 more
  1. 2023When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Taskscited by 37
  2. 2023Large language models for aspect-based sentiment analysiscited by 17
  3. 2024Optimization Techniques for Sentiment Analysis Based on LLM (GPT-3)cited by 7
  4. 2020Public Sentiment Toward Solar Energy: Opinion Mining of Twitter Using a Transformer-Based Language Modelcited by 6
  5. 2024KnobGen: Controlling the Sophistication of Artwork in Sketch-Based Diffusion Modelscited by 6

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.