betaFeedback

WorksComputer Science

A Modular Framework for ESG Prediction through Domain-Specific Language Modeling and Graph Learning

Abstract

Environmental, Social and Governance (ESG) scores are increasingly used to evaluate corporate sustainability, supporting investment decisions, ensuring regulatory compliance and assessing risk. However, current ESG evaluations largely rely on proprietary methodologies that often produce inconsistent ratings. This motivates the development of data-driven prediction frameworks. In this paper, we present ESGPred, a modular framework for predicting ESG scores by combining domain-specific language modeling with graph-based learning over a network that models the relationships among the companies being evaluated. In addition to presenting the rationale behind ESGPred and detailing its ESG score prediction process, we show that ESGPred can effectively predict both overall ESG ratings and their individual Environmental, Social, and Governance components. We evaluated ESGPred using a dataset of 5,266 sustainability reports published by 2,134 publicly listed companies between 2020 and 2023. In this evaluation, we used ESG ratings provided by LSEG Data & Analytics as ground truth. Our experimental results demonstrated that integrating graph-based relational learning improves prediction performance over purely text-based baselines.

Introduction

In recent years, Environmental, Social and Governance (ESG) criteria have become central to sustainable finance, corporate governance, and institutional investment decisions [43, 44]. ESG scores summarize a company’s sustainability performance beyond traditional financial indicators and influence capital allocation, risk assessment, and stakeholder evaluation [28, 30, 36]. Meanwhile, regulatory attention has intensified, particularly in the European Union, where the Corporate Sustainability Reporting Directive (CSRD)1 aims to improve the transparency, comparability, and standardization of corporate sustainability reports. Similar initiatives in other jurisdictions reflect a broader global shift toward more accountable, data-driven ESG reporting practices [15].

Despite this growing institutional and regulatory relevance, ESG assessment remains challenging and only partially standardized [39]. ESG ratings are commonly produced by specialized companies, such as Sustainalytics2, Moody’s Vigeo-Eiris3, S&P Global4, MSCI5, and LSEG Data & Analytics6. These agencies rely on proprietary methodologies that differ in terms of data sources, rating scales, weighting schemes, and aggregation criteria. Consequently, the same company may receive substantially different ESG evaluations depending on the agency [4]. This lack of alignment raises concerns about the comparability, reliability, and transparency of ESG scores, particularly among investors, regulators, and stakeholders who use them for decision-making purposes.

The main reason for this discrepancy is the challenge of translating diverse, mainly qualitative corporate reports into consistent, quantitative indicators. Although sustainability reports contain valuable information about environmental policies, social initiatives, governance structures, risk management practices, and compliance strategies, they are lengthy and written in specialized corporate and financial language. Manual assessment is consequently costly and difficult to reproduce.

Conversely, fully automated approaches can extract meaningful patterns from large volumes of unstructured textual data. Recent advances in Natural Language Processing (NLP) have demonstrated the effectiveness of Transformer-based models in analyzing financial and corporate documents. FinBERT [29], a BERT-based model pre-trained on financial corpora, is particularly suitable for financial text-mining tasks because it provides language representations well-suited to them. However, ESG prediction cannot be treated as a purely textual problem. In fact, companies often share sector-specific characteristics, business models, regulatory constraints, organizational structures, markets, products, and sustainability narratives. Ignoring these relationships may limit the predictive models’ ability to capture broader patterns of ESG behavior. Graph-based learning can provide a great support to handle these relational dependencies. In particular, it is possible to define a graph whose nodes represent companies and/or their sustainability reports and whose edges denote the corresponding relationships. We refer to this structure as a “sustainability graph” in the following. Given one or more sustainability graphs, Graph Neural Networks (GNNs) can be employed to detect information and knowledge about the ESG sustainability of the corresponding companies, for instance to determine ESG scores or classify companies into suitable ESG classes. In the ESG domain, this perspective is particularly relevant because relationships between companies can be multiple and heterogeneous. For instance, they can involve the companies’ industrial sector, the semantic content of their sustainability reports, their business activity, and so forth.

In this paper, we present ESGPred, a modular framework that combines domain-specific language modeling with graph-based learning to predict the ESG class of a company. This class is encoded as a categorical variable corresponding to ESG score quartiles. To perform its task, first ESGPred fine-tunes FinBERT in a supervised setting using ESG-related labels in order to adapt the FinBERT’s semantic representations to the sustainability domain. Since sustainability reports often exceed the token limit of Transformer architectures, documents are segmented into chunks, which are then embedded and aggregated to obtain a representation for each sustainability report. ESGPred uses these embeddings to construct some sustainability graphs. In particular, it constructs one sustainability graph for each kind of relationship of interest; for instance, it can construct a sustainability graph considering the semantic similarity of sustainability reports, another capturing the similarity of company descriptions, a third one taking the company’s industrial sector into account, and so on. Finally, ESGPred leverages the resulting sustainability graphs to train a Graph Neural Network model, which combines the textual information of each report with knowledge derived from sustainability graphs for determining the ESG class of a company.

Unlike approaches based solely on structured financial indicators or document analysis, ESGPred allows for the systematic evaluation of the impact of sustainability reports. This is achieved by using several sustainability graphs, each considering a specific kind of relationship between the involved sustainability reports and/or companies, as well as graph learning models and ESG targets. Experimental results on a large-scale dataset of 5,266 sustainability reports published by 2,134 publicly listed companies from 2020 to 2023 demonstrate the benefits of combining both language modeling and graph learning.

The rest of this paper is organized as follows. § 2 reviews the related literature on ESG prediction, NLP-based sustainability assessment, and graph-based methods. § 3 provides a technical description of ESGPred. § 4 describes the experiments performed, the obtained results and the hyperparameter tuning. § 5 discusses the strengths, limitations, and implications of ESGPred. Finally, § 6 summarizes the main findings and outlines some future research directions.

Related Work

ESG scores are widely recognized in current literature as a standard metric for corporate sustainability that extends beyond conventional financial indicators [20], [18], [9]. Private rating agencies calculate these scores using proprietary methods that combine human expertise and automated data processing [14]. To mitigate inconsistent and subjective outcomes, research is shifting toward data-driven, automated ESG evaluation frameworks. A comprehensive review underscores this shift from qualitative analyst assessments to advanced, data-driven frameworks [45]. In this context, Artificial Intelligence (AI) in general, and Machine Learning (ML) in particular, are essential for processing diverse datasets and integrating structured financial records and unstructured textual data.

A significant portion of recent ESG literature attempts to predict sustainability scores using structured financial data [41], [37]. These studies exploit the relationship between a firm’s economic indicators and its ESG performance [10], [31]. To capture these complex dynamics, researchers are replacing traditional linear regression with robust nonlinear methodologies [8], [11]. For example, the author of [6] proposes a framework based on advanced gradient boosting algorithms, such as CatBoost, to reveal intricate connections between financial and environmental indicators. As a further advance in this direction, the authors of [22] present an ensemble model combining neural networks with XG-Boost and CatBoost. Their research shows that basic financial metrics can reliably estimate initial ESG scores, which is beneficial for small companies that lack comprehensive sustainability reporting.

Further studies shift the focus to geographical contexts and investigate regional market variations [46], [7], [2]. For instance, the authors of [26] demonstrate that governance and financial data are highly effective ESG predictors for Taiwanese non-financial companies. They emphasize that Asian markets present distinct liquidity risks and a higher density of technology companies than Western economies. Similarly, the authors of [12] design a model customized for the Chinese market. They demonstrate that Machine Learning approaches require adaptation to local regulatory contexts to accurately reflect regional sustainability dynamics.

Despite recent methodological progress, the authors of [34] point out that financial metrics alone cannot fully capture ESG performance. To address this limitation, they propose a stacked ensemble model that integrates structured non-financial variables, such as controversy and geospatial indicators.

However, relying solely on structured data is inherently limiting. A comprehensive understanding of corporate responsibility requires analyzing unstructured data [35], [16], [1]. Consequently, a substantial portion of recent research has shifted toward Natural Language Processing (NLP) [32], [38]. These studies posit that corporate narratives, such as Corporate Social Responsibility (CSR) statements and annual reports, contain crucial information for predicting ESG performance, which traditional structured financial data fail to capture [40], [25].

A significant obstacle to the linguistic analysis of company sustainability reports is that general-purpose language models cannot accurately process specialized financial terminology. To address this issue, the authors of [23] propose ESG-KIBERT, a domain-specific variant of BERT that leverages a hard attention mechanism to improve semantic interpretation. Integrating this architecture with FinBERT effectively allows for the evaluation of the thematic content of corporate ESG narratives alongside broader market sentiment, capturing the interplay between official reporting and investor perception.

Furthermore, company reports are often structured to minimize negative sentiment, so standard NLP tools have difficulty identifying underlying sustainability risks. To address this issue, the authors of [33] use Transformer-based models trained on official company filings. These models relate textual representations to established ESG ratings within a binary classification framework. The results described in [33] suggest that pre-screening ESG-relevant passages allows these models to significantly outperform traditional methods when classifying corporate sustainability performance. The authors of [47] introduce E-BERT, which automates the evaluation pipeline by fine-tuning BERT on a specialized corpus. E-BERT filters out non-essential information in corporate documents, enabling the model to distinguish authentic sustainability initiatives from promotional rhetoric. This specialized focus allows E-BERT to consistently outperform baseline deep learning methods. The ESG2PreEM framework, proposed in [24], evaluates textual data by integrating FinBERT sentiment features with a soft-voting ensemble architecture that includes BERT, ALBERT, and RoBERTa.

