Enterprise knowledge · Research feature

Open-Source LLMs Show Variable Performance in ESG Report Analysis

A study evaluates seven open-source large language models using real ESG reports to assess their accuracy in extracting and generating environmental, social, and governance information.

Adapted from research by Motaz Saad, Anna Borrelli, Ivan Gentile and colleagues.

arXiv preprint revision · 2026-09-14 · Attribution & reuse
In this article
Editorial illustration of stacked plates.

Editor’s introduction

The study assesses seven open-source large language models—glm-4.7-flash, nemotron-3-nano:4b, qwen3:4b-instruct, gemma3:4b, gemma4:e4b, gemma4:e2b, and ministral-3:8b—using a synthetic QA dataset derived entirely from 498 real-world ESG reports of EU-listed companies from 2010 to 2024. Performance is measured through RAGAS metrics, including faithfulness, precision, relevance, and factual correctness. Retrieval performance is consistent across models, with context recall and precision in the 0.58–0.61 and 0.78–0.81 ranges respectively. Generation performance varies significantly, with faithfulness ranging from 0.607 to 0.822 and factual correctness from 0.387 to 0.449. The model glm-4.7-flash achieves the highest faithfulness, while qwen3 shows the best factual correctness and ministral-3 excels in answer relevancy. A key limitation is that only a 100-item prefix of the synthetic test set was used in the evaluation, with the remaining 184 pairs reserved for future analysis.

Introduction

ESG reporting refers to the disclosure of data related to a company’s environmental, social, and governance practices. Originally rooted in ethical investing, it has evolved into a key framework for assessing non-financial risks and performance that can influence a company’s long-term sustainability and investor attractiveness. ESG reporting demonstrates a company’s commitment to sustainability, ethical conduct, and regulatory compliance. Investors, policymakers, and other stakeholders increasingly depend on ESG disclosures to assess corporate performance beyond traditional financial indicators, making the accurate and efficient extraction of ESG Key Performance Indicators (KPIs) a pressing priority. However, ESG data is often complex, heterogeneous, and embedded in diverse, unstructured documents, creating significant challenges in achieving consistency and reliability.

The environmental component of the ESG evaluates how a company affects and is affected by the natural world, focusing on metrics such as carbon emissions (including Scope 1, 2, and 3), energy use, water consumption, waste management, and climate risk strategies. The social dimension centers on the company’s relationships with key stakeholders, including employees, suppliers, and communities. It addresses labor practices, workplace safety, human rights, diversity and inclusion, community involvement, and consumer protection. The governance aspect pertains to the systems and structures guiding corporate behavior, including board composition and diversity, executive compensation, transparency, shareholder rights, and anti-corruption policies. Together, these three pillars form a comprehensive lens through which organizations are evaluated for long-term sustainability and ethical stewardship.

Artificial Intelligence (AI), especially Large Language Models (LLMs), has emerged as a powerful tool for automating ESG KPI extraction, streamlining data processing, and improving reporting accuracy. Retrieval-Augmented Generation (RAG) techniques further enhance this capability by integrating relevant external data sources into LLM outputs, thereby reducing hallucination and increasing the precision of ESG insights.

RAG Evaluation Frameworks

Systematic RAG evaluation has been formalized through dedicated frameworks. Es et al. propose RAGAS, a reference-free evaluation library measuring faithfulness, answer relevancy, context precision, and context recall using LLM-as-judge scoring—the framework adopted in this study. Saad-Falcon et al. introduce ARES, which fine-tunes lightweight LM judges on synthetic training data for automated pipeline assessment. In addition to research-oriented frameworks such as RAGAS and ARES, practitioner-oriented tooling such as DeepEval supports end-to-end and component-level RAG evaluation with metrics for answer relevancy, faithfulness, contextual relevancy, precision, and recall. More broadly, the use of LLMs as evaluators has been studied in general NLG and LLM benchmarking settings through frameworks such as G-Eval, JudgeLM, and Prometheus, while recent survey work highlights both the practical value of LLM-as-a-judge systems and their reliability challenges. Lima et al. provide a taxonomic framework for synthetic benchmark generation in domain-specific RAG, demonstrating that dataset diversity and generation strategy substantially affect evaluation validity—a finding that directly motivates the persona-driven, quality-filtered protocol used in our evaluation dataset construction.

LLMs and RAG for ESG Applications

