1 Introduction

Digital technologies are characterized by their innovative nature. These technologies have the capacity to rapidly evolve and adapt to different sectors as their common ground, thereby giving rise to new business models [1,2,3]. In particular, Artificial Intelligence (AI) and digital technologies surrounding it, such as big data, blockchain, cloud, virtual and augmented reality, etc., are revolutionizing our society, propelling its transformation in the current age of the so-called Fourth Industrial Revolution [4,5,6]. In essence, these technologies are expected to consolidate as a societal and economic lever for transformation at global scale.

AI has currently reached a sufficient level of maturity both as an umbrella scientific discipline and as a technology, having spread from laboratories to the entire society. Industry and government administrations make an increasingly extended use of intelligent and digital technologies in their daily projects and endeavors [7,8,9]. The economic impact of AI has grown considerably in the last years, and recent studies predict a 15-billion economic impact by year 2030 [10]. For these reasons, AI could –and must– further the attainment of the 17 Sustainable Development Goals (SDGs) established in the United Nations’ Agenda 2030, becoming a facilitator to achieve the 169 targets underlying such goals.

In recent years, several studies have arisen to examine the challenges, benefits and potential impacts of the AI [11,12,13,14] and related technologies (e.g. blockchain [15, 16]) as catalysts for the whole compendium of SDGs. Aspects including the impact of AI in sustainability case studies [11], regulatory approaches to minimize the negative impact of AI on SDGs [12], systematically assessing the current effects of AI in each of the SDG targets [13], or awareness-raising on pushing technological innovations ahead [14], have been discussed. Meanwhile, based on an in-depth literature review and guided by the insights provided in the aforesaid studies, our focus consists in uncovering both the road travelled so far and the pending road ahead in leveraging AI technologies for achieving the SDGs by 2030. Specifically, our double aim is: (i) to identify (predicated on SWOT analyses) the most remarkable opportunities and challenges to advance towards the fulfillment of the SDGs in all their dimensions along the next decade, with the aid and recent progress made across the AI landscape; and (ii) to propose a “decade roadmap” of future actions and guidelines to consider for maximizing the attainment of this ambitious, yet much needed global agenda.

Accordingly, this paper provides a panoramic view and a comprehensive reflection about the double-sided role that the AI and digital technologies closely tied to it have played so far, and could potentially play, in achieving the SDGs by 2030. The strengths and prospects to embrace in these technologies are highlighted on the one hand, along with the difficulties and potential threats they can also pose on the other hand. Following a substantial revision of related literature lying at the intersection between AI and the SDGs, the study provides a fourfold contribution:

  • A synthesis summary and classification of surveyed literature where AI applications in the SDGs have been investigated, distinguishing between scientific publications and dissemination works, and identifying the target SDG each study focuses on. We provide all the references studied in a spreadsheet format as supplementary material.Footnote 1

  • As a result of the reviewed literature, a comprehensive SWOT analysis is undertaken for each of the SDGs by identifying the strengths, weaknesses, opportunities and threats that AI can bring in each goal.

  • Based on the SWOT analyses, a snapshot analysis regarding six dimensions and perspectives of human needs is provided on the main prospects and recommendations for progress in attaining the SDGs along the 2020-30 decade.

  • Lastly, a broader discussion is made with a focus on upcoming developments. Specifically, a roadmap of five key elements or priorities to consider along the next decade is proposed, providing insights and underlining lessons learnt to maximize the positive impact that AI could play to achieve the SDGs by 2030.

The paper is organized as follows. Section 2 introduces the 17 SDGs and categorizes them into three dimensions –economic, social and environmental– and six perspectives of human needs, inspired by [14]. Section 3 provides a brief tour through AI, its disciplines and related digital technologies, followed by a brief description of the literature survey conducted and an overview of various general studies focused on using AI to address the SDGs as a whole. In Section 4, a SWOT analysis on the use of AI and digital technologies for achieving the SDGs is taken as the input for introducing a snapshot analysis of prospects and recommended courses of action for this end, identifying challenges and areas for further action in every dimension and perspective of sustainability. Section 5 discusses a series of key elements for consolidating an use of AI aligned with the SDGs over the course of the coming years, and Section 6 concludes the paper.

2 Sustainable development goals: six perspectives of human needs

This section introduces the SDGs outlining their overall mission, and provides a categorization of the goals in accordance with six dimensions or perspectives of human needs.

The 17 Sustainable Development Goals (SDGs) were approved by member countries of the United Nations as the building blocks of the 2030 Agenda for sustainable development.Footnote 2 They constitute a global blueprint agenda and instrument for peace and prosperity for people and the planet, considering aspects like eradicating poverty and hunger, protecting the environment and its resources, reducing vulnerabilities and combating inequalities, amongst others. The SDGs are envisaged as a universal instrument to support sustainable development in all countries regardless of their actual development status. The nature and fundamental rationale behind each of the 17 goals is summarized in Table 1.

Table 1 The 17 Sustainable Development Goals (SDGs) Source [17]

The SDGs have a clearly defined focus on different aspects of economy, society and the environment. Accordingly, several categorizations that arose across disciplines have been established in recent literature to classify them into several dimensions, such as [13, 14]. In this study we build upon the two-level categorization proposed by Wu et al. in [14]. The first level distinguishes between three major dimensions or areas of human needs to be satisfied for achieving sustainability: economic, social and environmental; each of which is decomposed into two perspectives, as shown in Fig. 1 and described below:

  • Economic dimension: It focuses on sustainable development at an economic level and considering the prosperity and welfare of the individuals. This dimension is subdivided into two perspectives: (i) life, related to poverty reduction, food sustenance and health; (ii) economic and technological development, concerned with economic growth, sustainable industrialization and innovation.

  • Social dimension: It concentrates on sustainable development in terms of equality, welfare and prosperity of communities. This dimension is subdivided into two perspectives: (i) social development, related to sustainable communities, peace, justice and global partnerships; (ii) equality in access to education and employment, gender, and other factors.

  • Environmental dimension: It pertains the preservation of the environment and the management of its key resources to safeguard sustainability. This dimension is subdivided into two perspectives: (i) resources, including water, clean energy, responsible production and consumption; (ii) natural environment, centered on climate, land and underwater ecosystems.

