Editor’s introduction
The study introduces a perspective-conditioned retrieval-augmented generation (RAG) framework to address the lack of structured pathways in translating LCA environmental hotspots into actionable strategies. By generating micro-queries across academic, business, public, and EU funding datasets, the method captures diverse evidence patterns and produces interpretative insights grounded in multiple domains. The framework then applies a neutral synthesis step that consolidates these findings without further retrieval, reducing hallucination risks while preserving cross-domain context. This process is demonstrated in a hydrogen-enabled diesel reduction case at an Italian apple production facility. The results show how AI-assisted interpretation can support implementation-oriented decision-making in LCA studies. A key boundary of the evidence is the reliance on publicly available datasets; private data integration raises concerns about data exposure and confidentiality. Such limitations are mitigated by local model deployment, though this increases computational demands compared to cloud-based solutions.
Introduction
The concept of sustainability is heavily related to reducing environmental impacts, which requires assessing them in products and services over the life cycle precisely. In this context, life cycle assessment (LCA) is the prevalent tool for systematic investigation and evaluation of industrial systems. Since the early stages of its creation, the aim of LCA was to provide the appropriate insights to facilitate process selection, design, and optimization. More specifically, the last phase of the LCA — the interpretation phase — blends the technical analysis with the real world in terms of choices and actions needed toward achieving the suggested outcomes. In this context, artificial intelligence (AI) is expected to help bridge the gap between academic research and industrial practice. For example, decarbonizing the energy sector is further affected by existing social mechanisms with people’s support or resistance, playing a crucial role in the change of speed and type; consequently, these mechanisms should be considered when addressing hotspots in the LCAs of such systems.
With the advent of generative AI, we have recently witnessed an increasing number of studies exploring LCA automation using AI methods in the various LCA phases. AI applications in this field include the development of AI-driven software for automated life cycle inventory construction for buildings, and the use of ensemble AI models for predicting sustainability performance in vehicles parts production. Additionally, diverse AI methods were also applied for predicting the footprint of agriculture products in soybean cultivation. AI-based automation has been reported as very promising in terms of time and resource efficiency, despite lacking scientific quality assessment and norms for use. Interestingly, the literature indicates the dominance of supervised machine learning (ML) algorithms mainly for data collection and inventory analysis. Notwithstanding these efforts, AI-in-LCA technologies often lack real-world validation and standardization in sectors like building retrofitting.
More recently, the rapidly developing AI landscape offers further opportunities for automating LCA based on large language models (LLMs) and generative algorithms, which we further explore in this work. These LLMs are now underpinned by algorithms for optimizing performance and reducing hallucination, i.e., irrational and uncontrolled behaviours of LLMs, which in the context of LCA could lead to wrong advice. These LLMs improvements include methods for optimising training data, and to support the fine-tuning of the LLMs, for example by re-training them based on proprietary data. For example, previous studies have investigated medical fine-tuned LLMs, showing improved performance in question-answer (QA)-based prompts. Hallucination causes can be extrinsic, i.e., output not aligned with the training data, and intrinsic, i.e., model’s failure to understand the prompt given. Regardless of its nature, hallucination can hamper the successful use of LLMs in science and engineering, and recent works investigated extrinsic hallucinations and refusal rates of different models.
The retrieval-augmented generation (RAG) framework was recently introduced to tackle hallucinations and enhance language generation tasks. Relying on vectorised text chunks and prompt-matching retrieval, RAG can provide very specific insights or information regarding the user prompt. Additionally, it offers LLM modularity and database scalability in a dynamic way. RAG was applied across different domains and sectors, mostly on businesses relying on information extraction from their private data for operational optimisation. Previous applications focused on the cybersecurity and governance domains with knowledge transfer, the healthcare sector, and in the educational domain. In the context of LCA, LLMs and RAG were applied to LCA optimization. For example, RAG was also used for retrieving and analysing LCA users’ QAs that can effectively provide relevant context for the reporting stage. Further, ChatGPT was also applied for generating more understandable design knowledge from LCA reports with different categories of prompts.
Contextual anchoring (5.1)
The first step of the workflow establishes the scenario anchor that connects the conventional LCA phases with the AI-assisted pipeline. This step transfers the core outputs of the assessment into a structured context that constrains the subsequent retrieval and reasoning process. More precisely, the anchor includes the functional unit, target year, environmental hotspots, transition target, context boundaries, and decision objective, extracted from the previous LCA phases. Apart from the standard LCA terms, we also refer to some additional ones for describing the required information derived from the four phases alongside any additional inputs for the next steps. For example, the transition target refers to the goal set by the decision-maker based on the technical analysis (e.g., 50% diesel reduction). Further, the decision objectives describe the desired characteristics of a meaningful and actionable outcome from the AI-assisted implementation pathway. Additionally, the anchor already encapsulates the decision scenario under examination considering that the LCA practitioner has identified a suitable systemic change and wants to dive deeper into the pathways and barriers towards the implementation.
The purpose of the anchor is to ensure that all generated outputs remain aligned with the original LCA system and implementation objective. Instead of allowing unconstrained prompting, the framework defines a fixed scenario that guides the retrieval and interpretation steps. Consequently, the LLM operates as a context-bounded interpretation assistant rather than a general-purpose conversational model. This approach improves methodological consistency and reduces the risk of irrelevant or ungrounded outputs. The same anchor remains fixed across all perspectives, allowing controlled comparison between academic, business, public, and EU-funding initiatives evidence during the subsequent retrieval and synthesis steps.
Micro-prompt design
The system prompts provide the clear directions needed for the LLM agents with perspective-specific guidelines. A shared core defines the model’s role as an LCA interpretation and strategic decision-support assistant. This core instruction establishes boundaries for evidence use, limits the invention of facts not present in retrieved context, requires explicit citation of supporting text units, and mandates separation between grounded statements and general knowledge. The core prompt also specifies that responses must directly address the micro-query within the constraints of the predefined scenario anchor (5.1). The academic perspective emphasises conditional feasibility, system constraints, and uncertainty, while the business perspective prioritises deployment models and market readiness. On the other hand, the public discourse perspective foregrounds perception, legitimacy, and skepticism. Finally, the EU policy perspective focuses on funding instruments, pilot projects, and institutional acceleration mechanisms (Section 4 SI).
The structured outputs generated across all perspective-conditioned micro-prompts — including responses, quality flags, confidence scores, and evidence citations — are collectively stored in a session ledger. This ledger serves as the sole input to the subsequent synthesis step, ensuring that no new retrieved context is introduced during final integration. Considering the multi-perspective structure of the pipeline alongside the diversity in the collected datasets, we construct eight prompts, two per perspective. Further, our paired prompts aim to check the content availability in each dataset and shed light into online information. This approach, which serves as a proof-of-concept for the RAG-assisted LCA potential, presents significant scalability based on the provided data. The number of prompts can vary according to the user’s needs and analysis depth. However, it is important to also consider the LLM’s context window which will be used for the subsequent synthesis step where it must fit all the micro-prompt outputs as the final input for synthesis.
Results and Discussion
The findings are presented following the sequential logic of the proposed framework. First, we examine the perspective-conditioned outputs generated during the micro-prompt stage, summarising the principal evidence patterns and interpretative insights emerging from the academic, business, public, and EU funding perspectives. Subsequently, the ledger-constrained outputs were transferred to the neutral synthesis stage, where a dedicated non-retrieval LLM consolidated the previously grounded evidence under a separate synthesis prompt, without introducing additional retrieved context. This process produced an extended implementation-oriented synthesis report capturing transition pathways, enabling mechanisms, critical constraints, and cross-perspective tensions relevant to the case study. The key findings are summarised below, while the full synthesis output is included in the SI (Section 5).
Public: legitimacy, safety, and deployment risk
Public discourse frames hydrogen adoption in agriculture as a potentially useful but contested decarbonisation pathway. While hydrogen is frequently promoted by policymakers and industry actors as a “green” transition technology, its credibility is often questioned due to concerns about greenwashing and the expectation that production, storage, and transport costs will remain high in the medium term. In this context, the suitability of hydrogen-based solutions is perceived to depend strongly on the provenance of hydrogen — specifically whether it is produced using renewable electricity — and on transparent lifecycle accounting rather than branding narratives alone. Safety and infrastructure readiness emerge as dominant perceived risks, particularly regarding hydrogen storage, transport, and regulatory approval processes. Public discourse frequently highlights the need for specialised infrastructure, safety controls, and permitting procedures, while also raising concerns on the uncertainty about the feasibility of large-scale deployment in sectors that do not already operate hydrogen supply chains. At the same time, some niche applications — such as hydrogen-powered heavy machinery — are acknowledged as potentially practical where operational factors such as refueling time, energy density, or grid limitations make electrification difficult. Overall, the public perspective suggests that hydrogen integration into agricultural systems will require demonstrable safety, credible renewable sourcing, and clear operational advantages to overcome skepticism and support its role in reducing diesel-related emissions identified in the LCA hotspot analysis.
Business: business model integration and value chain structuring
From the industry perspective, hydrogen adoption in agricultural production systems is primarily framed as a procurement and infrastructure integration challenge rather than a purely technological substitution. Commercially viable models already emerging in the hydrogen economy include on-site hydrogen generation through leasing or managed-service models, decentralised small-scale production near industrial users, mobile or autonomous refueling infrastructure, and conventional procurement from large-scale hydrogen supply projects. These models emphasise reducing upfront capital requirements and enabling flexible supply arrangements, often supported by procurement marketplaces or contractor platforms that simplify supplier discovery and tendering processes. Such service-oriented deployment strategies may lower the barriers for facilities seeking to reduce diesel consumption in mobile machinery, internal logistics, or transport operations identified as LCA hotspots.
However, direct evidence of hydrogen integration within agricultural input supply chains — particularly fertiliser production or farm-level energy systems — remains limited in the retrieved business corpus, a finding that was corroborated by the sparse evidence density flag returned for the corresponding micro-prompt; the only such instance across all eight prompts. This diagnostic signal suggests that hydrogen’s role in agri-food input supply chains remains an underrepresented topic in current business discourse, pointing to a meaningful gap for future data collection and query refinement. As a result, near-term integration pathways appear more mature in logistics and energy supply infrastructure than in upstream agri-food inputs, suggesting that early hydrogen deployment may occur through service-based fuel supply and mobility solutions rather than full value-chain transformation.
Perspective convergence and uncertainties
Academic evidence highlights that hydrogen substitution potential is conditioned by supply-chain maturity, electricity sourcing for electrolysis, and efficiency losses associated with hydrogen production, storage, and transport. From a business perspective, emerging deployment models, including on-site hydrogen generation services, decentralised production systems, and hydrogen procurement platforms, indicate that commercially viable supply pathways are developing, particularly where capital risk can be reduced through service-based arrangements. Public discourse introduces additional constraints related to safety perceptions, infrastructure readiness, and skepticism toward green branding, emphasising the importance of transparent lifecycle performance and credible renewable sourcing. At the institutional level, EU innovation programs and hydrogen valley initiatives demonstrate substantial momentum in mobility and infrastructure deployment, although agriculture-specific hydrogen pilots remain limited in the retrieved evidence base. Taken together, the perspectives converge on a staged transition strategy combining decentralised or on-site hydrogen production, hydrogen-enabled logistics and transport applications, and participation in regional hydrogen ecosystems supported by EU funding and regulatory frameworks. However, the synthesis also highlights key uncertainties related to lifecycle emissions, economic viability, and the lack of sector-specific LCA data for agricultural hydrogen applications, indicating that pilot-based deployment and monitoring will be essential to validate the feasibility of reaching the 2030 diesel reduction target.
Perspective-based retrieval supports interpretative rigor in LCA by transforming the traditionally “black-box” interpretation phase into a novel implementation-oriented analytical layer that integrates technical, market, policy, and societal evidence. The data decoupling into distinct academic, industry, public, and policy lenses ensures that the translation of quantified hotspots, such as the diesel emissions identified in the Italian apple production, is grounded in a balanced synthesis of technical feasibility, market readiness, and societal legitimacy. This modular architecture is designed to structurally reduce hallucination risk by enforcing constrained retrieval from heterogeneous corpora and utilising a ledger-based system that limits the introduction of ungrounded claims during final synthesis. Ultimately, this approach allows us to move beyond simple impact assessment toward a disciplined extension of LCA established phases, providing decision-makers with traceable 2030 decarbonisation pathways that account for real-world constraints like infrastructure gaps, funding accelerators, and stakeholder skepticism.
Conclusions
Here we propose an RAG-based approach to enhance the interpretation phase of LCA, which provides valuable insights regarding environmental improvement opportunities and their adoption at scale. The proposed analytical pipeline, framed as a web-based RAG application, demonstrates the feasibility of an AI-assisted implementation-oriented extension to conventional LCA interpretation. While presented here as a proof-of-concept, future expansion through broader datasets, benchmarking, and methodological validation could further support LCA practice. Through this perspective-conditioned architecture, the framework effectively translates quantified LCA hotspots — such as the high diesel emissions identified in Italian apple production — into actionable, multi-dimensional strategic roadmaps. The study reveals that while technical feasibility for green hydrogen substitution is grounded in academic literature, its successful deployment is contingent upon navigating the complexities of public legitimacy, industry-service models, and EU-level funding accelerators. Ultimately, the integration of structured retrieval with constrained synthesis provides an auditable, evidence-based foundation for decision-makers to move beyond impact assessment toward tangible decarbonization.
Future research will focus on enhancing the system’s data scalability by integrating a broader array of document types, including ISO 14040/44 standards, national and EU legislation, and corporate sustainability reports. A critical next step involves the deployment of the application on a local server using local LLMs (e.g., Llama-3 or Mistral) to ensure that sensitive or proprietary corporate data are never exposed via external APIs. This local-first approach will facilitate the secure ingestion of private data and internal surveys, allowing for highly tailored organizational roadmaps.
Limitations
The limitations of this approach mainly relate to potential scalability through private data integration into the vector databases. In such cases, the exposure of sensitive information to external LLM servers via APIs must be carefully considered with respect to privacy, confidentiality, and data ownership. This limitation can be mitigated through in-house deployment of the pipeline using locally hosted models; however, such configurations significantly increase computational requirements for inference compared to cloud-based deployment.
Further, with respect to the current datasets, the proposed pipeline offers an evidence-grounded retrieval mechanism that can remain relatively stable across deployments, but the non-deterministic nature of LLM inference means that identical prompts may not always produce exactly the same responses.
An additional methodological limitation concerns the retrieval quality diagnostics (e.g., relevance, coverage, evidence density, and confidence), which are generated by the LLM itself as structured interpretative signals rather than independently computed validation metrics. These indicators are intended to enhance transparency regarding the model’s perceived grounding strength and evidence use, but they should not be interpreted as objective performance benchmarks, as they remain sensitive to model stochasticity, prompt phrasing, and contextual interpretation. Future work could replace or complement these qualitative diagnostics with deterministic retrieval evaluation metrics and benchmark-based validation protocols.
In comparison to highly specific technical queries commonly addressed by conventional RAG systems, this framework extends retrieval-augmented reasoning into broader and more contested domains of socio-technical knowledge acquisition. As such, increasing domain complexity also increases the need for careful expert oversight when interpreting outputs. For example, if the LLM is tasked with analysing highly specific methodological details from technical studies or proprietary engineering documentation, substantially closer validation of the model’s reasoning and interpretation would be required before translating such outputs into actionable decisions.