Graph-based methods for modeling and exploiting company relationships have gained traction in ESG research. The authors of [5] model company governance as a network connecting companies through shared decision-makers. They then use GraphSAGE [19] and GAT [42] architectures to integrate node-level features and network structure, achieving stronger classification results. Similarly, the authors of [3] predict ESG ratings by constructing dynamic graphs from multiple sources, such as overlapping board members, mutual fund co-ownership, and media co-mentions. This enriches the model with centrality-based features.

Despite these advances, applying Graph Neural Networks (GNNs) to predict ESG scores is still in its early stages. The existing literature largely focuses on explicit, observable inter-company relationships, such as operational or strategic linkages. The ESGPred framework introduced in this paper systematically examines multiple forms of report and/or company relationships and integrates them with text-based analysis of sustainability reports to obtain more complete and refined ESG scores. Furthermore, ESGPred enables the automated assessment of ESG performance based on corporate disclosures and context, thus addressing the consistency issues that could arise from a human-based evaluation performed by agencies, each having a proprietary procedure.

Proposed Approach

ESGPred uses textual information associated with companies, particularly their sustainability reports and descriptions, to predict corporate sustainability scores and classify companies accordingly. Unlike purely textual approaches, which treat each document and/or company as an independent entity, ESGPred adopts a “relational” perspective. In fact, it models sustainability reports as nodes in a graph, which we call a “sustainability graph”, and the relationships between sustainability reports and/or the companies to which they refer as edges. These edges are constructed based on different similarity or membership criteria.

Let R={r1,r2,…,rn}R = \{r_1,r_2,\ldots,r_n\} be the set of sustainability reports into consideration, where each report ri∈Rr_i \in R is associated with a specific company ζi\zeta_i and a given reference year. rir_i is also associated with a label yiy_i, which corresponds to the sustainability metric to be predicted. This metric can be the overall ESG score or one of its components (Environmental, Social or Governance). Thus, ESGPred is not limited to a single predictive target; rather, it can be applied to various ESG assessment dimensions. RR is partitioned into a training set RtrainR_{\mathrm{train}} and a test set RtestR_{\mathrm{test}} applying a 80/20 split.

Figure 1 illustrates the ESGPred’s overall workflow, from processing sustainability reports to constructing sustainability graphs and predicting the final ESG scores. As can be seen from this figure, ESGPred’s workflow consists of four steps.

Figure 1. Overview of the ESGPred’s workflow

In the first step, ESGPred uses the sustainability reports to perform supervised fine-tuning of FinBERT, a Transformer model specialized for the financial domain [29]. This step aims to adapt FinBERT to the corporate sustainability domain and to allow it to learn semantic representations more closely aligned with ESG metrics. Since sustainability reports are generally long and often exceed the maximum token limit supported by models, the text is segmented into chunks using dynamic or fixed segmentation strategies.

In the second step, ESGPred uses the fine-tuned FinBERT to generate document-level embeddings. Specifically, ESGPred divides each report into chunks and extracts a dense embedding for each chunk. Then, it averages the embeddings associated with the individual chunks to obtain a single embedding of the report.

In the third step, ESGPred uses the obtained embeddings as initial features for the nodes of a sustainability graph G=(V,E)G = (V, E). Each node vi∈Vv_i \in V represents the sustainability report of a company for a given year. The edges of EE represent relationships among the sustainability reports and/or the companies to which the sustainability reports refer. As previously pointed out, different kinds of relationship can be considered. Each of these kinds can give rise to a different sustainability graph.

In the fourth step, GG is used as input for a graph-based predictive model. This model combines the representation of each node with the representation of the nodes belonging to its neighborhood in the sustainability graph. Thus, the final prediction depends not only on the content of the report associated with a specific company, but also on the information provided by the neighboring reports and/or companies in the sustainability graphs. The latter are clearly different for the different kinds of company relationship taken into consideration. Therefore, this procedure ensures that ESG scores derive from both text information stored in the report and company relationships modeled in the sustainability graphs into consideration.

The ESGPred’s key feature is its modularity. Each ESGPred’s component (i.e., the model used to generate embeddings, the document segmentation strategy, the method for constructing sustainability graphs, the graph-based predictive model, and the target label) can be replaced or configured independently.

In the following subsections, we illustrate in more detail the various steps of the ESGPred’s workflow.

Step 1: Supervised Fine-Tuning of FinBERT

The first step of the ESGPred’s workflow involves the supervised fine-tuning of FinBERT [29] to adapt it to the domains of corporate sustainability and ESG assessment. Specifically, this fine-tuning aims to allow FinBERT to learn semantic representations of sustainability reports closely related to ESG classes. It also allows FinBERT to learn language representations already specialized in economic and financial domains. This improves the ESGPred’s ability to interpret terminology typically found in corporate reports and ESG documentation. ESGPred performs the fine-tuning of FinBERT by providing it with the set RtrainR_{train} of the training sustainability reports into consideration.

Due to their length, sustainability reports often exceed the 512-token maximum supported by the BERT architecture. To overcome this limitation, ESGPred employs a text segmentation strategy that uses overlapping chunks. First, ESGPred tokenizes the text of each report using the WordPiece tokenizer, which is compatible with FinBERT. At the end of this task, the resulting token sequence is divided into chunks with a maximum length of 510 tokens. The special tokens [CLS] and [SEP] are then added to these chunks, producing final chunks of 512 tokens. To maintain semantic continuity between consecutive chunks, ESGPred uses a sliding window with a stride of 256 tokens, which introduces controlled overlap between adjacent chunks.

To address class imbalance, which is a significant issue in the ESG context, ESGPred uses Weighted Focal Loss [27] during the fine-tuning of FinBERT. Focal Loss reduces the contribution of easily classifiable samples, thereby focusing the learning process on more difficult samples. This improves the model’s robustness with respect to minority classes. The Focal Loss used in ESGPred is formally defined as follows:

LFL=−αt(1−pt)γlog⁡(pt)(1)\mathcal{L}_{FL} = -\alpha_t (1-p_t)^\gamma\log(p_t) \tag*{(1)}

Here, ptp_t is the predicted probability of the correct class; αt\alpha_t is the weight associated with the class tt, which is inversely proportional to the class’s relative frequency in the training set; γ\gamma is the focusing parameter that controls the attention given to difficult samples.

ESGPred trains FinBERT in supervised mode using the training set; its final configuration is determined by optimizing the F1-Score on the validation set. To prevent overfitting, ESGPred employs an early stopping strategy based on the trend of the F1-Score.

The fine-tuned FinBERT is able to generate document embeddings semantically specialized for the ESG domain and is used by ESGPred for constructing the embeddings of sustainability reports.

Step 2: Generation of ESG report embeddings

The second step of ESGPred’s workflow involves generating dense vector representations of sustainability reports, which are then used as initial features for sustainability graph nodes. The goal of this step is to obtain document-level embeddings that can semantically represent the content of sustainability reports preserving information even when it is stored in particularly long documents.

As discussed in § 3.1, sustainability reports often exceed the maximum token limit supported by Transformer architectures. For this reason, each report is divided into chunks compatible with the language model being used (e.g., 512-token chunks compatible with FinBERT). ESGPred supports:VEVENT two segmentation strategies, i.e., dynamic and fixed. In the case of dynamic splitting, the number of chunks increases with the report length. Specifically, the report is divided into chunks, each of which has a length equal to the Transformer’s capacity. This is achieved using a sliding window with controlled overlap between consecutive chunks. This strategy preserves the report’s semantic structure and automatically adjusts segmentation according to the report’s actual length. In the case of fixed splitting, each report is divided into a predefined number of chunks, regardless of its total length. We considered different values for the number of chunks to analyze the impact of text granularity on the quality of the generated embeddings.

Formally, given a report ri∈Rr_i \in\mathcal{R}, the segmentation process produces a set of chunks:

Ci={ci1,ci2,…,cim}(2)C_i = \{c_{i1}, c_{i2}, \ldots, c_{im}\} \tag*{(2)}

ESGPred supports various embedding models, albeit the default model is the fine-tuned FinBERT obtained as described in § 3.1. Thus, ESGPred’s behavior is independent of the linguistic model adopted for performing chunk embeddings. For each chunk cijc_{ij}, ESGPred obtains a dense embedding zij∈Rdz_{ij} \in\mathbb{R}^{d}, where dd represents the dimensionality of the linguistic model’s latent space. To obtain a single vector representation of the complete report, ESGPred aggregates the embeddings of the individual chunks using a mean pooling operation. Formally, the final embedding associated with the report rir_i is obtained as follows:

zi=1m∑j=1mzij(3)z_i = \frac{1}{m}\sum_{j=1}^{m}z_{ij} \tag*{(3)}

This aggregation strategy generates stable, semantically meaningful document-level representations by combining the contributions of a report’s chunks into a single, dense vector. These embeddings are then used as initial features for graph nodes when constructing the sustainability graph (see § 3.3).

Possible embedding models to integrate in ESGPred

