2. Literature Review
Due to the importance of the estimating the amounts of online and offline shopping trips, various research has been conducted on the field of estimating shopping trips.
Shao et al. [
6] assessed the effects of physical and virtual accessibility on e-commerce based on the geographic location of buyers. They used a spatial autoregressive model (SAC) to examine how physical and virtual accessibility influence the spatial distribution of online shopping trip in 276 provincial-level cities in China. The results indicate that both physical access (measured by the relative number of shopping centers and public transportation system) and virtual access (measured by the percentage of broadband subscribers and the relative number of delivery points) enhance online shopping trips.
Dong et al. [
8] applied a machine learning approach to estimate customer behavior for a large multipurpose online store between October and November 2019. They found that the pipeline and random forest algorithms had the highest performance with 96% accuracy. They also showed that the indicators of busyness and product price comparison had the greatest impact on increasing the online shopping trip intention.
Xiong [
9] examined consumer behavior in online shopping in the context of artificial intelligence and digital economy. The main focus of this paper is on the factors that affect the online shopping trip intention within a day. Based on the data collected by a questionnaire, the paper found that online shopping trip was prevalent among all age groups in China, with young people being the majority.
Xiahou and Harada [
10] explored the online and offline shopping behavior using machine learning techniques and longitudinal and multidimensional data variables. They proposed a churn user prediction model based on the combination of k-means customer segmentation and support vector machine (SVM). The results indicated that the online shopping trip intention was higher than the offline one. They also found that the SVM method had higher accuracy than the logistic regression method.
Lee et al. [
11] applied and compared different machine learning algorithms to predict online shopping trip conversion using 374,749 online consumer behavior data from the Google product store. They found that the ensemble model of the incremental gradient method was the most suitable method for predicting online shopping trip conversion, and that oversampling was the best method to reduce the bias of data imbalance.
Espinoza et al. [
12] examined consumer behavior in online and offline shopping trips in the context of the coronavirus pandemic. They used primary data from a structured questionnaire and an online survey to collect 200 heterogeneous types of products, and they investigated the factors that influenced people’s purchase choices. They found that the respondents’ skill level in using the Internet, among various technological factors, had a significant effect on their preference for the mode of shopping trip. They also found that factors such as quick product information, wider product selection, better prices and discounts influenced customers to choose online shopping trips, while faster delivery time and reliability and accuracy of product quality influenced consumers to choose offline shopping trips.
Chawla et al. [
13] used artificial neural networks to predict offline shopping trip demand for an American retail company. They developed a comparative forecasting mechanism based on ANN and ANFIS techniques to handle the trip demand forecasting problem under fuzzy conditions. They evaluated the results and showed that the ANFIS method was more effective than the ANN structure in producing more reliable forecasts for their case study.
Shi et al. [
14] proposed an approach to improve support service decision-making by predicting offline shopping trip interactions and intentions in real time using historical time series data. They analyzed real-time consumer behavior data of offline customers. They confirmed that context-aware interaction could greatly enhance consumers’ shopping experience in the offline scenario. A summary of the literature review is shown in
Table 2.
Based on the literature review, we found that despite the high importance of the problem and the research that has been done in this field, most of them focused on customer behavior and demand estimation, and it seems that some aspects of this research have not received enough attention. Moreover, according to the research conducted, it seems that the choice between online and offline shopping has not been considered as a multi-criteria decision-making problem and has only been investigated and analyzed separately. Therefore, the contributions of this paper can be stated as follows:
Using the deep learning approach by gray wolf optimization to estimate online and offline shopping trips
Examining and prioritizing the factors that affect the generation of online and offline shopping trips
According to the detailed analysis of previous studies, some of which were discussed in this chapter, it can be stated that the main method of this research involves employing a deep learning model, specifically deep convolutional network (CNN), in the classification of shopping trip features in order to detect shopping trips. This model takes input vectors, which are in the form of numerical vectors, and by applying transformation on them with several neurons in each layer, it transfers the output vector to the next layer. On the other hand, the efficiency of the deep learning model depends on the high capacity of learning complex nonlinear patterns from input data. However, when the complexity of the layers increases, the efficiency of this model decreases. One of the most important techniques to solve this problem is to enhance and optimize the deep learning model through hyperparameter tuning and feature selection with meta-heuristic algorithms. Considering that most high-dimensional data sets, such as time series data sets, contain additional features, outliers and noisy data, one of the most important steps in order to increase classification performance and reduce operating costs is to perform feature selection so that only the most relevant features are selected. Finding the optimal features is a challenging problem, especially when dealing with a large search space. Finding the fewest and most critical features that provide enough insight to describe the data set is the main goal of feature selection. In general, feature selection can save processing time, make data interpretation easier, avoid curse of dimensionality, and reduce overfitting. When feature selection is performed, misleading, irrelevant and redundant features are removed, leading to the selection of the appropriate features. Consequently, this step leads to a decrease in the computational load and an improvement in the speed of data processing. Within the meta-heuristic algorithms, the gray wolf algorithm is of great importance because of the extensive search in the computing space. In the process of hunting gray wolves, three groups of alpha, beta and delta wolf coordinate the hunting process (identification of relevant features), simultaneously. The alpha wolf is considered as the leader for following beta and delta, which is supposed to be aware of the approximate position of the prey. Therefore, the three best solutions found up to a given iteration are stored, motivating other wolves to update their positions in the decision space according to the optimal location. This step causes the selection of optimal features in the search space to be performed continuously. The position of three different vectors determines the wolf update mechanism, which selects the best features from the first three best solutions. This problem demonstrates the high efficiency of the GWO algorithm in feature selection.