Skip to content
DraconiticResearch
Search Sources API
203,948 studies31 sourcesUpdated 20 min ago
Peer-reviewedCC BYScientific Reports

Retail sales optimization using a hybrid K-Means, particle swarm optimization and reinforcement learning framework

  1. 1Department of Industrial Engineering and Management, Khulna University of Engineering & Technology

Abstract

Retailers face difficulty in making sales decisions because demand is uncertain, regions differ, and market conditions change quickly. This affects inventory, discounts, and sales performance. This study proposes a hybrid model using K-Means clustering, reinforcement learning, and particle swarm optimization. K-Means groups store with similar demand patterns. Reinforcement learning develops adaptive sales and discount policies. Particle swarm optimization tunes the reinforcement learning hyperparameters. The retail decision problem is formulated as the maximization of a net profit reward, and the algorithmic performance is reported as a fitness cost equal to the negative of the cumulative reward, so that lower fitness cost values indicate better policies under one consistent objective. The model was tested on about 76,000 retail observations from five stores, twenty products, and four regions between 1 January 2022 and 1 January 2024. All reported summary statistics are averaged over 30 independent runs with different random seeds, and pairwise differences are assessed using the two-sided Wilcoxon signed-rank test at a five per cent significance level. The hybrid model achieved the lowest mean fitness cost of 90.925, compared with 104.465 for particle swarm optimization, 118.225 for reinforcement learning, and 139.033 for K-Means clustering. The improvement of the full hybrid framework over the strongest single baseline (particle swarm optimization) is statistically significant (p < 0.01). Cluster quality is supported by a silhouette score of 0.42 and a Davies, Bouldin index of 0.88 for the four-cluster solution, confirming that the segmentation captures meaningful demand structure rather than a trivial one to one store relabelling. These findings indicate better cost performance on the studied dataset. The proposed framework offers a practical and data-driven approach for multi store retail decision support, and the broader generalization to large scale retail networks is positioned as future work.

Related

  1. Reinforcement Learning for Chronic Care Pathway Optimization: A Unified Framework across Three Clinical Goal Types
    R. Wang, H. Chen, Y. Wu +5
    medRxivPreprintCC BY-NC-NDFull textEpidemiology & public healthmedRxiv
  2. Multiproperty optimization of therapeutic antibodies through sequence editing via large language model and reinforcement learning
    Minyao Qiu, Zhiwei Wang, Xuan Liu +10
    Nature CommunicationsPeer-reviewedCC BY-NC-ND 4.0Full textMedical imaging & radiologyCrossrefPMC
  3. Adaptive intelligent resource optimization in wireless sensor networks using reinforcement learning and compressive sensing
    S. Balamurali, SatheeshKumar Palanisamy, N. Sathishkumar +2
    Scientific ReportsPeer-reviewedCC BY 4.0Full textGeneral medicineCrossrefDOAJ
  4. Continuous control deep reinforcement learning for joint resource optimization in STAR-RIS assisted mmWave-NOMA systems with hardware impairments
    Sima Sobhi-Givi, Mahdi Nouri, Mousa Abdollahvand +3
    Scientific ReportsPeer-reviewedCC BYFull textGeneral medicineDOAJ
  5. An integrated evolutionary optimization and machine learning framework for predicting pharmacokinetics of nanocarrier-encapsulated drugs
    Shaker T. Alsharif
    Frontiers in medicinePeer-reviewedCC BYFull textGeneral medicineEurope PMC
BibTeX
@article{anzum2026retail,
  title = {{Retail sales optimization using a hybrid K-Means, particle swarm optimization and reinforcement learning framework}},
  author = {Kazi Md. Tanvir Anzum and Md. Amanullah and Md. Raihanul Haque and MD. Assaduzzaman Tuhin},
  journal = {Scientific Reports},
  year = {2026},
  month = aug,
  doi = {10.1038/s41598-026-65137-9},
  url = {https://doi.org/10.1038/s41598-026-65137-9},
  note = {CC BY},
}
RIS
TY  - JOUR
TI  - Retail sales optimization using a hybrid K-Means, particle swarm optimization and reinforcement learning framework
AU  - Kazi Md. Tanvir Anzum
AU  - Md. Amanullah
AU  - Md. Raihanul Haque
AU  - MD. Assaduzzaman Tuhin
PY  - 2026
DA  - 2026/08/01
JO  - Scientific Reports
DO  - 10.1038/s41598-026-65137-9
UR  - https://doi.org/10.1038/s41598-026-65137-9
AB  - Retailers face difficulty in making sales decisions because demand is uncertain, regions differ, and market conditions change quickly. This affects inventory, discounts, and sales performance. This study proposes a hybrid model using K-Means clustering, reinforcement learning, and particle swarm optimization. K-Means groups store with similar demand patterns. Reinforcement learning develops adaptive sales and discount policies. Particle swarm optimization tunes the reinforcement learning hyperparameters. The retail decision problem is formulated as the maximization of a net profit reward, and the algorithmic performance is reported as a fitness cost equal to the negative of the cumulative reward, so that lower fitness cost values indicate better policies under one consistent objective. The model was tested on about 76,000 retail observations from five stores, twenty products, and four regions between 1 January 2022 and 1 January 2024. All reported summary statistics are averaged over 30 independent runs with different random seeds, and pairwise differences are assessed using the two-sided Wilcoxon signed-rank test at a five per cent significance level. The hybrid model achieved the lowest mean fitness cost of 90.925, compared with 104.465 for particle swarm optimization, 118.225 for reinforcement learning, and 139.033 for K-Means clustering. The improvement of the full hybrid framework over the strongest single baseline (particle swarm optimization) is statistically significant (p < 0.01). Cluster quality is supported by a silhouette score of 0.42 and a Davies, Bouldin index of 0.88 for the four-cluster solution, confirming that the segmentation captures meaningful demand structure rather than a trivial one to one store relabelling. These findings indicate better cost performance on the studied dataset. The proposed framework offers a practical and data-driven approach for multi store retail decision support, and the broader generalization to large scale retail networks is positioned as future work.
SN  - 2045-2322
ER  -