As previously pointed out, ESGPred is agnostic with respect to the embedding model used internally. In our experiments, we analyzed two models for generating embeddings of sustainability reports. They are:

  • Fine-Tuned FinBERT [29]. This model is fine-tuned for the supervised ESG classification task as described in § 3.1. It is the default model in ESGPred.

  • Fine-Tuned Jina Embeddings (v2) [17]. The Jina model family was designed to generate high-dimensional, general-purpose semantic embeddings. Unlike FinBERT, Jina was not specifically trained on the financial domain. Analogously to FinBERT, we fine-tuned Jina for the supervised ESG classification task.

Step 3: Construction of the graph

The third step of the ESGPred’s workflow creates a sustainability graph that models the dependencies among the considered sustainability reports (see § 3). Given a set RR of sustainability reports and a kind of relationship ϱ\varrho of interest, the sustainability graph GϱG_{\varrho} can be modeled as:

Gϱ=(Vϱ,Eϱ)(4)G_{\varrho} = (V_{\varrho}, E_{\varrho}) \tag*{(4)}

Each node vi∈Vϱv_i \in V_{\varrho} corresponds to a sustainability report ri∈Rr_i \in R; therefore, the number of nodes in GϱG_{\varrho} coincides with the number of reports in RR. Each node viv_i has associated a feature vector zi∈Rd\mathbf{z}_i \in\mathbb{R}^{d}, which is the embedding of rir_i obtained in the previous step.

Given a node vi∈Vϱv_i \in V_{\varrho}, we indicate by N(vi)\mathcal{N}(v_i) the set of neighbors of viv_i, i.e., the set of nodes in GϱG_{\varrho} directly connected to viv_i.

The most important part of this step is defining the kinds of relationship of interest. ESGPred supports different kinds of relationship on the same set of sustainability reports. Each kind of relationship models a specific type of correlation between companies or reports. For example, one kind of relationship considers the semantic similarity of reports’ textual content, another one the similarity of descriptive information associated with companies, and another one structural or categorical relationships between companies (e.g., the fact that they belong to the same industrial sector).

This formulation allows us to model both latent relationships derived from the linguistic content of reports and explicit relationships associated with organizational or structural characteristics of the corresponding companies. Generally, an edge between two nodes indicates that the corresponding nodes share a specific form of proximity, as defined by the kind of relationship which it refers to. Formally, each edge eik∈Eϱe_{ik} \in E_{\varrho} connects two nodes viv_i and vkv_k and can be associated with a weight wik∈Rw_{ik} \in\mathbb{R}, representing the strength of the relationship between the reports represented by viv_i and vkv_k or the companies to which they refer. This weight can then be used in the prediction of ESG scores.

The ESGPred’s capability of simultaneously handling different kinds of relationship enables a systematic analysis of how different kinds of relationship affect the quality of learned representations and the final performance of the ESG prediction task.

Graph Construction Strategies

As we have seen above, ESGPred is agnostic with respect to the kind of relationship associated with the sustainability graph GϱG_{\varrho} (see Equation (4)). In our experiments, we considered latent correlations derived from the reports’ content and explicit correlations associated with the companies’ descriptive or structural characteristics. In the following we present three kinds of relationship. The first is an example of latent correlation; the second and the third are examples of explicit correlations.

Semantic Report Similarity Graph

The first kind of relationship used for constructing the sustainability graph is the semantic similarity of the text in sustainability reports. In this case, the edges of GϱG_{\varrho} and the corresponding weights are directly derived within the embedding space at the document level. Let ziz_i and zkz_k be the embeddings associated with the reports rir_i and rkr_k, respectively. The similarity between rir_i and rkr_k is obtained by calculating the cosine similarity between zi\mathbf{z}_i and zk\mathbf{z}_k:

sim⁡(ri,rk)=zi⋅zk∥zi∥∥zk∥(5)\operatorname{sim}(r_i,r_k) = \frac{\mathbf{z}_i \cdot\mathbf{z}_k}{\lVert\mathbf{z}_i\rVert\lVert\mathbf{z}_k\rVert} \tag*{(5)}

The existence of an edge between the nodes viv_i and vkv_k in GϱG_\varrho, corresponding to the reports rir_i and rkr_k, depends on whether the value of sim⁡(ri,rk)\operatorname{sim}(r_i,r_k) is greater than or equal to a similarity threshold τcos\tau_{cos}:

eik∈Eϱ⟺sim⁡(ri,rk)≥τcos(6)e_{ik} \in E_\varrho\Longleftrightarrow\operatorname{sim}(r_i,r_k) \ge\tau_{cos} \tag*{(6)}

This allows GϱG_\varrho to link reports with semantically related content and enables graph-based prediction models to consider the existence of similarities between linguistic patterns, ESG terminology, or narrative structures. The resulting cosine similarity is used as the weight wikw_{ik} associated with eike_{ik}.

Company Description Similarity Graph

The second kind of relationship used for constructing the edges of GϱG_\varrho is the similarity of the descriptive information about companies associated with reports. In this case, the edges of GϱG_\varrho model descriptive and organizational-semantic similarities. The nodes of GϱG_\varrho are associated with sustainability reports, while edges are constructed using information extracted automatically from company descriptions via Natural Language Processing (NLP) techniques. Specifically, the SpaCy library is used to perform a text extraction pipeline consisting of two complementary modules devoted to performing morphosyntactic analysis and Named Entity Recognition (NER), respectively.

Morphosyntactic analysis identifies semantically relevant nouns and proper nouns within company descriptions. The extracted terms are then lemmatized and filtered to reduce linguistic variability and standardize semantically equivalent words. NER identifies named entities belonging to specific categories of information, including: (i) organizations and companies (ORG), (ii) geopolitical entities (GPE), (iii) locations (LOC), (iv) people (PERSON), (v) products, brands, and technologies (PRODUCT). Combining these two techniques overcomes the limitations of each one. In fact, morphosyntactic analysis captures informative keywords but can break down complex expressions, while NER preserves complete semantic entities but tends to ignore relevant common terms.

At the end of the process, the extracted keywords and entities related to the company ζi\zeta_i associated with a report rir_i are merged into one set:

Si={si1,si2,…,sim}(7)S_i = \{s_{i1},s_{i2},\ldots,s_{im}\} \tag*{(7)}

SiS_i represents a description of ζi\zeta_i. The similarity between the sets SiS_i and SkS_k, relative to the companies ζi\zeta_i and ζk\zeta_k associated with the reports rir_i and rkr_k, is calculated using the Jaccard coefficient between SiS_i and SkS_k:

J(Si,Sk)=∣Si∩Sk∣∣Si∪Sk∣(8)J(S_i,S_k) = \frac{\lvert S_i \cap S_k\rvert}{\lvert S_i \cup S_k\rvert} \tag*{(8)}

The presence of an edge eike_{ik} between the two nodes viv_i and vkv_k depends on whether J(Si,Sk)J(S_i,S_k) is greater than or equal to a threshold τJ\tau_J:

eik∈Eρ⟺J(Si,Sk)≥τJ(9)e_{ik} \in E_{\rho} \Longleftrightarrow J(S_i,S_k) \geq\tau_J \tag*{(9)}

Also in this case, the similarity value is used as the weight wikw_{ik} of the edge eike_{ik}. This configuration allows for the creation of a sustainability graph based on descriptive similarities among companies, regardless of the direct similarity of their sustainability reports.

Sector-Based Graph

The third kind of relationship used for constructing the edges of GρG_{\rho} is based on the industry classification of the companies to which the reports refer. Formally, let rir_i and rkr_k be two reports and let ζi\zeta_i and ζk\zeta_k be the companies to which they refer. Let viv_i and vkv_k be the nodes in GρG_{\rho} associated with rir_i and rkr_k, respectively. Let sector⁡(ζi)\operatorname{sector}(\zeta_i) be the function that returns the industrial sector associated with ζi\zeta_i. The presence of an edge between viv_i and vkv_k depends on whether the industrial sectors of ζi\zeta_i and ζk\zeta_k are the same:

eik∈Eρ⟺sector⁡(ζi)=sector⁡(ζk)(10)e_{ik} \in E_{\rho} \Longleftrightarrow\operatorname{sector}(\zeta_i) = \operatorname{sector}(\zeta_k) \tag*{(10)}

In this case, the weight of all the edges of GρG_{\rho} thus obtained is set to 1. This procedure generates a sustainability graph consisting of multiple connected components, each associated with a specific industrial sector. The underlying assumption is that companies within the same industrial sector have similar operational practices, regulatory constraints, ESG strategies, and industry terminology.

This variety of relationship types that can be considered for constructing sustainability graphs allows us to systematically evaluate how different forms of correlation between reports and/or companies contribute to ESG predictions. Since the nodes of the sustainability graphs are the same across the different kinds of relationship, observed differences in performance are primarily due to effects of the modeled kinds of relationship.

Figure 2 illustrates an example of the three graph construction strategies described above. In particular, the three subfigures show three sustainability graphs, each consisting of 40 nodes representing 40 sustainability reports relative to companies belonging to the same industrial sector. The first (resp., second, third) subfigure shows the Semantic Report Similarity Graph (resp., Company Description Similarity Graph, Sector-Based Graph) obtained from the same reports. The figure highlights the markedly different edge distributions produced by the three graph construction strategies. The Semantic Report Similarity Graph forms relatively compact clusters of companies with similar sustainability reports. Instead, the Company Description Similarity Graph exhibits a more heterogeneous connectivity pattern, reflecting similarities in the organizational characteristics of companies. Finally, the Sector-Based Graph is considerably denser because it connects companies belonging to the same industrial sector.