This classification is adopted in the analyses presented in Section 4 of this paper. Albeit this grouping approach for the SDGs is largely inspired by the work in [14], it is worth noting that the scope of the SDG 14, life below water, originally classified under the resources perspective in the aforesaid work, has been relocated to the natural environment perspective of the environmental dimension in our study.

Fig. 1
figure 1

Classification of the SDGs into three dimensions and six perspectives of human needs

3 Artificial intelligence and emerging technologies

The development and implementation of new technologies usually raises certain fear and aversion amongst people against them. This sense of antagonism is typically motivated by collective lack of knowledge or familiarity towards the features and potential benefits of these technologies. AI in particular currently originates some degree of hostility in certain communities, owing to the feeling that its extensive use may trigger unknown changes in human daily lives. Nonetheless, the use of AI is enabling the automation, traceability and optimization of several human activities, many of which would facilitate the attaining of the SDG.

Accordingly, in this section we aim at presenting an overview of the AI landscape and showing the potential benefits of AI to help achieving the SDGs. We firstly provide a definition of AI and its core disciplines in Section 3.1, followed by a snapshot of its related digital technologies in Section 3.2. A summary of a literature review conducted on the application of AI in tasks concerning the SGDs, along with a general view of how IA may contribute to reach the SGDs, are then provided in Section 3.3.

3.1 A bird’s-eye view on artificial intelligence

AI was coined and defined by Jonh McCarthy in [18] as the science and engineering of making machines that behave in ways that would be called intelligent if a human were behaving so. This connection among human and artificial intelligence is also expounded by Tegmark in [19], who asserts that AI is a non-biological intelligence. Thus, it is firstly necessary to know what is intelligence, which can be defined as the ability to accomplish complex goals [19], more concretely based on the available environment information. Hence, AI aims at accomplishing complex goals using the input data as source of information describing the environment. Therefore, an AI system can be formally defined as “software (and possibly also hardware) systems designed by humans that, given a complex goal, act in the physical or digital dimension by perceiving their environment through data acquisition, interpreting the collected structured or unstructured data, reasoning on the knowledge, or processing the information derived from data to ultimately decide the best course(s) of action to achieve a given goal. AI systems can either use symbolic rules or learn a numerical model, and they can also adapt their behaviour by analysing how the environment is affected by their previous actions” [20].

According to the previous definition, illustrated by Fig. 2, the main elements of an AI system are:

  • Computational system. A software or hardware system with the capacity of processing data through algorithms.

  • Data. The representation of the environment, and an indispensable element for AI algorithms that learn the optimal way to reach their goals. It is noteworthy that in accordance with the AI definition expounded in [20], the term “percepts” is used in Fig. 2 when referring to input data perceived from the environment.

  • Goal. It represents the task to accomplish by the AI system, guided by the input data.

Fig. 2
figure 2

An AI system collects data from its environment and processes it to learn the way to achieve the goal for it was designed

The end goal implied by the above AI definition is making intelligent systems whose behavior resembles human intelligence behaviour, in line with the original motivations behind the Turing test introduced in the 1950 [21]. This kind of intelligent behaviour requires that a system meets a number of skills, most of which match some of the currently established areas within AI [22], namely:

  • Knowledge representation. It allows systems to represent the input data in a specific format that can be stored and processed.

  • Natural language processing. It enables systems to understand and generate human language.

  • Computer vision. It allows to process visual input data, and by extension to perceive physical objects.

  • Machine learning. It provides the capacity to extrapolate patterns, to adapt to new scenarios, and to learn from examples.

  • Automated reasoning. It enables the use of information and knowledge stored to answer questions or to perform specific actions according to the input data and such information/knowledge stored.

The skills listed above demand in turn the ability of learning some kind of behaviour, in other words, learning how to understand natural language, learning how to perceive objects, learning how to extrapolate patterns, etc. There are two major disciplines in AI that focus on endowing AI systems with the capacity for reasoning and learning:

Reasoning and decision making.:

This group of AI methods allow to perform reasoning processes predicated on input data. The first step in these processes pertains representing the underlying knowledge to the data (knowledge representation), after which the system would be able to reason over that knowledge (knowledge reasoning). Reasoning generally boils down to making inferences through symbolic rules, planning and scheduling activities, searching through a large solution space, optimizing the solution to a problem, or the combination of any of these tasks.

Learning.:

There are problems that cannot be represented as symbolic rules, and they have to be learnt by processing of known (data) examples or observations in order to infer or predict new outcomes associated to unknown observations. For instance, it is not possible to represent with symbolic rules all varieties of human speech in speech processing problems, hence we need to resolve these problems by processing a set of examples –e.g. speech recordings– that allows to generalize and process new ones correctly.

Machine learning [23] encompasses an ample family of techniques that learn a mathematical model by processing data examples for resolving an specific task. Although there are a broad spectrum of machine learning approaches, three main classes of techniques can be distinguished:

  • Supervised learning. The system learns a model based on annotated data or training data. Since data guide the learning process of the algorithm, they must be representative of the task, otherwise the algorithm would not learn adequately how to deal with the task at hand. There are a large number of supervised machine learning algorithms, among which deep learning methods have stood out in recent years, setting the current state of the art in AI trends such as image and video classification and natural language processing.

  • Unsupervised learning. These systems seek patterns by finding similarities on non-annotated data. Examples of unsupervised learning algorithms are: clustering, association rules methods or subgroup discovery methods.

  • Reinforcement learning. These techniques are based on rewarding (positive reinforcement) or punishing (negative reinforcement) the algorithm when it makes a good or bad decision during the learning process. The iterative process of rewarding and punishing allows the algorithm to learn an specific task and to self-adapt to unknown situations.

