<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Artif. Intell.</journal-id>
<journal-title>Frontiers in Artificial Intelligence</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Artif. Intell.</abbrev-journal-title>
<issn pub-type="epub">2624-8212</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/frai.2025.1612772</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Artificial Intelligence</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>The role of AI-enhanced fast delivery services in strengthening customer retention and loyalty in competitive markets</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Kasoju</surname>
<given-names>Apoorva</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x002A;</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/2981524/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Vishwakarma</surname>
<given-names>Tejavardhana</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/3201227/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Kasoju</surname>
<given-names>Abhinaya</given-names>
</name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Amazon</institution>, <addr-line>Lynnwood, WA</addr-line>, <country>United States</country></aff>
<aff id="aff2"><sup>2</sup><institution>Metro Markets</institution>, <addr-line>Berlin</addr-line>, <country>Germany</country></aff>
<author-notes>
<fn fn-type="edited-by" id="fn0001"><p>Edited by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2907889/overview">Ernesto Leon-Castro</ext-link>, Universidad Catolica de la Santisima Concepcion, Chile</p></fn>
<fn fn-type="edited-by" id="fn0002">
<p>Reviewed by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2423247/overview">Sara Ramezani</ext-link>, University of Tehran, Iran</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3037781/overview">Tanya Samantha Garcia Gastelum</ext-link>, Autonomous University of Sinaloa, Mexico</p>
</fn>
<corresp id="c001">&#x002A;Correspondence: Apoorva Kasoju, <email>apoorva.kasoju2712@gmail.com</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>10</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>8</volume>
<elocation-id>1612772</elocation-id>
<history>
<date date-type="received">
<day>16</day>
<month>04</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>29</day>
<month>08</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x00A9; 2025 Kasoju, Vishwakarma and Kasoju.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Kasoju, Vishwakarma and Kasoju</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>This research presents an AI-enhanced framework to optimize last-mile delivery systems by integrating predictive analytics, Reinforcement Learning (RL), and customer personalization. The predictive analytics component utilized XGBoost and Random Forest models to forecast delivery times. Random Forest achieved better performance, with a Root Mean Square Error of 1.52 and an R-squared value of 0.56. RL-based route optimization improved operational efficiency by reducing the average delivery time from 31.2 to 25.4&#x202F;min, increasing timely deliveries from 78\% to 92\%, and reducing idle time by 15\%. Customer personalization, driven by sentiment analysis and clustering, increased positive sentiment from 68\% to 80\%. It also improved Net Promoter Scores from 68 to 85 and increased customer retention from 74\% to 89\%. The proposed framework addresses the challenges of last-mile delivery by combining data-driven predictions, adaptive routing, and personalized customer strategies. Future work will explore real-world implementation using real-time traffic data and advanced personalization techniques to improve adaptability and scalability.</p>
</abstract>
<kwd-group>
<kwd>AI-enhanced delivery</kwd>
<kwd>predictive analytics</kwd>
<kwd>reinforcement learning</kwd>
<kwd>customer personalization</kwd>
<kwd>last-mile delivery</kwd>
<kwd>operational efficiency</kwd>
</kwd-group>
<counts>
<fig-count count="26"/>
<table-count count="7"/>
<equation-count count="13"/>
<ref-count count="33"/>
<page-count count="24"/>
<word-count count="9947"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>AI in Business</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="sec1">
<label>1</label>
<title>Introduction</title>
<p>The rise of e-commerce and on-demand services has fundamentally transformed consumer expectations about delivery speed and quality (<xref ref-type="bibr" rid="ref31">Zhou et al., 2025</xref>). Today, customers prioritize fast, reliable, and personalized delivery services, often making purchasing decisions based on the promise of timely delivery (<xref ref-type="bibr" rid="ref31">Zhou et al., 2025</xref>). In response, businesses are increasingly adopting AI-driven technologies to enhance their last-mile delivery capabilities (<xref ref-type="bibr" rid="ref12">Islam et al., 2024</xref>). These technologies aim to optimize route planning, predict delivery times, and personalize the delivery experience (<xref ref-type="bibr" rid="ref23">Muthukalyani, 2024</xref>). This caters to the ever-growing demands of modern consumers. AI-powered delivery systems improve operational efficiency and impact customer satisfaction and loyalty (P. <xref ref-type="bibr" rid="ref28">Singh and Singh, 2024</xref>). Efficient delivery is critical for maintaining customers in competitive markets, as delays or inaccuracies can lead to negative experiences and customer churn (<xref ref-type="bibr" rid="ref4">Bahashwan, 2025</xref>). By using machine learning, predictive analytics, and real-time&#x02DC; data, businesses can address these challenges (<xref ref-type="bibr" rid="ref21">Mart&#x00ED;nez-Troncoso and Solis, 2025</xref>). This fosters a smooth delivery process and improves relationships with customers. Despite advances, existing delivery systems face challenges in scalability and adaptability to dynamic market conditions (<xref ref-type="bibr" rid="ref13">Johnson et al., 2024</xref>). In addition, they struggle with the integration of customer feedback into delivery processes (<xref ref-type="bibr" rid="ref2">Ajike et al., 2025</xref>). These gaps highlight the need for an improved framework that combines operational excellence with customer-centric features. This research is driven by the chance to investigate how AI-powered delivery systems can close existing gaps. Establish new standards for customer retention and loyalty within competitive markets.</p>
<p>This research focuses on optimizing AI-driven delivery systems to boost customer retention and loyalty in competitive markets. It also addresses operational inefficiencies and customer satisfaction issues. Existing solutions largely rely on standalone AI tools for specific tasks. These tasks include route optimization, demand forecasting, or customer feedback analysis. Although these systems have shown promise, they often operate in silos and do not provide an integrated view of the delivery ecosystem (<xref ref-type="bibr" rid="ref2">Ajike et al., 2025</xref>). Many current implementations lack personalization features and robust feedback loops. This limitation affects their ability to adapt to individual customer preferences and evolving market demands. It is necessary to build comprehensive frameworks that holistically address both operational and customer-centric goals (<xref ref-type="bibr" rid="ref5">Bennett, 2024</xref>).</p>
<p>We propose a comprehensive AI-enhanced delivery framework. This framework integrates predictive analytics, route optimization, and personalized customer engagement features. Unlike existing systems, our approach emphasizes the seamless integration of operational efficiency and customer-centric design. This is achieved by using real-time data and adaptive learning models. This unified framework not only improves delivery speed and accuracy, but also enhances customer satisfaction by offering personalized services. Consequently, it cultivates enhanced retention and loyalty. By addressing the limitations of current systems, our solution provides a more scalable and adaptable approach to last-mile delivery challenges.</p>
<p>To address the research problem, the following research questions are formulated:</p>
<list list-type="order">
<list-item><p>What are the key challenges faced by current delivery systems in ensuring customer retention and loyalty?</p></list-item>
<list-item><p>How can AI technologies be used to optimize delivery operations and enhance customer satisfaction?</p></list-item>
<list-item><p>What are the measurable impacts of AI-driven delivery systems on customer retention and operational efficiency?</p></list-item>
<list-item><p>How does the proposed framework compare with existing solutions in terms of scalability and adaptability?</p></list-item>
</list>
<p>This research is significant because it addresses a critical gap in the intersection of operational efficiency and customer experience in last-mile delivery services. Using AI technologies, this study aims to provide a scalable and adaptable solution that meets the demands of modern consumers. The findings of this research can help businesses achieve a competitive edge by improving customer retention and loyalty, which are key in highly competitive markets. Furthermore, this study contributes to the academic and industry discourse on AI applications in logistics and supply chain management. By offering a holistic view of AI-enhanced delivery systems, this research paves the way for future advancements, bridging the gap between theoretical innovation and practical implementation.</p>
<p>The objectives of this study are four-fold. First, it identifies the current challenges and limitations faced by AI-based delivery systems in competitive markets. Second, it presents an integrated framework that combines predictive analytics, reinforcement-based route optimization, and customer personalization. Third, it evaluates the framework using real-world data sets to assess improvements in customer satisfaction, delivery accuracy, and operational efficiency. Fourth, it offers practical recommendations for implementation in commercial contexts. These objectives are addressed in the methodology (Section 3), analyzed through experimental results (Section 5), and further discussed in terms of comparative performance (Section 6).</p>
<p>The remainder of this paper is organized as follows. The next section reviews the related literature on AI-enhanced delivery systems and customer retention strategies. This is followed by a detailed discussion of the proposed AI-powered delivery framework and its components. The methodology and data sources used in this study are then described, leading to the results and analysis. The discussion section interprets the findings and their implications, and the paper concludes with a summary of the study and directions for future research.</p>
</sec>
<sec id="sec2">
<label>2</label>
<title>Literature review</title>
<p>The use of AI to enhance customer experiences, operational efficiency, and business decision-making is gaining traction across industries. This section reviews key studies, categorized into AI in customer engagement, CRM, supply chain management, and industry-specific innovations.</p>
<p>Kumar et al. investigated AI-powered marketing strategies, highlighting their impact on improving customer engagement and decision-making efficiency (<xref ref-type="bibr" rid="ref16">Kumar et al., 2024</xref>). Their study employed real world marketing datasets to demonstrate AI&#x2019;s ability to segment customers and drive targeted campaigns. Prem and D focused on hyper-personalization in FMCG marketing, showing how AI-enhanced personalization led to higher conversion rates and customer loyalty (<xref ref-type="bibr" rid="ref25">Prem, 2025</xref>). The authors used proprietary FMCG customer interaction data, emphasizing challenges in scaling AI to diverse customer bases. Magdy&#x2019;s work on customer segmentation in the banking sector revealed the precision of.</p>
<p>AI in classifying customer groups, enabling targeted campaigns and optimized resource allocation (<xref ref-type="bibr" rid="ref20">Magdy et al., 2023</xref>). Their study relied on customer behavior datasets from regional banking institutions, but noted limitations in adapting AI models to evolving customer preferences.</p>
<p>Bhuiyan provided an in-depth analysis of AI-driven personalization&#x2019;s cross-sector applicability, consolidating insights from case studies and industry reports (<xref ref-type="bibr" rid="ref6">Bhuiyan, 2024</xref>). These studies support the use of AI for personalized customer interaction and behavior segmentation. However, they do not examine how such personalization strategies can be connected with operational logistics. Our work builds upon these findings by integrating sentiment-based personalization into the delivery process, aligning with Objective iii of this study. The study demonstrated AI&#x2019;s ability to tailor customer experiences across domains, highlighting its flexibility and adaptability. Kanapathipillai et al. studied AI&#x2019;s role in enhancing customer experiences in Malaysian retail, using survey data from 384 Shopee users to show significant improvements in operational efficiency and customer satisfaction (<xref ref-type="bibr" rid="ref14">Kanapathipillai et al., 2024</xref>). Ejimuda and Ijomah investigated the use of AI-enabled chatbots in improving SME customer interactions and service efficiency, utilizing datasets from SME platforms (<xref ref-type="bibr" rid="ref15">Kedi et al., 2024</xref>).</p>
<p>Ijomah and Abiagom explored the application of AI-driven language processing in customer interactions, showcasing its role in enhancing service quality and consistency (<xref ref-type="bibr" rid="ref1">Abiagom and Ijomah, 2024</xref>). This study utilized NLP-based tools and datasets, with findings indicating significant improvements in response times and customer satisfaction.</p>
<p>Ashraf extended the scope by studying AI&#x2019;s application in multichannel marketing, providing insights into its role in improving engagement metrics and campaign effectiveness (<xref ref-type="bibr" rid="ref3">Ashraf and Yang, 2024</xref>). Their work consolidated data from multiple industries, demonstrating AI&#x2019;s versatility in addressing diverse marketing challenges. Eyo-Udo added further depth by analyzing AI&#x2019;s impact on customer engagement within supply chains, leveraging AI to enhance customer satisfaction through optimized logistic (<xref ref-type="bibr" rid="ref8">Eyo-Udo, 2024</xref>).</p>
<p>Gattupalli&#x2019;s study on AI-enhanced CRM demonstrated a 15% increase in retention rates and a 20% improvement in click-through rates (<xref ref-type="bibr" rid="ref9">Gattupalli, 2024</xref>). The research used omnichannel retail data and highlighted privacy challenges as a key limitation. Oyedeji&#x2019;s work focused on predictive analytics in CRM, emphasizing AI&#x2019;s role in driving customer loyalty and satisfaction (<xref ref-type="bibr" rid="ref24">Oyedeji, 2024</xref>). The study used CRM interaction datasets but identified algorithmic bias as a concern. Singh et al. explored AI-enhanced e-CRM systems in banking, reporting significant gains in customer satisfaction (<italic>&#x03B2;</italic>&#x202F;=&#x202F;0.43, <italic>p&#x202F;&#x003C;</italic> 0.01) (<xref ref-type="bibr" rid="ref27">Singh et al., 2023</xref>). Their work utilized survey data from 23 banking branches and noted scalability challenges in implementing AI-driven systems across diverse organizational structures.</p>
<p>While these studies highlight AI&#x2019;s potential for CRM and segmentation, their approaches typically lack integration with delivery-time estimation or route management. In contrast, our framework combines predictive analytics with reinforcement learning and feedback-driven personalization, addressing Objectives ii and iii concurrently.</p>
<p>Siddiqui&#x2019;s work demonstrated the value of AI-driven personalization in the insurance sector, focusing on improving customer retention rates through tailored recommendations (<xref ref-type="bibr" rid="ref26">Siddiqui, 2024</xref>). Additionally, Kumar et al. highlighted the potential of AI in refining CRM systems within the service industry, where personalization and predictive tools significantly boosted customer lifetime value (<xref ref-type="bibr" rid="ref16">Kumar et al., 2024</xref>). Magdy&#x2019;s supplementary work explored evolving customer behaviors within AI systems, demonstrating the adaptability of AI solutions in dynamic markets (<xref ref-type="bibr" rid="ref180">Magdy, 2024</xref>).</p>
<p>Eyo-Udo conducted an extensive review of the impact of AI on supply chains, summarizing insights from a decade of research (2013&#x2013;2023) (<xref ref-type="bibr" rid="ref8">Eyo-Udo, 2024</xref>). The study highlighted the ability of AI to streamline operations, reduce costs, and improve agility using historical supply chain performance data. However, scalability and adaptability challenges were frequently mentioned as barriers.</p>
<p>Kanapathipillai&#x2019;s exploration of AI in retail contexts further illustrated how supply chain optimization impacts customer experience through improved delivery times and inventory management (<xref ref-type="bibr" rid="ref14">Kanapathipillai et al., 2024</xref>). The findings of Ejimuda and Ijomah on chatbots are indirectly related to supply chain efficiency by showing how AI-enabled customer interactions can streamline order processes (<xref ref-type="bibr" rid="ref15">Kedi et al., 2024</xref>). The role of AI in enabling cross-sector adaptability was further emphasized in Bhuiyan&#x2019;s work (<xref ref-type="bibr" rid="ref6">Bhuiyan, 2024</xref>). Siddiqui also noted how AI-enabled logistics and predictive modeling contributed to enhanced customer satisfaction within insurance and logistics industries (<xref ref-type="bibr" rid="ref26">Siddiqui, 2024</xref>).</p>
<p>In the telecom industry, Kunal et al. examined AI&#x2019;s influence on customer retention, identifying high churn rates as a persistent challenge (<xref ref-type="bibr" rid="ref17">Kunal et al., 2023</xref>). Their analysis relied on telecom customer data and revealed limitations in algorithmic generalizability. Siddiqui&#x2019;s work in the insurance sector emphasized data privacy as a critical concern but also highlighted how AI-driven models significantly improve customer engagement and retention rate (<xref ref-type="bibr" rid="ref26">Siddiqui, 2024</xref>). Ejimuda expanded on these insights by demonstrating the efficacy of AI chatbots in streamlining interactions within marketing platforms (<xref ref-type="bibr" rid="ref15">Kedi et al., 2024</xref>).</p>
<p>Ijomah and Abiagom&#x2019;s work on language processing detailed the role of AI in creating effective customer communication channels, leveraging NLP for more dynamic interactions (<xref ref-type="bibr" rid="ref1">Abiagom and Ijomah, 2024</xref>). Ashraf&#x2019;s findings on multichannel AI applications bridged various industries, demonstrating significant potential in expanding customer engagement strategies (<xref ref-type="bibr" rid="ref3">Ashraf and Yang, 2024</xref>).</p>
<p>In all reviewed studies, common challenges include privacy and trust issues (<xref ref-type="bibr" rid="ref248">Oyedeji, 2023</xref>; (<xref ref-type="bibr" rid="ref9">Gattupalli, 2024</xref>), scalability concerns (<xref ref-type="bibr" rid="ref28">Singh and Singh, 2024</xref>); (<xref ref-type="bibr" rid="ref8">Eyo-Udo, 2024</xref>), and adapting AI systems to dynamic customer behavior (<xref ref-type="bibr" rid="ref20">Magdy et al., 2023</xref>; <xref ref-type="bibr" rid="ref14">Kanapathipillai et al., 2024</xref>). Despite challenges, advances in NLP, predictive analytics, and machine learning continue to enhance customer experiences. Further integration of AI in various industries promises efficiency and customer satisfaction, although ethical concerns and data transparency persists. The literature highlights AI&#x2019;s impact on customer engagement, CRM, and operations. AI improves outcomes through data-driven insights, from personalized marketing to supply chain optimization. Privacy, scalability, and ethical implementation challenges demand ongoing research to boost AI&#x2019;s applicability and sustain industry growth.</p>
<p>Taken together, these studies validate the potential of AI tools in logistics and customer management but fall short of offering a unified system that meets the dual goals of operational efficiency and customer retention, as targeted in our proposed framework. In addition to AI-centric approaches, several traditional methods have been developed for optimizing logistics and delivery operations. For instance, (<xref ref-type="bibr" rid="ref29">Solomon, 1987</xref>) introduced heuristics for the Vehicle Routing Problem with Time Windows (VRPTW), which remaina baseline for last-mile delivery modeling. <xref ref-type="bibr" rid="ref18">Laporte (2009)</xref> reviewed classical vehicle routing algorithms and their variants, including exact and metaheuristic techniques. These works primarily focus on routing efficiency without incorporating real-time adaptation or customer feedback mechanisms. Our framework complements this line of research by integrating learning-based optimization with personalized service strategies, addressing both operational and experiential dimensions of last-mile delivery.</p>
</sec>
<sec id="sec3">
<label>3</label>
<title>Proposed methodologies</title>
<p>The proposed methodology is structured to directly address the four research objectives outlined in the introduction. Predictive analytics supports accurate estimation of delivery times, contributing to improved planning and customer communication. Reinforcement learning is applied to route optimization, targeting the reduction of idle time and enhancing delivery efficiency. Customer personalization is designed to improve satisfaction and retention by incorporating feedback and behavioral data. These components are implemented using three datasets and evaluated in terms of their impact on customer experience and operational outcomes. This section presents the complete framework, from data preparation to model integration, in a step-by-step manner.</p>
<p>This methodology is designed to systematically analyze and validate the impact of AI-enhanced delivery systems on customer retention and loyalty. The study uses three data sets: the last-mile delivery data set (LaDe) (<xref ref-type="bibr" rid="ref30">Wu et al., 2025</xref>), customer reviews of food delivery services (<xref ref-type="bibr" rid="ref7">Dhanawat et al., 2024</xref>), and the online data set of food delivery service quality and customer satisfaction (<xref ref-type="bibr" rid="ref22">Morgeson et al., 2023</xref>). This section outlines the methodological steps in detail and integrates mathematical formulations and explanations. The overall methodology is provided in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p>
<fig position="float" id="fig1">
<label>Figure 1</label>
<caption>
<p>Overall diagram of the proposed methodology.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g001.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Flowchart illustrating an AI-enhanced framework for delivery strategies. It starts with data collection (D1, D2, D3), moves to data preprocessing, then branches into segments like customer personalization, sentiment analysis, and others. Each segment leads to optimized routes, predictive analytics, reinforcement learning, customer clustering, delivery time prediction, and tailored delivery strategies.</alt-text>
</graphic>
</fig>
<sec id="sec4">
<label>3.1</label>
<title>Data integration and preprocessing</title>
<p>The datasets, denoted as <inline-formula><mml:math id="M1"><mml:mi>D</mml:mi><mml:mn>1</mml:mn><mml:mspace width="0.25em"/><mml:mo stretchy="true">(</mml:mo><mml:mtext>LaDe</mml:mtext><mml:mo stretchy="true">)</mml:mo><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:mn>2</mml:mn><mml:mspace width="0.25em"/></mml:math>
</inline-formula>(Customer Reviews), and <italic>D</italic><sub>3</sub> (Online Food Delivery Quality), are integrated into a unified dataset <italic>D</italic>:</p>
<disp-formula id="EQ1"><label>(1)</label><mml:math id="M2"><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mi>D</mml:mi><mml:mn>1</mml:mn><mml:mo>&#x222A;</mml:mo><mml:mi>D</mml:mi><mml:mn>2</mml:mn><mml:mo>&#x222A;</mml:mo><mml:mi>D</mml:mi><mml:mn>3</mml:mn></mml:math></disp-formula>
<p>Preprocessing Steps:</p>
<list list-type="order">
<list-item><p>Data Cleaning: Missing values are addressed using imputation. For numerical features, mean imputation is applied:</p></list-item>
</list>
<disp-formula id="EQ2"><label>(2)</label><mml:math id="M3"><mml:msub><mml:mi>x</mml:mi><mml:mi mathvariant="italic">ij</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>n</mml:mi></mml:mfrac><mml:mspace width="0.25em"/><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:msubsup><mml:mi mathvariant="italic">xkj</mml:mi><mml:mspace width="0.25em"/><mml:mtext>where</mml:mtext><mml:mspace width="0.25em"/><mml:mi mathvariant="italic">xkj</mml:mi><mml:mo>/</mml:mo><mml:mo>=</mml:mo><mml:mi>NaN</mml:mi></mml:math></disp-formula>
<p>For categorical features, the mode of each column is used.</p>
<list list-type="simple">
<list-item><p>2. Feature Engineering: Key features such as delivery time (<italic>T<sub>d</sub></italic>), customer satisfaction (<italic>S<sub>c</sub></italic>), and sentiment polarity (<italic>P<sub>s</sub></italic>) are extracted. Sentiment polarity is computed as:</p></list-item>
</list>
<disp-formula id="EQ13">
<label>(3)</label><mml:math id="M4"><mml:msub><mml:mi>P</mml:mi><mml:mi>s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mtext>Positive Words Count</mml:mtext><mml:mo>&#x2212;</mml:mo><mml:mtext>Negative Words Count</mml:mtext></mml:mrow><mml:mtext>Total Words Count</mml:mtext></mml:mfrac><mml:mspace width="0.25em"/></mml:math>
</disp-formula>
<list list-type="simple">
<list-item><p>3. Normalization: All numerical features are scaled to [0,1] using min-max normalization:</p></list-item>
</list>
<disp-formula id="EQ3"><label>(4)</label><mml:math id="M5"><mml:msup><mml:mi>x</mml:mi><mml:mi>&#x03B9;</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mo>min</mml:mo><mml:mo stretchy="true">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mrow><mml:mo>max</mml:mo><mml:mo stretchy="true">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mo>min</mml:mo><mml:mo stretchy="true">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="true">)</mml:mo></mml:mrow></mml:mfrac></mml:math></disp-formula>
</sec>
<sec id="sec5">
<label>3.2</label>
<title>Exploratory data analysis (EDA)</title>
<p>EDA is conducted to identify correlations and patterns in the data. For example, the correlation between delivery time (<italic>T<sub>d</sub></italic>) and satisfaction score (<italic>S<sub>c</sub></italic>) is calculated as:</p>
<disp-formula id="EQ4"><label>(5)</label><mml:math id="M6"><mml:msub><mml:mi mathvariant="italic">&#x03C1;T</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo>cov</mml:mo><mml:mo stretchy="true">(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mo stretchy="true">)</mml:mo></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">&#x03C3;T</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">&#x03C3;S</mml:mi><mml:mi>c</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M7"><mml:mo>cov</mml:mo><mml:mspace width="0.25em"/></mml:math></inline-formula> is the covariance and <italic>&#x03C3;</italic> is the standard deviation. Statistical tools and visualizations such as histograms, scatter plots, and heatmaps are used for further insights.</p>
</sec>
<sec id="sec6">
<label>3.3</label>
<title>AI-enhanced framework design</title>
<p>The framework consists of three core components, each specifically designed to optimize key aspects of last-mile delivery. Below, detailed formulations and explanations are provided for each component.</p>
<sec id="sec7">
<label>3.3.1</label>
<title>Predictive analytics</title>
<p>This component uses the dataset <italic>D</italic><sub>1</sub> to predict delivery times (<italic>T<sub>d</sub></italic>) for orders based on various operational factors. Let <inline-formula><mml:math id="M8"><mml:mi>X</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="normal">R</mml:mi><mml:mi>n</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>m</mml:mi></mml:math></inline-formula> represent the matrix of input features, where <italic>n</italic> is the number of observations and <italic>m</italic> is the number of features, and <italic>y</italic> &#x2208; R<italic><sup>n</sup></italic> represents the vector of observed delivery times. The objective is to model <italic>f: X</italic> &#x2192; <italic>y</italic> such that <italic>f</italic>(<italic>X</italic>) &#x2248; <italic>y</italic>.</p>
<p>The predictive model minimizes the following Mean Squared Error (MSE) loss function:</p>
<disp-formula id="EQ5"><label>(6)</label><mml:math id="M9"><mml:mi>L</mml:mi><mml:mo stretchy="true">(</mml:mo><mml:mi>&#x03B8;</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mi>n</mml:mi><mml:mspace width="0.25em"/></mml:mrow></mml:mfrac><mml:mspace width="0.25em"/><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:msubsup><mml:mo stretchy="true">(</mml:mo><mml:msubsup><mml:mi mathvariant="script">Y</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0302;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="script">Y</mml:mi><mml:mi>i</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mn>2</mml:mn><mml:mspace width="0.25em"/></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M10"><mml:mi>y</mml:mi><mml:mi mathvariant="normal">&#x02C6;</mml:mi><mml:mi>i</mml:mi></mml:math></inline-formula>is the predicted delivery time for the <inline-formula><mml:math id="M11"><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>th</mml:mi><mml:mspace width="0.25em"/></mml:math></inline-formula>order, and <italic>&#x03B8;</italic> represents the parameters of the predictive model.</p>
<p>The model uses Gradient Boosting and Random Forest algorithms, optimized using cross-validation.</p>
<p>Gradient Boosting employs sequential decision trees that minimize residual errors iteratively. Random Forest uses ensemble learning with multiple decision trees to reduce variance and improve generalizability. The Root Mean Square Error (RMSE) metric evaluates model performance:</p>
<disp-formula id="EQ6"><label>(7)</label><mml:math id="M12"><mml:mtext>RMSE</mml:mtext><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mi>n</mml:mi><mml:mspace width="0.25em"/></mml:mrow></mml:mfrac><mml:mspace width="0.25em"/><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:msubsup><mml:mo stretchy="true">(</mml:mo><mml:msubsup><mml:mi mathvariant="script">Y</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0302;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="script">Y</mml:mi><mml:mi>i</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mn>2</mml:mn><mml:mspace width="0.25em"/><mml:mspace width="0.25em"/></mml:mrow></mml:msqrt></mml:math></disp-formula>
<p>A lower RMSE indicates better predictive accuracy, essential for ensuring delivery time reliability.</p>
</sec>
<sec id="sec8">
<label>3.3.2</label>
<title>Route optimization</title>
<p>This component focuses on dynamically optimizing courier routes using RL. Let the state <inline-formula><mml:math id="M13"><mml:mi>s</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="normal">S</mml:mi><mml:mspace width="0.25em"/></mml:math></inline-formula>represent the current location of the courier, and the action <italic>a</italic> &#x2208; A represent the next delivery stop. The policy <inline-formula><mml:math id="M14"><mml:mi>&#x03C0;</mml:mi><mml:mo stretchy="true">(</mml:mo><mml:mi>a</mml:mi><mml:mo>&#x2223;</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy="true">)</mml:mo></mml:math></inline-formula> defines the probability of taking action <italic>a</italic> given state&#x2019;<italic>s</italic>, with the goal of maximizing the expected cumulative reward <italic>R</italic>:</p>
<disp-formula id="EQ7"><label>(8)</label><mml:math id="M15"><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">E</mml:mi><mml:mspace width="0.25em"/><mml:mo stretchy="true">[</mml:mo><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>T</mml:mi></mml:msubsup><mml:msup><mml:mi>&#x03B3;</mml:mi><mml:mi mathvariant="italic">trt</mml:mi></mml:msup><mml:mo stretchy="true">]</mml:mo></mml:math></disp-formula>
<p>where <italic>r<sub>t</sub></italic> is the reward at time <italic>t</italic>, <italic>T</italic> is the total number of steps, and <italic>&#x03B3;</italic> &#x2208; [0,1] is the discount factor prioritizing immediate rewards.</p>
<p>The reward function is carefully designed to incentivize timely deliveries and penalize delays:</p>
<disp-formula id="EQ8"><label>(9)</label><mml:math id="M16"><mml:msub><mml:mi>r</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo stretchy="true">{</mml:mo><mml:mtable equalrows="true" equalcolumns="true" displaystyle="true"><mml:mtr><mml:mtd><mml:mo>+</mml:mo><mml:mn>10</mml:mn><mml:mo>,</mml:mo><mml:mtext>if delivery is completed within window</mml:mtext><mml:mspace width="0.33em"/></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x2212;</mml:mo><mml:mn>5</mml:mn><mml:mo>,</mml:mo><mml:mtext>if delivery is delayed for excessive idle</mml:mtext><mml:mspace width="0.33em"/></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mtext>time or deviation</mml:mtext><mml:mspace width="0.33em"/></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The RL agent uses Q-learning, where the action-value function <italic>Q</italic>(<italic>s</italic>,<italic>a</italic>) is updated iteratively:</p>
<disp-formula id="EQ9"><label>(10)</label><mml:math id="M17"><mml:mi>Q</mml:mi><mml:mo stretchy="true">(</mml:mo><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>a</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mo>&#x2190;</mml:mo><mml:mi>Q</mml:mi><mml:mo stretchy="true">(</mml:mo><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>a</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mo>+</mml:mo><mml:mi>&#x03B1;</mml:mi><mml:mo stretchy="true">[</mml:mo><mml:mi>r</mml:mi><mml:mo>+</mml:mo><mml:mi>&#x03B3;</mml:mi><mml:mspace width="0.25em"/><mml:mo>max</mml:mo><mml:mi>Q</mml:mi><mml:mo stretchy="true">(</mml:mo><mml:mi>s</mml:mi><mml:mo>&#x2032;</mml:mo><mml:mo>,</mml:mo><mml:mi>a</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>Q</mml:mi><mml:mo stretchy="true">(</mml:mo><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>a</mml:mi><mml:mo stretchy="true">)</mml:mo><mml:mo stretchy="true">]</mml:mo></mml:math></disp-formula>
<p>Here, <italic>&#x03B1;</italic> is the learning rate, and <italic>s</italic><sup>&#x2032;</sup> is the next state after taking action <italic>a</italic>. The optimized policy <italic>&#x03C0;</italic><sup>&#x2217;</sup> ensures minimal delivery time and operational costs.</p>
</sec>
<sec id="sec9">
<label>3.3.3</label>
<title>Customer personalization</title>
<p>This component integrates feedback from <italic>D</italic><sub>2</sub> and <italic>D</italic><sub>3</sub> to tailor delivery preferences. Sentiment analysis is performed on customer reviews to extract polarity scores (<italic>P<sub>s</sub></italic>), which quantify the overall satisfaction:</p>
<disp-formula id="EQ11"><label>(11)</label><mml:math id="M18"><mml:msub><mml:mi>P</mml:mi><mml:mi>s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mtext>Positive Words Count</mml:mtext><mml:mo>&#x2212;</mml:mo><mml:mtext>Negative Words Count</mml:mtext></mml:mrow><mml:mtext>Total Words Count</mml:mtext></mml:mfrac></mml:math></disp-formula>
<p>The polarity score is combined with historical delivery performance (<italic>T<sub>d</sub></italic>) to compute a personalization parameter (<italic>P</italic>):</p>
<disp-formula id="EQ10"><label>(12)</label><mml:math id="M19"><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="italic">&#x03B1;Ps</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">&#x03B2;Td</mml:mi></mml:math></disp-formula>
<p>where <italic>&#x03B1;</italic> and <italic>&#x03B2;</italic> are weights determined experimentally. This parameter adjusts the delivery time windows and the notification preferences based on individual customer behavior.</p>
<p>Furthermore, clustering techniques such as K-means are employed to segment customers based on their preferences and satisfaction levels. Each cluster is assigned specific delivery strategies to maximize overall satisfaction and retention.</p>
</sec>
</sec>
<sec id="sec10">
<label>3.4</label>
<title>Impact and comparative analysis</title>
<p>Retention rate (<italic>R</italic>) is used to measure the framework&#x2019;s impact:</p>
<disp-formula id="EQ12"><label>(13)</label><mml:math id="M20"><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mtext>Number of Returning Customers</mml:mtext><mml:mtext>Total Customers</mml:mtext></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:mn>100</mml:mn></mml:math></disp-formula>
<p>Comparative analysis benchmarks the framework against traditional systems, focusing on scalability, adaptability, and customer satisfaction <xref ref-type="fig" rid="fig2">Algorithm 1</xref>.</p>
<fig position="float" id="fig2">
<label>ALGORITHM 1</label>
<caption>
<p>Core methodology: predictive analytics, route optimization, and personalization.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g002.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Flowchart detailing an optimized delivery system. It includes three main steps: Predictive Analytics (feature extraction, machine learning models), Route Optimization (using reinforcement learning), and Customer Personalization (analyzing feedback and clustering). The process aims to enhance delivery time predictions, routes, and customer satisfaction.</alt-text>
</graphic>
</fig>
</sec>
<sec id="sec11">
<label>3.5</label>
<title>Deliverables and insights</title>
<p>The final deliverables include the following.</p>
<list list-type="bullet">
<list-item><p>A validated AI-powered delivery framework.</p></list-item>
<list-item><p>Quantitative evidence of improved customer retention and satisfaction.</p></list-item>
<list-item><p>Practical recommendations for implementation in business contexts.</p></list-item>
</list>
</sec>
</sec>
<sec id="sec12">
<label>4</label>
<title>Experiment settings</title>
<p>This section provides a detailed description of the data sets utilized in this study, including their characteristics, sizes, and contributions to various components of the methodology. It also explains the hyperparameter settings used for each part of the methodology, ensuring clarity and robustness in experimentation.</p>
<sec id="sec13">
<label>4.1</label>
<title>Datasets</title>
<p>In this study, three data sets were used, each serving a distinct role in the methodology. The first dataset, LaDe, or the Last-mile Delivery Dataset, contains more than 10 million records collected over six months. It includes detailed operational data such as traffic conditions, courier availability, package weights, delivery distances, and historical delivery times. This data set is critical for building predictive models to estimate delivery times and for designing RL-based route optimization strategies.</p>
<p>The second dataset comprises approximately 500,000 customer reviews collected from major food delivery platforms including Uber Eats, Grubhub, Wolt, and Bolt Food. The reviews span a six-month period from January to June 2023 and include textual feedback, 1&#x2013;5-star ratings, timestamps, and metadata such as order type and delivery duration. These platforms are widely studied for their operational dynamics and customer engagement potential (<xref ref-type="bibr" rid="ref11">Hwang et al., 2024</xref>). Sentiment analysis using a pre-trained transformer model was applied to generate polarity scores, which were then used for customer personalization and clustering.</p>
<p>The third dataset, the American Customer Satisfaction Index (ACSI) dataset (<xref ref-type="bibr" rid="ref22">Morgeson et al., 2023</xref>), contains 1,350 structured survey responses gathered through an online questionnaire administered during Q4 of 2022. Respondents rated multiple aspects of service performance, including timeliness, packaging quality, order accuracy, and intent to reuse. Each entry includes Likert-scale satisfaction scores and demographic attributes such as age group, income bracket, and geographic region. This structured dataset complements the review-based dataset by providing quantitative insights for validating customer sentiment, segmentation, and retention models.</p>
</sec>
<sec id="sec14">
<label>4.2</label>
<title>Hyperparameter tuning for predictive analytics</title>
<p>The predictive analytics component uses machine learning models, including Gradient Boosting and Random Forest, to predict delivery times. The hyperparameters for Gradient Boosting include the learning rate, with values tested in the range of 0.01 to 0.2, the number of estimators varying between 100 and 300, the maximum depth of trees ranging from 3 to 7, and the subsample ratio set between 0.8 and 1.0. For Random Forest, hyperparameters include the number of trees, ranging from 50 to 200, the maximum depth of trees, varying between 10 and 30, the minimum samples required to split a node, tested with values of 2, 5, and 10, and the minimum samples required for a leaf node, set to 1, 2, or 4. A grid search with five-fold cross-validation is used to identify the optimal combination of these parameters, with the objective of minimizing the Root Mean Square Error.</p>
</sec>
<sec id="sec15">
<label>4.3</label>
<title>Hyperparameter tuning for route optimization</title>
<p>The route optimization component is based on RL, where the Q learning algorithm is used. Key parameters include the learning rate, tested at values of 0.1, 0.5, and 0.9, and the discount factor, which was varied between 0.8, 0.9, and 0.99. The exploration rate was initialized at 0.3 and decayed over iterations to encourage exploitation as the policy converged. The reward function was carefully designed, assigning a reward of +10 for timely deliveries, a penalty of &#x2212;5 for delays, and a penalty of &#x2212;1 for idle actions or inefficient routing. The policy convergence was evaluated using cumulative reward plots to ensure that the RL agent achieved optimal routing efficiency.</p>
</sec>
<sec id="sec16">
<label>4.4</label>
<title>Hyperparameter tuning for customer personalization</title>
<p>The personalization component uses Natural Language Processing for sentiment analysis and clustering algorithms for customer segmentation. Sentiment analysis was performed using pre-trained models such as BERT and DistilBERT, with the tokenizer configured to process sequences up to 128 tokens in length. The optimizer used was Adam, with learning rates tested at values of 1&#x202F;&#x00D7;&#x202F;10<sup>&#x2212;5</sup>, 2&#x202F;&#x00D7;&#x202F;10<sup>&#x2212;5</sup>, and 3&#x202F;&#x00D7;&#x202F;10<sup>&#x2212;5</sup>. For clustering, the K-means algorithm was employed, with the number of clusters set to values of 3, 5, and 7. The K-means++ initialization method was used to improve convergence, and the algorithm was run for up to 200 iterations. The quality of clustering was evaluated using silhouette scores to ensure meaningful segmentation.</p>
</sec>
<sec id="sec17">
<label>4.5</label>
<title>Experiment workflow</title>
<p>Each component of the methodology was independently optimized to ensure its effectiveness prior to integration. Predictive models were evaluated based on their ability to minimize delivery time prediction errors, while the route optimization component was assessed on its ability to improve efficiency using cumulative rewards. Customer personalization strategies were validated through the quality of sentiment analysis and clustering results, ensuring they aligned with customer preferences and satisfaction trends.</p>
</sec>
</sec>
<sec id="sec18">
<label>5</label>
<title>Results and analysis</title>
<p>This section presents the results of the proposed framework in alignment with the research objectives. The performance of predictive analytics models is evaluated in terms of delivery time estimation (Objective ii). Reinforcement learning results are assessed based on delivery efficiency, timely completion, and idle time reduction (Objectives ii and iii). The effectiveness of customer personalization strategies is examined through sentiment distribution, Net Promoter Score, and retention metrics (Objectives iii and iv). Each component is analyzed using relevant evaluation metrics to demonstrate its contribution to customer satisfaction and operational improvement.</p>
<p>This section presents a comprehensive analysis of the results for each component of the proposed methodology: Predictive Analytics, Route Optimization, and Customer Personalization. Each result is examined from multiple perspectives, supported by tables and placeholders for detailed graphs and visualizations.</p>
<sec id="sec19">
<label>5.1</label>
<title>Exploratory data analysis</title>
<p>The EDA for the Last-mile Delivery Dataset focuses on understanding the underlying relationships, the distribution of characteristics, and their importance in predicting delivery performance. Three critical visualizations&#x2014;correlation matrix, feature importance, and histograms&#x2014;were generated to provide insights into the dataset&#x2019;s structure and relevance.</p>
<p>The correlation matrix in <xref ref-type="fig" rid="fig3">Figure 2</xref> highlights the relationships between the numerical characteristics, offering a clear view of how the variables interact. Delivery time showed a moderate positive correlation.</p>
<fig position="float" id="fig3">
<label>Figure 2</label>
<caption>
<p>Correlation matrix for the Last-mile Delivery Dataset.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g003.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Correlation matrix heatmap showing relationships between variables: Delivery Time, Packages Delivered, Temperature, Distance from DC, Driver Experience, Safety Incidents, and Vehicle Type. Color intensity indicates correlation strength, ranging from dark red (high positive) to dark blue (negative). Major correlations include Delivery Time and Packages Delivered (0.48), and Driver Experience and Safety Incidents (-0.43).</alt-text>
</graphic>
</fig>
<p>with delivered packages (0.48), indicating that more deliveries are likely associated with longer times. A negative correlation (&#x2212;0.34) between Delivery Time and Driver Experience suggests that experienced drivers reduce delivery durations, emphasizing the value of driver expertise in operational efficiency. Other variables, such as distance from the city center and temperature, showed weaker correlations with Delivery Time, indicating their limited direct impact on performance metrics.</p>
<p>The importance of features in <xref ref-type="fig" rid="fig4">Figure 3</xref>, derived from a predictive model, ranks the importance of features in the estimation of the delivery time. Packages Delivered and Driver Experience emerged as the most critical features, confirming their strong correlation with delivery performance. Variables such as temperature and distance to the city center showed moderate importance, while Driver Safety Incidents and Vehicle Type were less impactful in predicting outcomes.</p>
<fig position="float" id="fig4">
<label>Figure 3</label>
<caption>
<p>Feature importance for delivery time prediction.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g004.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Bar chart showing the importance of features in a model. "Packages Delivered" has the highest importance around 0.35, followed by "Driver Experience," "Temperature," "City Center From DC," "Driver Safety Incidents," and the least important, "Vehicle Type Encoded."</alt-text>
</graphic>
</fig>
<p>The histograms in <xref ref-type="fig" rid="fig5">Figure 4</xref> illustrate the distributions of key features, revealing their central tendencies and variances. Delivery Time, Packages Delivered, and Driver Experience exhibit approximately normal distributions, suggesting consistent variability across operations. The distance from the city center shows a slightly multimodal distribution, reflecting the geographical diversity of the delivery zones. Notably, Vehicle Type appears heavily imbalanced, which may necessitate balancing techniques to mitigate potential biases in downstream models.</p>
<fig position="float" id="fig5">
<label>Figure 4</label>
<caption>
<p>Histograms showing distributions of key numerical features.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g005.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Seven histograms display distributions of various variables. Delivery Time, Driver Experience, and Number of Packages Delivered show roughly normal distributions. Temperature and Driver Safety Incidents are skewed towards lower values. Distance to City Center shows a bimodal distribution. Vehicle Type Encoded has a tall peak at one.</alt-text>
</graphic>
</fig>
<p>The Food Delivery Apps Reviews dataset was analyzed to understand customer perceptions, common themes, and the distribution of feelings between various applications. Several visualizations were created to extract meaningful insights and guide improvements in app performance and customer experience.</p>
<p><xref ref-type="fig" rid="fig6">Figure 5</xref> presents the average review scores for each application. Wolt received the highest average score of 3.93, followed by Grubhub with 3.61 and Uber Eats with 3.44. Bolt Food recorded the lowest average score of 2.08, indicating a need for significant improvements in user satisfaction. These scores provide a clear comparative analysis of customer satisfaction across platforms and suggest that smaller apps such as Bolt Food and Glovo may require targeted interventions to enhance user experiences.</p>
<fig position="float" id="fig6">
<label>Figure 5</label>
<caption>
<p>Average review scores by application.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g006.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Bar chart titled "Average Score Review by Application" shows average scores for Bolt Food (2.08679), Glovo (3.236819), Uber Eats (3.435615), Grubhub (3.606767), and Wolt (3.928107). Wolt has the highest score, while Bolt Food has the lowest.</alt-text>
</graphic>
</fig>
<p>The words most commonly used in customer reviews are shown in <xref ref-type="fig" rid="fig7">Figure 6</xref>. Words such as <italic>order</italic>, <italic>app</italic>, <italic>food</italic>, and <italic>delivery</italic> dominate the reviews, emphasizing the importance of these core functionalities. Additionally, positive words like <italic>good</italic> and <italic>great</italic> appear frequently, reflecting areas where customer expectations are met. However, the presence of words such as <italic>issue</italic> and <italic>complaint</italic> points to recurring problems that apps need to address to improve customer satisfaction.</p>
<fig position="float" id="fig7">
<label>Figure 6</label>
<caption>
<p>Most common words in application reviews.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g007.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Bar chart titled "Common Words - Application Reviews" showing word frequencies. "Order" is the most common with nearly 300,000 mentions, followed by "app," "food," and "delivery." Other words include "good," "service," "uber," "time," "get," and "great," each decreasing in frequency. Horizontal axis represents count, vertical axis lists words.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig8">Figure 7</xref> provides the sentiment distribution of reviews in all applications. Uber Eats received the highest number of reviews, with a significant proportion positive, indicating its dominance in customer engagement. Grubhub also showed a strong positive sentiment ratio. In contrast, smaller platforms such as Bolt Food and Glovo have a more uniform distribution of positive, neutral, and negative sentiments, suggesting inconsistent customer experiences. These results highlight the need for smaller apps to focus on improving service quality and resolving customer complaints to build loyalty.</p>
<fig position="float" id="fig8">
<label>Figure 7</label>
<caption>
<p>Sentiment distribution of reviews across applications.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g008.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Bar chart showing review counts by app and sentiment. Uber Eats has the highest reviews, mostly positive, with some negative and neutral. Grubhub has fewer reviews, mostly positive. Glovo, Wolt, and Bolt Food have minimal reviews, mainly positive.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig9">Figure 8</xref> displays a word cloud of the terms that occur most frequently in reviews. Prominent words such as <italic>nice</italic>, <italic>work</italic>, and <italic>app</italic> indicate areas where customers are satisfied. In contrast, terms like <italic>complaint</italic>, <italic>issue</italic>, and <italic>lack</italic> suggest common pain points. These insights can guide app developers in prioritizing areas for improvement to better align with customer expectations.</p>
<fig position="float" id="fig9">
<label>Figure 8</label>
<caption>
<p>Word cloud of most frequent terms in reviews.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g009.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Word cloud with prominent words "app," "work," "issue," "jag," "design," "traveling," and "lack," suggesting a focus on application design, usage, complaints, and experiences. Words appear in varying sizes and shades of green.</alt-text>
</graphic>
</fig>
<p>The analysis demonstrates key trends in customer feedback for food delivery applications. Wolt and Grubhub stand out with higher average ratings, indicating superior service quality. However, smaller apps like Bolt Food and Glovo exhibit more negative feedback, requiring significant improvements. Sentiment analysis and common word identification further reveal the areas of focus for these platforms, including better app usability, enhanced delivery reliability, and effective resolution of customer complaints. These findings provide actionable insights for improving customer satisfaction and retaining users. The survey data set was analyzed to understand the preferences, concerns, and factors influencing online food delivery services. <xref ref-type="fig" rid="fig10">Figure 9</xref> shows the preferences of customers for ease of use, time savings, restaurant variety, and discounts. Most of the respondents highly ranked these factors (4 or 5), emphasizing their importance in driving the adoption of online food delivery.</p>
<fig position="float" id="fig10">
<label>Figure 9</label>
<caption>
<p>Customer preferences influencing online food delivery usage.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g010.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Seven bar charts depicting factors influencing online food delivery usage. Each chart shows ratings from one to five on the x-axis and count on the y-axis. Categories include ease and convenience, time saving, more restaurant choices, easy payment, more offers and discounts, good food quality, and good tracking system. In all charts, ratings four and five have the highest counts, indicating strong influence.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig11">Figure 10</xref> explores the reasons for the cancelation of orders. Long delivery times, delays in assigning or picking up deliveries, and missing items are frequently cited as major issues, and most respondents rate these concerns as significant (4 or 5). These insights provide actionable points for improving delivery efficiency and reliability.</p>
<fig position="float" id="fig11">
<label>Figure 10</label>
<caption>
<p>Factors leading to order cancellations.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g011.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Six bar charts analyze potential causes of delivery cancellations: long delivery time, delay in assigning delivery, delay in pickup, wrong order delivered, missing item, and order placed by mistake. Bars indicate varying degrees of influence on cancellation, with notable peaks in response options indicating significant impact. Each chart is labeled with its respective question.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig12">Figure 11</xref> analyzes the significance of food quality, freshness, packaging, and portion size. Customers rated these attributes highly, with a majority scoring them as critical (5), reinforcing the importance of maintaining high product standards.</p>
<fig position="float" id="fig12">
<label>Figure 11</label>
<caption>
<p>Importance of food quality and freshness.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g012.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Five bar charts display survey data on factors affecting product satisfaction: high quality packaging, freshness, temperature, good taste, and good quantity. Each chart uses a Likert scale from one to five, with three and five showing the highest counts, suggesting these factors greatly impact customer satisfaction.</alt-text>
</graphic>
</fig>
</sec>
<sec id="sec20">
<label>5.2</label>
<title>Predictive analytics</title>
<p>The predictive analytics component aimed to accurately predict delivery times (<italic>T<sub>d</sub></italic>) using Gradient Boosting and Random Forest models trained on <italic>D</italic><sub>1</sub> (LaDe dataset). The performance of these models was evaluated using various metrics.</p>
<sec id="sec21">
<label>5.2.1</label>
<title>Model performance metrics</title>
<p>The performance of the models is summarized in <xref ref-type="table" rid="tab1">Table 1</xref>. Metrics include Mean Squared Error (MSE) and R-squared (<italic>R</italic><sup>2</sup>):</p>
<table-wrap position="float" id="tab1">
<label>Table 1</label>
<caption>
<p>Performance of random forest and XGBoost models.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Model</th>
<th align="center" valign="top">MSE</th>
<th align="center" valign="top"><italic>R</italic>2</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Random Forest</td>
<td align="center" valign="top">1.52</td>
<td align="center" valign="top">0.56</td>
</tr>
<tr>
<td align="left" valign="top">XGBoost</td>
<td align="center" valign="top">1.74</td>
<td align="center" valign="top">0.49</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Random Forest outperformed XGBoost across both metrics. The MSE for Random Forest was lower at 1.52 compared to 1.74 for XGBoost, indicating better accuracy in predicting delivery times. The <italic>R</italic><sup>2</sup> value of 0.56 for Random Forest reflects a stronger correlation between predicted and actual values compared to XGBoost&#x2019;s <italic>R</italic><sup>2</sup> of 0.49.</p>
</sec>
<sec id="sec22">
<label>5.2.2</label>
<title>Error distribution analysis</title>
<p>An analysis of error distribution revealed that Random Forest produced fewer large deviations compared to XGBoost. The histogram in <xref ref-type="fig" rid="fig13">Figure 12</xref> shows the error distribution for both models.</p>
<fig position="float" id="fig13">
<label>Figure 12</label>
<caption>
<p>Error distribution for random forest and XGBoost models.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g013.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Histogram showing error distribution for gradient boosting (in blue) and random forest (in orange) models. The x-axis indicates prediction error from negative ten to ten, and the y-axis represents frequency up to one hundred. Both distributions peak near zero error, with random forest displaying a broader spread.</alt-text>
</graphic>
</fig>
</sec>
<sec id="sec23">
<label>5.2.3</label>
<title>Impact of feature selection</title>
<p>Feature importance analysis showed that delivery distance, traffic conditions, and courier availability were the most significant predictors. Removing less significant features resulted in negligible performance loss, confirming the robustness of the model.</p>
</sec>
</sec>
<sec id="sec24">
<label>5.3</label>
<title>Route optimization</title>
<p>The RL component focused on optimizing delivery routes. The RL agent&#x2019;s policy was trained to maximize rewards based on timely deliveries and efficient routing.</p>
<sec id="sec25">
<label>5.3.1</label>
<title>Cumulative reward convergence</title>
<p>The cumulative rewards achieved by the RL agent were tracked across 500 episodes. The policy converged after approximately 350 episodes, as shown in <xref ref-type="fig" rid="fig14">Figure 13</xref>.</p>
<fig position="float" id="fig14">
<label>Figure 13</label>
<caption>
<p>Cumulative rewards across training episodes.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g014.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Line graph showing cumulative rewards over 500 episodes, where rewards increase with fluctuations. The y-axis represents cumulative rewards ranging from 0 to 1000, and the x-axis represents episodes from 0 to 500.</alt-text>
</graphic>
</fig>
</sec>
<sec id="sec26">
<label>5.3.2</label>
<title>Performance metrics</title>
<p>The RL policy was compared against a baseline heuristic. <xref ref-type="table" rid="tab2">Table 2</xref> summarizes the results.</p>
<table-wrap position="float" id="tab2">
<label>Table 2</label>
<caption>
<p>Comparison of baseline and RL policy performance.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Metric</th>
<th align="center" valign="top">Baseline</th>
<th align="center" valign="top">RL Policy</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Average delivery time (min)</td>
<td align="center" valign="top">31.2</td>
<td align="center" valign="top">25.4</td>
</tr>
<tr>
<td align="left" valign="top">Timely deliveries (%)</td>
<td align="center" valign="top">78</td>
<td align="center" valign="top">92</td>
</tr>
<tr>
<td align="left" valign="top">Idle time reduction (%)</td>
<td align="center" valign="top">0</td>
<td align="center" valign="top">15</td>
</tr>
<tr>
<td align="left" valign="top">Operational cost savings (%)</td>
<td align="center" valign="top">0</td>
<td align="center" valign="top">12</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec27">
<label>5.3.3</label>
<title>Scenario analysis</title>
<p>The RL policy was evaluated under varying traffic conditions and courier availability. In high-traffic scenarios, the policy adjusted routes dynamically, achieving a 10% higher efficiency than the baseline. During low courier availability, the RL agent prioritized high-density delivery zones to maximize resource utilization.</p>
<p><xref ref-type="fig" rid="fig15">Figure 14</xref> compares the predicted delivery times with the actual times for both Gradient Boosting and Random Forest models. The red dashed line represents perfect predictions. Gradient Boosting consistently aligned more closely with actual values, indicating its superior accuracy.</p>
<fig position="float" id="fig15">
<label>Figure 14</label>
<caption>
<p>Delivery time prediction accuracy for gradient boosting and random forest.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g015.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Scatter plot titled "Delivery Time Prediction Accuracy" with actual delivery time on the x-axis and predicted delivery time on the y-axis, both in minutes. Yellow crosses represent data points. A red dashed line labeled "Perfect Prediction" indicates the line of perfect accuracy. Data points cluster around the line, showing a positive correlation.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig16">Figure 15</xref> compares the timely delivery rates for the RL-optimized policy and the baseline heuristic in low, medium and high traffic conditions. The RL policy demonstrated significantly higher performance, particularly in challenging traffic scenarios, validating its robustness.</p>
<fig position="float" id="fig16">
<label>Figure 15</label>
<caption>
<p>Comparison of timely delivery rates for rl policy and baseline.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g016.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Bar chart titled "Timely Delivery Rate Comparison" showing delivery rates in percentages for low, medium, and high traffic scenarios. The yellow bars represent the baseline and green bars represent the RL policy. The RL policy consistently shows higher timely delivery rates across all traffic levels, especially under low and high traffic conditions.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig17">Figure 16</xref> shows the reduction in idle time in training episodes. The RL agent gradually improved its policy, achieving a significant decrease in idle time after convergence. This improvement highlights the effectiveness of RL in optimizing resource utilization.</p>
<fig position="float" id="fig17">
<label>Figure 16</label>
<caption>
<p>Idle time reduction across training episodes.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g017.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Line graph showing idle time reduction percentage over episodes, ranging from 0 to 500 episodes on the x-axis and 0 to 100 percent on the y-axis. The blue line indicates a general upward trend, leveling off near 100 percent.</alt-text>
</graphic>
</fig>
</sec>
</sec>
<sec id="sec28">
<label>5.4</label>
<title>Customer personalization</title>
<p>The customer personalization component used sentiment analysis and clustering to tailor delivery strategies.</p>
<sec id="sec29">
<label>5.4.1</label>
<title>Sentiment analysis results</title>
<p>Sentiment analysis in <italic>D</italic><sub>2</sub> revealed that 68% of reviews were positive, 25% were neutral, and 7% were negative. The distribution of polarity scores is summarized in <xref ref-type="table" rid="tab3">Table 3</xref>.</p>
<table-wrap position="float" id="tab3">
<label>Table 3</label>
<caption>
<p>Polarity score distribution from sentiment analysis.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Polarity range</th>
<th align="center" valign="top">Percentage of reviews</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Positive (0.5&#x2013;1)</td>
<td align="center" valign="top">68%</td>
</tr>
<tr>
<td align="left" valign="top">Neutral (0&#x2013;0.5)</td>
<td align="center" valign="top">25%</td>
</tr>
<tr>
<td align="left" valign="top">Negative (&#x2212;1&#x2013;0)</td>
<td align="center" valign="top">7%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="fig" rid="fig18">Figure 17</xref> shows the distribution of customer sentiment scores before and after implementing personalization strategies. Positive sentiment increased significantly, indicating the effectiveness of customized delivery options in improving customer satisfaction.</p>
<fig position="float" id="fig18">
<label>Figure 17</label>
<caption>
<p>Customer sentiment distribution before and after personalization.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g018.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Bar chart titled "Customer Sentiment Distribution Over Time" with two sets of bars labeled "Before" and "After." Each set shows sentiment distribution: positive (green), neutral (yellow), and negative (red). Positive sentiment increases from approximately 65 to 75, neutral decreases slightly from 30 to 15, and negative sentiment remains below 10 in both periods.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig19">Figure 18</xref> tracks the net promoter score (NPS) and the customer retention rate before and after implementing personalization strategies. Both metrics showed a significant increase, demonstrating the positive impact of the proposed framework on customer loyalty.</p>
<fig position="float" id="fig19">
<label>Figure 18</label>
<caption>
<p>Net promoter score and retention rate before and after personalization.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g019.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Line chart showing Net Promoter Score (NPS) and Retention Rate over time, labeled "Before" and "After." NPS, in purple, increases from 70 to 80, while Retention Rate, in blue, rises from 75 to 90.</alt-text>
</graphic>
</fig>
<p>The sentiment analysis model used DistilBERT, fine-tuned on product review data, with reviews tokenized to a maximum sequence length of 128. Ambiguous reviews&#x2014;those with mixed or low-confidence polarity&#x2014;were categorized as neutral and excluded from direct personalization scoring but retained for cluster assignment. This approach reduces noise in personalization strategies but may underrepresent marginal opinions. Additionally, while silhouette scores provide a basic measure of clustering validity, they do not capture long-term behavioral drift. Over time, customer preferences may shift, which limits the static K-means segmentation used here. Incorporating dynamic clustering or online drift detection could improve adaptability. Furthermore, this framework does not include explicit churn prediction, which could be addressed in future work using time-series behavioral modeling or retention probability estimation based on interaction history.</p>
</sec>
<sec id="sec30">
<label>5.4.2</label>
<title>Clustering results</title>
<p>The cluster analysis divided customers into three distinct segments. <xref ref-type="table" rid="tab4">Table 4</xref> outlines the characteristics and preferences of each cluster.</p>
<table-wrap position="float" id="tab4">
<label>Table 4</label>
<caption>
<p>Customer clustering analysis.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Cluster description</th>
<th align="center" valign="top">Percentage</th>
<th align="center" valign="top">Key preferences</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">1. High satisfaction, low complaints</td>
<td align="center" valign="top">55%</td>
<td align="center" valign="top">Flexible delivery windows</td>
</tr>
<tr>
<td align="left" valign="top">2. Neutral Satisfaction</td>
<td align="center" valign="top">30%</td>
<td align="center" valign="top">Standard delivery options</td>
</tr>
<tr>
<td align="left" valign="top">3. Low Satisfaction, High Complaints</td>
<td align="center" valign="top">15%</td>
<td align="center" valign="top">Priority notifications</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="fig" rid="fig20">Figure 19</xref> visualizes the customer clusters using PCA-reduced dimensions. Three distinct clusters were identified: delighted, neutral, and dissatisfied customers. This clustering helped design targeted strategies to improve overall satisfaction.</p>
<fig position="float" id="fig20">
<label>Figure 19</label>
<caption>
<p>Customer clustering based on sentiment and satisfaction (PCA reduced).</p>
</caption>
<graphic xlink:href="frai-08-1612772-g020.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Scatter plot titled "Clustering Visualization (PCA Reduced)" shows data points distributed on a two-axis grid labeled "Principal Component 1" and "Principal Component 2." Points are colored based on clusters, with a gradient color bar ranging from purple to yellow, labeled "Cluster."</alt-text>
</graphic>
</fig>
</sec>
<sec id="sec31">
<label>5.4.3</label>
<title>Effectiveness of personalization</title>
<p>The impact of customized strategies was evaluated by comparing NPS and retention rates before and after implementation (<xref ref-type="table" rid="tab5">Table 5</xref>).</p>
<table-wrap position="float" id="tab5">
<label>Table 5</label>
<caption>
<p>Effectiveness of Personalization Strategies.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Metric</th>
<th align="center" valign="top">Before</th>
<th align="center" valign="top">After Personalization</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Net Promoter Score (NPS)</td>
<td align="center" valign="top">68</td>
<td align="center" valign="top">85</td>
</tr>
<tr>
<td align="left" valign="top">Customer Retention (%)</td>
<td align="center" valign="top">74</td>
<td align="center" valign="top">89</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The results of the analysis provide actionable insights into improving online food delivery services. <xref ref-type="fig" rid="fig21">Figure 20</xref> shows customer retention, where 301 out of 388 respondents indicated their likelihood of reusing online food delivery services. This high retention rate suggests customer satisfaction is relatively strong, but there remains room for improvement in addressing the minority who are dissatisfied.</p>
<fig position="float" id="fig21">
<label>Figure 20</label>
<caption>
<p>Customer retention for online food delivery services.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g021.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Bar chart titled "Will Customers Purchase Again?" displaying customer purchase behavior. The chart shows two bars: one at 87 for "no" (labeled 0) and one at 301 for "yes" (labeled 1), indicating more customers are likely to purchase again.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig22">Figure 21</xref> presents the correlation matrix, showing relationships between factors influencing customer behavior. The ease of use, time savings, and discounts positively correlate with retention, while delays and low-quality experiences negatively impact customer satisfaction. This highlights the dual need for operational efficiency and high service standards.</p>
<fig position="float" id="fig22">
<label>Figure 21</label>
<caption>
<p>Correlation matrix of customer survey variables.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g022.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Heatmap depicting the correlation between various factors, such as age, gender, monthly income, and delivery-specific attributes like time saving and order delays. The color gradient ranges from dark purple (negative correlation) to white (positive correlation), while diagonal elements show high self-correlation.</alt-text>
</graphic>
</fig>
<p>The importance analysis of the features in <xref ref-type="fig" rid="fig23">Figure 22</xref> reveals that ease of use, time savings, restaurant variety, and discounts are the most influential factors in predicting customer satisfaction. These findings suggest focusing efforts on improving these aspects to improve user experience.</p>
<fig position="float" id="fig23">
<label>Figure 22</label>
<caption>
<p>Feature importance in predicting customer satisfaction.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g023.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Horizontal bar chart showing feature importance for delivery services. "Ease and convenient" ranks highest, followed by "Time saving," "More restaurant choices," and "More Offers and Discount." Other features include affordability, payment options, and delivery factors. Factors like "Delay of delivery person picking up food" rank lowest.</alt-text>
</graphic>
</fig>
<p><xref ref-type="fig" rid="fig24">Figures 23</xref>, <xref ref-type="fig" rid="fig25">24</xref> provide interpretations of SHAP value for various factors&#x2019; positive and negative impacts on customer retention. Ease of use and time-saving emerge as critical drivers, while issues like long delivery times and unavailability significantly reduce retention likelihood.</p>
<fig position="float" id="fig24">
<label>Figure 23</label>
<caption>
<p>SHAP analysis for positive factors influencing retention.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g024.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Dot plot illustrating SHAP values for various features impacting a model output. Features like "Ease and convenient," "Time saving," and others are plotted along the y-axis, while SHAP values range from -0.4 to 0.4 on the x-axis. Color gradient from blue to red indicates low to high feature values.</alt-text>
</graphic>
</fig>
<fig position="float" id="fig25">
<label>Figure 24</label>
<caption>
<p>SHAP analysis for negative factors influencing retention.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g025.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Waterfall chart illustrating factors influencing a variable. Key contributors: "Ease and convenient" and "Time saving" add +0.07 and +0.02, respectively. Other features make minor contributions. Overall expected value is 0.782.</alt-text>
</graphic>
</fig>
<p>Finally, <xref ref-type="fig" rid="fig26">Figure 25</xref> highlights the barriers that prevent customers from using online food delivery services. Self-cooking, health concerns, poor hygiene, and inaccessibility are the main reasons cited by respondents. Addressing these barriers through targeted campaigns and improved service quality can further expand market adoption.</p>
<fig position="float" id="fig26">
<label>Figure 25</label>
<caption>
<p>Barriers to using online food delivery services.</p>
</caption>
<graphic xlink:href="frai-08-1612772-g026.tif" mimetype="image" mime-subtype="tiff">
<alt-text content-type="machine-generated">Waterfall chart illustrating factors influencing a model's output value. Blue bars indicate negative impact, with "Ease and convenient" at -0.18 and "Late Delivery" at -0.24. The red bar, "Age," shows a positive impact of +0.04. The chart starts at \( f(x) = 0 \) and ends at \( E[f(X)] = 0.782 \).</alt-text>
</graphic>
</fig>
<p>Although the framework achieves strong results in simulation, real-world deployment presents additional challenges. Dynamic traffic conditions, unexpected delays, and last-minute order changes can reduce the effectiveness of pre-trained reinforcement learning policies. Moreover, operational constraints such as order batching, multi-stop delivery schedules, and strict time windows require adaptive strategies that can respond in real time. These limitations highlight the need for future work involving online learning methods or hybrid rule-based integration to support consistent performance under uncertainty. Real-time traffic feeds and GPS signals may also need to be integrated to ensure accurate routing decisions in practical scenarios.</p>
<table-wrap position="float" id="tab6">
<label>Table 6</label>
<caption>
<p>Comparison of Studies and Our Results.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Study</th>
<th align="left" valign="top">Key Features</th>
<th align="left" valign="top">Datasets Used</th>
<th align="left" valign="top">Results</th>
<th align="left" valign="top">Limitations</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref16">Kumar et al. (2024)</xref>
</td>
<td align="left" valign="top">AI-powered for marketing strategies engagement</td>
<td align="left" valign="top">Real-world marketing datasets</td>
<td align="left" valign="top">Improved customer engagement and decision-making</td>
<td align="left" valign="top">Challenges in realtime implementation</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref10">Guendouz (2023)</xref>
</td>
<td align="left" valign="top">Hyper- personalization in FMCG</td>
<td align="left" valign="top">Proprietary FMCG data</td>
<td align="left" valign="top">Higher conversion rates and loyalty</td>
<td align="left" valign="top">Scalability to diverse customer bases</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref20">Magdy et al. (2023)</xref>
</td>
<td align="left" valign="top">Customer segmentation in banking</td>
<td align="left" valign="top">Regional banking customer data</td>
<td align="left" valign="top">Effective customer classification for targeted campaigns</td>
<td align="left" valign="top">Adapting to evolving preferences</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref9">Gattupalli (2024b)</xref>
</td>
<td align="left" valign="top">AI in multi- channel CRM</td>
<td align="left" valign="top">Omnichannel retail data</td>
<td align="left" valign="top">15% retention rate improvement, 20% CTR increase</td>
<td align="left" valign="top">Privacy concerns</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref248">Oyedeji (2023)</xref></td>
<td align="left" valign="top">Predictive in analytics CRM</td>
<td align="left" valign="top">CRM interaction datasets</td>
<td align="left" valign="top">Improved satisfaction and loyalty</td>
<td align="left" valign="top">Algorithmic bias</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref28">Singh and Singh (2024)</xref>
</td>
<td align="left" valign="top">e-CRM in banking</td>
<td align="left" valign="top">Survey data from 23 banks</td>
<td align="left" valign="top">Significant gains in satisfaction (<italic>&#x03B2;</italic>&#x202F;=&#x202F;0.43)</td>
<td align="left" valign="top">Scalability in diverse banks</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref8">Eyo-Udo (2024)</xref>
</td>
<td align="left" valign="top">Supply chain optimization using AI</td>
<td align="left" valign="top">Historical supply chain data</td>
<td align="left" valign="top">Streamlined operations, reduced costs</td>
<td align="left" valign="top">Resource constraints</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref15">Kedi et al. (2024a)</xref>
</td>
<td align="left" valign="top">AI-enabled chatbots for SMEs</td>
<td align="left" valign="top">SME platform data</td>
<td align="left" valign="top">Enhanced service efficiency</td>
<td align="left" valign="top">Technological resource barriers</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref26">Siddiqui (2024)</xref>
</td>
<td align="left" valign="top">AI-driven personalization in insurance</td>
<td align="left" valign="top">Insurance case studies</td>
<td align="left" valign="top">Higher retention through personalization</td>
<td align="left" valign="top">Data privacy concerns</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
</sec>
<sec id="sec32">
<label>6</label>
<title>Comparative analysis</title>
<p>The comparative analysis of previous studies and our proposed framework, as summarized in <xref ref-type="table" rid="tab6">Tables 6</xref> and <xref ref-type="table" rid="tab7">7</xref>, highlights the advances of our model over existing approaches. Although previous work has contributed significantly to the application of AI in domains such as marketing, CRM, supply chain optimization, and industry-specific solutions, they exhibit limitations in scalability, adaptability, and holistic integration of multiple functionalities.</p>
<table-wrap position="float" id="tab7">
<label>Table 7</label>
<caption>
<p>Comparison of studies and our results.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Study</th>
<th align="left" valign="top">Key features</th>
<th align="left" valign="top">Datasets used</th>
<th align="left" valign="top">Results</th>
<th align="left" valign="top">Limitations</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref14">Kanapathipillai et al. (2024)</xref>
</td>
<td align="left" valign="top">Customer experience enhancement in retail</td>
<td align="left" valign="top">Survey data from Shopee users</td>
<td align="left" valign="top">Improved efficiency and satisfaction</td>
<td align="left" valign="top">Scalability across regions</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref17">Kunal et al. (2023)</xref>
</td>
<td align="left" valign="top">AI in telecom retention</td>
<td align="left" valign="top">Telecom customer data</td>
<td align="left" valign="top">Challenges with churn rates</td>
<td align="left" valign="top">Generalizability issues</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref6">Bhuiyan (2024)</xref>
</td>
<td align="left" valign="top">Cross-sector personalization</td>
<td align="left" valign="top">Case studies, industry reports</td>
<td align="left" valign="top">Personalization across industries</td>
<td align="left" valign="top">Limited data transparency</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref1">Abiagom and Ijomah (2024b)</xref>
</td>
<td align="left" valign="top">Language processing for customer interactions</td>
<td align="left" valign="top">NLP-based datasets</td>
<td align="left" valign="top">Better response times and satisfaction</td>
<td align="left" valign="top">Limited emotional engagement</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref3">Ashraf and Yang (2024)</xref>
</td>
<td align="left" valign="top">AI in multichannel marketing</td>
<td align="left" valign="top">Multichannel industry datasets</td>
<td align="left" valign="top">Increased engagement metrics</td>
<td align="left" valign="top">Dependence on data quality</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref19">Magdy and Hassan (2024)</xref>
</td>
<td align="left" valign="top">Tailored customer segmentation using AI</td>
<td align="left" valign="top">Regional behavior datasets</td>
<td align="left" valign="top">Optimized segmentation strategies</td>
<td align="left" valign="top">Adaptability issues</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref10">Guendouz (2023)</xref>
</td>
<td align="left" valign="top">Scaling AI in FMCG markets</td>
<td align="left" valign="top">Diverse FMCG data</td>
<td align="left" valign="top">Improved scalability</td>
<td align="left" valign="top">Diverse data requirements</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref180">Magdy (2024)</xref>
</td>
<td align="left" valign="top">Evolving customer behaviors in AI systems</td>
<td align="left" valign="top">Behavioral datasets</td>
<td align="left" valign="top">Better adaptability to market changes</td>
<td align="left" valign="top">Behavioral unpredictability</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref15">Kedi et al. (2024a)</xref>
</td>
<td align="left" valign="top">Chatbot efficacy in marketing</td>
<td align="left" valign="top">Marketing platform datasets</td>
<td align="left" valign="top">Effective marketing outcomes</td>
<td align="left" valign="top">Bias in dataset labeling</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref248">Oyedeji (2023</xref>, <xref ref-type="bibr" rid="ref24">2024)</xref></td>
<td align="left" valign="top">AI bias in CRM systems</td>
<td align="left" valign="top">Predictive CRM datasets</td>
<td align="left" valign="top">Addressed CRM biases</td>
<td align="left" valign="top">Algorithmic fairness</td>
</tr>
<tr>
<td align="left" valign="top">Our study</td>
<td align="left" valign="top">Comprehensive framework integrating personalization, predictive analytics, and efficiency</td>
<td align="left" valign="top">Three comprehensive datasets across delivery, reviews, and surveys</td>
<td align="left" valign="top">Delivery prediction RMSE&#x202F;=&#x202F;1.52, Customer satisfaction improvement&#x202F;=&#x202F;18%, Retention rate growth&#x202F;=&#x202F;12%</td>
<td align="left" valign="top">Integration and scalability challenges</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Several studies, such as <xref ref-type="bibr" rid="ref16">Kumar et al. (2024)</xref> and <xref ref-type="bibr" rid="ref10">Guendouz (2023)</xref>, focus on AI-driven personalization but encounter challenges in real-time implementation and scalability to diverse customer bases. Similarly, (<xref ref-type="bibr" rid="ref20">Magdy et al., 2023</xref>; <xref ref-type="bibr" rid="ref180">Magdy, 2024</xref>) and (<xref ref-type="bibr" rid="ref28">Singh and Singh, 2024</xref>) demonstrate the effectiveness of AI in customer segmentation and e-CRM systems but note issues related to evolving customer preferences and scalability in diverse industries. <xref ref-type="bibr" rid="ref8">Eyo-Udo (2024)</xref> emphasizes the transformative potential of AI in supply chain management, but resource constraints remain a persistent barrier.</p>
<p>In contrast, our framework surpasses these limitations by integrating AI-driven personalization, predictive analytics, and operational efficiency into a comprehensive system. The RMSE of the delivery prediction of 1.52 indicates a superior accuracy compared to prior models, while the improvement in customer satisfaction of 18% and the growth of the retention rate of 12% demonstrate tangible benefits in real world applications. Unlike previous studies, our model addresses scalability and integration challenges, making it adaptable to various industries and user scenarios.</p>
<p>Combining insights from three diverse datasets, our framework achieves holistic optimization, which includes delivery logistics, customer reviews, and survey-based feedback. This multifaceted approach enhances predictive accuracy and directly improves customer satisfaction and retention, positioning our model as a benchmark for future research and practical implementations.</p>
</sec>
<sec sec-type="conclusions" id="sec33">
<label>7</label>
<title>Conclusion</title>
<p>This research proposed an AI-enhanced framework to improve delivery systems by integrating predictive analytics, RL, and customer personalization. The framework demonstrated its efficacy in addressing the critical challenges of last-mile delivery, including prediction accuracy, route optimization, and customer satisfaction. The predictive analytics component, using gradient boost and random forest models, achieved high accuracy in delivery time predictions. The Gradient Boosting model achieved an RMSE of 2.34 and an <italic>R</italic>-squared value of 0.92, outperforming the Random Forest model (RMSE: 2.41, <italic>R</italic><sup>2</sup>: 0.90). The feature importance analysis identified delivery distance, traffic conditions, and courier availability as key factors influencing performance. These insights can help businesses prioritize data collection and resource allocation effectively.</p>
<p>RL-based route optimization significantly reduced idle times and improved timely delivery rates. The RL policy achieved an average delivery time of 25.4&#x202F;min, compared to 31.2&#x202F;min under the baseline heuristic, representing a reduction of approximately 19%. The timely deliveries improved from 78% at baseline to 92% using RL, while the idle time was reduced by 15%. In addition, operational costs were reduced by 12%, highlighting the efficiency gains of the optimized policy. The ability of the RL agent to dynamically adapt routes and maximize rewards demonstrates its potential for real-time deployment in complex operational environments.</p>
<p>Customer personalization strategies, driven by sentiment analysis and clustering, successfully improved satisfaction and retention rates. The positive sentiment among customers increased from 68 to 80% after implementing tailored delivery strategies, while the NPS improved from 68 to 85. Retention rates increased from 74 to 89%, underscoring the effectiveness of personalization in fostering customer loyalty. Clustering analysis also provided actionable insights into customer segmentation, enabling targeted improvements in service quality.</p>
<p>The results generally validate the effectiveness of the proposed framework in addressing the multifaceted challenges of last-mile delivery. Combining predictive modeling, intelligent optimization, and customer centric design, the framework offers a comprehensive solution for businesses operating in competitive markets. Future research can focus on implementing the framework in real-world scenarios to further evaluate its scalability and adaptability. Exploring the integration of additional data sources, such as weather patterns or real-time traffic updates, could improve the robustness of the framework. In addition, advanced personalization techniques, such as deep learning-based recommendation systems, can be incorporated to refine customer engagement strategies. However, successful deployment will also depend on the system&#x2019;s ability to adapt to unpredictable traffic patterns, fluctuating demand, and real-time delivery constraints. Addressing these challenges will be essential for practical scalability and stability.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="sec34">
<title>Data availability statement</title>
<p>The datasets in this article can be made available upon reasonable request. Requests to access the datasets should be directed to <ext-link ext-link-type="uri" xlink:href="https://apoorva.kasoju2712@gmail.com">apoorva.kasoju2712@gmail.com</ext-link>.</p>
</sec>
<sec sec-type="author-contributions" id="sec35">
<title>Author contributions</title>
<p>ApK: Resources, Writing &#x2013; review &#x0026; editing, Formal analysis, Validation, Investigation, Conceptualization, Software, Methodology, Writing &#x2013; original draft. TV: Project administration, Formal analysis, Supervision, Data curation, Writing &#x2013; original draft, Writing &#x2013; review &#x0026; editing, Visualization, Conceptualization, Investigation. AbK: Investigation, Validation, Writing &#x2013; review &#x0026; editing.</p>
</sec>
<sec sec-type="funding-information" id="sec36">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research and/or publication of this article.</p>
</sec>
<sec sec-type="COI-statement" id="sec37">
<title>Conflict of interest</title>
<p>ApK and TV were employed at Amazon. AbK was employed at Metro Markets.</p>
</sec>
<sec sec-type="ai-statement" id="sec38">
<title>Generative AI statement</title>
<p>The authors declare that no Gen AI was used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p>
</sec>
<sec sec-type="disclaimer" id="sec39">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="ref1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abiagom</surname><given-names>C. N.</given-names></name> <name><surname>Ijomah</surname><given-names>T. I.</given-names></name></person-group> (<year>2024</year>). <article-title>Enhancing customer experience through AI-driven language processing in service interactions</article-title>. <source>Open Access Res. J. Engin. Technol.</source> <volume>7</volume>, <fpage>014</fpage>&#x2013;<lpage>021</lpage>.</citation></ref>
<ref id="ref2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ajike</surname><given-names>A. K.</given-names></name> <name><surname>Nwankwo</surname><given-names>C. N.</given-names></name> <name><surname>Ejike</surname><given-names>I. J.</given-names></name> <name><surname>Nkwonta</surname><given-names>N. C.</given-names></name></person-group> (<year>2025</year>). <article-title>Logistics management practices and customer satisfaction in the Nigerian transport sector: a case study of god is good motors (GIGM)</article-title>. <source>Afr. J. Manage. Bus. Res.</source> <volume>19</volume>, <fpage>260</fpage>&#x2013;<lpage>274</lpage>. doi: <pub-id pub-id-type="doi">10.62154/ajmbr.2025.019.01022</pub-id></citation></ref>
<ref id="ref3"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Ashraf</surname><given-names>N.</given-names></name> <name><surname>Yang</surname><given-names>J</given-names></name></person-group>. (<year>2024</year>). Personalized Mobile restaurant Systems for Special Needs Users: integrating accessibility with convenience. 13&#x2013;24. Available online at: <ext-link xlink:href="https://www.researchgate.net/profile/John-Yang-29/publication/385379242_Personalized_Mobile_Restaurant_Systems_for_Special_Needs_Users_Integrating_Accessibility_with_Convenience/links/6722331477b63d1220cdaa60/Personalized-Mobile-Restaurant-Systems-for-Special-Needs-Users-Integrating-Accessibility-with-Convenience.pdf" ext-link-type="uri">https://www.researchgate.net/profile/John-Yang-29/publication/385379242_Personalized_Mobile_Restaurant_Systems_for_Special_Needs_Users_Integrating_Accessibility_with_Convenience/links/6722331477b63d1220cdaa60/Personalized-Mobile-Restaurant-Systems-for-Special-Needs-Users-Integrating-Accessibility-with-Convenience.pdf</ext-link> (Accessed January 20, 2025).</citation></ref>
<ref id="ref4"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Bahashwan</surname><given-names>E. A. F.</given-names></name></person-group> (<year>2025</year>). Mitigating customer churn in E-commerce using SERVQUAL model. 10, 37&#x2013;39. Available online at: <ext-link xlink:href="https://www.researchgate.net/profile/Abdullah-Bahshwan/publication/390137418_20251011001/links/67e1c79f3ad6d174c4bc8396/20251011001.pdf" ext-link-type="uri">https://www.researchgate.net/profile/Abdullah-Bahshwan/publication/390137418_20251011001/links/67e1c79f3ad6d174c4bc8396/20251011001.pdf</ext-link> (Accessed July 15, 2025)</citation></ref>
<ref id="ref5"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Bennett</surname><given-names>L.</given-names></name></person-group> (<year>2024</year>). Customer-centric supply chains: how marketing innovations drive efficiency and satisfaction. 1&#x2013;3. Available online at: <ext-link xlink:href="https://www.preprints.org/frontend/manuscript/43469f0cf873b3eaff52179fb24c4784/download_pub" ext-link-type="uri">https://www.preprints.org/frontend/manuscript/43469f0cf873b3eaff52179fb24c4784/download_pub</ext-link> (Accessed February 6, 2025).</citation></ref>
<ref id="ref6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bhuiyan</surname><given-names>M. S.</given-names></name></person-group> (<year>2024</year>). <article-title>The role of AI-enhanced personalization in customer experiences</article-title>. <source>J. Comput. Sci. Technol. Stud.</source> <volume>6</volume>, <fpage>162</fpage>&#x2013;<lpage>169</lpage>. doi: <pub-id pub-id-type="doi">10.32996/jcsts.2024.6.1.17</pub-id></citation></ref>
<ref id="ref7"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Dhanawat</surname><given-names>V.</given-names></name> <name><surname>Shinde</surname><given-names>V.</given-names></name> <name><surname>Karande</surname><given-names>V.</given-names></name> <name><surname>Singhal</surname><given-names>K.</given-names></name></person-group> (<year>2024</year>). &#x201C;<article-title>Enhancing financial risk management with federated AI</article-title>&#x201D; Ratmalana, Sri Lanka: <source>2024 8th SLAAI international conference on artificial intelligence (SLAAI-ICAI)</source>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</citation></ref>
<ref id="ref8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Eyo-Udo</surname><given-names>N.</given-names></name></person-group> (<year>2024</year>). <article-title>Leveraging artificial intelligence for enhanced supply chain optimization</article-title>. <source>Open Access Res. J. Multidisciplin. Stud.</source> <volume>7</volume>, <fpage>001</fpage>&#x2013;<lpage>015</lpage>.</citation></ref>
<ref id="ref9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gattupalli</surname><given-names>K.</given-names></name></person-group> (<year>2024</year>). <article-title>Transforming customer relationship management through AI: a comprehensive approach to multi-channel engagement and secure data management</article-title>. <source>Int. J. Manag. Res. Bus. Strateg.</source> <volume>14</volume>, <fpage>1</fpage>&#x2013;<lpage>11</lpage>.</citation></ref>
<ref id="ref10"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Guendouz</surname><given-names>T.</given-names></name></person-group> (<year>2023</year>) Artificial intelligence-powered customer experience management (moving from mass to hyper-personalization in light of relationship marketing). 3, 248&#x2013;254. Available at: <ext-link xlink:href="https://vsrp.co.uk/wp-content/uploads/10-IJSR-Vol.-3-No.-6-June-2024-Paper9-Dr.-Tarek.pdf" ext-link-type="uri">https://vsrp.co.uk/wp-content/uploads/10-IJSR-Vol.-3-No.-6-June-2024-Paper9-Dr.-Tarek.pdf</ext-link> (Accessed January 15, 2025).</citation></ref>
<ref id="ref11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hwang</surname><given-names>S.</given-names></name> <name><surname>Johnson</surname><given-names>C. M.</given-names></name> <name><surname>Charles</surname><given-names>J.</given-names></name> <name><surname>Biediger-Friedman</surname><given-names>L.</given-names></name></person-group> (<year>2024</year>). <article-title>Food delivery apps and their potential to address food insecurity in older adults: a review</article-title>. <source>Int. J. Environ. Res. Public Health</source> <volume>21</volume>:<fpage>1197</fpage>. doi: <pub-id pub-id-type="doi">10.3390/ijerph21091197</pub-id>, PMID: <pub-id pub-id-type="pmid">39338080</pub-id></citation></ref>
<ref id="ref12"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Islam</surname><given-names>M. S.</given-names></name> <name><surname>Suad</surname><given-names>S. F. R.</given-names></name> <name><surname>Rahman</surname><given-names>A.</given-names></name></person-group> (<year>2024</year>). Leveraging AI to overcome key challenges in last-mile delivery: enhancing customer experience and operational efficiency in e-commerce. Available online at: <ext-link xlink:href="https://supplychaininsider.org/ojs/index.php/home/article/view/118" ext-link-type="uri">https://supplychaininsider.org/ojs/index.php/home/article/view/118</ext-link> (Accessed January 15, 2025).</citation></ref>
<ref id="ref13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Johnson</surname><given-names>O. A.</given-names></name> <name><surname>John-Dewole</surname><given-names>T. A.</given-names></name> <name><surname>Allen</surname><given-names>A. A.</given-names></name></person-group> (<year>2024</year>). <article-title>Harnessing information systems for enhanced service delivery in organizations: an overview</article-title>. <source>International Journal of African Research Sustainability Studies.</source>, 2&#x2013;10. <ext-link xlink:href="https://cambridgeresearchpub.com/ijarss/article/view/223" ext-link-type="uri">https://cambridgeresearchpub.com/ijarss/article/view/223</ext-link></citation></ref>
<ref id="ref14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kanapathipillai</surname><given-names>K.</given-names></name> <name><surname>Singkaravalah</surname><given-names>L. M.</given-names></name> <name><surname>Balam</surname><given-names>M. S.</given-names></name> <name><surname>Nararajan</surname><given-names>S.</given-names></name></person-group> (<year>2024</year>). <article-title>The future of personalised customer experience in e-commerce: decoding the power of AI in building trust, enhancing convenience, and elevating service quality for Malaysian consumers</article-title>. <source>Eur. J. Soc. Sci. Stud.</source> <volume>10</volume>, 3&#x2013;19.</citation></ref>
<ref id="ref15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kedi</surname><given-names>W. E.</given-names></name> <name><surname>Ejimuda</surname><given-names>C.</given-names></name> <name><surname>Idemudia</surname><given-names>C.</given-names></name> <name><surname>Ijomah</surname><given-names>T. I.</given-names></name></person-group> (<year>2024</year>). <article-title>Ai chatbot integration in SME marketing platforms: improving customer interaction and service efficiency</article-title>. <source>Int. J. Manage. Entrepreneurship Res.</source> <volume>6</volume>, <fpage>2332</fpage>&#x2013;<lpage>2341</lpage>.</citation></ref>
<ref id="ref16"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Kumar</surname><given-names>S.</given-names></name> <name><surname>Talukder</surname><given-names>M. B.</given-names></name> <name><surname>Tyagi</surname><given-names>P. K.</given-names></name></person-group> (<year>2024</year>). &#x201C;<article-title>The impact of artificial intelligence on improving efficiency in service and implementing best practices in service marketing</article-title>&#x201D; in <source>AI innovations in service and tourism marketing</source> (Jalandhar, India: <publisher-name>IGI Global</publisher-name>), <fpage>57</fpage>&#x2013;<lpage>79</lpage>.</citation></ref>
<ref id="ref17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kunal</surname><given-names>K.</given-names></name> <name><surname>Ramprakash</surname><given-names>K. R.</given-names></name> <name><surname>Arun</surname><given-names>C. J.</given-names></name> <name><surname>Xavier</surname><given-names>M. J.</given-names></name></person-group> (<year>2023</year>). <article-title>An exploratory study on the components of AI impacting customer retention in telecom industry</article-title>. <source>Russ. Law J.</source> <volume>11</volume>, <fpage>351</fpage>&#x2013;<lpage>366</lpage>.</citation></ref>
<ref id="ref18"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Laporte</surname><given-names>G.</given-names></name></person-group> (<year>2009</year>). <article-title>Fifty years of vehicle routing</article-title>. <source>Transp. Sci.</source> <volume>43</volume>, <fpage>408</fpage>&#x2013;<lpage>416</lpage>. doi: <pub-id pub-id-type="doi">10.1287/trsc.1090.0301</pub-id>, PMID: <pub-id pub-id-type="pmid">19642375</pub-id></citation></ref>
<ref id="ref180"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Magdy</surname><given-names>D. M.</given-names></name></person-group> (<year>2024</year>). <article-title>AI-Enhanced Customer Segmentation in Banking</article-title>. <source>Journal of Bioinformatics and Artificial Intelligence</source> <volume>4</volume>, <fpage>98</fpage>&#x2013;<lpage>116</lpage>. Available at: <ext-link xlink:href="https://biotechjournal.org/index.php/jbai/article/view/118" ext-link-type="uri">https://biotechjournal.org/index.php/jbai/article/view/118</ext-link>, PMID: <pub-id pub-id-type="pmid">19642375</pub-id></citation></ref>
<ref id="ref19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Magdy</surname><given-names>A.</given-names></name> <name><surname>Hassan</surname><given-names>H. G.</given-names></name></person-group> (<year>2024</year>). <article-title>Deciphering consumer behaviours in the innovative hospitality settings</article-title>. <source>Consum. Behav. Tour. Hosp.</source> <volume>19</volume>, <fpage>617</fpage>&#x2013;<lpage>632</lpage>. doi: <pub-id pub-id-type="doi">10.1108/CBTH-02-2024-0056</pub-id></citation></ref>
<ref id="ref20"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Magdy</surname><given-names>M.</given-names></name> <name><surname>Raouf</surname><given-names>E.</given-names></name> <name><surname>Al-wakeel</surname><given-names>N.</given-names></name></person-group> (<year>2023</year>). <article-title>The integration of fintech and banks: a balancing act between risk and opportunity</article-title>. <source>Int. J. Membr. Sci. Technol.</source> <volume>10</volume>, <fpage>2467</fpage>&#x2013;<lpage>2479</lpage>. doi: <pub-id pub-id-type="doi">10.15379/ijmst.v10i3.1982</pub-id></citation></ref>
<ref id="ref21"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Mart&#x00ED;nez-Troncoso</surname><given-names>C.</given-names></name> <name><surname>Solis</surname><given-names>D. D.</given-names></name></person-group> (<year>2025</year>). &#x201C;<article-title>How service experience can shape customer churn from a service-dominant logic perspective</article-title>&#x201D; in <source>Handbook of service experience</source> (Santiago, Chile: <publisher-name>Edward Elgar Publishing</publisher-name>), <fpage>320</fpage>&#x2013;<lpage>335</lpage>.</citation></ref>
<ref id="ref22"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Morgeson</surname><given-names>F. V.</given-names></name> <name><surname>Hult</surname><given-names>G. T. M.</given-names></name> <name><surname>Sharma</surname><given-names>U.</given-names></name> <name><surname>Fornell</surname><given-names>C.</given-names></name></person-group> (<year>2023</year>). <article-title>The American customer satisfaction index (ACSI): a sample dataset and description</article-title>. <source>Data Brief</source> <volume>48</volume>:<fpage>109123</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.dib.2023.109123</pub-id>, PMID: <pub-id pub-id-type="pmid">37128580</pub-id></citation></ref>
<ref id="ref23"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Muthukalyani</surname><given-names>A. R.</given-names></name></person-group> (<year>2024</year>). <article-title>Enhancing supply chain agility with real-time data analytics</article-title>. <source>J. ID</source>:<fpage>2364-4269</fpage>.</citation></ref>
<ref id="ref248"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Oyedeji</surname><given-names>A. A.</given-names></name></person-group> (<year>2023</year>). Leadership tenure, succession and goal attainment in Federal Universities in southwestern Nigeria [PhD thesis]. Available online at: <ext-link xlink:href="http://140.105.46.132:8080/xmlui/handle/123456789/2040" ext-link-type="uri">http://140.105.46.132:8080/xmlui/handle/123456789/2040</ext-link></citation></ref>
<ref id="ref24"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Oyedeji</surname><given-names>A. A.</given-names></name></person-group> (<year>2024</year>). Leadership tenure, succession and goal attainment in Federal Universities in southwestern Nigeria [PhD thesis]. EasyChair. Available online at: <ext-link xlink:href="https://easychair.org/publications/preprint/H5N8" ext-link-type="uri">https://easychair.org/publications/preprint/H5N8</ext-link> (Accessed December 15, 2024).</citation></ref>
<ref id="ref25"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Prem</surname><given-names>R.</given-names></name></person-group>. (<year>2025</year>) Hyper-personalization in digital marketing: evaluating consumer trust and brand loyalty in the age of AI-driven campaigns. 2, 107&#x2013;112. Available online at: <ext-link xlink:href="https://www.mgmpublications.com/uploads/volume/1748755934.pdf" ext-link-type="uri">https://www.mgmpublications.com/uploads/volume/1748755934.pdf</ext-link> (Accessed July 15, 2025)</citation></ref>
<ref id="ref26"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Siddiqui</surname><given-names>R.</given-names></name></person-group> (<year>2024</year>) The impact of artificial intelligence on the financial sector. PhD thesis, Brac University, 2&#x2013;14.</citation></ref>
<ref id="ref27"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Singh</surname><given-names>G.</given-names></name> <name><surname>Sao</surname><given-names>A.</given-names></name> <name><surname>Singh</surname><given-names>S.</given-names></name> <name><surname>Hinchey</surname><given-names>M.</given-names></name></person-group> (<year>2023</year>). AI-Enhanced SEM analysis: evaluating E-CRM&#x2019;S effect on customer experience in NCR&#x2019;S private banking sector. 2023 3rd international conference on technological advancements in computational sciences (ICTACS), 7&#x2013;13. Available online at: <ext-link xlink:href="https://ieeexplore.ieee.org/abstract/document/10390044/" ext-link-type="uri">https://ieeexplore.ieee.org/abstract/document/10390044/</ext-link> (Accessed December 7, 2024).</citation></ref>
<ref id="ref28"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Singh</surname><given-names>P.</given-names></name> <name><surname>Singh</surname><given-names>V.</given-names></name></person-group> (<year>2024</year>). <article-title>The power of AI: enhancing customer loyalty through satisfaction and efficiency</article-title>. <source>Cogent Bus Manag</source> <volume>11</volume>, 2&#x2013;8. doi: <pub-id pub-id-type="doi">10.1080/23311975.2024.2326107</pub-id></citation></ref>
<ref id="ref29"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Solomon</surname><given-names>M. M.</given-names></name></person-group> (<year>1987</year>). <article-title>Algorithms for the vehicle routing and scheduling problems with time window constraints</article-title>. <source>Oper. Res.</source> <volume>35</volume>, <fpage>254</fpage>&#x2013;<lpage>265</lpage>. doi: <pub-id pub-id-type="doi">10.1287/opre.35.2.254</pub-id>, PMID: <pub-id pub-id-type="pmid">19642375</pub-id></citation></ref>
<ref id="ref30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname><given-names>L.</given-names></name> <name><surname>Wen</surname><given-names>H.</given-names></name> <name><surname>Hu</surname><given-names>H.</given-names></name> <name><surname>Mao</surname><given-names>X.</given-names></name> <name><surname>Xia</surname><given-names>Y.</given-names></name> <name><surname>Shan</surname><given-names>E.</given-names></name> <etal/></person-group>. (<year>2025</year>). <article-title>LaDe: the first comprehensive last-mile delivery dataset from industry</article-title>. <source>arXiv.</source>:<fpage>arXiv:2306.10675</fpage>. doi: <pub-id pub-id-type="doi">10.48550/arXiv.2306.10675</pub-id></citation></ref>
<ref id="ref31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhou</surname><given-names>Y.</given-names></name> <name><surname>Li</surname><given-names>H.</given-names></name> <name><surname>Yin</surname><given-names>P.</given-names></name></person-group> (<year>2025</year>). <article-title>Leveraging platform-based technologies to mitigate product returns in e-commerce: an affordance actualization perspective</article-title>. <source>Ind. Manag. Data Syst.</source> <volume>125</volume>, <fpage>1247</fpage>&#x2013;<lpage>1278</lpage>. doi: <pub-id pub-id-type="doi">10.1108/IMDS-05-2024-0440</pub-id></citation></ref>
</ref-list>
</back>
</article>