Optimizing Large Language Models for ESG Activity Detection in Financial Texts

Mattia Birti, Andrea Maurino, Francesco Osborne
2/28/2025
cs.AIcs.CEcs.CL

No official code found. Best implementation: Mattia-Brt/Fine_tuning_LLM (3 stars, last commit 2025-07-11).

Abstract

The integration of Environmental, Social, and Governance (ESG) factors into corporate decision-making is a fundamental aspect of sustainable finance. However, ensuring that business practices align with evolving regulatory frameworks remains a persistent challenge. AI-driven solutions for automatically assessing the alignment of sustainability reports and non-financial disclosures with specific ESG activities could greatly support this process. Yet, this task remains complex due to the limitations of general-purpose Large Language Models (LLMs) in domain-specific contexts and the scarcity of structured, high-quality datasets. In this paper, we investigate the ability of current-generation LLMs to identify text related to environmental activities. Furthermore, we demonstrate that their performance can be significantly enhanced through fine-tuning on a combination of original and synthetically generated data. To this end, we introduce ESG-Activities, a benchmark dataset containing 1,325 labelled text segments classified according to the EU ESG taxonomy. Our experimental results show that fine-tuning on ESG-Activities significantly enhances classification accuracy, with open models such as Llama 7B and Gemma 7B outperforming large proprietary solutions in specific configurations. These findings have important implications for financial analysts, policymakers, and AI researchers seeking to enhance ESG transparency and compliance through advanced natural language processing techniques.

View on arXivView PDF

Code Implementations(1)

31Python, Jupyter NotebookOct 14, 20241 years ago

Similar Papers

Cite this paper

@article{birti2025optimizing,
  title  = {Optimizing Large Language Models for ESG Activity Detection in Financial Texts},
  author = {Mattia Birti and Andrea Maurino and Francesco Osborne},
  year   = {2025},
  eprint = {2502.21112},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.21112v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.21112.svg)](https://codeofpaper.com/paper/2502.21112)

Discussion