Besides the above disciplines, it is also imperative to highlight robotics as part of the AI landscape, typically referred to as “the AI in the physical world” [20]. A robot can be described as a machine with the capacity of acting and moving in the physical world, and the necessity of dealing with uncertainty and complexity inherent to it. Therefore, a robot has to perceive, namely acquiring input data to reason, to act according to the input data, and to collaborate with other robots. Self-driving cars [24] are an example of robots, which process input data (traffic signals or other cars on the road) for undertaking the most optimal actions in order to reach a goal, e.g. completing a journey. Figure 3 summarizes the areas of AI in conjunction with robotics as their interface with the physical world.

Fig. 3
figure 3

The AI areas and family methods

The integration of AI in several spheres of our daily lives raises concerns about the motivation behind decisions made by AI algorithms, as well as the consequences and accountability of those decisions and, in essence, the ethical use and implications of AI. These concerns have stimulated the emergence of recent research trends focused on developing responsible and explainable AI [25] and investigating how to address Fairness, Accountability, Transparency and Ethics (FATE) in AI systems. These efforts toward developing AI systems that are fully trusted by people are positioned under the umbrella concept of trustworthy AI [26], which states that trustworthy AI systems must be:

  1. 1.

    Lawful, respecting all applicable laws and regulations.

  2. 2.

    Ethical, respecting ethical principles as: human dignity, individual freedom, democracy, justice, equality, non-discrimination, solidarity and citizen rights.

  3. 3.

    Robust, whereby AI system must work correctly and ensure that they will not provoke unintentional damage.

The development of a trustworthy AI is an stimulating challenge and crucial for enabling AI systems that boost the attainment of the SGDs.

3.2 Integrating artificial intelligence and digital technologies

Although AI systems are able to learn to accomplish tasks guided by input data, they often necessitate the support of other digital technologies for acquiring, storing, computing and transmitting data. Accordingly, below we briefly outline various digital technologies that symbiotically cooperate with AI in many of the real-world application scenarios linked with attaining the SDGs:

  • Internet of Things (IoT). It refers to all interconnected devices able the acquire data and transmit them via Internet [27]. These devices may also conduct some minor data processing operations or tasks.

  • 3D technologies. It refers to the technologies with the ability of precisely representing a physical object as a set of data points, for their computational treatment [28, 29]. Computer vision, augmented reality and virtual reality are examples of 3D technologies.

  • Blockchain. This technology aims at ensuring the immutability of data, as well as tracing the aggregation of new data blocks. Blockchain keeps a timestamp of those aggregation operations, and it defined over a distributed setting [2].

  • 5G communication infrastructure. It refers to the fifth generation of mobile communication technologies, and it stands out for its remarkable capacity to connect millions of devices at a high communication speed, its low latency, low energy consumption and high reliability [30].

  • Big data. It encompasses the set of technologies for processing a high volume and variety of data that are generated and updated at high velocity [31, 32].

  • Digital twin. These technologies are concerned with the representation of a real object with a digital model. This representation requires a real time communication among the physical object and the digital twin in order to ensure a trustworthy digital representation [33].

  • Smart Territories. They are the set of technologies used for urban and rural data management, beyond the scope of smart cities [34, 35].

  • Emerging technologies. They are a set of technologies –e.g. quantum computing and driver-less cars– that have still not reached their maturity but they raise high expectations, therefore they would incur a high transforming potential.

Figure 4 represents the integration of AI and several digital technologies including the ones introduced above. This integration lays down a holistic AI system workflow ranging from the acquisition of data with 3D technologies; to the visualization of the results with augmented reality of virtual reality. The diagram also depicts the need for storing, transmitting and even distributively performing computations upon data. Moreover, the technologies whose combination enables the implementation of digital twins and smart territories systems, are likewise underlined.

Fig. 4
figure 4

Representation of the cooperation among AI and other digital technologies for fostering the achievement of the SGDs

3.3 Trends in the use of AI and digital technologies for the SDGs

There exist a relevant number of publications that integrate AI and other digital technologies for tackling the targets of the SDGs. Accordingly, we have conducted a broad literature review of those publications in order to (i) provide a general picture of how AI and digital technologies can contribute to reach the SDGs, and (ii) highlight promising trends and challenges in using AI for attaining the SDGs, as later described in Section 4.

We organized the literature review in three stages, as depicted in Fig. 5 along with its resulting contributions presented in the remainder of this paper. The first stage consisted in identifying relevant publications related to the application of AI and digital technologies to the SDGs. The second stage involved matching those publications to their target SDG, and the third stage consisted in categorizing those publications into scientific papers and dissemination papers. The result is a review composed of 869 publications, whose references are provided as supplementary material for this study in spreadsheet format.Footnote 3 Figure 6 depicts the number of works surveyed in the literature review, classified by type of publication and target(s) SDG –or underlying target to a goal– addressed.

Fig. 5
figure 5

Stages of the literature review as an input to the contributions of this study

Fig. 6
figure 6

Number of documents reviewed per scientific and dissemination category

In addition to the above 869 publications that put their lens on specific goals or targets within the 17 SDGs, there also exist a number of studies with a broader focus [11,12,13,14,15,16], which provide a more general view of the challenges, implications and benefits of the joint application of AI and digital technologies to the SDG framework as a whole. Given their relevance to the scope of this study, below we succinctly review these works as follows:

Goralski and Tan, 2020 [11].

Their study investigates whether the application of AI based services can accelerate the achievement of the SGDs. The analysis is accompanied by three case studies, namely: (1) smart water management, (2) the use of AI in agriculture and (3) the use of AI in sanitation services as the clean water provision system. As a result, the authors assert that AI can contribute to:

  1. 1.

    Improve the efficiency of industrial processes.

  2. 2.

    Preserve nonrenewable resources.

  3. 3.

    Help disseminate expert knowledge.

  4. 4.

    Reduce the gap among resources and technology.

  5. 5.

    Foster the creation of alliances among governments, the private sector and the society for maximizing global sustainability.

