SymOpt-CNSVR: A Novel Prediction Model Based on Symmetric Optimization for Delivery Duration Forecasting

Kun Qi, Wangyu Wu, Yao NiSymmetry 2025

TL;DR

This paper introduces SymOpt-CNSVR, a novel hybrid deep learning and statistical model for accurately predicting food delivery times. By symmetrically optimizing Convolutional Neural Networks (CNNs) with an enhanced Superb Fairy-wren Optimization Algorithm (ESFOA) and Support Vector Regression (SVR) with Bayesian Optimization, the model achieves state-of-the-art accuracy, crucial for improving logistics efficiency and customer satisfaction.

What Problem Does This Paper Address?

The rapid growth of online-to-offline (O2O) food delivery services has made accurate delivery time prediction a critical factor for operational efficiency and customer satisfaction. Existing methods often struggle with the high-dimensional and complex spatiotemporal data involved, leading to significant variability and unexpected delivery time fluctuations. This paper aims to bridge this gap by developing a more robust and accurate prediction framework that can effectively handle these challenges.

Methods

The core of the proposed SymOpt-CNSVR framework is its "symmetric" design, which leverages the strengths of both deep learning and statistical learning.

  • Deep Learning for Feature Extraction: A Convolutional Neural Network (CNN) is employed to extract and assess the importance of multi-feature data, particularly adept at handling complex spatiotemporal patterns.
  • Enhanced Superb Fairy-wren Optimization Algorithm (ESFOA): To overcome the complexity of manually tuning CNN hyperparameters, the authors introduce ESFOA. This enhanced meta-heuristic algorithm builds upon the original Superb Fairy-wren Optimization Algorithm (SFOA) by incorporating:
  • A group-balanced cooperative search mechanism to improve exploration and prevent premature convergence.
  • A memory location backtracking strategy to remember and revisit optimal positions.
  • A foraging intensive training module for self-improvement. ESFOA is used to optimize the CNN's hyperparameters, creating an adaptive feature extraction structure.

  • Support Vector Regression (SVR) for Prediction: The significant features identified by the CNN are then fed into a Support Vector Regression (SVR) model for final prediction. SVR is chosen for its ability to capture complex nonlinear relationships and its strong generalization capabilities.

  • Bayesian Optimization for SVR Tuning: The hyperparameters of the SVR model are optimized using Bayesian optimization, which efficiently searches for optimal parameter combinations by constructing a probabilistic model of the objective function.

This symmetrical approach balances the representational power of deep learning with the interpretability of statistical models, while employing specialized optimization techniques for each component.

Datasets

The study utilizes a real-world dataset related to food delivery services. The dataset includes various fields such as delivery person details, restaurant and delivery location coordinates, order type, vehicle type, and environmental factors like temperature, humidity, precipitation, weather description, traffic level, and distance. The target variable is the delivery time in minutes. The paper also mentions using the CEC2022 benchmark test suite for evaluating the ESFOA algorithm itself.

Key Insights and Ideas

  • Symmetric Optimization is Key: The paper strongly advocates for a symmetrical approach, where different optimization strategies are tailored to different model components (ESFOA for CNN, Bayesian Optimization for SVR). This is more effective than a one-size-fits-all approach.
  • ESFOA's Superiority in Optimization: The enhanced ESFOA demonstrates significant improvements over the original SFOA and other meta-heuristic algorithms in terms of convergence accuracy and robustness, particularly in complex, high-dimensional optimization tasks.
  • Hybridization Yields Synergistic Gains: The combined CNN-SVR model doesn't just average the performance of its individual components; it significantly surpasses them. This highlights the power of effective feature fusion and the complementary nature of deep learning for feature extraction and statistical learning for robust prediction.
  • Practical Impact for Logistics: The achieved prediction accuracy, with MAE close to 3 minutes, is critically important for real-world logistics systems, enabling more reliable delivery time estimates and enhancing customer trust.

Key Results

The SymOpt-CNSVR model achieved outstanding results on the real-world food delivery dataset:

  • R²: 0.9269
  • MAE: 3.0582 minutes
  • RMSE: 4.1947 minutes
  • MSLE: 0.1114

These metrics significantly outperform traditional baseline models (LR, KNN, GRU, BiLSTM) and other advanced models. For instance, the MAE was reduced from 4.713 (KNN) and 5.2676 (BiLSTM) to 3.0582, and RMSE decreased from 6.9073 (KNN) and 6.9194 (BiLSTM) to 4.1947. The model also showed strong performance on the CEC2022 benchmark test suite, outperforming several other optimization algorithms.

Limitations and Future Work

  • Computational Cost: While ESFOA is designed to be efficient, complex hybrid models can still have significant computational costs, especially in training.
  • Data Dependency: The effectiveness of deep learning models, including CNNs, is often dependent on the quality and quantity of training data.
  • Future Work: The authors suggest exploring more expressive Transformer architectures for capturing complex spatiotemporal dependencies and promoting broader application. They also plan to develop an online learning mechanism to enhance the model's dynamic adaptability and integrate the framework into actual intelligent scheduling systems.

Summary updated

BibTeX
@article{qi2025symopt,
  author = {Kun Qi and Wangyu Wu and Yao Ni},
  title = {{SymOpt-CNSVR: A Novel Prediction Model Based on Symmetric Optimization for Delivery Duration Forecasting}},
  journal = {Symmetry},
  year = {2025},
  doi = {10.3390/sym17101608},
}
Figure