Figure 2. Sustainability graphs obtained by applying Semantic Report Similarity Graph, Company Description Similarity Graph and Sector-Based Graph on the same nodes

Step 4: Graph-Based Prediction of ESG Scores

The fourth and final step of the ESGPred’s workflow employs graph-based predictive models to predict the ESG scores associated with sustainability reports and to classify them accordingly. Starting from the graph Gϱ=(Vϱ,Eϱ)G_{\varrho} = (V_{\varrho}, E_{\varrho}) constructed in the previous step, ESGPred learns contextualized representations of nodes by considering the relationships linking the nodes of GϱG_{\varrho} and the corresponding strengths expressed by edge weights. Therefore, the predicted class of a report rir_i corresponding to a node viv_i in GϱG_{\varrho} depends not only on the textual content of rir_i, but also on the information derived from the nodes belonging to the neighborhood N(vi)\mathcal{N}(v_i) of viv_i in GϱG_{\varrho}. Clearly, N(vi)\mathcal{N}(v_i) depends on the edges of GϱG_{\varrho} (see § 3), and therefore on the relationship type ϱ\varrho associated with GϱG_{\varrho}.

Formally, let Z∈Rn×d\mathbf{Z} \in\mathbb{R}^{n \times d} be the matrix of the embeddings of the reports associated with the nodes of GϱG_{\varrho}, where the row zi\mathbf{z}_i corresponds to the embedding of the report rir_i. A graph-based predictive model adopted by ESGPred learns a parametric function:

fθ:(Gϱ,Z)→Y^(11)f_{\theta} : (G_{\varrho}, \mathbf{Z}) \to\hat{\mathbf{Y}} \tag*{(11)}

Here, θ\theta is the set of learnable parameters and Y^\hat{\mathbf{Y}} is the matrix of predictions generated for the nodes of GϱG_{\varrho}, and therefore for the reports of RR. Here, we assume that the graph-based predictive model consists of LL layers. In general, each layer updates the representation of a node viv_i by aggregating information from its neighborhood N(vi)\mathcal{N}(v_i). Let hi0=zi\mathbf{h}_i^0 = \mathbf{z}_i denote the initial representation of viv_i. The representation of viv_i updated at the layer ℓ+1\ell+1 can be expressed as follows:

hiℓ+1=ϕℓ(hiℓ,AGG⁡({hkℓ,eik,wik:vk∈N(vi)}))(12)\mathbf{h}_i^{\ell+1} = \phi^\ell\left(\mathbf{h}_i^\ell, \operatorname{AGG}\left(\left\{\mathbf{h}_k^\ell, e_{ik}, w_{ik} : v_k \in\mathcal{N}(v_i)\right\}\right)\right) \tag*{(12)}

Here: (i)(i) AGG is an aggregation function depending on the adopted prediction model; (ii)(ii) ϕℓ\phi^\ell is a learnable transformation that may be combined with nonlinear activation functions, normalization, and regularization.

ESGPred can support various graph-based predictive models, including Graph Convolutional Networks, GraphSAGE, Graph Attention Networks, and Graph Transformers. These models differ primarily in how they aggregate and weight information from adjacent nodes. Some approaches use normalized aggregations based on the graph structure. Others learn neighborhood sampling and aggregation functions. Still others use attention mechanisms to assign varying importance to the nodes of the neighborhood or the edges connecting them.

Let hiL\mathbf{h}_i^L be the representation of the node viv_i in the final layer of the graph-based predictive model. ESGPred inputs hiL\mathbf{h}_i^L into a final classifier Γ\Gamma, which returns the probability distribution associated with all the possible ESG classes. The class with the highest probability is returned as the class of rir_i:

y^i=argmax⁡(Γ(hiL))(13)\hat{y}_i = \operatorname*{argmax}\left(\Gamma(\mathbf{h}_i^L)\right) \tag*{(13)}

The graph-based predictive model is trained in a supervised manner using the node labels available in the training set. The loss is computed by comparing the predicted class y^i\hat{y}_i with the corresponding ground-truth label yiy_i. To mitigate the effects of class imbalance, ESGPred employs weighted loss functions, such as Weighted Cross-Entropy or Focal Loss, thereby reducing the bias toward majority classes and improving predictive performance on underrepresented classes.

Due to its modular design, ESGPred can be adapted to predict different types of sustainability-related information while preserving its overall architecture and workflow. Specifically, the predictive graph-based model underlying ESGPred can be trained to predict various sustainability metrics. The first metric is the overall ESG score, which is an aggregate measure of corporate performance across the Environmental, Social, and Governance dimensions. In this case, the label yiESGy_i^{ESG} associated with the report rir_i indicates the company’s overall ESG class. In addition to the overall ESG score, ESGPred can predict the individual ESG components. For the Environmental component, the label yiEy_i^E represents the company’s assessment with respect to issues such as environmental impact, emissions, resource use, energy management, and climate policies. For the Social component, the label yiSy_i^S reflects aspects related to human resources, working conditions, community relationships, human rights, safety, and social responsibility. Finally, for the Governance component, the label yiGy_i^G refers to elements such as board structure, oversight practices, transparency, corporate ethics, compensation, and risk management.

Formally, ESGPred allows a set of possible prediction targets:

T={ESG,E,S,G}(14)\mathcal{T} = \{ESG, E, S, G\} \tag*{(14)}

For each target t∈Tt \in\mathcal{T}, ESGPred can associate a set of labels Yt={y1t,y2t,…,ynt}\mathbf{Y}^t = \{y_1^t, y_2^t, \ldots, y_n^t\} such that yity_i^t, 1≤t≤n1 \leq t \leq n, is the score of the report ri∈Rr_i \in R. The graph-based predictive model underlying ESGPred is trained to learn a function specific to each target:

fθt:(G,Z)→Y^t(15)f_\theta^t : (G, \mathbf{Z}) \to\hat{\mathbf{Y}}^t \tag*{(15)}

Graph-Based Predictive Models

ESGPred is agnostic with respect to the graph-based predictive model employed. In our experiments, we considered various Graph Neural Networks (GNNs) as predictive models to analyze the impact of different aggregation, propagation, and attention mechanisms on the quality of the provided predictions. In all cases, each node in the sustainability graph is associated with an initial feature vector:

hi0=zi,(16)\mathbf{h}_i^0 = \mathbf{z}_i, \tag*{(16)}

Here, zi∈Rd\mathbf{z}_i \in\mathbb{R}^d is the embedding of the report rir_i. The prediction activity consists of iteratively updating these representations through message-passing operations between connected nodes of the sustainability graph.

The predictive models under consideration differ primarily in the following aspects: (i) the strategy for aggregating information from the neighborhood; (ii) the weights of the contributions from neighboring nodes of the sustainability graph; (iii) the explicit use of edge weights; (iv) the mechanism for propagating information throughout the sustainability graph. They are:

  • Graph Convolutional Network (GCN) [21]. It uses approximate spectral convolution to propagate information between adjacent nodes. Instead of averaging the values of neighboring nodes, GCN applies a symmetric normalization based on node degrees, allowing the contribution of connected nodes to be adjusted according to the local graph structure. In ESGPred, the GCN model explicitly uses the weights associated with the sustainability graph’s edges.

  • GraphSAGE [19]. Unlike traditional GCNs, GraphSAGE employs parameterized neighborhood aggregation schemes, enabling a more flexible and expressive integration of local neighborhood information.

  • Graph Attention Network (GAT) [42]. It is based on attention mechanisms applied to node neighborhoods. In this model, the contribution of adjacent nodes is not solely determined by the sustainability graph structure; rather, it is learned dynamically through attention coefficients.

  • Graph Transformer [13]. It combines Transformer principles with the message passing characteristic of Graph Neural Networks. Unlike previous architectures, the Graph Transformer uses multi-head attention mechanisms to simultaneously model different kinds of relationship between the sustainability graph nodes. Specifically, each attention head learns a different neighborhood weighting function, allowing the predictive model to capture multiple, potentially complementary relationships.

Experiments

In this section, we describe our experiments conducted to evaluate ESGPred. In particular, Subsection 4.1 presents the experimental setup. Subsection 4.2 reports our experimental results and compares ESGPred with several related approaches. Finally, Subsection 4.3 presents a study of ESGPred’s hyperparameters.

Experimental Setup

In this section, we illustrate the datasets, baselines and metrics adopted in our experiments.

Dataset

For our experiments, we downloaded sustainability reports in PDF format from ResponsibilityReports7, a platform that aggregates official company documentation. In addition to the reports, the platform provides complementary metadata for each company, including sector classification, country of origin, and a descriptive profile. These descriptions range from brief summaries spanning a few lines to more detailed accounts spanning several paragraphs. They typically address the company’s industry affiliation, founding history, geographical roots, core business activities, and principal products or services it provides. They may also convey the company’s mission or values. Our collection covers the period from 2020 to 2023 and is restricted to public companies. This selection is based on two practical considerations: (i) documents from public companies adhere to more standardized disclosure norms and are consistently accessible, and (ii) ground-truth ESG scores from our reference provider are available for this category of companies. While the raw collection contains 10,014 reports, our final experimental dataset focuses on a subset of them. The sectors most represented in the final sample are: finance (519 reports), technology (486), industrial goods (461), basic materials (428), and consumer goods (419). Conversely, the countries with the most reports are the United States (1,201), England (234), and Australia (212). The overall geographic distribution of companies to which sustainability reports refer is shown in Table 1.