Moreover, they point out that the implementation of AI requires planning and collaboration for harnessing the benefits of AI and minimizing its risks.

Truby 2020 [12]

In this study, the author expounds that AI has the potential to be vastly positive driver to reach the SDG, but technological companies might also hinder this potential. For this reason, he advocates a regulatory strategy of AI that ensures the development of verifiable, accountable and transparent AI systems. Moreover, Truby proposes that countries that signed up the SDGs agreement could refuse to adopt technology that does not comply with basic SGD principles.

Nguyen 2016 [15] and Zwitter and Herman 2018 [16].

These two works are focused on the contributions of blockchain technology to various targets of the SDGs. For instance, the applications of blockchain on the financial sector are highlighted in [15], specially on its capacity of tracing data for ensuring its integrity. Likewise, the use of blockchain technology against corruption and for creating secure digital entities is underlined in [16].

Wu et al. 2018 [14]

Wu et al. identifies the economic, social and environmental challenges of applying AI for pursuing the SDGs in [14]. For instance, the authors highlight the importance of using personalization methods for adapting or recommending teaching materials in e-learning scenarios. Likewise, they propose holistic conceptual architectures that represent how data from different sources may interact with IoT devices and AI methods for the different perspectives of the SDG. The authors conclude that AI and digital technologies have a great potential to support global economical, social and environmental sustainability.

Vinuesa et al. 2020 [13].

The authors assess, by means of a consensus-based opinion elicitation process at a collective level, the effect of using AI-based services for attaining the SDGs. The evaluation indicated that AI services can uplift the 79% of the targets of the SDG, while it can hinder the 35% of the targets, thereby leaving a small number of “overlapping” targets (14%) where AI could be both enabler or barrier to the goal(s) depending on the specific uses given. Hence, the application of AI could be more beneficial (and its risks could be minimized) by a right regulation of its implementation. For instance, social media applications currently provide a wealth of information to users, whose veracity is not previously verified in most cases. This may consequently lead to socio-political polarization between users of those social media platforms, which in turn may provoke political and social tensions. By contrast, some AI methods based on natural language processing may positively help to identify misleading information published on social media [36].

A central idea underlying the previous works is the importance of the interactions among AI, the society, environment, the economy and the government. These interactions are depicted in Fig. 7, and they evidence the need for approaching these critical interactions from a global perspective with the guidance of solidly established regulations, as Vinuesa et al. expound in [13]: “as society is constantly changing (also due to factors including non-AI-based technological advances), the requirements set for AI are changing as well, resulting in a feedback loop with interactions between society and AI” [13]. The environment also partakes in these interactions by providing the required resources for development and being affected by the environmental impact of developed technology as well as individual and government actions.

Fig. 7
figure 7

Interaction between AI, society and environment. Inspired by [13]

4 A snapshot, SWOT and position analysis of artificial intelligence and digital technologies for the SDGs

This section provides a snapshot-style position analysis of the role that AI-driven technologies can play in the pursuance of the SDGs, highlighting the opportunities and potential contributions that these technologies can bring as enablers for sustainable development. The below discussion focuses on prospects, i.e. recommendations for an aligned use of such technologies with sustainability. These recommendations are founded on a series of SWOT analyses made upon the literature surveyed, as explained in Section 3.3.

Remark 1

In previous sections, it has been shown that AI is closely tied to other digital technologies, which are indispensable for instance to perceive, interact with and understand the environment, acquire and storage data, etc. Notwithstanding, in order to avoid excessive repetitions and simplify the discussion, the use of the term ‘AI’ should be understood hereinafter as its general integration or combined application with other digital technologies (see Fig. 4).

The analysis is organized according to the six perspectives of human needs considered in the study:

  • Economic dimension: life (Section 4.1).

  • Economic dimension: economic and technological development (Section 4.2).

  • Social dimension: social development (Section 4.3).

  • Social dimension: equality (Section 4.4).

  • Environmental dimension: resources (Section 4.5).

  • Environmental dimension: natural environment (Section 4.6).

For convenience of discussion, the results of the SWOT analyses –one per SDG– are provided in tabular format over the course of the following subsections.

4.1 Analysis for the economic dimension: life

The three SDGs under the life perspective are the most closely linked ones to human welfare, concretely the goals that pursue ending poverty (SDG 1), eradicating hunger (SDG 2) and enhancing good health and well-being (SDG 3). Based on the SWOT analyses made for these three goals (Tables 23 and 4), Fig. 8 lists some recommendations on how AI can help achieving these long-desired goals.

Fig. 8
figure 8

Recommendations on using AI in the SDGs of economic dimension: life

Table 2 SWOT analysis of the SDG 1: No Poverty
Table 3 SWOT analysis of the SDG 2: Zero hunger
Table 4 SWOT analysis of the SDG 3: Good health and wellbeing

The fight against poverty and hunger is intimately related to fair and transparent government systems [37, 38]. The accomplishment of these two qualities, fairness and transparency, can be enabled through systems capable of tracking data logs transparently: something possible nowadays thanks to blockchain technologies [39]. Likewise, AI systems may facilitate more appropriate decisions predicated on such tracked data logs [40]. Taking a closer glance, it can be stated that blockchain can turn food production processes more effective, transparent, traceable and sustainable, reducing food loss and waste, and guaranteeing food security [41]. Besides, the capacity of digital technologies and AI systems for data acquisition, fusion and analysis would assist decision-making processes linked to food production, transport and consumption, making these complex decisions as fair and balanced as possible [42, 43]. Meanwhile, the descriptive and predictive power of AI, concretely machine learning algorithms, will permit identifying and forecasting areas under (risk of) poverty, thereby facilitating the implementation of timely actions for their eradication [44,45,46,47], as well as enabling smarter and more sustainable farming processes for enhanced food production, predicated on big data, sensors and IoT technologies [48].