The application of LLMs to ESG analysis has attracted growing research attention across extraction, generation, and benchmarking tasks. ESGReveal applies RAG with GPT-4 to extract structured ESG data from 166 Hong Kong company reports, demonstrating strong retrieval-augmented extraction performance but evaluating only a single proprietary model. Climate Finance Bench benchmarks RAG pipelines over corporate climate disclosure PDFs with expert-annotated QA pairs, finding that even the strongest proprietary system achieves only 62% accuracy—highlighting task difficulty and leaving open-source models entirely unevaluated.

On the open-source side, SusGen-GPT fine-tunes 7–8B open-source LLMs on a multi-task ESG and financial corpus, showing that small open-source models can approach proprietary performance on sustainability report generation, but without evaluating them within a RAG pipeline. Birti et al. optimize Llama and Gemma models for ESG activity detection and EU taxonomy classification, confirming competitive open-source performance on classification tasks, again without a RAG evaluation setting.

Benchmarks like ESGenius and MMESGBench demonstrate that RAG significantly boosts LLM performance on ESG tasks, especially for smaller models, while multimodal approaches outperform text-only systems on visually grounded disclosures. Fine-tuning datasets such as ESG-CID enable domain-specific retrieval optimization. Practical tools like ESG-Consultant show promise in compliance support, while ESGLens extends ESG-focused RAG toward interactive report analysis with source traceability and score prediction. Studies in low-resource languages—such as Turkish ESG report analysis—reveal that traditional IR methods like BM25 can outperform transformer-based retrievers when paired with proprietary generators.

Research Gap

Despite these advances, there remains limited work comparing multiple open-source LLMs as generators within a shared ESG RAG pipeline under controlled retrieval, prompting, and evaluation conditions. Existing work either benchmarks ESG knowledge more broadly with RAG as one condition rather than as a controlled cross-model pipeline study, introduces ESG QA benchmarks or domain resources without a shared open-source generator comparison over one pipeline configuration, or presents ESG-focused RAG systems without systematic cross-family generator evaluation. This gap makes it difficult for organizations to make evidence-based decisions about open-source model selection for ESG applications under practical local-deployment constraints.

ESG Reports: Structure and Data Extraction Challenges

Key Structural Elements: ESG reports typically include executive summaries with CEO messages; company profiles and ESG strategy alignment; governance structures and risk management frameworks; materiality assessments identifying priority topics; environmental performance data (emissions, resource use, climate targets); social performance metrics (workforce diversity, human rights, community impact); governance disclosures (board composition, executive compensation tied to ESG); quantitative KPIs with benchmarking; framework alignment tables; and third-party assurance statements.

Data Presentation Formats: ESG reports employ diverse layouts including structured tables for KPI comparisons and framework mappings, infographics and visual narratives for stakeholder engagement, interactive dashboards in digital formats, materiality matrices plotting stakeholder concerns against business impact, charts and graphs for trend visualization, and geographic maps showing operational impacts.

Data Extraction Challenges: Extracting ESG KPIs from these varied formats presents significant automated processing challenges. Key difficulties include unstructured narrative text with non-standardized phrasing, multi-modal content combining text and visuals that resist traditional parsing methods, inconsistent table formatting across companies and sectors, visual data encoding through charts and color-coding, and variable language expression where identical metrics may be described differently (e.g., ”CO2 footprint reduced by 15%” versus ”Scope 1 emissions fell by 15%”).

Validity of the Synthetic Evaluation Protocol

A legitimate concern with synthetic evaluation datasets is whether machine-generated QA pairs can accurately reflect real-world RAG performance. In our protocol, every question and reference answer is derived solely from the real 498-report ESG corpus, and each retained QA pair records its originating document source. This keeps the benchmark grounded in actual disclosures and preserves document-level provenance for later audit and retrieval analysis.

The protocol also applies simple but explicit controls to reduce degenerate samples. Source chunks shorter than 50 characters are discarded before generation, and generated QA pairs are retained only when both the question and the reference answer exceed 10 characters. Combined with persona rotation across the Environmental, Social, and Governance pillars, these design choices are intended to produce a benchmark that captures persona-guided ESG information needs while maintaining broad topical coverage.

