Research Article

A Survey of Zero-Shot and Few-Shot Learning with Large Language Models for Financial Sentiment Analysis

Liyang Gao*
Wuhan University of Technology

* Corresponding author: [email protected]

Abstract

Financial sentiment analysis has long relied on labeled data to fine-tune models like FinBERT, a process that is both costly and time-consuming. The arrival of large language models (LLMs) has changed the landscape: with zero-shot and few-shot prompting, one can now extract sentiment from financial texts using few or no annotated examples. This survey takes stock of how LLMs are being applied to this task. It begins by clarifying the core ideas behind in-context learning and chain-of-thought prompting. It then examines a range of prompt designs that have been developed to cope with the peculiarities of financial writing, such as numerical expressions, implicit sentiment and long documents. A comparison of LLM performance on standard benchmarks against fine-tuned domain models shows that general-purpose LLMs are often competitive, especially when prompts are carefully crafted. Yet three problems remain unresolved: numerical reasoning errors, hallucination, and the practical hurdles of cost, latency, and privacy. These challenges are discussed in detail, and retrieval-augmented generation, trustworthiness frameworks, and efficient open-source models are pointed out as the most promising paths forward. Overall, LLMs offer a flexible and annotation-light alternative to traditional fine-tuning, but their successful deployment in finance will depend on robust prompt engineering and solid factual grounding.

Keywords: large language models; financial sentiment analysis; zero-shot learning; few-shot learning; prompt engineering
Published: July 28, 2026
DOI: 10.54254/2755-2721/2026.LD35648
Volume: ACE Vol.254
pp. 89-95
Download PDF

References

  1. Araci, D. (2019). FinBERT: Financial sentiment analysis with pre-trained language models.arXiv. https://arxiv.org/abs/1908.10063.
  2. Zhao, W. X. et al. (2023). A survey of large language models.arXiv. https://arxiv.org/abs/2303.18223.
  3. Li, Y., Wang, S., Ding, H., & Chen, H. (2023). Large language models in finance: A survey.Proceedings in the 2023 ACM International Conference on AI in Finance, New York, 374–382. https://doi.org/10.1145/3604237.3626869
  4. Qin, C. et al. (2023). Is ChatGPT a general-purpose natural language processing task solver?Proceedings in the 2023 Conference on Empirical Methods in Natural Language Processing, Singapore, 1339–1384.
  5. Chen, Z. et al. (2021). FinQA: A numerical reasoning dataset over financial data.Proceedings in the 2021 Conference on Empirical Methods in Natural Language Processing, Punta Cana, 3697–3711.
  6. Ji, Z. et al. (2023). Survey of hallucination in natural language generation.ACM Computing Surveys, 55(12), 1–38.
  7. Brown, T. B. et al. (2020). Language models are few-shot learners.Proceedings in Advances in Neural Information Processing Systems 33, Online, pp. 1877–1901.
  8. Wei, J. et al. (2022). Chain-of-thought prompting elicits reasoning in large language models.Proceedings in Advances in Neural Information Processing Systems 35, New Orleans, pp. 24824–24837.
  9. Kojima, T. et al. (2022). Large language models are zero-shot reasoners.Proceedings in Advances in Neural Information Processing Systems 35, New Orleans, pp. 22199–22213.
  10. Wei, J. et al. (2022). Emergent abilities of large language models.OpenReview, https://openreview.net/forum?id=yzkSU5zdwD.
  11. Lopez-Lira, A. and Tang, Y. (2023). Can ChatGPT forecast stock price movements?SSRN, https://ssrn.com/abstract=4412228.
  12. Yang, H., Liu, X. Y. and Wang, C. D. (2023). FinGPT: Open-source financial large language models.arXiv, https://arxiv.org/abs/2306.06031.
  13. Wang, X. et al. (2023). Self-consistency improves chain of thought reasoning in language models.Proceedings in the Eleventh International Conference on Learning Representations, Kigali.
  14. Liu, P. et al. (2023). Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing.ACM Computing Surveys, 55(9), 1-35.
  15. Malo, P. et al. (2014). Good debt or bad debt: Detecting semantic orientations in economic texts.Journal of the Association for Information Science and Technology, 65(4), 782-796.
  16. Maia, M. et al. (2018). WWW'18 open challenge: Financial opinion mining and question answering.Proceedings in the Web Conference 2018 Companion, Lyon, pp. 1941-1942.
  17. Li, X. et al. (2023). Are ChatGPT and GPT-4 general-purpose solvers for financial text analytics? A study on several typical tasks.Proceedings in the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track, Singapore, pp. 408-422.
  18. Wu, S. et al. (2023). BloombergGPT: A large language model for finance.arXiv, https://arxiv.org/abs/2303.17564.
  19. Wang, B. et al. (2023). DecodingTrust: A comprehensive assessment of trustworthiness in GPT models.Proceedings in Advances in Neural Information Processing Systems 36, New Orleans.
  20. Touvron, H. et al. (2023). LLaMA: Open and efficient foundation language models.arXiv, https://arxiv.org/abs/2302.13971.
  21. Lewis, P. et al. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks.Proceedings in Advances in Neural Information Processing Systems 33, Online, pp. 9459–9474.
  22. Gao, Y. et al. (2023). Retrieval-augmented generation for large language models: A survey.arXiv, https://arxiv.org/abs/2312.10997.