AI has emerged with particular strength in the medical domain over the recent years, where there are prolific proofs of its advances, strengths and opportunities in prognosis, diagnosis, healthcare or preventive medicine [49,50,51,52,53]. Besides, AI can be applied in the public health landscape by leveraging social network and Web 2.0 media data, which in turn can be exploited to control drug abuse [54, 55], toxic substance consumption [56], sexual and reproductive health [57], as well as healthy life habits [58,59,60]. These data, along with those provided by wearable devices, constitute another valuable information source for developing personalized recommender systems to promote healthy habits and support better individual decision-making in terms of healthy choices [60,61,62]. Nonetheless, the prioritization of trustworthy AI systems [26] must become imperative in these domains.

The COVID-19 pandemic has evidenced the urgent need for digital technologies and AI-based models to address the public health management challenge that a global pandemic poses [63, 64]. Such technologies have been reported as effective tools to control the spread of the disease via contact tracing processes amongst infected and healthy people alike, and IoT sensors in smart cities/territories would have a key preventive role in the near future [65]. Inspired by recent examples of nations that have successfully kept the virus transmission under control, a glance should be put on the union between mobile technologies, sensors, smart territories, AI and big data as a joint instrument for control, early warning and knowledge-guidedFootnote 4 decision making against epidemic risks, underpinned by real-time infection traceability. Meanwhile, controlling any large-scale epidemic also demands an efficient management of healthcare system resources [51, 66]. AI models can be used in these scenarios to predict the evolution of infections with the aim of foreseeing medical protection supply, hospital bed and intensive care needs [53, 66, 67].

4.2 Analysis for the economic dimension: economic and technological development

Whilst SDGs under the life perspective relate to human life sustenance (poverty, hunger and health), the SDGs under the economic and technological perspective are associated to key involved elements to achieve such sustenance: work (SDG 8) and developments in working environments (SDG 9). The literature analysis of these goals shows that the industrial application of AI has brought added challenges –digital breach and its associated unemployment risk [11, 68]– to existing ones, such as salary breach between qualified and unqualified workers, overuse of raw materials and the resulting contamination from industrial processes [69,70,71,72]. Notwithstanding, the adequate utilization of the advantages brought by AI under suitable courses of action may help largely overcoming the aforesaid challenges.

Figure 9 sums up the main prospects that can be distilled from the SWOT analyses of SDGs 8 and 9 (see Tables 5 and 6). Some remarkable examples of these prospects and recommendations –proposed as guidelines for institutions and companies for their development as action plans– are discussed below.

Fig. 9
figure 9

Recommendations on using AI in the SDGs of economic dimension: economic and technological development

Table 5 SWOT analysis of the SDG 8: Decent work and economic growth
Table 6 SWOT analysis of the SDG 9: Industry, innovation and infrastructure

The rising need for fostering high education and formative itineraries under a scientific-technical or STEMFootnote 5 (Science, Technology, Engineering and Math) profile [74, 75] would signify a potential opportunity to alleviate the digital breach across professional sectors, improve employability driven by innovation, enhance professional mobility and ultimately support economic prosperity. The importance of such formative itineraries should not only be understood as a central tool to fight the digital breach, but also underlined across sectors of the population that have historically had more difficulties to access them and, ultimately, as a means to safeguard vulnerable employees whose jobs/tasks might be potentially replaced by algorithms or robots. Meanwhile, promoting added-value and innovative AI developments could be deemed as an effective approach to generate new labour tasks and subsequently new jobs, in replacement to those potentially lost due to the automation [76].

More attention is needed in focusing electronics production on highly controlled recycling policies [4, 77] and, in general, aligning 3D printing processes with waste and pollutant minimization as a result of them. In this sense, blockchain could be used as a digital auditing and traceability resource for managing raw materials in electronics, concretely minerals such as tantalum, tin, tungsten, gold, etc. A transparent tracking of such materials along their life cycle could significantly ease their recycling and posterior use.

There are also multiple prospects related to sustainable innovation and industrial processes. One of them consists in providing support to innovation startups and SMEsFootnote 6 with promising innovation initiatives for the digital transformation of economy and Industry 4.0 [1, 78]. Smart contracts, on the other hand, could enforce policies aligned with contaminant reduction, specially if this line of action is aligned with the advantages of AI to automate and make penalty processes against infractors more efficient. [73]. Achieving a larger presence of IoT and big data in industrial environments and transportation infrastructure is another mandatory step to take, in order to enforce highly controlled pollutant reduction [5, 9, 79,80,81,82]. Lastly, in the scientific landscape, it would be beneficial to stimulate R&D project evaluation processes guided by AI, so as to detect potential impact of industrial and innovation processes and, consequently, foster the financial fund of those initiatives with stronger environmental, economic or social implications in their proposed activities and portfolio [83].

4.3 Analysis for the social dimension: social development

As pointed out in the previous section, the economic dimension focuses on individual-centered aspects, whereas the social dimension considers relationships between people and communities. Accordingly, the social development perspective attends to the areas where people live, namely sustainable cities (SDG 11); political organization and solid institutions (SDG 16); and cooperation pathways between social organizations through partnerships to achieve the goals (SDG 17). Figure 10 blends the most noteworthy recommendations extracted from the literature review and the associated SWOT analyses for these three goals –the latter of which are summarized in Tables 78 and 9.

Fig. 10
figure 10

Recommendations on using AI in the SDGs of social dimension: social development

Table 7 SWOT analysis of the SDG 11: Sustainable cities and communities
Table 8 SWOT analysis of the SDG 16: Peace, justice and strong institutions
Table 9 SWOT analysis of the SDG 17: Partnerships for the goals

The application of AI has led some cities to thrive in their digitisation processes [84,85,86], turning them into more sustainable environments where the available resources are leveraged more intelligently. Even so, there still remain large urban areas that have not made sufficient progress in such digitisation, deeming this process as an unaddressed challenge as of today.