CountryCountCountryCount
USA1,201Luxembourg3
England234Spain2
Australia212Belgium2
Canada205Chile2
Sweden52Hong Kong2
Finland23Cayman Islands2
Denmark20Italy2
Ireland18Wales2
China15Argentina2
Bermuda15Cyprus1
Greece14Austria1
Switzerland12Isle of Man1
Singapore10Peru1
Scotland9Panama1
Israel9Kazakhstan1
Germany8Mauritius1
Guernsey7Ghana1
Jersey6Mexico1
France4Lithuania1
Brazil4Papua New Guinea1
Netherlands4Slovenia1
New Zealand4Taiwan1
India3Turkey1
South Africa3Thailand1
Monaco3Ukraine1
Nigeria3Uruguay1
Total2,134

Table 1. Overall geographical distribution of the companies to which sustainability reports refer

All reports underwent a structured preprocessing pipeline before use. This pipeline was designed to convert PDF content into plain text. Non-textual elements, including figures, charts, and graphical layouts, were systematically discarded. The pipeline proceeded through three stages: (i) raw text extraction from the source PDF files, (ii) normalization of character encoding and removal of formatting residues, and (iii) filtering of non-informative recurring elements, such as page numbers and repeated section headers.

The preprocessed corpus, organized as one text document per company per fiscal year, served two purposes in ESGPred. First, it provided the training set for fine-tuning FinBERT. Second, it supplied the embeddings used to construct the sustainability graph, which is the input for graph-based predictive models.

To validate ESGPred, we gathered ESG scores for public companies. Specifically, we used the scores provided by “LSEG Data & Analytics” (formerly Refinitiv) via the “LSEG Workspace” platform8. These scores summarize a company’s overall ESG standing by combining different indicators through a proprietary aggregation methodology.

We compared the ESG scores generated by ESGPred with the corresponding scores provided by LSEG. To ensure a valid comparison, we restricted the dataset to companies for which both the sustainability report and the LSEG ESG score were available for the same reference year.

As LSEG ESG data is subject to a commercial license that prohibits public redistribution, we cannot disclose individual scores in this paper. Instead, we report experimental results in terms of aggregate statistics and score quartiles encoded as letter grades ranging from A to D, where A indicates the highest-performing quartile and D denotes the lowest one.

Table 2 reports some statistics related to our dataset. This dataset corresponds to the set RR of sustainability reports mentioned in § 3. As pointed out in that section, we divided RR into a training set RtrainR_{train} and a test set RtestR_{test}, applying a 80/20 split. We assigned all reports associated with the same company exclusively to either the training set or the test set to prevent data leakage.

NameValue
Total number of sustainability reports5,266
Total number of reports relating to 20201,133
Total number of reports relating to 20211,459
Total number of reports relating to 20221,665
Total number of reports relating to 20231,009
Total number of reports with score AA785
Total number of reports with score BB2,652
Total number of reports with score CC1,611
Total number of reports with score DD218
Total number of companies2,134
Total number of countries of origin of companies52

Table 2. Some statistics of the dataset RR of reports used in our experiments

Baselines

To evaluate the effectiveness of ESGPred, we compared the results returned by it to three baselines representing the current state-of-the-art in text-based ESG classification. These baselines allow us to analyze the contributions of the various ESGPred’s components and distinguish the effects of the language model’s domain-specific specialization from the effects of the sustainability graph and graph-based predictive models. They are:

  • Vanilla FinBERT [29] in its original version. It was pre-trained on financial corpora, but not adapted for the ESG domain. In this configuration, the model is used directly as a supervised classifier for sustainability reports. This baseline evaluates the predictive power of generic financial language representations without adaptation to a specific task.

  • Fine-Tuned FinBERT. It was fine-tuned using the ESG dataset employed in this paper. In this case, the model was trained following the procedure described in § 3.1 with ESG scores as the supervised targets. This baseline is particularly relevant because it uses the same textual information and language adaptation tasks as ESGPred, but does not introduce any sustainability graph or graph-based predictive model. Therefore, comparing ESGPred to this baseline allows us to directly quantify the contributions of our graph modeling present in ESGPred compared to an approach based solely on the textual content of sustainability reports.

  • Fine-Tuned Transformer [33]. It was originally employed as a part of an ESG classification system that used fine-tuned Transformer models, SEC Form 10-K regulatory documents, and ESG ratings provided by S&P Global. In the original paper, the problem is formulated as a binary classification task, which is achieved through a median split of ESG ratings. To ensure a fair

comparison with ESGPred, we reimplemented the approach described in [33] to make it applicable to the dataset used in this paper. Specifically, we adapted it to a four-class classification problem (with the classes being AA, BB, CC, and DD), which is consistent with the categorization of the ESG scores provided by LSEG. Thus, the results obtained from this baseline allow us to compare ESGPred with a Transformer-based approach specifically designed for ESG assessment and widely recognized in recent literature.

Metrics

To evaluate and compare ESGPred with the selected baselines, we used four classification metrics widely adopted in the literature: Accuracy, Precision, Recall, and F1-Score.

Let Cl={A,B,C,D}Cl = \{A, B, C, D\} denote the set of ESG classes and let yi∈Cly_i \in Cl denote the actual class associated with the report ri∈Rr_i \in R. Let y^i∈Cl\hat{y}_i \in Cl denote the class predicted by the model.

Accuracy is defined as the proportion of sustainability reports for which the predicted and actual ESG classes coincide. It is defined as follows:

Accuracy=1N∑i=1NI(yi=y^i),(17)Accuracy = \frac{1}{N}\sum_{i=1}^{N}\mathbb{I}(y_i = \hat{y}_i), \tag*{(17)}

where NN is the total number of reports in the test set and I(⋅)\mathbb{I}(\cdot) is the indicator function, which returns 1 when the actual and predicted classes coincide and 0 otherwise.

For each ESG class cl∈Clcl \in Cl, Precision is defined as the proportion of reports predicted to belong to clcl that actually belong to clcl. It is defined as follows:

Pcl=TPclTPcl+FPcl,(18)P_{cl} = \frac{TP_{cl}}{TP_{cl} + FP_{cl}}, \tag*{(18)}

where TPclTP_{cl} is the number of reports whose actual and predicted class is clcl and FPclFP_{cl} is the number of reports predicted as class clcl despite belonging to a different actual class.

For each ESG class cl∈Clcl \in Cl, Recall measures the proportion of reports that actually belong to clcl and have been correctly assigned to clcl by the model. It is defined as follows:

Rcl=TPclTPcl+FNcl,(19)R_{cl} = \frac{TP_{cl}}{TP_{cl} + FN_{cl}}, \tag*{(19)}

where FNclFN_{cl} is the number of reports whose actual class is clcl but whose predicted class is different.

For each ESG class cl∈Clcl \in Cl, F1-Score is defined as the harmonic mean of Precision and Recall. It is defined as follows:

Fcl=2⋅Pcl⋅RclPcl+Rcl.(20)F_{cl} = 2 \cdot\frac{P_{cl} \cdot R_{cl}}{P_{cl} + R_{cl}}. \tag*{(20)}

Since there are four classes in ESG, the final Precision, Recall and F1-Score values considered in our experiments were obtained by averaging the corresponding parameter values for each class:

Precision=14∑cl∈ClPcl,Recall=14∑cl∈ClRcl,F1-Score=14∑cl∈ClFcl(21)Precision = \frac{1}{4}\sum_{cl \in Cl} P_{cl}, \qquad Recall = \frac{1}{4}\sum_{cl \in Cl} R_{cl}, \qquad F1\text{-}Score = \frac{1}{4}\sum_{cl \in Cl} F_{cl} \tag*{(21)}

Results

We conducted all experiments on a server equipped with two NVIDIA Tesla T4 GPUs, each with 16GB of GPU memory, and an Intel Xeon CPU (Skylake-SP architecture) with 2 cores and 4 hardware threads.

Table 3 shows the results of comparing ESGPred with the baselines described in § 4.1.2. In this table and in the next ones, the highest value of the performance metric associated with each column is shown in bold.

CategoryModel / ArchitectureAccuracyPrecisionRecallF1-Score
Baselines
Vanilla FinBERT0.720.690.600.63
Fine-Tuned FinBERT0.770.720.740.73
Fine-Tuned Transformer0.760.740.650.68
ESGPred
Description-Based GraphGraph Transformer0.850.830.850.84
GraphSAGE0.840.800.840.84
GAT0.810.760.820.78
GCN0.770.710.740.73
Semantic-Based GraphGraph Transformer0.840.800.850.82
GraphSAGE0.820.800.820.81
GAT0.820.780.850.81
GCN0.810.780.850.81
Sector-Based GraphGraph Transformer0.810.760.790.77
GraphSAGE0.780.730.750.74
GAT0.790.730.770.75
GCN0.760.700.740.72

Table 3. Comparison between baselines and ESGPred with different graph-based configurations