At the same time, the benchmark should be understood as a custom RAGAS-inspired synthetic resource rather than a direct implementation of the full RAGAS testset-generation pipeline. The dataset was generated with qwen3:4b-instruct; one of the evaluated models shares this generator family, and the same model family also serves as the RAGAS judge. We therefore treat the benchmark as a practical comparative instrument within the scope of this study and explicitly acknowledge the resulting self-enhancement risk in Section V.

Results: Open-Source LLM Performance Analysis in RAG Application for ESG Domain

This section presents the evaluation results of seven open-source large language models on our curated ESG dataset, using the methodology described in the previous section. Our evaluation includes models from different families and parameter sizes: glm-4.7-flash (30B MoE, q4_K_M), nemotron-3-nano:4b (4B), qwen3:4b-instruct (4B), gemma3:4b (4B), gemma4:e4b (8B, 4.5B effective), gemma4:e2b (2B, 2.3B effective), and ministral-3:8b (8B). This diverse model selection enables systematic analysis of performance characteristics across different architectures and sizes in the open-source ecosystem. The evaluation encompasses both retrieval and generation performance across environmental, social, and governance domains. To ensure consistency across all experiments, we use qwen3-embedding:4b for both dataset generation and RAG evaluation processes.

Retrieval Performance Analysis

Retrieval performance is strong but no longer perfect once judged with the RAGAS LLM-based metrics. Context relevance reaches 0.965–0.985 across all models, indicating the top-1 retrieved chunk is almost always topically aligned with the query. LLM-judged context precision with reference is also high (0.830–0.878), confirming that the retrieved chunk usually contains the information needed to derive the reference answer. Context precision and context recall sit at 0.783–0.805 and 0.578–0.605 respectively.

Generation Performance Analysis

Generator performance reveals substantial differences between models, particularly in faithfulness. Faithfulness shows the widest spread, with glm-4.7-flash:q4_K_M leading (0.822), followed by gemma4:e4b (0.796), gemma4:e2b (0.784), gemma3:4b (0.776), qwen3:4b-instruct (0.719), nemotron-3-nano:4b (0.625), and ministral-3:8b (0.607). The 0.215 spread between best and worst on this metric is the dominant generation-quality differentiator. Notably, both Gemma 4 models outperform gemma3:4b on faithfulness, with gemma4:e4b (0.796) ranking second overall, despite having lower retrieval-side scores. Since all seven models receive the same anchoring system prompt and the same retrieved context (Section III-E3), this spread is consistent with model-level differences in how strictly each generator follows the “answer from documents only” instruction, though some portion of the variation may also reflect unnormalized default decoding settings in Step 2.

Answer relevancy shows a wider spread when Gemma 4 models are included (0.760–0.881). The Gemma 4 models score notably lower on this metric (gemma4:e4b 0.762, gemma4:e2b 0.760), while the remaining five models cluster tightly (0.818–0.881) with ministral-3:8b first (0.881), followed by gemma3:4b (0.877), qwen3:4b-instruct (0.863), nemotron-3-nano:4b (0.851), and glm-4.7-flash:q4_K_M (0.818). The lower AR scores for Gemma 4 models suggest their responses may be less directly aligned with the user query, possibly due to differences in instruction-following behavior or decoding defaults.

Factual Correctness and Domain-Specific Performance

Factual correctness scores range from 0.387 to 0.449 across evaluated models. Qwen3:4b-instruct leads (0.449), followed by gemma3:4b (0.427), gemma4:e2b (0.423), ministral-3:8b (0.405), gemma4:e4b (0.405), nemotron-3-nano:4b (0.402), and glm-4.7-flash:q4_K_M (0.387). The 0.062 spread is much narrower than the faithfulness spread, suggesting all seven models face similar headwinds when extracting specific ESG facts from a single retrieved chunk. Even the top performer leaves substantial headroom for improvement.

Model-Specific Insights

glm-4.7-flash:q4_K_M leads faithfulness (0.822) and ties for the highest LLM-judged context precision with reference (0.878). Its trade-off is the lowest answer relevancy (0.818) and lowest factual correctness (0.387) of the seven, plausibly influenced by 4-bit quantization. Within this evaluation setting, it appears best suited to faithfulness-critical applications where staying anchored to retrieved evidence outweighs phrasing fluency.

nemotron-3-nano:4b ties for the highest LLMCP(Ref) (0.878) and ranks mid-pack on AR (0.851) and FC (0.402), but posts the lowest faithfulness (0.625) of the set. Within this evaluation setting, it appears to be a solid generalist for retrieval-side use cases, but weaker when strict context grounding is required.