Cities are complex environments whose management demands taking a great deal of variables and factors into consideration [87]. Digital twin technologies enable the tracking and monitoring of urban processes in all their forms [33, 88, 89], thereby facilitating optimal transportation systems [90] as well as unveiling areas for improvements in energy, food and water supply. As a result, a more environment friendly management would be yielded along with an improved citizen life quality [91]. Nonetheless, these forecasting and planning processes are not always exempt from errors and subsequent disasters [81]. In these specific scenarios, the blend of IoT and robotics systems may ease the management of the emergency situation itself, providing up-to-date information and reducing human intervention in hazardous contexts and preventing human accidents thanks to the use of robots [92,93,94]. It is likewise important to make optimal use of urban resources and enhance services accessed by citizens in their daily lives: something where the concept of smart city underpinned by AI and big data shall become the norm.

On the other hand, institutions are the cornerstone element that underpins the main social organizational structure in any nation: the state. In order that states are resilient and they can establish trustworthy partnerships with each other, they necessitate solid institutions on which commitments are founded [95]. The robustness of institutions lies not only in their trustworthiness, but also in their representative power and potential for participation by the societies they are meant to serve [96, 97]. This makes it imperative for them to develop fair, transparent and effective government schemes that are free from any form of corruption [98,99,100]. Combining big data and blockchain may drive a transparent, traceable and massive data analysis to support appropriate decision-making in complex decision scenarios raised in national and supranational institutions. Particularly the blockchain will strongly contribute to assure robust and traceable financial transactions and, in general, banking operations, hence stretching the room for the crime. Improved decision-making and management capabilities supported by ethical and accountable AI [101] will result in strengthened institutions, a higher trustworthiness between them, and a noticeable momentum towards the attainment of the SDGs as a whole [102, 103]. Developing and disadvantaged countries must not be neglected and should be particularly supported in these efforts, e.g. by facilitating them resources for massive data collection.

4.4 Analysis for the social dimension: equality

The social dimension of the SDGs also concerns itself with ensuring inter-personal relationships under terms of equality in all its forms. Consequently, the equality perspective includes goals related to access to education (SDG 4), gender equality (SDG 5) and reducing inequalities (SDG 10). Figure 11 highlights the main recommendations resulting from the literature and SWOT analyses undertaken in accordance with these goals. These analyses are shown in Tables 1011 and 12.

Fig. 11
figure 11

Recommendations on using AI in the SDGs of social dimension: equality

Education is the core resource to drive prosperity among people, being categorized as a “social elevator” [75, 104, 105]. For this reason, it is paramount to guarantee access to quality education for the entire population. Expanding education access even to the innermost corners and the most vulnerable collectives requires fostering the total integration of Internet, cloud distributed technologies, AI and augmented reality in educational systems, with a twofold aim [106, 107]. Firstly, to create virtual learning platforms permitting the use of varied teaching methodologies that adapt to the individual learners’ needs [108], endowed with intelligent tutoring systems [109, 110]. Secondly, to offer education opportunities not only for people with limited availability for physical on-site learning, but also for disadvantaged groups and women in least developed countries [111]. On another note, the access to learning tools by small and medium enterprises should not be ignored [112], so that they can undertake the indispensable process of digital self-update to adapt to changes driven by the current technological revolution.

A quality education is also fundamental for the flourishing of societies where individuals are deemed as equal regardless of their race, gender, beliefs, opinion, sexual orientation or any other condition, personal or social circumstance [113, 114]. Yet, the value of equality at its highest, reflected in most legislation codes worldwide, must be materialized in everyday individual behaviors. As a man-made product, AI systems should not be exempt from respecting equality values, hence investments and efforts are needed to avoid any bias that may violate such principles and values in these systems [115,116,117]. It is therefore crucial to foster research and work towards defining data compilation and annotation standards that prevent any biased trends, because non-biased data would make it easier to ensure AI systems that preserve equality values and abide to trustworthiness principles. Furthermore, there exist initiatives to empower discriminated communities, e.g. black communities,Footnote 7 based on the value of data.

AI can be likewise employed to detect behaviors that violate equality principles. An obvious scenario of application in this sense is social media, whose possibilities for anonymity trigger many individuals to cause intentional offense against other individuals or communities [118, 119]. The use of natural language processing methods can help recognizing inadequate forms of communication, such as hate or extremist speech, making it possible to identify offenders and –where applicable– putting this knowledge at the disposal of legal authorities [120]. Moreover, the sense of freedom that generally governs many Internet sites, particularly social media, gives rise to the dissemination of false contents, namely the well-known fake news and bots, with the intention to propagate hoaxes, lies and fallacies or to create polarization [121,122,123]. These contents must be detected and amply warned about, not only to prevent their propagation, but also to impede the appearance of discriminatory and unequal behaviors triggered by such contents.

Turning politics/governance and political representative election processes into highly participatory and accessible processes by the general population, clearly constitutes a pathway towards equality [96, 124, 125]. AI together with blockchain have much to offer in improving access to participatory politics and governance where everyone can have their say, owing to their inherent security, transparency and traceability in the use of data, in addition to their potential to support equitable and fair decision-making [74, 126].

Table 10 SWOT analysis of the SDG 4: Quality education
Table 11 SWOT analysis of the SDG 5: Gender equality
Table 12 SWOT analysis of the SDG 10: Reduced inequalities

4.5 Analysis for the environmental dimension: resources

Having analyzed and proposed a series of recommended actions for all the SDGs related to people at individual and collective level, this section focuses on those SDGs linked to the relationship between people and the resources offered by our natural environment, namely water resources (SDG 6), energy (SDG 7) and responsible consumption (SDG 12). Tables 1314 and 15 show the SWOT analyses made for these three goals, and Fig. 12 underscores a number of recommendations on applying AI in such goals, which are elaborated below.

Fig. 12
figure 12

Recommendations on using AI in the SDGs of environmental dimension: resources