As expected, the Fine-Tuned FinBERT significantly outperforms the Vanilla FinBERT. In fact, Accuracy increases by 6.94%, while F1-Score rises by 15.87%. These results confirm the importance of adapting the language model used to obtain report embeddings to the ESG domain and demonstrate that representations learned during fine-tuning capture information relevant to classifying sustainability reports.

The Fine-Tuned Transformer yields results similar to those of the Fine-Tuned FinBERT, achieving an Accuracy of 0.76. Although this method was designed for binary classification, its adaptation to a multi-class context returns satisfying results. This confirms the effectiveness of Transformer-based strategies for analyzing ESG documents. Nevertheless, its performance remains inferior to the best configurations of ESGPred.

Analyzing the various sustainability graph construction strategies in ESGPred clearly shows that the quality of the sustainability graph significantly affects the performance of ESGPred. The configuration that yields the best results is the Description-Based Graph combined with the Graph Transformer, which achieves an Accuracy of 0.85 and an F1-Score of 0.84. This suggests that data extracted from company descriptions is an effective source of useful information for ESG prediction. In fact, descriptions tend to capture the structural characteristics of a company, such as its industrial sector, products, technologies, target markets, and business type. This generates connections between companies that share similar economic and organizational features.

The Semantic-Based Graph produces slightly inferior but competitive results. The optimal configuration achieves an Accuracy of 0.84 and an F1-Score of 0.82. These results highlight the importance of semantic similarity between reports as a source of information, though this information may be slightly less useful than relationships constructed from corporate descriptions. Indeed, reports from different sectors may use similar ESG terminology to describe vastly different corporate contexts.

The Sector-Based Graph shows the lowest performance. While being in the same sector represents an intuitive relationship between companies, this information is less discriminating than the one considered by the other strategies. Constructing the sustainability graph based solely on the industrial sector of companies generates relatively coarse relationships that fail to capture ESG differences between companies in the same industrial sector.

Looking at the graph architecture performances, these results reveal a clear trend. In nearly all configurations, the Graph Transformer is the most effective predictive model. This is due to its ability to use multi-head attention mechanisms and explicitly incorporate edge-associated information during the prediction task. Thus, it can differentiate the importance of connections and leverage company relationships more effectively. GraphSAGE generally ranks as the second-best model. It performs particularly well with the Description-Based Graph, achieving an F1-Score of 0.84, which is essentially equivalent to the Graph Transformer’s score. In contrast, the GAT and GCN models perform worse. Although they benefit from the sustainability graph, they appear to have a more limited ability than the Graph Transformer to model complex relationships between companies. GCN consistently performs the worst in most experiments.

Table 4 shows the results of replacing the embeddings generated by the fine-tuned FinBERT with those produced by the fine-tuned Jina. In all configurations, when using the Jina model, performance decreases compared to FinBERT-generated embeddings. The best Jina-based configuration achieves an Accuracy of 0.81 and an F1-Score of 0.77; these values are lower than those obtained by the best FinBERT-based configuration.

CategoryModel / ArchitectureAccuracyPrecisionRecallF1-Score
Jina fine-tuned embeddings
Description-Based GraphGraph Transformer0.790.760.750.76
GraphSAGE0.790.730.750.74
GAT0.700.620.690.64
GCN0.690.610.680.61
Semantic-Based GraphGraph Transformer0.810.760.790.77
GraphSAGE0.780.730.750.74
GAT0.790.730.770.75
GCN0.760.700.740.72
Sector-Based GraphGraph Transformer0.800.760.750.75
GraphSAGE0.780.720.750.74
GAT0.790.770.730.74
GCN0.750.700.710.70

Table 4. Results obtained using Jina-based embeddings instead of FinBERT-based embeddings

These results underscore the importance of domain-specific specialization in the context of ESG score evaluation. Although fine-tuned Jina produces high-quality embeddings for general tasks, fine-tuned FinBERT’s embeddings incorporate domain-specific knowledge of finance and sustainability, which makes them better suited for ESG classification.

An interesting result to highlight regards the relative performance stability across different configurations. Even when using Jina-based embeddings, the Semantic-Based Graph and the Description-Based Graph continue to outperform the Sector-Based Graph. Meanwhile, the Graph Transformer remains the best-performing predictive model. These results suggest that the superiority of prediction graphs and graph-based predictive models observed in the previous experiments does not depend exclusively on the quality of embeddings but rather represents a more general property of ESGPred.

Single-Dimension Prediction (Environmental, Social, and Governance Scores)

In addition to evaluating the ESGPred’s capability of predicting the overall ESG score, we evaluated the ESGPred’s ability to independently estimate the three fundamental dimensions of corporate sustainability, i.e., Environmental, Social, and Governance. To perform this evaluation, we carried out another experiment with two objectives: (i) verifying the generalizability of ESGPred across different sustainability targets, and (ii) analyzing whether the sustainability graph supporting the graph-based predictive model of ESGPred can capture specific information associated with individual ESG components.

To this end, we selected the ESGPred configuration that performed best in predicting the overall ESG score. This configuration consisted of a sustainability graph based on company descriptions and the Graph Transformer as predictive model. We used this configuration in the next experiment.

We conducted an independent training process for each ESG dimension. Specifically, we replaced the overall ESG score with the Environmental, Social, and Governance scores provided by the LSEG platform, respectively. We applied the whole methodological pipeline described in § 3 for each dimension separately. In particular, we first performed the supervised fine-tuning of FinBERT. Then, we generated the embeddings of sustainability reports and constructed the sustainability graph. Finally, we trained the Graph Transformer.

To assess the impact of sustainability graph, we compared the outcomes of ESGPred with those of a fine-tuned FinBERT model that was trained using the same dataset. The latter served as a purely textual baseline. This allowed us to measure the benefit of adding graph learning to purely linguistic representation for each sustainability dimension.

Table 5 shows the obtained results. As can be seen, ESGPred consistently outperforms the Fine-Tuned FinBERT across all metrics and ESG dimensions. Very good results are obtained for the Environmental component, where Accuracy, Precision, Recall and F1-Score are always greater than 0.85. Furthermore, ESGPred improves the Accuracy (resp., Precision, Recall, and F1-Score) of the Fine-Tuned FinBERT by 24.29% (resp., 17.57%, 27.54%, and 23.94%). These results suggest that information from both sustainability reports and graph-modeled company relationships effectively captures aspects concerning environmental policies, emissions, and resource management.

ESGPred also shows significant performance improvement over the Fine-Tuned FinBERT in the Social component. In fact, it improves the baseline of 25.00% in Accuracy, 22.39% in Precision, 37.70% in Recall, and 29.69% in F1-Score. These results highlight the value of modeling company

DimensionModel / ArchitectureAccuracyPrecisionRecallF1-Score
Environmental
ESGPred (Desc.-Based Graph+Graph Transf.)0.870.870.880.88
Fine-Tuned FinBERT (baseline)0.700.740.690.71
Social
ESGPred (Desc.-Based Graph+Graph Transf.)0.850.820.840.83
Fine-Tuned FinBERT (baseline)0.680.670.610.64
Governance
ESGPred (Desc.-Based Graph+Graph Transf.)0.790.800.810.80
Fine-Tuned FinBERT (baseline)0.570.590.530.55

caption: Comparative results of ESGPred and the Fine-Tuned FinBERT for individual Environmental, Social, and Governance dimensions

:::

relationships in identifying common practices and strategies related to human capital management, corporate social responsibility, and stakeholder relationships.

The Governance component is the most difficult to predict. Although ESGPred achieves high performance (with an Accuracy of 0.79, a Precision of 0.80, a Recall of 0.81, and an F1-Score of 0.80), the results are lower than those obtained for the Environmental and Social components. One possible explanation is that Governance information tends to be less descriptive and more closely tied to specific corporate, organizational, and decision-making structures. This makes it more difficult to infer all necessary information from textual content and semantic company relationships alone. In fact, this trend can be also observed in the Fine-Tuned FinBERT. Interestingly, the improvements over the baseline are higher for this component than for the other two; in fact, Accuracy increases by 38.60%, Precision by 35.59%, Recall by 52.83% and F1-Score by 45.45%.

These results demonstrate that ESGPred can not only predict the aggregate ESG score, but also effectively generalize to individual sustainability dimensions. Furthermore, the systematic improvement over purely text-based models confirms the importance of the information about report and company relationships modeled through the sustainability graph. This highlights that information from related companies is a significant factor in assessing the ESG performance of a company.

Hyperparameter tuning

After comparing the various ESGPred configurations, we conducted some hyperparameter tuning experiments to analyze the impact of certain design choices on the ESGPred’s final performance. Specifically, we examined two key aspects of the pipeline: the strategy for generating document-level embeddings and the criteria for constructing the sustainability graph.

The goal of this analysis was to evaluate the ESGPred’s robustness across different configurations and to identify settings that balance visualization quality, sustainability graph structure, and ESG prediction accuracy.

The first hyperparameter tuning test examined the effect of the strategy used to generate embeddings for sustainability reports. As described in § 3.2, ESGPred supports two types of segmentation, namely: (i) dynamic segmentation, which is based on the actual length of the sustainability report, and (ii) fixed segmentation, which uses a predetermined number of chunks. The default segmentation in ESGPred is the dynamic one because we hypothesized that it better preserves the semantic structure of reports by avoiding an excessive fragmentation in short reports and a loss of information in long ones.