gemma3:4b is the most balanced model: second on faithfulness (0.776), second on answer relevancy (0.877), and second on factual correctness (0.427) — no clear weakness on any generation metric. Within this evaluation setting, it is a reasonable default when the deployment requirements are not yet known.

Implications for ESG RAG Applications

Within the reported ESG RAG evaluation setting, glm-4.7-flash:q4_K_M is the strongest choice for faithfulness-critical tasks (0.822), where the system must stay anchored to the retrieved evidence rather than draw on parametric knowledge. For applications prioritizing factual accuracy, qwen3:4b-instruct offers the highest factual correctness (0.449) and competitive answer relevancy (0.863), making it well suited for compliance-focused ESG systems — subject to the self-enhancement caveat in Section V. For applications prioritizing query-response alignment, ministral-3:8b delivers the highest answer relevancy (0.881), making it suitable for user-facing ESG information systems. Gemma3:4b offers the most balanced profile across the three generation metrics in this evaluation and is a reasonable default when deployment requirements are not yet known. Among the Gemma 4 family, gemma4:e4b (8B) is a strong faithfulness-oriented alternative (0.796) with the edge-deployable gemma4:e2b (2B) achieving surprisingly competitive factual correctness (0.423) at minimal computational cost, making it suited for resource-constrained settings.

Limitations

Synthetic evaluation set: The 100 QA pairs used for evaluation were generated synthetically by the same LLM family used for dataset construction (qwen3:4b-instruct). Real user queries may differ substantially in phrasing, complexity, and information needs, which could affect the observed performance rankings.

LLM-as-judge variability: RAGAS metrics rely on LLM-based scoring. In our setup, scoring is mediated by the RAGAS LLM wrapper rather than a raw direct call to the judge model, which applies near-deterministic single-completion behavior. Even so, judge-model choice and LLM-as-judge effects may still introduce uncertainty not captured by point estimates alone.

Self-enhancement risk: The dataset generator, one of the evaluated models, and the RAGAS judge are all instances of qwen3:4b-instruct. Although the generator/judge call paths are separate from inference, qwen3 scores on faithfulness, answer relevancy, and factual correctness may be inflated relative to other models due to stylistic and lexical alignment between generation, response, and scoring. Cross-validation with an independent judge model is left to future work.

Conclusion and Future Work

This study presents an empirical evaluation framework for open-source Large Language Models (LLMs) in ESG (Environmental, Social, and Governance) KPI extraction using Retrieval-Augmented Generation (RAG). Our analysis evaluates seven open-source models ranging from 2B to 30B parameters on a dataset of 498 ESG documents, revealing marked differences in performance characteristics across model architectures and sizes.

Strategically, this evaluation framework offers ESG practitioners directional guidance for open-source model selection based on their specific requirements. Under the reported configuration, organizations can use these results as directional guidance: glm-4.7-flash:q4_K_M for faithfulness-critical applications, qwen3:4b-instruct for factual-accuracy-critical tasks (subject to the self-enhancement caveat), ministral-3:8b for query-focused applications, gemma4:e4b as a faithfulness-oriented alternative, gemma4:e2b for resource-constrained deployments, and gemma3:4b as a balanced default. The narrow factual-correctness band across all seven models indicates that domain-specific fine-tuning and human-in-the-loop validation remain valuable directions regardless of generator choice.

Future Work

Extended Open-Source Model Benchmarking: We plan to expand evaluation to include additional open-source models such as Llama 3, Mixtral, and emerging models from different parameter ranges (1B-70B). This broader comparison will provide deeper insights into the evolving landscape of open-source LLM capabilities for ESG applications.

Domain-Specific Fine-Tuning: Given the improved but still moderate factual correctness scores across all models, future work will investigate domain-specific fine-tuning approaches for ESG applications. This includes training models on specialized ESG datasets and developing adaptation techniques to further enhance factual accuracy in sustainability reporting contexts, building on the promising progress demonstrated in this evaluation.

Ablation Studies and Baselines: This study fixed chunk size (1000 characters), overlap (200 characters), and top-k (1) without ablating their individual effects. Future work should vary these hyperparameters systematically and include a non-RAG baseline (direct LLM inference without retrieval) to quantify the retrieval component’s contribution to overall performance.