Table 13 SWOT analysis of the SDG 6: Clean water and sanitation
Table 14 SWOT analysis of the SDG 7: Affordable and clean energy
Table 15 SWOT analysis of the SDG 12: Responsible consumption and production

One of the most consolidated applications of AI is resource and energy management optimization [127,128,129], thus it is recommended to align this use of AI with sustainable under the perspective analyzed here. Some highly advisable applications include:

  • Use of simulation models based on digital twin implementations to prevent the contamination of water resources through a more accurate and effective management of such resources [130, 131].

  • Exploit the rapid advances in neural networks and in particular deep learning techniques in prognosis and detection of failure risks in water and energy supply infrastructures and distribution networks/grids [132].

  • Leveraging edge computing architecture to optimize energy consumption and foster green energy usage [133, 134].

  • Application of predictive models, predominantly based on time series and deep learning together with blockchain technologies to enable a secure, efficient and intelligent management of electrical energy networks (e.g. smart grids), as well as enabling an efficient and predictive exploitation of renewable energy [135,136,137].

  • Intensify the joint use of IoT and big data to improve production processes, distribution networks and consumption habits [138]. On the one hand, production chains can be massively sensorized in order to fine-tune production parameters, minimize the resulting contamination from these processes and subsequently optimize routes in distribution and supply chains. On the other hand, aspects like consumption in supermarkets based on geographical areas, demographics, etc., or movement patterns and consumption fluctuations across the time, may benefit from a sensor-driven monitoring coupled with big data analysis.

In general, the ability of AI models to fuse and process data should be embraced to develop decision-making platforms that encourage sustainable production practices [139] and promote responsible consumption habits by citizens [140].

4.6 Analysis for the environmental dimension: natural environment

The last of the six analyzed SDG perspectives, natural environment, focuses on the preservation and protection of the natural environment, its quality and health, therefore it groups concerns about climate change and action (SDG 13), the health of life below water (SDG 14) and protecting life and biodiversity on land ecosystems (SDG 15). Figure 13 lists various salient recommendations to channel efforts towards sustainability in the natural environment, further to the SWOT analyses made in Tables 1617 and 18.

Fig. 13
figure 13

Recommendations on using AI in the SDGs of environmental dimension: natural environment

Table 16 SWOT analysis of the SDG 13: Climate action
Table 17 SWOT analysis of the SDG 14: Life below water
Table 18 SWOT analysis of the SDG 15: Life on land

Caring for and preserving the natural environment is closely linked to an optimal use of natural resources [141, 142], where advances in AI have much to offer as described in the previous subsection. Notwithstanding, in the relationship between humans and nature it is also important to note the potential damage that extreme natural events can also inflict on mankind [143, 144]. The predictive power of AI models fed by sensor data can foretell a forthcoming event [145,146,147], such that anticipatory action can be taken and timely decisions are made to ultimately protect human lives. Forecasting energy demand would also help acting ahead to mitigate its potential negative effects on the environment by optimizing the exploitation of cleaner energy alternatives.

The environment preservation must be also inevitably coupled with a close monitoring of its status. In this sense, the combination of AI and robotics is crucial [148]. A clear example of this is the application of deep learning models on satellite image data to: (i) identify areas under risk of desertification, (ii) preventing the deterioration of oceans, (iii) detecting prone areas to fires, and (iv) locating regions that may experience deforestation [149,150,151,152]. Likewise, the integrated use of existing AI technologies can be beneficial to:

  1. 1.

    Detect the deterioration of ocean ecosystems in general, and coral reefs in particular, largely as a result of plastic waste and oil dumping [153,154,155].

  2. 2.

    Tracking and monitoring animal and plant populations as well as illegal fishing and deforestation practices to preserve balanced ecosystems [156,157,158,159].

  3. 3.

    Detecting diseases, plagues or any type of threatening element to the survival of elements in an ecosystem [160].

  4. 4.

    Minimizing water consumption in farming activities and increasing their productivity [48], so as to prevent avoidable deforestation in wild areas.

5 Five key elements and priorities which should be globally understood: a decade roadmap

The economic and societal impact of intelligent and digital technologies increases on a continuous basis, thus making it imperative to reflect on such impact along the recently started decade, from an Agenda 2030 viewpoint. In order to stimulate this much needed reflection –and after having analyzed the SDGs, discussed opportunities and proposed recommended actions under each of the six perspectives of human needs considered– this section provides a general discussion about broader application of AI technologies to attain the 17 goals set by the Agenda 2030 over the course of the coming years.