To test this hypothesis, we compared dynamic segmentation with three fixed-segmentation configurations (allowing 5, 10, and 15 chunks), while keeping all the other components of ESGPred unchanged. Table 6 shows the results obtained for the three types of graph construction strategies allowed in ESGPred (see § 3.3).

Graph TypeSplit MethodAccuracyPrecisionRecallF1-Score
Description-Based Graph
Fixed (5 splits)0.820.820.830.82
Fixed (10 splits)0.830.810.840.82
Fixed (15 splits)0.840.830.830.83
Dynamic (Used by ESGPred)0.850.830.850.84
Semantic-Based Graph
Fixed (5 splits)0.810.790.830.81
Fixed (10 splits)0.820.800.830.81
Fixed (15 splits)0.820.820.840.82
Dynamic (Used by ESGPred)0.840.800.850.82
Sector-Based Graph
Fixed (5 splits)0.800.780.840.80
Fixed (10 splits)0.820.790.850.82
Fixed (15 splits)0.830.810.840.82
Dynamic (Used by ESGPred)0.830.830.840.83

Table 6. Impact of report segmentation strategies on the performance of ESGPred

This table shows that dynamic segmentation yields the best performance across all configurations. This improvement is particularly evident in the graphs based on company descriptions and semantic similarity of reports. This behavior suggests that adaptive report segmentation generates more informative embeddings that align better with the semantic structure of sustainability reports. Additionally, the observed increase in performance as the number of fixed chunks increases indicates that a more granular document representation is generally beneficial. However, none of the fixed-segmentation configurations matches the results of the dynamic strategy.

The second hyperparameter tuning study examined the sensitivity of ESGPred to the thresholds used to construct sustainability graphs. To carry out this task: (i) we varied the Jaccard similarity threshold for the graphs constructed from company descriptions (see § 3.3); (ii) we modified the cosine similarity threshold for the graphs constructed from the semantic similarity of reports.

Table 7 reports the results obtained for several values of the two thresholds. The analysis of this table shows that both configurations have an optimal threshold value, beyond which performance begins to degrade. For sustainability graphs based on company descriptions, the best result is obtained with a Jaccard threshold of 0.30. Lower values introduce less informative connections, while higher values excessively reduce the graph’s connectivity.

Graph TypeThresholdAccuracyPrecisionRecallF1-Score
Description-Based GraphτJ\tau_J
0.29 (Jaccard)0.830.820.830.82
0.30 (Jaccard)0.850.830.850.84
0.31 (Jaccard)0.840.800.850.82
0.33 (Jaccard)0.830.790.850.82
Semantic-Based Graphτcos\tau_{cos}
0.75 (Cosine Similarity)0.830.800.830.82
0.80 (Cosine Similarity)0.840.800.850.82
0.85 (Cosine Similarity)0.830.700.820.81

Table 7. Impact of graph construction thresholds on the performance of ESGPred

A similar behavior is observed in the graph based on the semantic similarity of reports. The optimal threshold for this graph corresponds to a cosine similarity of 0.80. As in the previous case, thresholds that are too permissive increase structural noise, while thresholds that are too restrictive limit the ESGPred’s ability to exploit semantic relationships between reports.

Discussion

The experimental results demonstrate that predicting ESG scores substantially improves when the semantic content of sustainability reports and existing company relationships are jointly considered. The systematic improvement achieved by graph-based configurations, as opposed to purely text-based ones, suggests that a company’s ESG performance cannot be fully characterized by treating each report as an isolated information. Rather, similarities in organizational characteristics, business models, and corporate practices of the companies which the reports refer to provide a relational context that contributes to better interpret the report’s information. The ESGPred’s ability to generalize to individual Environmental, Social, and Governance dimensions further supports this result, as the graph-based component yields significant improvements over the textual baseline in the prediction of the scores of each single dimension.

ESGPred may have significant implications for developing automated ESG assessment systems. First, it uses sustainability reports and company metadata. These sources can be collected and processed on a large scale. This offers a more reproducible and adaptable methodology than entirely proprietary assessment pipelines. Second, the ESGPred’s ability to predict both the overall ESG rating and its individual components suggests that the support of company relationship information is not limited to a single classification target.

In any case, we would like to strongly point out that ESGPred and the related frameworks should be viewed as tools that support analysts’ judgment, rather than replace it, especially given the complexity and multidimensional nature of ESG criteria.

ESGPred has also some limitations that define its current capabilities. First, we used LSEG ratings as the ground truth. Therefore, ESGPred learns to replicate a specific rating methodology. However, given the well-known divergence among ESG providers, it would be desirable to ensure that ESGPred can also learn to replicate ratings produced according to different criteria. Additionally, the current formulation categorizes scores into four classes and does not directly model the differences between companies within the same class. Finally, ESGPred considers static graphs and a limited set of company relationships. However, ESG performance and company relationships evolve over time. These changes may depend on information not represented in the used reports or metadata, such as supply chain relationships, ownership structures, and financial indicators. These limitations suggest enhancements to ESGPred, such as the usage of temporal and heterogeneous sustainability graphs, as well as graph explainability methods that can identify which company relationships contribute most to the final assessment.

Conclusion

This paper presented ESGPred, a modular, graph-based framework that predicts ESG scores from company sustainability reports. Unlike conventional approaches that rely solely on textual analysis, ESGPred combines domain-specific language representations with relational graph learning. This enables the prediction process to leverage the semantic content of sustainability reports and the relationships among companies.

ESGPred’s workflow consists of four main steps: (i) supervised fine-tuning of FinBERT on ESG-related documents; (ii) generation of embeddings from sustainability reports; (iii) construction of sustainability graphs representing different kinds of relationship between sustainability reports and/or the companies to which they refer; and (iv) prediction through graph-based learning architectures. A key characteristic of ESGPred is its flexibility, which allows the embedding model, sustainability graph construction strategy, graph-based predictive model, and target sustainability metric to be modified and evaluated independently. An experimental analysis conducted on a dataset of sustainability reports and ESG ratings demonstrated the effectiveness of integrating textual and relational information. Across all evaluated configurations, graph-based models outperformed purely textual baselines. These results highlight the importance of modeling latent relationships between companies and suggest that descriptive information is a valuable resource for constructing relational structures (such as sustainability graphs) in ESG assessment tasks.

Future research directions include: (i) investigating dynamic and temporal graph structures that can support the analysis of the evolution of ESG performance over time; (ii) integrating additional heterogeneous information sources, such as financial indicators, supply-chain relationships, and ownership networks in the construction of sustainability graphs; and (iii) exploring graph-based structures and predictive models that can handle multiple kinds of entity and relationship simultaneously.

Data Availability

The datasets and code used for our study are publicly available at https://anonymous.4open.science/r/ESGPred-25BE/.

