scieee AI-readable full text Open interactive document viewer

The application of machine learning for demand prediction under macroeconomic volatility: a systematic literature review

Muth, Manuel,Lingenfelder, Michael,Nufer, Gerd

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Muth, Manuel; Lingenfelder, Michael; Nufer, Gerd Article — Published Version The application of machine learning for demand prediction under macroeconomic volatility: a systematic literature review Management Review Quarterly Provided in Cooperation with: Springer Nature Suggested Citation: Muth, Manuel; Lingenfelder, Michael; Nufer, Gerd (2024) : The application of machine learning for demand prediction under macroeconomic volatility: a systematic literature review, Management Review Quarterly, ISSN 2198-1639, Springer International Publishing, Cham, Vol. 75, Iss. 3, pp. 2759-2802, https://doi.org/10.1007/s11301-024-00447-8 This Version is available at: https://hdl.handle.net/10419/330566 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ Vol.:(0123456789) Management Review Quarterly (2025) 75:2759–2802 https://doi.org/10.1007/s11301-024-00447-8 The application ofmachine learning fordemand prediction undermacroeconomic volatility: asystematic literature review ManuelMuth1 · MichaelLingenfelder1· GerdNufer2 Received: 20 November 2023 / Accepted: 23 May 2024 / Published online: 6 June 2024 © The Author(s) 2024 Abstract In a contemporary context characterised by shifts in macroeconomic conditions and global uncertainty, predicting the future behaviour of demanders is critical for management science disciplines such as marketing. Despite the recognised potential of Machine Learning, there is a lack of reviews of the literature on the application of Machine Learning in predicting demanders’ behaviour in a volatile environment. To fill this gap, the following systematic literature review provides an interdisciplinary overview of the research question: “How can Machine Learning be effectively applied to predict demand patterns under macroeconomic volatility?” Following a rigorous review protocol, a literature sample of studies (n = 64) is identified and analysed based on a hybrid methodological approach. The findings of this systematic literature review yield novel insights into the conceptual structure of the field, recent publication trends, geographic centres of scientific activity, as well as leading sources. The research also discusses whether and in which ways Machine Learning can be used for demand prediction under dynamic market conditions. The review outlines various implementation strategies, such as the integration of forward-looking data with economic indicators, demand modelling using the Coefficient of Variation, or the application of combined algorithms and specific Artificial Neural Networks for accurate demand predictions. Keywords Machine learning· Macroeconomic volatility· Demand forecasting· Marketing predictions· Systematic literature review JEL Classification C53· E32· C45· M31 * Manuel Muth [email protected] 1 School ofBusiness andEconomics, Philipps-Universität Marburg, Universitätsstr. 24, 35037Marburg, Germany 2 ESB Business School, Reutlingen University, Alteburgstr. 150, 72762Reutlingen, Germany 2760 M.Muth et al. 1 Introduction In light of geopolitical instabilities in Eastern Europe and the Middle East, changes in inflation and interest rates, and disruptions in global supply chains (Dörner etal. 2023; European Central Bank 2023), various business functions face a complex task in accurately predicting the behaviour of demanders. The economic circumstances influencing managerial operations have hence undergone profound changes and many of the existing prediction approaches rely on substantially different circumstances than those currently prevailing (Durst etal. 2022; Durugbo and Al-Balushi 2022). As a result, “contemporary organizations face environments with unprecedented levels of volatility, uncertainty, complexity, and ambiguity” (Troise etal. 2022), presenting new challenges for predicting the future behaviour of demanders. In scientific literature, several authors emphasise the general potential of Machine Learning (ML) for predictive analytical tasks in important business areas like marketing (Huang and Rust 2021; Ma and Sun 2020; Verma etal. 2021). However, there is an existing knowledge gap in terms of predicting future demand with ML in volatile environments (Ghoddusi etal. 2019), leaving a significant need for further research. The lack of comprehensive literature reviews on this particular question is substantiated by preliminary searches in the Web of Science-database across 12,000 available journals and screening the 205 query results that include the title words “systematicliterature review” and “machine learning”, along with additional investigations in further electronic resources. While some existing literature reviews address the overarching intersection of ML and applied management disciplines, there is a tendency to focus more on general questions such as primary application categories or global trend developments (see further Mustak etal. 2021; Verma etal. 2021; Vlačić etal. 2021). Although there are already review papers that address the application of ML and Artificial Intelligence, each adopting different specific perspectives (e.g., Kaushal etal. 2023; Keding 2021), none of the available reviews aligns with the thematic focus of this systematic literature review. This background provides the underlying foundation for defining the research question of this systematic literature review. The general scientific problem is structured according to the “CIMO” logic (Context, Intervention, Mechanism, Outcome), formulated by Denyer etal. (2008) and recently addressed by Kuckertz and Block (2021). As a result, the research question of this paper is defined as: “How can ML (I) be effectively applied (M) to predict demand patterns (O) under macroeconomic volatility (C)?”. The aim is to collect and synthesise state-of-the-art academic knowledge surrounding this question while adopting an application perspective from marketing science. In line with the recommendation of Linnenluecke etal. (2019), the aim of this work is “to consider interdisciplinary contributions” to ensure an integrative overview covering the relevant sources of information. To foster such an interdisciplinary synopsis, methodological concepts from computer science are adopted with a practical business perspective of marketing, while maintaining an inclusive approach towards other management disciplines such as economics. The research itself is confined to a primarily analytical viewpoint with an application-oriented focus. In 2761 The application ofmachine learning fordemand prediction… strict accordance to the research question, the aim of this review paper is to address the task of demand prediction, and therefore no focus is placed on explanatory or descriptive tasks (see further Thommen etal. 2017). Consequently, intentionally outside the scope of this research are a precise modelling of individual decisionmaking mechanisms, an explanation of consumer behaviour or an understanding of the underlying motivations and preferences of demanders. Moreover, this review paper follows the general understanding that ML applications are inherently observation-driven (see further Ghoddusi etal. 2019; Xie 2020). Therefore, the demand predictions discussed here are based on an existing dataset and, consequently, not guided by general economic theories or the functional relationships of market participants that are not reflected in the underlying data. The structure of this review paper is built on the methodology by Xiao and Watson (2019) for systematic literature reviews. The core stages of their methodology provide general guidance for the structuring of this review paper and consist of planning the review, conducting the review, and reporting on the review. Based on this, the review paper is structured as follows: After the introduction (1), a brief theoretical and terminological foundation is provided (2). Subsequently, the research methodology of the literature review is presented (3), illustrating the planning of the review. The following section (4) then deals with the implementation of the review and involves an analysis of the literature sample. In this way, the steps of searching and selecting literature, as well as quality evaluation and data extraction, are demonstrated. Afterwards, an analysis of the article characteristics (4.1), an analysis of the abstracts (4.2), and an analysis of the full texts (4.3) are provided for the final literature sample—followed by the general limitations (4.4) of the study. The final section (5) provides a conclusive report on the key components and offers a comprehensive conclusion. 2 Theoretical background 2.1 Machine learning Lanquillon (2019) distinguishes ML by enabling the generation of a model from a dataset by a learning procedure instead of by an explicit programming instruction. A more general definition is provided by Mitchell (1997), who describes ML as being able “to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E.” Over the last decades, the understanding of ML as a sub-field of Artificial Intelligence (AI) has become generally accepted (Ma and Sun 2020; Shaikh etal. 2022; Verma etal. 2021). From an econometrics perspective, Ghoddusi etal. (2019) observe that economists traditionally tend to focus on theoretically guided modelling involving statistical analysis of individual exploratory variables, whereas the primary focus of ML is on generating a prediction using available data inputs. In view of this, ML is characterised as observation-driven modelling, which is generally different from the way parametric models are generated, as parametric models involve a marginalisation over combinations of parameters and thus implicitly rely on underlying presumptions (Xie 2020). In contrast, observation-driven 2762 M.Muth et al. “ML models do not make any pre-specified assumptions about the functional form of the equation, the interaction between variables, and the statistical distribution of parameters” (Ghoddusi etal. 2019). In fact, ML algorithms generally adopt all data input for training and are thus able to fit the model across very different data structures without requiring specific a priori considerations (Xie 2020). ML can be categorised according to its associated learning styles. Supervised, unsupervised, and reinforcement ML are recognised as general core categories (Ernst etal. 2020; Murphy 2012). In addition, further learning styles can be found in the research literature (see further Ma and Sun 2020; Zhang 2020). In particular, supervised ML is used for a variety of practical prediction tasks in areas such as marketing (Ma and Sun 2020), for which reason it is described in more detail. A major goal of supervised learning is to draw conclusions about future or yet unknown developments from existing information. For this purpose, one or more target variables y=(y1,…,y n) are associated with a certain number of potential input variables x=(X1,…,X n) . Subsequently, a model is fitted in such a way that the values of the input variables correspond to the values of the target variable with a minimum error: f∶x → y . This provides the opportunity to introduce new input variables  x =(  X 1 ,…,  X n) into the model and to derive a prediction about unknown target variables  y=(  y1,…, yn) for arbitrary values f(  Xi ) =y i . This can be applied to make a prediction about the classification of a group—for example, who will be a potential buyer—which is defined as a discrete prediction problem. In addition, a prediction for metric values is also possible—for example, about the expected turnover—which is known as a metric prediction problem (Goodfellow etal. 2016; Murphy 2012). 2.2 Predictive modelling Albrecht etal. (2021) underline the recent development of ML in the specific context of prediction, noting that while in the past more traditional statistical or further empirical methods were employed, “more recently, ML as a subset of AI has been added to the domains contributing effectively to business prediction problems.” Prediction is one of the main application problems of ML. However, there are others, such as the processing of images for object classification or natural language processing for speech generation (Black etal. 2022)—including Generative Pre-trained Transformers (GPT) such as ChatGPT (Esmaeilzadeh 2023), which are beyond the scope of this review paper. The term “prediction” is frequently used in business and marketing management in regard to projections about unknown future states based on past and ongoing data (Kozak etal. 2021; Seyedan and Mafakheri 2020). By its very nature, this term therefore implies a future-oriented perspective on the outcome. In order to distinguish the role of prediction from the closely related term “forecast”, Kmiecik and Zangana (2022) offer a differentiation. They specify that “forecasting is a type of prediction, and it bases the future outcomes on temporal recorded data […] In essence, every forecast is a type of future prediction; however, not all future predictions are forecasts, as forecasts focus on not only a future occurrence but also the time of the occurrence.” Thus, when comparing prediction and forecasting, the authors emphasise for the latter the necessity of temporally recorded 2763 The application ofmachine learning fordemand prediction… data, also known as a time series, which is a sequence of chronologically arranged values (X1,…,X n) , measured to a certain time (t1,…,t n) . Taking a more detailed view of the matter, various types of approaches can be considered, such as quantitative predictions which allow for a measurement of the predictive error, and which are the main focus of this review. In addition, qualitative predictions can be applied, for instance, based on the intuition of experts (Kmiecik and Zangana 2022). Furthermore, there are different types in terms of the number of input variables, also called predictors, whereby either one (univariate) or multiple (multivariate) predictors can be included in a model (Homburg 2020). In this respect, Seyedan and Mafakheri (2020) emphasise the relevance of data inputs that can provide additional explanatory potential for predicting future events. They suggest: “Incorporating existing driving factors outside the historical data, such as economic instability […] could help adjust the predictions with respect to unseen future scenarios of demand.” This suggests that a demand behaviour analysis requires consideration of the impact exerted by the prevailing circumstances. For example, demand behaviour can be influenced by company-related micro-factors, such as promotional activities. In addition, external macro-factors, such as market conditions, shape the environment in which demanders operate (Arunraj and Ahrens 2015; Efat etal. 2022). 2.3 Demand undervolatility The term “volatility” is employed in particular in econometric analyses, as well as in the financial sector, and is commonly expressed as the standard deviation (σ). This metric is the square root of the variance, defined by the following formula for a given population dataset of x1, x2, …, xn: σ=� 1 N∑ N i=1� xi−μ �2 (N = total number of observations; μ = mean; xi = ith observation) (Mondello 2022). In order to determine standard deviation on a comparable basis for volatility measurement, it is typically benchmarked against a reference value, with considerations for additional components such as trend (Cariolle and Goujon 2013; Loayza etal. 2007; Raju and Acharya 2020). However, it should be emphasised that volatility can also be unpredictable, especially when causal relationships or circumstances were previously unknown or not evident (Angus etal. 2023). Demand is one of the areas characterised by volatility, as Abolghasemi etal. (2020) note: “the demand for a particular product or service is typically associated with different uncertainties that can make them volatile and challenging to predict”, making it a critical aspect of marketing predictions. Potential strategies that might be considered to cope with volatility in demand include increasing inventory levels or capacity to cover the fluctuation. However, this has direct business implications in terms of inventory management, the costs associated with overstocking and impacts on capital commitment and liquidity (Lin etal. 2022). As a result, these strategies can involve significant additional effort along a marketing supply chain (Kmiecik and Zangana 2022). On this point, Kmiecik and Zangana (2022) indicate that “demand fluctuations could imply supply management problems and create a tendency to keep excessive stocks as a buffer to production systems. Using flexible and precise forecasting procedures 2764 M.Muth et al. gives possibilities to gain good results even in capricious markets.” This results in the need to deepen the understanding of how to anticipate volatile demand patterns and incorporate them to a certain extent into predictive methods for guiding informed decision-making (Lin etal. 2022). In this context, a more detailed observation of the macroeconomic circumstances can provide insights, especially if they exert a significant impact on demand (Hasheminejad etal. 2022). This requires looking beyond the perspective of a single company as an individual economic unit and incorporating the general macroeconomic environment that encompasses the overall situation of the real and monetary economies (Conrad 2020). From a real-economy perspective, there is a systematic shift in the way consumers allocate their budget depending on economic developments (Kamakura and Du 2011). Kamakura and Du (2011) explain that during economic downturns, “consumers generally reduce their consumption budget [for non-essential commodities] either because their income is lower, or because they become more risk averse, allocating more of their income towards savings, which forces them to satisfy essential needs first”. Related to this, customers’ responses to price changes can be affected by economic growth rates (Gordon etal. 2013). For example, in many product categories, price sensitivity increases when the economy weakens (countercyclical behaviour). According to Gordon etal. (2013), this seems “consistent with the intuition that consumers become more price sensitive during weaker economic periods.” However, this is not necessarily always applicable. In regard to substitute goods, for instance, demand may even increase when a macroeconomic downturn occurs (procyclical behaviour). Hence, volatile macroeconomic circumstances create a dynamic environment for demanders’ behavioural responses. 2.4 Macroeconomic environment From an academic viewpoint, Loayza etal. (2007) see volatility induced by the macroeconomic environment as being related to factors such as external shocks, economic policies or microeconomic and institutional distortions. In regard to the current situation, Taskan (2022) notes: “In recent years, organisations have faced large and unexpected events, such as financial crises, the COVID-19 pandemic, climate change and war, with a large impact on the world at several economic and societal levels, and the acronym VUCA [Volatility, Uncertainty, Complexity und Ambiguity] has been frequently used by scholars and practitioners to try to understand such environmental dynamics.” The recent example of COVID-19, with its major implications, is also taken up by Tudor (2022) and classified as a “black swan” event, referring to it as an external shock to the general environment with several multilayered consequences. The associated effects on the behaviour of demanders are reflected, for example, in the increased confidence intervals of demand patterns during this period (Ahmed etal. 2022; Ma and Fildes 2020). Another very recent and to some extent related example of the shifting current macroeconomic landscape is the emergence of high inflation rates, intertwined with changes in monetary policy, shaping the behaviour of demanders. The term 2765 The application ofmachine learning fordemand prediction… “inflation” here is conventionally understood as a sustained increase in the general price level (Conrad 2020). For example, annual inflation in the Eurozone was at a remarkable level of 8.4% in 2022 and is projected by the European Central Bank (2023) to remain above its 2% target until 2025. The reason for this high inflation is multi-causal, and the determining factors include price increases in the energy and food sectors. These are in turn caused by circumstances such as the war in Ukraine—most recently, also the conflicts in the Middle East—but also by ongoing disruptions in supply chains as a consequence of the COVID-19 pandemic (Ministry for Economic Affairs and Climate 2023). For consumers, the occurrence of high inflation usually implies that a given nominal amount of money can be used to buy fewer services and goods, which—according to general economic understanding— can lead to a loss of purchasing power following higher prices and the shifting of demand for goods and services (Sievering 2021). In addition, the current price may send ambiguous signals about future price developments in an inflationary environment, which can lead to volatile or misleading demand decisions. A further complicating factor is that the associated price increases usually do not occur at the same time but in a delayed sequence (Conrad 2020). Hence, consumer demand typically reflects not only the price of an individual item but also its price relative to the average of the category and, more broadly, to the average of its category relative to other categories (Danaher and Brodie 2000). However, not only do the actual prevailing conditions matter but also the expectations of households about the future development of the monetary situation, as well as their own perceived uncertainty. As shown in the research by Duca etal. (2010), consumers are more likely to make a larger purchase when a larger change in inflation is expected. As a conclusion of this discussion, it appears almost imperative to consider the macroeconomic situation and its effects in greater detail when dealing with demand predictions. 3 Research methodology oftheliterature review As the academic contribution of a literature review is essentially determined by the compelling quality of its methodological design, Linnenluecke etal. (2019) posit that the employment of “rigorous methods and the clarity of reporting, as well as on the application of scientific strategies” are crucial components of a systematic literature review. Similarly, Walter (2021) indicates that only “a well-structured, transparent, and replicable methodology results in a reliable basis of knowledge” (see further Fink 2014; Fisch and Block 2018; Petticrew and Roberts 2006). For this reason, this review paper contains a description of its exact methodology, which encompasses an overview of the structural approach and a systematic explanation of the individual steps. Therefore, this systematic literature review differs in its approach to analytical literature evaluation from trial-and-error methodologies (Kaushal etal. 2023; Tranfield etal. 2003). Adhering to the framework provided by Xiao and Watson (2019) for a systematic literature review, this methodology generally contains three main phases, which are defined as: planning the review, conducting the review, and reporting the 2766 M.Muth et al. review (see Fig.1). These stages show a high degree of similarity with those of Tranfield etal. (2003), which are widely used in the current management literature (Durugbo and Al-Balushi 2022; El Shoubaki etal. 2021; Göcke etal. 2021). Nonetheless, Xiao and Watson’s (2019) suggestion is followed in this review paper, as it incorporates more recent scientific findings and provides a comprehensive notation and detailed description of each subcategory. The first main phase of planning the review includes two sub-steps. The first sub-step involves formulating the overarching research problem of “How can ML be effectively applied to predict demand patterns under macroeconomic volatility?” which, as previously explained, aligns with the structure of the “CIMO” logic. The second sub-step requires the development and validation of a review protocol, which represents a predefined plan detailing the research methodology. As depicted in Fig.1, the review protocol serves to ensure the reliability of the entire study by enabling others to replicate and verify the results Fig. 1 Review protocol (adapted from Xiao and Watson 2019) 2773 The application ofmachine learning fordemand prediction… significant contribution to the churn prediction and the deep learning keywords. In contrast, “Energy” (n = 53) and “Applied Energy” (n = 49) are particularly highcontributing journals for the keyword forecasting. Furthermore, on the right-hand side of Fig.4, it can be seen that the article by Breiman (2001) is mentioned most frequently in connection with the keyword ML and is cited a total of 16 times as reference. In addition, the contributions of Friedman (2001) (n = 7), Coussement and Poel (2008) (n = 6) and Neslin etal. (2006) (n = 5) are cited with high frequency. For the keyword forecasting, Hyndman and Athanasopoulos (2018) (n = 6) and Hyndman and Koehler (2006) (n = 5) emerge as very important. Finally, it is evident from the sankey diagram that the leading source for the keyword demand forecasting is the “International Journal of Production Economics” (n = 53), with a pronounced emphasis on technical perspectives, while for the keyword sales forecasting, the primary source is the journal “Management Science” (n = 48), with a stronger business-oriented focus. Consequently, further attention is needed to monitor how certain terminologies for similar topics are more prevalent in specific academic (sub) disciplines than in others, particularly in regard to interdisciplinary studies. 4.2 Analysis ofabstracts In this section, an examination of abstracts of all publications in the literature sample (n = 64) is provided for the purpose of synthesising core information and Flowchart: journals -keywords-sources Regardingthe literature sample journals keywords references Fig. 4 Sankey diagram of journals—keywords—references. Note: Figure 4 visualises a “Three-Fields Plot”, with “Left Field” = Journals (Sources), “Middle Field” = Keywords (Authors’ Keyword) and “Right Field” = References (“Cited References in the papers”), using the parameter setting “Number of Items = 7” (Aria and Cuccurullo 2023; Aria and Cuccurullo 2017). The sankey diagram is limited to the most common journals, keywords, and references, and can thus oversimplify the complex interconnections between them. Only the first-named author of the reference is mentioned on the right-hand side to facilitate a concise visualisation 2774 M.Muth et al. discovering structural relationships among them (Trapp 2012). For this, a conceptual structure map (see Fig.5) is generated to identify the specific knowledge profile in the abstracts (Aria and Cuccurullo 2017). At the outset, relevant terms are filtered from all abstracts, removing irrelevant terms such as determiners or conjunctions from the total set of words and applying Porter’s (1980) stemming algorithm to reduce all words to their root form. Then, a Correspondence Analysis is applied as a data reduction technique to map the thematic spaces in two dimensions, followed by K-Means Clustering to identify clusters of studies expressing common concepts (Aria and Cuccurullo 2017). Within the abstracts, five focal points (F1-5) can be identified, which are assigned a superordinate description term. The largest one (blue) can be summarised under the category (F1) ML methods and their application context, which is, in addition to methodological terminologies (e.g., algorithms, models), related to the focused area. This seems appropriate, considering that over 350 algorithm or model usages are registered in the studies of the literature sample. It is also apparent in the conceptual map that another focal point (brown) exists that deals with the (F2) Economic factors. This can be attributed to the fact that a number of studies involve consideration of economic impact, market circumstances, sentiments, or macro-environment Fig. 5 Conceptual structure map. Note:Figure5visualises a “Word Map” via the “Conceptual Structure” command based on a word occurrence matrix and with the parameter setting “Method = Correspondence Analysis” and “Field = Abstracts”. IntheK-Means Clustering, allclusters with fewer than 3 words were removed for clarity purposes (Aria and Cuccurullo 2023; Aria and Cuccurullo 2017) 2775 The application ofmachine learning fordemand prediction… in their datasets or in their predictive modelling approaches. Two further focal points covered in the abstracts are of a more technical nature. They involve (F3) Time series forecasting (red) and the usage of (F4) Neural network predictions (green). While 27 studies focus either entirely or partially on time series data for their empirical modelling, Artificial Neural Networksare employed 89 times for this purpose—sometimes in various ways within a single study—which underlines the relevance of this method. The remaining focal point relates to (F5) Customer frameworks (orange), as customer-related activities and prosseses are a consistent research motive for ML applications in this specific research context. 4.3 Analysis offull texts The analysis of the abstracts is followed by a review of the full texts, where the aim is to provide a topic-centred overview and recapitulate the key textual perspectives. The approach adheres to some of the instructions provided by Linnenluecke etal. (2019), who recommends researchers going “through ways that prior publications have contributed to developing […] understanding of themes, concepts or phenomena of interest.” This process is an attempt to find possible approaches on how to managing the ML application process, adapting it to macroeconomic volatile conditions and the interdisciplinary requirements for predicting demand behaviour. To ensure concise reporting of the findings, they are provided in accordance with the common chronological order along the ML workflows, using the following three overarching categories: preprocessing, modelling, and postprocessing. This includes underlying questions such as which state-of-the-art model algorithms are most suitable in this context and which (macroeconomic) predictors are appropriate for accurate demand predictions. Beyond summarising the major findings of the papers within those subcategories, the review also involved an attempt to identify divergent views and inconsistent directions of research approaches (Trapp 2012). 4.3.1 Preprocessing The following section contains an analysis of the preprocessing strategies that aim to enhance ML results in predicting demand in the marketing context within dynamic macroeconomic settings. Preprocessing is predominantly focused on collecting raw data as well as the subsequent handling procedure of this data to construct an optimal feature set for the predictive model (Kharfan etal. 2021; Punia and Shankar 2022; Wang 2022). Authors describe this stage as both a challenge and a critical determinant for the final quality of the model, with a primary focus on selecting an appropriate set of input variables (Raizada and Saini 2021). This section includes a comparison of the performances of univariate models that rely on a single input variable with complex models that factor multiple variables, with an emphasis on their respective predictive capabilities in volatile macroenvironment settings. Particular attention is given to the selection of model variables for anticipating the macroeconomic conditions. 2776 M.Muth et al. In fact, a large number of the reviewed studies in the literature sample (n = 49) either partially or entirely used empirical models which include multiple input variables (multivariate). Within the context of demand prediction, numerous papers highlight the advantage of multivariate methods compared to univariate approaches (e.g., Abolghasemi etal. 2020; Claveria etal. 2020; Punia and Shankar 2022). This preference primarily seems to be attributable to the inherent constraints of univariate methods that rely solely on a single input variable, such as historic demand behaviour, to extrapolate future developments. Punia and Shankar (2022) measure in their empirical investigations superior performance by employing the same prediction model with rather than without contextual variables. Consequently, Abolghasemi etal. (2020) conclude that specific univariate methods “work only well when the future is similar to the past […] [and] might fail to forecast well if demand time series is subject to volatility.” Similarly, Hasheminejad etal. (2022) underscore that traditional, rather univariate prediction methods “generally do not work when the market is constantly fluctuating.” This perspective aligns with the understanding that demand is typically influenced by a multitude of factors (Ma and Fildes 2020), thereby implying that the integration of external factors holds the potential to make a number of uncertainties in future demand predictions explainable, thus reducing them (Ghoddusi etal. 2019). The empirical studies in the literature review further support the importance of a comprehensive integration of input variables. An analysis of the studies in this review reveals that researchers consider a median of 14 input variables for their modelling, with the maximum observed in the large customer dataset used by Wang etal. (2019) with a total of 898 input variables (see Fig.6). Regarding the specific context of this research, Wang (2022) differentiates the problem of selecting appropriate model variables into two distinct issues: (1) determining whether and how the variables exhibit temporal causality (time lags) Basedonthe datasets of theempirical studiesinthe literature sample Mean 56.5 Median 14.0 SD 142.5 Min 1.0 Max 898.0 25th Percentile 6.0 75th Percentile 31.5 Fig. 6 Number of input variables. Note:If a study contains multiple datasets, each one is accounted for in the evaluation, which may result in a single study contributing more than one set of input variables. Figure6 is based on the datasets of the empirical studies 2777 The application ofmachine learning fordemand prediction… and (2) identifying the most effective predictors. Concerning the first issue (1), the author classifies potential input variables based on their time dependencies into three categories: leading, coincident, and lagging variables. These categories indicate whether a potential input is expected to change before, after, or simultaneously with a variation in the demand output. When predicting in the context of broader economic conditions, Wang (2022) highlights the significance of the first one and posits that a “leading indicator helps […] predict future changes before the outcome of the economy begins to go up or down [and can thus] used as an alert signal.” Poza and Monge (2023) concur with this view, emphasising the advantage of leading variables in not only anticipating trends but also discerning turning points in the economic market environment. For the practical identification of relevant demand dependencies, the reviewed papers contain mentions of the Autocorrelation Function or the Partial Autocorrelation Function (n = 5) as a relevant approach to identify them before modelling. These methods indicate the correlation of a potential demand series with its delayed variants, respectively their residuals; hence, they provide guidance for determining the lag structure within the data (see further Alsahref etal. 2022; Bukhari etal. 2020; Contreras-Masse etal. 2022; Kmiecik and Zangana 2022; Meisenbacher etal. 2022). Other methods are also employed by researchers, such as Wang (2022) and Wu etal. (2022), using Akaike and Schwarz Information Criteria, while some authors do not explicitly indicate their procedure for determining the lag structure or consider performing this immediately within modelling (e.g., Gürses-Tran and Monti 2022; Liu etal. 2021). To gather data encompassing such leading variables for demand prediction, several studies suggest relevant approaches (e.g., Ghonghadze and Lux 2012; Petropoulos and Siakoulis 2021), such as using future-oriented sentiments or expectations to anticipate the macroeconomic situation. Since they are not directly observable, two major approaches can be identified in the literature sample to obtain further information about this: a more traditional approach that uses economic indicators, especially based on sentiment data from surveys, and a relatively modern approach relying on search engine trends. Economic indicators can be derived for instance from economic tendency surveys that address questions such as how individuals perceive their own financial situation or the economy in general. Using survey responses is seen to be a valid source of information for this purpose, as: “(a) they are based on the knowledge of agents that de facto operate in the market, (b) they contain information on a wide variety of economic variables, and (c) they are available prior to the publication of official data” (Claveria etal. 2020). Respondents are asked to evaluate whether such economicrelated developments are likely to develop positively, remain unchanged, or develop negatively in the future. From the responses of a survey, balances can be computed by contrasting positive and negative responses, excluding neutral ones, and dividing by the total number of respondents ( Balance (B)= Positive response (n+)− Negative response (n−) number of participants ( n total) ) (Ghonghadze and Lux 2012; Claveria etal. 2020). The economic sentiment indicators derived are considered as “key for monitoring the current state of the economy and providing forward 2778 M.Muth et al. looking information” (Claveria et al. 2020), and Meisenbacher et al. (2022) observe that sales data in particular exhibit a frequent correlation with such economic indicators. In terms of the specific empirical application of particular indicators, no universally adopted indicators could be identified in the literature sample. This suggests that the indicators for economic sentiment can also be ambiguous, their usage tends to be complex, and none of them is consistently applicable across all demand prediction scenarios in marketing, making it important to critically evaluate these indicators on a case-by-case basis. However, there are certain studies that refer to official indicators associated with the European Union, for example in the context of Joint Harmonised EU Programme of Business and Consumer Surveys. Claveria et al. (2020) discuss the corresponding consumer confidence and industry confidence indicators, where the former reflects expectations regarding employment, export, or production and the latter refers to general economic conditions or specific demand decisions in the next 12months. In addition, Ghonghadze and Lux (2012) deal with economic sentiment indicators based on survey data from the European Commission, focusing on specific sectors such as construction, consumer, manufacturing, retail and services. Furthermore, the paper by Petropoulos and Siakoulis (2021) is particularly relevant for capturing volatility for this research background and deals with the volatility index VIX. This index is based on the fluctuations of the S&P 500 Index, representing the 500 largest listed companies in the U.S., and reflects its expected fluctuation in the coming month (see further Lehrer etal. 2021). In their study, Petropoulos and Siakoulis (2021) also apply this S&P 500 index to operationalise a “crisis event”, which they describe as a scenario that sees it declining by more than 8% over a 3-month period. This definition provides an objective measure of significant market volatility and can thus contribute to its incorporation into quantitative ML predictions. In relation to collection of relevant determinants of demand, many authors in the literature sample also recommend alternative indicators over survey data, particularly emphasising advanced search engine trends (e.g., Punia and Shankar 2022; Tsao etal. 2022; Tudor 2022). Poza and Monge (2023) suggest the use of search queries, which can show a correlation with key economic indicators to provide predictive insights about future directions and Tudor (2022) further substantiates this, summarising within the present research context that “the inclusion of GT [Google Trend] information offers significant benefits in the form of improved forecasting performance. Nonetheless, GT [Google Trend] data has also been acknowledged in previous research as a leading indicator for key variables of interest.” In light of existing research, Ghoddusi etal. (2019) highlight the potential of internet sentiment for volatility-related predictions and consider ML techniques to be a powerful tool for this purpose. In addition to other studies, Ryu etal. (2020) observe: “Prediction of economic activities by using social network data or internet search data ahead actual activities has been reported in the stock market, marketing and tourism.” For this, the focus is typically on the popularity of specific keywords, reflected in a search engine trend index that indicates the amount of queries in certain geographical areas either in absolute numbers or normalised terms (Punia and Shankar 2022; Tudor 2022). As Punia and Shankar (2022) note, search queries originating not only 2779 The application ofmachine learning fordemand prediction… from Google but also from other platforms such as YouTube, and reflected in a specific index, can also indicate a positive relationship in demand predictions. Furthermore, an important observation to mention is that the literature also covers a broad spectrum of other predictive variables for demand. They encompass various dimensions such as consumer behaviour, demographics, weather, advertisement measures, product data, or seasonal and calendar effects.2 The price variable is in this context a further critical factor in academic discourse around the investigated research question: “The impact of price changes should not be ignored while designing algorithms for predicting customer choice” (Chen etal. 2021). Beyond its inherent relevance, price can also indirectly reflect macroeconomic conditions like inflationary environments, potentially possessing predictive value for broader economic circumstances. Menhaj and Kavoosi-Kalashami (2022) emphasise the complexity of the price variable in this context, noting that price changes can occur due to macroeconomic conditions but also due to seasonal, cyclical, or trend components. Such price fluctuations may, in turn, lead to varying predictive implications, further highlighting the need for sophisticated understanding and application of the price variable in demand predictions during macroeconomic volatility. After considering temporal causality and especially leading indicators, issue (2) described by Wang (2022) is relevant, which involves identifying the most effective final set of potential predictors for the model. The reason for focusing on the most important variables is driven, among other reasons, by the need to reduce computational time and complexity of the predictive model (Castillo etal. 2017; Quintero etal. 2022). Such large datasets are also reflected in the literature sample, where notable examples include Martínez-de-Albéniz et al. (2020), who process 1.74 trillion pieces of clickstream data from an online flash sales retailer, and Bi etal. (2022), who tackle 165 million sales transactions. Furthermore, regarding the vast number of potential variables, the study by Wu and Li (2021) initially consider 625 potential input variables from the financial sector for predicting customer churn, and Hasheminejad (2022) starts with 313 input variables. To address this issue, various methods are applied to find an optimal subset of features that provides the best predictive results for the model. This task is often performed before the actual modelling but is sometimes also integrated into the modelling process itself (Meisenbacher etal. 2022; Quintero etal. 2022). Castillo etal. (2017) differentiate between two primary methods of processing features: feature reduction and extraction. The aim of feature reduction is to reduce the total number of input variables to the most critical ones, while feature extraction transforms the existing features and potentially creates new or adapted ones (Castillo etal. 2017). 2 Examples for consumer behaviour include click rate or payment history and for demographics gender or education level (e.g., Ballestar etal. 2019; Chen 2022; Esmeli etal. 2021; Puterman etal. 2020). For weather, examples are temperature or wind speed (e.g., Liu etal. 2021; Punia and Shankar 2022). Advertisement data encompasses campaigns or discounts (e.g., Punia and Shankar 2022; Wang etal. 2019). Examples of product data are article categories and attributes (e.g., Kharfan etal. 2021). Seasonal and calendar effects refer to aspects such as holidays and weekdays (e.g., Albrecht etal. 2021; Ma and Fildes 2020; Raizada and Saini 2021). 2780 M.Muth et al. For reducing the set of variables to the most relevant demand features, a number of supervised learning procedures from traditional statistical analysis can be identified in the literature sample as being relevant for this purpose. These consist of regression methods (n = 7), including not only simple linear regression but also other variants of regression, such as the Least Absolute Shrinkage and Selection Operator (LASSO) method (e.g., Meisenbacher etal. 2022; Puterman etal. 2020). Correlation analysis also plays an important role (n = 7), for example measured by Pearson’s correlation coefficient (e.g., Gürses-Tran and Monti 2022; Liu etal. 2021; Shaikh etal. 2022). In addition to purely quantitative approaches, there are also studies employing expert knowledge, like that obtained via surveys or judgments from specialists in relevant academic or professional fields or by researchers themselves (n = 6), with the aim of selecting important features (Castillo etal. 2017; Gürses-Tran and Monti 2022; Hasheminejad etal. 2022; Khandani etal. 2010; Milošević etal. 2017; Tsao etal. 2022). For feature extraction, in contrast, unsupervised methods have a more important role, including principal component analysis, examined in multiple studies (n = 7) within the reviewed literature (e.g., Quintero etal. 2022; Wu and Li 2021), and factor analysis, used in two cases (Poza and Monge 2023; Shaikh etal. 2022). Furthermore, there are also procedures that go beyond purely quantitative analysis. For example, the input data can also be transformed to align with established theoretical constructs or conceptual frameworks, for instance from disciplines like economics or marketing. This can also be observed in studies (n = 5) in the literature sample, such as by transforming variables into concept versions of the Recency, Frequency and Monetary value (RFM) regarding consumers’ demand to model their behaviour (e.g., Chashmi etal. 2021; Wu and Li 2021; Xie 2020). 4.3.2 Modelling This section examines the modelling phase, focusing on selecting and generating the most efficient models for predicting in a volatile macroeconomic environment. Therefore, the section begins with an investigation of the general relevance and suitability of ML algorithms within this specific research context. This is followed by an analysis of individual models, evaluating their usage over time and identifying the models that show the best results in the literature sample. Additionally, different approaches for effective model selection and training are discussed to account for macroeconomic volatility. The modelling section is initially intended to investigate the general relevance and suitability of ML for coping with volatility in demand prediction. In the majority of the studies analysed in the literature sample, ML models are found to perform superiorly and are therefore generally considered an important prediction approach in complex macroeconomic contexts. For example, the research by Ma and Fildes (2020) demonstrates that ML modelling (Gradient Boosting Trees) outperforms more traditional methods (e.g., Exponential Smoothing, ARIMA, Naïve, Theta) as it is able to improve the anticipation of non-linear patterns in diversified datasets. The study by Albrecht etal. (2021) also illustrates that ML modelling (Random Forest) has a superior performance compared to traditional forecasting methods (e.g., STL 2781 The application ofmachine learning fordemand prediction… decomposition with ARIMA or ETS), which the authors largely attribute to its ability to anticipate complex interactions in marketing-related datasets. Another example of the application of ML in dynamic market conditions is provided by the study of Punia and Shankar (2022), who present a combined model of two ML algorithms (LSTM, Random Forest). It shows superior predictive performance for short-, medium-, and long-term demand prediction compared to traditional approaches (e.g., ARIMA, regression) and most effectively incorporates a large number of variables—from promotions to social media and weather conditions to regional economic factors. However, in some of the studies analysed, typical ML methods also prove not to be superior. Abolghasemi etal. (2020) note: “simple statistical models can outperform some of the sophisticated ML and statistical models.” In the study by Lotfi et al. (2023), the developed fractional calculus model—a generalized diffusion model called GDMR—performs more accurately than typical ML models in capturing the dynamics of repeated purchases in product lifecycles. In the context of the volatility induced by the COVID-19 pandemic, Tudor (2022) examines the demand for video conferencing solutions and finds that the traditional statistical method of exponential smoothing performs best compared to classical ML algorithms (e.g., ArtificialNeural Networks). Studies also show that ML alone can be inferior to a combination with other methods. This is illustrated by the example of Purohit etal. (2021), whose agricultural price predictions yield the best results using ML (e.g., Support Vector Machines) in multiplicative combination with statistical time series models (e.g., Exponential Smoothing State Space Model). Consequently, when faced with volatile market environments and complex and non-linear demand dynamics, conventional prediction techniques can reach their limits and ML solutions provide a valuable contribution. Although there are a significant number of studies in the literature sample that attribute superior performance to ML, there is no general predominance. Others—whether traditional statistical, time series, econometric, or alternative mathematical-quantitative models—can also be superior in this context, necessitating individual testing of the modelling algorithms. When it comes to selecting a suitable set of algorithms for the prediction problem, there is a wide range of available ML learning models to consider. Regarding the overarching learning style used in this context, a large majority of the studies (n = 54) use either fully or partially supervised ML for empirical modelling. In contrast, other learning styles, such as unsupervised or semi-supervised learning, are each less commonly used (≤ 5) within the empirical core models. For a detailed overview of the individual models used, in Fig.7 the number of model usages is shown across the empirical studies over time. Given the limited number of publications before 2019 and after 2022 in the literature sample, with less than three per year, this analysis is focused on this period, where important developments are evident. Furthermore, beyond identifying the models commonly employed in studies, it is essential to highlight those that exhibit the best overall results and hence are recommended for continued application in this context. To facilitate this, in Fig.8, a graphical representation is presented of the frequency at which specific main ML algorithms are recognised by researchers in the empirical studies for their superior performance. In Fig.8, a distinction is highlighted in terms of the type of prediction 2782 M.Muth et al. output, since the selection of ML algorithm can depend on this factor, indicating overall that metric prediction results are generally considered more frequently than discrete ones. Additionally, it is important to note that Figs.7 and 8 present different models distinctly, even if they are part of a combined approach where multiple algorithms are used synergistically to optimise the overall predictive outcome (Ghoddusi etal. 2019; Kharfan et al. 2021; Wang et al. 2019). A primary objective behind this approach is to mitigate the influence of occasional suboptimal demand predictions. Fig. 7 Timeline of model usages Fig. 8 Preferred model by prediction output type. Note on Figs.7 and 8: A study can both use and recommend multiple models—each model is then counted individually. Studies that do not have the conceptual aim of using or evaluating models, such as reviews, are not considered in the figures. A model is assigned to the “other” group if its usage count is fewer than 10; if the usage count is higher, the model name is explicitly indicated. Figure7 is based on studies from 2019–2022. Figure8 has no time period limit 2789 The application ofmachine learning fordemand prediction… example, commonly used metrics may not adequately account for such domain-specific implications of the prediction error. For tasks with discrete prediction output, the ROC (Receiver Operating Characteristic) curve and the Area Under this Curve (AUC) have an important role in the literature sample. The ROC curve (n = 6) plots the rate of true positives against the rate of false positives and then the AUC (n = 10) shows the general performance of the ML model with regard to distinguishing between positive and negative classifications (Chen etal. 2021; Geiler etal. 2022). Regarding the fourth and fifth most frequent metrics for this output type, which are precision (true positive predictions among all positive predictions) and recall (true positive predictions among all actual positive predictions), the researchers Kozak etal. (2021) discuss further implications of their use. Reflecting on the balance between these two error metrics in response to changing economic conditions, Kozak etal. (2021) explain: “Considering the volatility of global value chains, […], the need for flexible marketing planning is 3.1 3.0 2.1 1.0 11.0 2.0 4.0 Fig. 10 Number of error metrics. Note: Evaluation of the datasets in the empirical studies Basedonthe datasets of theempirical studiesinthe literature sample andfilteredbyoutput type 6 9 10 0510 15 ROC Accuracy AUC Count Errormetric Discrete prediction output 11 16 20 0510 15 20 MAPE MAE RMSE Count Errormetric Metric prediction output Fig. 11 Most frequently used error metrics. Note: Evaluatedby output type and based on the empirical studies 2790 M.Muth et al. stronger than ever […] [requiring] to flexibly react to fast-changing conditions, e.g., prioritizing recall in churn targeting when the economic climate improves and prioritizing precision in difficult times.” When interpreting these error metrics, it is suggested in the literature sample to constantly take into account the demand prediction horizon and its associated uncertainties, especially when dealing with volatile conditions. For example, from research conducted by Sorjamaa etal. (2007), it is implied that there is a need to evaluate prediction performance in relation to the prediction horizon. As cited by Ma and Fildes (2020), their work illustrates that demand predictions intended to provide an outlook for multiple future periods (multilevel predictions) pose a higher level of complexity than single-period demand predictions due to the accumulation of errors, which in turn increase uncertainty. This relationship between the prediction horizon, predictive performance and uncertainty is documented by various authors, including Kmiecik and Zangana (2022) or Wang etal. (2019). Additionally, Albrecht etal. (2021) note that “overall, the models’ performances worsen slightly with increasing lead time.” Given this complexity, Abolghasemi etal. (2020) argue for the definition of prediction intervals, which specify an upper and lower bound for the predictions and represent the range into which projected demand is likely to fall at a certain confidence level. They make the argument, that such intervals can enrich management understanding, stating: “Prediction intervals will provide managers with insights into the most appropriate choice of forecasting methods when the degree of uncertainty is taken into account” (Abolghasemi etal. 2020). Regarding the second approach, the broader business-oriented evaluation, there is an emphasis on the importance of looking beyond the mere measurement of the performance of demand predictions. The contrast is highlighted by Gürses-Tran and Monti (2022), who distinguish between “forecast evaluation based on established forecast error statistics on one side, and the economic valuation of the applied forecast on the other side.” The necessity for those broader considerations is highlighted by Kmiecik and Zangana (2022), who argue that “while comparing the ex-post errors of different forecasts is a method of determining which is superior, it cannot alone justify the value it adds, it is rather a relative measurement.” Therefore, the authors emphasise the necessity of considering the added business value resulting from any improvement of demand predictions, which they describe as “forecast value added.” Within this assessment, they acknowledge various expenses related to model deployment, including financial, temporal and human resources (Kmiecik and Zangana 2022). While the predominant focus in the reviewed studies is on quantitative statistical error metrics, some studies are identified that offer such a more holistic assessment, integrating broader economic and business dimensions for a comprehensive model assessment. For example, Glaeser etal. (2019) look beyond traditional error metrics and evaluate their models based on its potential financial impact on the business. For this reason, they run simulations to compare the potential revenue impacts of using their algorithm to optimise retail locations. Similarly, Khandani etal. (2010) explore the practical implications of enhancing their credit risk prediction model, expecting a 6 to 25% reduction in total losses by identifying high-risk demanders earlier. In addition, Milošević etal. (2017) investigate the potential profit gain associated with their ML churn prevention approach, which 2791 The application ofmachine learning fordemand prediction… promises to increase profit twofold by providing a more accurate identification of demanders likely to churn. An essential final step in the postprocessing phase arises from the general academic need to identify and understand the limitations associated with ML predictions for demand behaviour under volatile macroeconomic conditions. In order to provide a concise systematisation of these issues and restrictions, they are extracted from the 64 reviewed studies and systematically organised into four main areas of limitations: (1) data, (2) generalisability, (3) interpretability and (4) methodological and application limitations. An important number of the identified limitations relate to the (1) data dimension, identified as a relevant constraint in a majority of the studies. These limitations include data inconsistencies such as missing data, omitted variables or unbalanced data due to the origin of the dataset or the way of data collection, where even small deviations in data quality can significantly affect model outcomes, as several authors in the sample indicate (Ghoddusi etal. 2019; Liu etal. 2021). Moreover, this category encompasses issues related to a limited sample size (e.g., Anand and Mishra 2022; Esmeli etal. 2021; Lin etal. 2022) or a restricted number of input variables (e.g., Khandani etal. 2010; Kozak etal. 2021; Raizada and Saini 2021), which can both affect the robustness and predictability of a model. Particularly in this research context, involving a rapidly changing macroeconomic environment where data may not fully reflect evolving demand structures, a regularly cited concern is the use of ML with data from narrowly limited time periods or relying excessively on historical demand data, which can burden the anticipation of more recent turbulent events. As Castillo et al. (2017) emphasise “the efficiency of these techniques strongly depends on the field of application and the correctness of the problem data.” Therefore, in volatile periods, a potential requirement resulting from this limitation is the necessity to incorporate sufficient demand data from such transformative or turbulent phases into model training to provide an accurate data foundation for generating reliable demand predictions about the future development in these times. This is addressed, for example, by Tudor (2022), who specifically splits the data, thereby allowing to incorporate data from the pandemic into the training datasets, enabling the models to adapt to the volatile period. The next category, (2) generalisability, refers to limitations in validating the proposed models for a broader spectrum of demand prediction scenarios, research problems or domain areas that may arise from a very specific research perspective in the study (Kozak etal. 2021). For example, several authors limit their study results to a specific industry, such as retail (e.g., Chashmi etal. 2021; Glaeser etal. 2019; Martínez-de-Albéniz etal. 2020). Others limit their focus to a particular country (e.g., Castillo etal. 2017; Menhaj and Kavoosi-Kalashami 2022; Wu etal. 2022), a prediction item (e.g., Punia and Shankar 2022) or a particular company (Bi etal. 2022; Raizada and Saini 2021). A consequence of this is the general necessity to evaluate the broader applicability of specific research results in relation to the prevailing framework and the practical marketing prediction scenario. Furthermore, in the ML context, the scope for generalisability also includes the fact that not all existing algorithms—especially those that are particularly complex or recently developed—can be taken into account in the modelling or preprocessing stages. Factors 2792 M.Muth et al. contributing to the limited number of ML models considered include not only the necessity for extensive computing time and resources (Chen etal. 2021) but also the frequent emergence of new models in this field. This is evidenced by the literature sample, as several studies introduce new models, such as the PLR-ALSTMNN (Poly-linear regression with Long Short-Term Memory) by Ahmed etal. (2022), the ATLAS (Advanced Temporal Latent-factor Approach to Sales forecasting) by Bi etal. (2022) or the EHTS model (Ensemble of Boosted Hybrid of Deep Learning Models and Technical Analysis for Forecasting Stock Prices) by Kamara etal. (2022). A further category addresses the limited (3) interpretability regarding the model or the relationships it establishes, which is addressed in a smaller but relevant number of studies. Consequently, predicting demand behaviour in a volatile macroeconomic environment involves looking not only at the predictive capabilities of ML but also at the requirements of stakeholders in terms of its understandability, explainability and transparency. As Gürses-Tran and Monti (2022) observe that “more complex models emerge that are less transparent or understandable for the decision makers. However […] when forecast models lack interpretability […], the trust and confidence of stakeholders can suffer when making decisions.” Kozak etal. (2021) echo this by stating: “If decision-makers are not able to interpret data properly or are not able to prepare decisions, big data analytics provides only little value.” From a methodological perspective, specific approaches to gain insights into the demand model can be found in the sample, like feature importance assessment, which estimates the contributions of individual features to improve the predictive model (Ma and Fildes 2020). Another technique is sensitivity analysis, where the changes in the output model are observed when specific inputs are adjusted (Bohanec etal. 2017). To this end, Bohanec etal. (2017) warn that “the explanations closely follow the prediction model; if the model is wrong or performs poorly, the explanations will reflect that.” Study examples for such evaluations can be found in Claveria etal. (2020), who analyse the impact of variables on their GDP growth prediction model and find that underestimated yet crucial survey variables are currently not included in official statistics. Another example can be found in Chen etal. (2021), who use ML in purchasing behaviour research and model customer preferences when considering the influence of sales prices. After modelling, the authors extract the price sensitivity for certain categories and find that products they see as essential to life, like eggs, milk and bread, indicate a low price sensitivity in the model. In contrast, categories such as canned food or ready-to-eat meals, which have a longer shelf life and can be easily stored, show a higher model price sensitivity. They claim that these insights can guide tailored promotions based on consumer price behaviour at the category or product level. The final limitations encountered in the transition from study results to (4) real-world applications as well as notable methodological limitations. Regarding the first aspect, the contribution of Ballestar etal. (2019) from the literature sample, with the acknowledgement of the study of Lamberton and Stephen (2016), can be used to help characterise this problem. They critically discuss the “myopic” approach common in scientific analyses, which often tends to narrow 2793 The application ofmachine learning fordemand prediction… the actual scope of a much larger and multi-layered real-world problem to just a few facets. This can result, for example, from the inability of certain models to include all relevant factors that might influence outcomes in real-world scenarios or from the difficulty of measuring these effects—ranging from broader external variables such as certain prevailing macroeconomic conditions to more detailed information on consumers’ demand behaviour (e.g., Bi et al. 2022; Khandani etal. 2010; Hasheminejad etal. 2022). However, Anand and Mishra (2022) also emphasise the inherent complexity of real-world applications and, in particular, the intricacies that arise from human behaviour, describing it as “nonlinear, nonparametric, irrational, and time-variant.” Furthermore, the necessity of continued practical verification is expressed as a concern regarding real-world operational contexts. As formulated by Kozak et al. (2021) “most of the decision-making techniques use deterministic machine learning (ML) techniques but unfortunately, they do not take into account the variety and volatility of decision-making situations and do not allow for a more flexible approach, i.e., adjusted to changing environmental conditions or changing management priorities.” Unexpected macroeconomic volatility can exacerbate this challenge, as, for example, the development of certain demand influencing variables might not be anticipated in advance at the time when the demand prediction is generated (Castillo etal. 2017). Apart from the issue of real-world applications, the second aspect to be addressed is that of methodological limitations, which cover a wide variety of specific problems. These can be, for example, methodological shortcomings on a technical level regarding the way the model and its parameters are generated in the specific context of ML—which can be the problem of overfitting the model, the partly manual search for model settings (hyperparameters) or the overall strong reliance on the principle of trial-and-error. All of these can significantly complicate the task of placing the ML model and the relationships it contains on a solid theoretical foundation (Claveria etal. 2020; Ghoddusi etal. 2019). Coveney etal. (2016) underscore this, stating: “We argue that it is vital to use theory as a guide to experimental design for maximal efficiency of data collection and to produce reliable predictive models and conceptual knowledge,” and Bi etal. (2022) conclude: “Incorporating economic theory considerations into machine learning models can provide significant additional advantages, and, thus, constitutes a promising direction for future work.” 4.4 Limitations Also the research conducted in this study to develop the systematic literature review is bound by certain limitations. Outlining them helps to contextualise this study’s outcome and also offers an opportunity to build on this foundation in further research. Firstly, a limitation arises from the selection of the Web of Sciencedatabase for this literature review, based on the research study of Gusenbauer and Haddaway (2019), as its scope is restricted to the journals indexed therein. This implies that formats outside journal publications, such as conference proceedings or published books (Kepes etal. 2012; Vlačić etal. 2021), as well as non-academic 2794 M.Muth et al. journals or grey literature (Rejeb etal. 2020), are not specifically covered. Therefore, as the literature sample is focused on journal publications to ensure comparability of the data through strict journal review processes, there is a risk of excluding some current research findings. Furthermore, Ghoddusi etal. (2019) highlight an unavoidable but nevertheless notable restriction for interdisciplinary research involving computer science by pointing to unpublished developments of ML algorithms that are only used for commercial business purposes and are therefore not accessible via studies. In general, however, the interdisciplinary research orientation in this literature review allows for the formation of an overview across disciplines that goes beyond the mainstream of a particular field and that provides a differentiated and more holistic new perspective (Ghoddusi etal. 2019; Rejeb etal. 2020). As a second limitation of this paper, it should be mentioned that the precisely defined search string not only involves the risk of false positives, thus including nonrelevant studies (Linnenluecke etal. 2019; Xiao and Watson 2019), but also a risk of false negatives through excluding papers that fall outside the search string but that may provide relevant knowledge (Durugbo and Al-Balushi 2022). Another consequence of the search string used is that the identified studies largely focus on specific industries such as consumer goods and retail (n = 22) as well as economics and financial management (n = 13). Also, the inclusion of only English language studies could ignore relevant findings from non-English-language studies, as the analysis in this paper highlights relevant geographical research centres, for example in Asia (n = 100) or in large parts of Europe (n = 86), that are non-native English speaking. Third, the definition of the inclusion and exclusion criteria still allows researchers a certain leeway, which can affect interrater reliability (Clark etal. 2021; Xiao and Watson 2019). However, the review protocol with an objective list of criteria clearly limits individual subjectivity and thus ensures the general replicability of the previously presented research findings (Vlačić etal. 2021). 5 Conclusion This systematic literature review summarises recent research evidence on the effective application of ML in times of macroeconomic volatility, particularly focusing on demand prediction. The need to synthesise this specific research knowledge is motivated by the current period, marked by pronounced global uncertainty and turbulence (see Durst etal. 2022; Durugbo and Al-Balushi 2022). Here, accurate demand prediction is crucial for organisational functions like marketing (Kozak etal. 2021; Seyedan and Mafakheri 2020). Therefore, this thematic area is assessed by analysing a sample of 64 journal articles from an initial pool of 2877 papers, which were selected using a catalogue of criteria specifically developed as part of the review protocol (Xiao and Watson 2019). Using an integrative approach with a hybrid methodology (Trapp 2012), relevant knowledge is synthesised from the final sample (Sect.4), thereby contributing to closing the gap identified in previous literature reviews. This systematic literature review thus contributes to the ongoing academic discourse on the effective use of ML in application practice, integrating 2795 The application ofmachine learning fordemand prediction… multidisciplinary insights from various streams within computer science and management science. At the beginning of this systematic literature review, an analysis of the characteristics and abstracts of the articles (Sects. 4.1 and 4.2) reveals that literature since 2010 approximates an exponential trend curve in publications, which demonstrates evidence of a growing scientific interest in this interdisciplinary research topic. A geographical concentration of academic discussion is found, with Asia accounting for the largest share of publications, followed by Europe and North America, with the U.S. and China as the leading countries. The journal “Expert Systems with Applications” and authors such as Hyndman and Breiman deserve special mention, as they are identified as essential references in this complex field. In the further course, this review paper also provides a more detailed perspective with a synthesis of the full texts, chronologically outlining the ML application process (Sect.4.3). The analyses in the preprocessing phase (Sect.4.3.1) indicate that over 75% of the empirical studies involve the use of multivariate models, which emphasises the need to consider multiple factors to capture the multifactorial nature of demand behaviour in a volatile environment. Additionally, forward-looking variables are identified as important input variables for demand predictions, offering early signals for macroeconomic trends and turning points. Examples cited include market participants’ expectations and sentiments via economic indicators or search trends. In addition, the research regarding the modelling phase (Sect.4.3.2) initially reveals that a majority of the studies illustrate an outperformance of ML over other prediction methods (e.g., Ma and Fildes 2020; Albrecht etal. 2021). This implies the general suitability of ML for modelling complex demand patterns and interdependencies in dynamic market conditions. However, the research also identifies studies where alternative quantitative models surpass ML (e.g., Abolghasemi etal. 2020; Lotfi etal. 2023), indicating that ML models do not possess universal superiority in this context. Furthermore, the analysis delivers an assessment of the usage frequency of different models in the empirical studies, as well as the frequency with which models are explicitly recommended by researchers due to their superior predictive performance. There, it becomes evident that supervised ML algorithms are prevalent in approximately 90% of the studies. Furthermore, around half of the research papers demonstrate the outperformance of combining multiple models via hybrid or ensemble modelling, underscoring their significance for resilient demand prediction in complex data environments. The analysis also highlights specific ML algorithms, recommending their inclusion for modelling in this context. Around 40% of the studies report that Artificial Neural Networks, either fully or partially, contribute to the best-performing model, with Recurrent Neural Networks particularly standing out for their ability to capture time-dependent and non-linear relationships. The analysis identifies further key ML algorithms in this context—specifically Random Forests/Decision Trees, and Gradient Boosting—as particularly effective, each demonstrating superior performance in over 10% of the studies. Additional modelling strategies to account for demand volatility are also discussed, such as employing the Coefficient of Variation, demand decomposition, pooling, or specific time windows. Finally, in the postprocessing phase (Sect.4.3.3), evaluation 2796 M.Muth et al. strategies are identified that account not only for statistical performance but also for the broader business-oriented implications of ML demand predictions. Moreover, from the 64 studies, four main types of limitations are synthesised to consider when implementing ML demand prediction under macroeconomic volatility: (1) data, (2) generalisability, (3) interpretability, as well as (4) methodological and application-related limitations. Overall, based on the research findings, an evidence-based guideline can be provided to reinforce business areas such as marketing under the prevailing conditions. Future research directions can be derived from the conceptualisation of the field as presented in this systematic literature review (Sect.4.2). As determined in this paper by a correspondence analysis of the extracted abstract terms, the scientific field can be categorised into five focus research areas: (F1) ML methods and their application context, (F2) Economic factors, (F3) Time series forecasting, (F4) Neural network predictions, and (F5) Customer frameworks. Within these areas, further in-depth investigation is encouraged. Moreover, additional conceptual work is important, such as developing a structured framework to provide state-of-the-art directives for applying ML in demand prediction (Alsharef etal. 2022; Durugbo and Al-Balushi 2022; Ghoddusi etal. 2019). Research opportunities also stem from expanding upon the key insights through further empirical investigations. In a broader sense, this paper encourages the fostering of more integrated approaches that harmonise rigorous algorithmic methods with practical business objectives. It emphasises the need for a particularly holistic perspective to consider interdisciplinary interactions between research areas, as seen, for example, especially between the disciplines of computer science and management science. The comprehensive overview resulting from this study is intended to provide a platform for future developments in this rapidly evolving field. By introducing a new view and a deeper systematisation of the research area, this systematic literature review can act as a robust scientific foundation for further academic and practical endeavours. Supplementary Information The online version contains supplementary material available at https:// doi. org/ 10. 1007/ s1130102400447-8. Funding Open Access funding enabled and organized by Projekt DEAL. The authors declare that no funds, grants, or other support were received during the preparation of this manuscript. Data availability As a supporting document, an Excel file with a detailed overview of all papers incorporated in the literature sample is provided with the manuscript submission. This file complements the information provided in this systematic literature review, which already includes specifics regarding the data collection, such as the literature sources, search string, and selection criteria. For additional analyses and information regarding the research paper, the corresponding author can be contacted. We ensure that all data supporting this study’s results are available in the article, supplementary documents, or through the corresponding author, upholding transparency and full accessibility to the scientific community. Declarations Competing interests The authors have no relevant financial or non-financial interests to disclose. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative 2797 The application ofmachine learning fordemand prediction… Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/ licenses/by/4.0/. References Abolghasemi M, Beh E, Tarr G, Gerlach R (2020) Demand forecasting in supply chain: the impact of demand volatility in the presence of promotion. Comput Ind Eng 142:106380. https:// doi. org/ 10. 1016/j. cie. 2020. 106380 Ahmed S, Chakrabortty RK, Essam DL, Ding W (2022) Poly-linear regression with augmented long short term memory neural network: predicting time series data. Inf Sci 606:573–600. https:// doi. org/ 10. 1016/j. ins. 2022. 05. 078 Albrecht T, Rausch TM, Derra ND (2021) Call me maybe: methods and practical implementation of artificial intelligence in call center arrivals’ forecasting. J Bus Res 123:267–278. https:// doi. org/ 10. 1016/j. jbusr es. 2020. 09. 033 Alsharef A, Aggarwal K, Sonia KM, Mishra A (2022) Review of ML and AutoML solutions to forecast time-series data. Arch Comput Method Eng 29:5297–5311. https:// doi. org/ 10. 1007/ s1183102209765-0 Anand S, Mishra K (2022) Identifying potential millennial customers for financial institutions using SVM. J Financ Serv Mark 27:335–345. https:// doi. org/ 10. 1057/ s4126402100128-7 Angus RW, Packard MD, Clark BB (2023) Distinguishing unpredictability from uncertainty in entrepreneurial action theory. Small Bus Econ 60:1147–1169. https:// doi. org/ 10. 1007/ s1118702200651-4 Aria M, Cuccurullo C (2023) Package ’bibliometrix’–comprehensive science mapping analysis. CRAN. https:// cran.rproje ct. org/ web/ packa ges/ bibli ometr ix/ bibli ometr ix. pdf Aria M, Cuccurullo C (2017) Bibliometrix: an R-tool for comprehensive science mapping analysis. J Informetr 11:959–975. https:// doi. org/ 10. 1016/j. joi. 2017. 08. 007 Arunraj NS, Ahrens D (2015) A hybrid seasonal autoregressive integrated moving average and quantile regression for daily food sales forecasting. Int J Prod Econ 170:321–335. https:// doi. org/ 10. 1016/j. ijpe. 2015. 09. 039 Ballestar MT, Grau-Carles P, Sáinz J (2019) Predicting customer quality in e-commerce social networks: a machine learning approach. Rev Manag Sci 13:589–603. https:// doi. org/ 10. 1007/ s118460180316-x Bi X, Adomavičius G, Li W, Qu A (2022) Improving sales forecasting accuracy: a tensor factorization approach with demand awareness. INFORMS J Comput 34:1644–1660. https:// doi. org/ 10. 1287/ ijoc. 2021. 1147 Black JE, Kueper JK, Williamson TS (2022) An introduction to machine learning for classification and prediction. Fam Pract 40:200–204. https:// doi. org/ 10. 1093/ fampra/ cmac1 04 Bohanec M, Borštnar MK, Robnik-Šikonja M (2017) Explaining machine learning models in sales predictions. Expert Syst Appl 71:416–428. https:// doi. org/ 10. 1016/j. eswa. 2016. 11. 010 Booth A, Sutton A, Papaioannou D (2016) Systematic approaches to a successful literature review, 2nd edn. Sage, Los Angeles Breiman L (2001) Random forests. Mach Learn 45:5–32. https:// doi. org/ 10. 1023/A: 10109 33404 324 Bukhari AH, Raja MAZ, Sulaiman M, Islam S, Shoaib M, Kumam P (2020) Fractional neuro-sequential ARFIMA-LSTM for financial market forecasting. IEEE Access 8:71326–71338. https:// doi. org/ 10. 1109/ access. 2020. 29857 63 Cariolle J, Goujon M (2013) Measuring macroeconomic instability: a critical survey illustrated with exports series. J Econ Surv 29:1–26. https:// doi. org/ 10. 1111/ joes. 12036 Castillo PA, Mora AM, Faris H, Merelo JJ, Garcia-Sanchez P, Fernandez-Ares AJ, De las Cuevas P, Garcia-Arenas MI (2017) Applying computational intelligence methods for predicting the sales of newly published books in a real editorial business management environment. Knowl-Based Syst 115:133–151. https:// doi. org/ 10. 1016/j. knosys. 2016. 10. 019 2798 M.Muth et al. Chashmi AJ, Rahmati V, Rezasoroush B, Alamoti MM, Askari M, Khalili FH (2021) Predicting customer turnover using recursive neural networks. Wirel Commun Mob Comput 2021:1–11. https:// doi. org/ 10. 1155/ 2021/ 66230 52 Chen M (2022) A MapReduce-based artificial neural network churn prediction for music streaming service. Int J Comput Sci Netw Secur 22:55–60. https:// doi. org/ 10. 22937/ IJCSNS. 2022. 22.1.9 Chen SS, Choubey B, Singh V (2021) A neural network based price sensitive recommender model to predict customer choices based on price effect. J Retail Consum Serv 61:102573. https:// doi. org/ 10. 1016/j. jretc onser. 2021. 102573 Clark WR, Clark LA, Raffo DM, Williams RI (2021) Extending Fisch and Block’s (2018) tips for a systematic review in management and business literature. Manag Rev Q 71(1):215–231. https:// doi. org/ 10. 1007/ s1130102000184-8 Claveria O, Monte E, Torra S (2020) Economic forecasting with evolved confidence indicators. Econ Model 93:576–585. https:// doi. org/ 10. 1016/j. econm od. 2020. 09. 015 Conrad CA (2020) Angewandte makroökonomie—eine praxisbezogene einführung. Springer, Wiesbaden. https:// doi. org/ 10. 1007/ 978-365830055-5 Contreras-Masse R, Ochoa-Zezzatti A, Perez-Dominguez L, Naudascher K (2022) Data-driven enterprises for economic recovery after pandemic: a study case in consumer-packaged goods industry. Int J Comb Optim Probl Inform 13:33–39 Coussement K, Van den Poel D (2008) Churn prediction in subscription services: an application of support vector machines while comparing two parameter-selection techniques. Expert Syst Appl 34:313–327. https:// doi. org/ 10. 1016/j. eswa. 2006. 09. 038 Coveney PV, Dougherty ER, Highfield RR (2016) Big data need big theory too. Phil Trans R Soc A 374:20160153. https:// doi. org/ 10. 1098/ rsta. 2016. 0153 Danaher PJ, Brodie RJ (2000) Understanding the characteristics of price elasticities for frequently purchased packaged goods. J Mark Manag 16:917–936. https:// doi. org/ 10. 1362/ 02672 57007 84683 726 Denyer D, Tranfield D (2009) Producing a systematic review. In: Buchanan DA, Bryman A (eds) The sage handbook of organizational research methods. Sage Publications Ltd, London, pp 671–689 Denyer D, Tranfield D, Van Aken JE (2008) Developing design propositions through research synthesis. Organ Stud 29:393–413. https:// doi. org/ 10. 1177/ 01708 40607 088020 Donthu N, Kumar S, Mukherjee D, Pandey N, Lim WM (2021) How to conduct a bibliometric analysis: an overview and guidelines. J Bus Res 133:285–296. https:// doi. org/ 10. 1016/j. jbusr es. 2021. 04. 070 Dörner A, Maisch M, Münchrath J (2023) Beben an den märkten. Handelsblatt, Düsseldorf, pp 6–8 Duca JV, Muellbauer J, Murphy A (2010) Housing markets and the financial crisis of 2007–2009: lessons for the future. J Financ Stabil 6:203–217. https:// doi. org/ 10. 1016/j. jfs. 2010. 05. 002 Duncan GT, Gorr WL, Szczypula J (2001) Forecasting analogous time series. In: Armstrong JS (ed) Principles of forecasting: a handbook for researchers and practitioners. Springer, Boston, pp 195–213. https:// doi. org/ 10. 1007/ 978-030647630-3_ 10 Durst S, Foli S, Edvardsson IR (2022) A systematic literature review on knowledge management in SMEs: current trends and future directions. Manag Rev Q 74:263–288. https:// doi. org/ 10. 1007/ s1130102200299-0 Durugbo CM, Al-Balushi Z (2022) Supply chain management in times of crisis: a systematic review. Manag Rev Q 73:1179–1235. https:// doi. org/ 10. 1007/ s1130102200272-x Efat MIA, Hájek P, Abedin MZ, Azad RU, Jaber MA, Aditya S, Hassan MK (2022) Deep-learning model using hybrid adaptive trend estimated series for modelling and forecasting sales. Ann Oper Res 22:1–32. https:// doi. org/ 10. 1007/ s1047902204838-6 El Shoubaki A, Block J, Lasch F (2021) The couple business as a unique form of business: a review of the empirical evidence. Manag Rev Q 72:115–147. https:// doi. org/ 10. 1007/ s1130102000206-5 Ernst J, Schmidt J, Beneken G (2020) Grundkurs informatik: grundlagen und konzepte für die erfolgreiche IT-praxis eine umfassende, praxisorientierte einführung, 7th edn. Springer, Wiesbaden Esmaeilzadeh P (2023) The role of ChatGPT in disrupting concepts, changing values, and challenging ethical norms: a qualitative study. AI Ethics 2023:1–14. https:// doi. org/ 10. 1007/ s4368102300338-w Esmeli R, Bader-El-Den M, Abdullahi H (2021) Towards early purchase intention prediction in online session based retailing systems. Electron Mark 31:697–715. https:// doi. org/ 10. 1007/ s1252502000448-x European Central Bank (2023) Eurosystem staff macroeconomic projections for the euro area-December 2023. https:// www. ecb. europa. eu/ pub/ pdf/ other/ ecb. proje ction s2023 12_ euros ystem staff ~9a39a b5088. en. pdf