The discussion is intended to provide guidelines applicable to all the SDGs for unveiling the catalysing potential of AI in the achievement of such goals along the decade. Therefore, it revolves around five key elements or priorities which should be understood as a pre-requisite for the recommended lines of action provided in this study to have optimal results and impact (see Fig. 14):

  1. A)

    AI fueled by universally accessible and reliable data. Data are the common element or “fuel” on which most of the reviewed AI technologies are presently founded, be it because (i) data are the essential component for AI systems to be able to perform the task they are designed for, also (ii) because they are increasingly acquired, produced, transformed and transmitted in virtually any setting. In general terms, a high availability of large volumes of data greatly facilitates extracting useful knowledge about the real-world problem to address. Consequently, the application of AI to achieve the SDGs necessitates unified, accessible, open and high-quality data more than ever before. These data must also abide to inalienable human rights in order to design and develop models that can solve the myriad challenges underlying the SDGs.

  2. B)

    Strengthen science-industry-government dialogue and technology transfer. The literature analysis undertaken in this study has revealed that many of the advances made on AI applications has not been comprehensively applied to some of the targets underlying the SDGs yet. This is arguably due to several factors, such as the weak or insufficiently solid relationship and cooperation between research, industry and governments, as well as the unavailability of unified data that may help tackling many of the existing challenges. Therefore, it is imperative to strengthen the links between science, industry and institutions, reinforcing their dialogue, opening up new pathways and widening existing ones to have high-quality data available, and further pursuing a much needed technology transfer to facilitate their immediate application in line with SDG targets.

  3. C)

    Adapted and coordinated action plans in each country and context. The SDGs propose targets to be achieved globally, yet not all countries and regions across the globe are currently at the same position in this race towards achieving such targets. It is therefore clear that the present and future application of AI and digital technologies must be carefully adapted to the situation and characteristics of each country, coordinated with other actions being considered due to the synergistic relationships between SDGs, and prioritising the most urgently needed objectives in a given nation. For instance, a line of action with immediate effectiveness and positive impact in highly developed countries with prevalence of highly qualified working population –such as the automation of production and industrial processes– may require special attention and care in a less developed country or region where the majority of people have a less advantaged working or socio-economic profile. A well-oriented, tailored approach to put these lines of action forward, and an appropriate coordination with other recommended actions –e.g. decent education, training and work to prevent negative effects of automation– may mitigate risks of aggravating digital, salary and employment breaches in such regions.

  4. D)

    Alternative standards for facilitating the evaluation of SDGs attainment. Every goal requires evaluation standards and indicators to realistically measure their level of attainment. The 17 SDGs have a well-defined repertoire of associated indicators, yet some of them are difficult to quantify, thereby hampering their use as an evaluation metric. Because of this, we argue that is is necessary to promote the definition of alternative and more flexible standards for their evaluation. Digital technologies are advancing at an unprecedented pace, which also stresses the importance of seeking alternative ways to assess the degree of achievement of every SDG. Such approaches should adapt to the accelerated rhythm of progress witnessed in these technologies, as well as the emergence of new digital paradigms.

  5. E)

    A final lesson learnt since the COVID-19 pandemic. Last but not least, a critically important glance must be put on the current global scenario originated by the COVID-19 pandemic, which has undoubtedly had a profound impact in all the SDG dimensions, far beyond a strictly health-related viewpoint. Both the overall social and economic welfare of human beings and the environment are being severely affected by the current exceptional situation. More worryingly, this is even revealing and highlighting many emerging threats to sustainability, most of which were not apparent until now, as well as aggravating problems that already were being tackled. On a critical note, even the assumed robustness of many of the implementations and advances made globally in the last years under the scope of the Agenda 2030 are being seriously questioned nowadays, because of the dramatic and very rapid setbacks caused by the pandemic.

    Beyond the undeniably negative consequences of the COVID-19 pandemic, this situation should be ultimately raised as an opportunity for (rather mandatory) reflection and reformulation of the approaches under which each and every SDG in the UN agenda are being currently addressed. This can be done by analyzing and identifying pathways of proven effectiveness and robustness against situations like the aforesaid pandemic, but also rethinking those other pathways in which areas for improvement or strengthening have been unveiled. Based on the recommendations formulated along this study, the above proposed reflections should always bear in mind the potential of AI and digital technologies (both present and future ones) to pave the way towards the long-desired targets defined by the 17 SDGs.

Fig. 14
figure 14

A “decade roadmap” of five key priorities to advance the SDGs guided by AI technologies

6 Concluding remarks

This paper presented a snapshot, general view and reflection on the role and impact of AI and its surrounding technologies in attaining the Agenda 2030 for sustainable development, namely its 17 Sustainable Development Goals (SDGs). Based on an in-depth analysis of relevant literature and a series of SWOT analyses to portrait the nexus between AI technologies and each of the SDGs, the study provided a position analysis of the challenges and opportunities for progress led by these technologies, under different dimensions of perspectives of human needs underlying the SDGs. Likewise, a final discussion of key guidelines or priorities to adopt for ensuring a positive progress towards the aforesaid goals by 2030, has been presented.

The main insight of the analysis presented is the contribution of AI-based technologies for encouraging the procurement of the SDGs. Nonetheless, we also bring up that the intensive use of those technologies might undermine their positive contributions to the SDGs. In particular, the last advances on AI are addressed by increasingly large and computationally intensive deep learning models [161], which are associated to considerable computational costs. For instance, the carbon footprint and the environmental costs of those intensive AI models in natural language processing tasks are showed in [162]. This evidence has boosted a nascent research line in the AI field known as Green AI [161] that proposes to consider the efficiency of AI algorithms for assessing them alongside accuracy and other related measures. In this line, a measure to quantify the carbon footprint of an algorithm is proposed in [163].Footnote 8 Accordingly, we remark that the AI field must seriously consider the development of efficient AI algorithms and minimize the discrepancy between accuracy and environmental costs in order to really contribute to the attainment of the SGDs [164].

To conclude, we provide a triple closing remark to put a final glance on the future of AI (and emerging technologies) as a facilitator for the SDGs.

  1. I.

    Firstly, we stress that in the process of leveraging AI-based technologies for the sake of sustainability, it is always crucial to bear in mind the symbiotic relationship that exists between AI and various digital technologies to optimally interact, reason, perceive, learn from stimuli/data and act in a given environment, as well as ensuring communication and effective cooperation among AI systems. Some of these digital technologies are giving rise to paradigms that have an unquestionably central role to drive SDGs in nowadays contexts of digital transformation, e.g. smart cities/territories and digital twins.

  2. II.

    Secondly, we underline the importance of the currently undergoing digital transformation in the development of the SDGs, particularly at societal level. Both AI and its associated digital technologies are fundamental instruments to advance along the road to be travelled over the course of the newly started decade.

  3. III.

    Thirdly, we emphasize the enormous and ever-increasing importance of data in virtually any AI-based solution to pursue the SDGs. Nowadays AI systems are fueled by big data, therefore we need to fully embrace the value that high-quality, open and large-scale data infrastructures can bring to AI solutions for pursuing the whole spectrum of SDGs across all their dimensions globally. The potential benefits of AI approaches guided by big data would amply compensate for their high computational cost, which often hinders their adoption by project managers, practitioners and organizations.

We must continue this journey with a high ethical responsibility towards our world, towards people inhabiting it and towards future generations. Following the path drawn by United Nations’ Agenda 2030 is a great opportunity and a great challenge in equal proportions.