References

  1. [1]F.K. Alarfaj. A Comprehensive Study on Automated Extraction from Financial Reports Using NLP Approaches. Arabian Journal for Science and Engineering, 51(9):11843–11891, 2026. Springer.DOI
  2. [2]E. Alioğulları and E. Yildiz. Forecasting ESG scores in European countries using machine learning algorithms. Neural Computing and Applications, 38(10):379, 2026. Springer.DOI
  3. [3]G. Ang, Z. Guo, and E. Lim. On Predicting ESG Ratings Using Dynamic Company Networks. ACM Transactions on Management Information Systems, 14(3):1–34, 2023. ACM.DOI
  4. [4]F. Berg, J.F. Kölbel, and R. Rigobon. Aggregate confusion: The divergence of ESG ratings. Review of finance, 26(6):1315–1344, 2022. Oxford University Press.
  5. [5]B. Bernhardt, C. Marciano, S. Gigli, L. Maddalena, and M. Guarracino. Understanding ESG Scores Through Network Analysis: A Study Using Graph Neural Networks. In Proc. of the Scientific Meeting of the Classification and Data Analysis Group of the Italian Statistical Society (CLADAG-VO’25), pages 37–47, Cham, Switzerland, 2025. CLADAG-VOС.DOI
  6. [6]O. Chaouech. Predicting Corporate ESG Scores from Financial Performance and Environmental Indicators: A Machine Learning Framework. Journal of Cultural Analysis and Social Change, 10(3):2042–2056, 2025.DOI
  7. [7]J.C. Choi, Q. Chen, and S.J. Lee. Predicting ESG ratings by machine learning and analyzing influencing factors by XAI. In Proc. of the International Conference on Software Engineering and Information Management (ICSIM’24), pages 120–125, Suva, Fiji, 2024. ACM.
  8. [8]M.A.F. Chowdhury, M. Abdullah, M.A.K. Azad, Z. Sulong, and M.N. Islam. Environmental, social and governance (ESG) rating prediction using machine learning approaches. Annals of Operations Research, pages 1–25, 2023. Springer.DOI
  9. [9]G. Cohen. ESG risks and corporate survival. Environment Systems and Decisions, 43(1):16–21, 2023. Springer.DOI
  10. [10]V. D’Amato, R. D’Ecclesia, and S. Levantesi. Fundamental ratios as predictors of ESG scores: A machine learning approach. Decisions in Economics and Finance, 44(2):1087–1110, 2021. Springer.DOI
  11. [11]V. D’Amato, R. D’Ecclesia, and S. Levantesi. ESG score prediction through random forest algorithm. Computational Management Science, 19(2):347–373, 2022. Springer.DOI
  12. [12]L. David, J. Wang, V. Angel, and M. Luo. China’s ESG scorecard: A predictive machine learning model. Corporate Social Responsibility and Environmental Management, 31(4):3468–3486, 2024. Wiley Online Library.DOI
  13. [13]V.P. Dwivedi and X. Bresson. A generalization of transformer networks to graphs. arXiv preprint arXiv:2012.09699, 2020.arxiv.org/abs/2012.09699
  14. [14]E. Escrig-Olmedo, M. J. Muñoz-Torres, and M.A. Fernandez-Izquierdo. Socially responsible investing: sustainability indices, ESG rating and information provider agencies. International Journal of Sustainable Economy, 2(4):442–461, 2010. Inderscience Publishers.
  15. [15]B.T. Fagbemi, B.P. Saah, A.I. Nduka, and E.M. Aloke. The Evolution of ESG and Sustainability Reporting: A Review of Standards, Challenges, and Impacts on Corporate Transparency. Journal of Economics, Business, and Commerce, 2(2):297–305, 2025.DOI
  16. [16]J. Fischbach, M. Adam, V. Dzhagatspanyan, D. Mendez, J. Frattini, O. Kosenkov, and P. Elahidoost. Automatic ESG assessment of companies by mining and evaluating media coverage data: NLP approach and tool. In Proc. of the IEEE International Conference on Big Data (BigData’23), pages 2823–2830, Sorrento, Italy, 2023. IEEE.arxiv.org/abs/2212.06540
  17. [17]M. Günther, J. Ong, I. Mohr, A. Abdessalem, T. Abel, M.K. Akram, S. Guzman, G. Mastrapas, S. Sturua, B. Wang, N. Wang M. Werk, and H. Xiao. Jina embeddings 2: 8192-token general-purpose text embeddings for long documents. arXiv preprint arXiv:2310.19923, 2023.arxiv.org/abs/2310.19923
  18. [18]S. Halid, R.A. Rahman, R. Mahmud, N. Mansor, and R.A. Wahab. A literature review on ESG score and its impact on firm performance. International Journal of Academic Research in Accounting Finance and Management Sciences, 13(1):272–282, 2023.DOI
  19. [19]W. Hamilton, Z. Ying, and J. Leskovec. Inductive Representation Learning on Large Graphs. In Proc. of the International Conference on Neural Information Processing Systems (NeurIPS’17), Long Beach, CA, USA, 2017.arxiv.org/abs/1706.02216
  20. [20]M. Joubrel and E. Maksimovich. ESG data and scores. In Valuation and Sustainability: A Guide to Include Environmental, Social, and Governance Data in Business Valuation, pages 67–98. 2023. Springer.DOI
  21. [21]T.N. Kipf and M. Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.arxiv.org/abs/1609.02907
  22. [22]T. Krappel, A. Bogun, and D. Borth. Heterogeneous Ensemble for ESG Ratings Prediction. In Proc. of the KDD Workshop on Machine Learning in Finance (KDD-MLF’21), Singapore, 2021. KDD-MLF.arxiv.org/abs/2109.10085
  23. [23]H. Lee, J. Kim, and H. Jung. ESG-KIBERT: A new paradigm in ESG evaluation using NLP and industry-specific customization. Decision Support Systems, 193:114440, 2025. Elsevier.DOI
  24. [24]H. Lee, S. Lee, H. Park, J. Kim, and H. Jung. ESG2PreEM: Automated ESG grade assessment framework using pre-trained ensemble models. Heliyon, 10(4):e26404, 2024. Elsevier.DOI
  25. [25]J. Lee and M. Kim. ESG information extraction with cross-sectoral and multi-source adaptation based on domain-tuned language models. Expert Systems with Applications, 221:119726, 2023. Elsevier.DOI
  26. [26]H.Y. Lin and B.W. Hsu. Empirical Study on ESG Score Prediction through Machine Learning—A Case of Non-Financial Companies in Taiwan. Sustainability, 15(19):14106, 2023. MDPI.DOI
  27. [27]T.Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár. Focal loss for dense object detection. In Proc. of the IEEE International Conference on Computer Vision (ICCV’17), pages 2980–2988, Venice, Italy, 2017. ICCV.
  28. [28]Z. Liu, D. Bao, S. Li, and H. Zhao. From compliance to commitment: A deep learning decision-support artifact linking corporate social performance to multidimensional employee perceptions. Decision Support Systems, page 114683, 2026. Elsevier.DOI
  29. [29]Z. Liu, D. Huang, K. Huang, Z. Li, and J. Zhao. Finbert: A pre-trained financial language representation model for financial text mining. In Proc. of the International Joint Conferences on Artificial Intelligence (IJCAI’21), pages 4513–4519, Yokohama, Japan, 2021. IJCAI.DOI
  30. [30]F. Maibaum, J. Kriebel, and J. N. Foege. Selecting textual analysis tools to classify sustainability information in corporate reporting. Decision Support Systems, 183:114269, 2024. Elsevier.DOI
  31. [31]I. Martin-Melero, R. Gomez-Martinez, M. L. Medrano-Garcia, and F. Hernandez-Perlines. Comparison of sectorial and financial data for ESG scoring of mutual funds with machine learning. Financial Innovation, 11(1):84, 2025. Springer.
  32. [32]H.Q. Ngee, A. Ganesh, M.A.N. Azmi, T.Y.Y. Tang, M. Mukred, F. Mohammed, and A. A. B. Ahmad. Environmental. Social and Governance (ESG) Scores Automation in Global Reporting Initiative (GRI) with Natural Language Processing. In Proc. of the International Conference on Internet Applications, Protocols, and Services (NETAPPS’24), pages 1–7, Kuala Lumpur, Malaysia, 2024. IEEE.DOI
  33. [33]S. Pasch and D. Ehnes. NLP for responsible finance: Fine-tuning transformer-based models for ESG. In Proc. of the IEEE International Conference on Big Data (Big Data’22), pages 3532–3536, Osaka, Japan, 2022. IEEE.DOI
  34. [34]S. Patel, A. Nath, and P. Desai. Predicting ESG Scores Using Machine Learning for Data-Driven Sustainable Investment. Analytics, 5(1):7, 2026. MDPI.DOI
  35. [35]S. Pawar, P. Dolhare, S. Fatangare, H. Gawhale, and A. Gadgil. Automated ESG Scoring and Prediction. In Proc. of the International Conference on ICT for Sustainable Development (ICT4SD’25), pages 196–204, Goa, India, 2025. Springer.DOI
  36. [36]P.R. Rau and T. Yu. A survey on ESG: investors, institutions and firms. China Finance Review International, 14(1):3–33, 2024. Emerald Publishing Limited.DOI
  37. [37]G. Sariyer, S. K. Mangla, S. Chowdhury, M. E. Sozen, and Y. Kazancoglu. Predictive and prescriptive analytics for ESG performance evaluation: A case of Fortune 500 companies. Journal of Business Research, 181:114742, 2024. Elsevier.DOI
  38. [38]T. Schimanski, A. Reding, N. Reding, J. Bingler, M. Kraus, and M. Leippold. Bridging the gap in ESG measurement: Using NLP to quantify environmental, social, and governance communication. Finance Research Letters, 61:104979, 2024. Elsevier.
  39. [39]Y. Shi and T. Yao. ESG Rating Divergence: Existence, Driving Factors, and Impact Effects. Sustainability, 17(10):4717, 2025. MDPI.DOI
  40. [40]A. Sokolov, J. Mostovoy, J. Ding, and L. Seco. Building machine learning systems for automated ESG scoring. The Journal of Impact and ESG Investing, 1(3):39–50, 2021. Institutional Investor Journals Umbrella.DOI
  41. [41]D. Taskin, G. Sariyer, E. Acar, and E.C. Cagli. Do past ESG scores efficiently predict future ESG performance? Research in International Business and Finance, 74:102706, 2025. Elsevier.DOI
  42. [42]P. Velickovic, G. Cucurull, A. Casanova, A. Romero, P. Liò, and Y. Bengio. Graph Attention Networks. In Proc. of the International Conference on Learning Representations (ICLR’18), Vancouver, British Columbia, Canada, 2018. OpenReview.net.arxiv.org/abs/1710.10903
  43. [43]N. N. Y. Vo, X. He, S. Liu, and G. Xu. Deep learning for decision making and the optimization of socially responsible investments and portfolio. Decision Support Systems, 124:113097, 2019. Elsevier.
  44. [44]M. Yu, E. Cao, and Y. Zhang. ESG investment under different supply chain power structures: decisions, impacts, and the triple win. Expert Systems with Applications, 312:131518, 2026. Elsevier.DOI
  45. [45]A. Zhang and J. Zhang. Renovation in environmental, social and governance (ESG) research: the application of machine learning. Asian Review of Accounting, 32(4):554–572, 2024. Emerald.DOI
  46. [46]J. Zhang and Z. Zhao. Corporate ESG rating prediction based on XGBoost-SHAP interpretable machine learning model. Expert Systems with Applications, 295:128809, 2026. Elsevier.DOI
  47. [47]M. Zhang, Q. Shen, Z. Zhao, S. Wang, and G.Q. Huang. Optimizing ESG reporting: Innovating with E-BERT models in nature language processing. Expert Systems with Applications, 265:125931, 2025. Elsevier.DOI

Paper details

vlnc:W_8vcmdae5
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 1

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents