Maximize Expected Profits by Dynamic After-Sales Service InvestmentStrategyBasedonWord-of-MouthMarketing inSocial Network Shopping

'is paper discusses how word-of-mouth marketing affects the profits of product sales in social network-based shopping under good after-sales service. First, a new word-of-mouth communication model based on silent evaluation, positive evaluation, and negative evaluation is proposed. Second, we use the way of increasing after-sales service to achieve high praise and thereby maximize the expected profits. 'us, the proportion control problem of after-sales service investment is modeled as an optimal control problem. 'ird, the existence of optimal control is proved, and an optimal control strategy for dynamic proportion of after-sales service investment is proposed. Fourth, through data simulation of different real-world networks, it is verified that the expected profits under the dynamic after-sales service strategy is higher than that under any uniform control strategy. Finally, sensitivity analysis is performed to explore how different parameters affect the expected profits.


Introduction
With the boom of social networking, more and more consumers are making purchase decisions based on word of mouth (WOM). Nearly three-quarters (73%) of consumers regularly recommend products to their friends, according to an Accenture survey [1]. e rapid advancement of e-commerce and logistics networks has changed the way of shopping in China. Online shopping is characterized by easy access to actual WOM. Compared with traditional advertising strategies, WOM influence strategies cost less and deliver more revenue [2][3][4][5][6][7][8][9].
In recent years, researchers have examined ways to maximize product profits from different perspectives based on WOM marketing. For example, the relationship between users was used to explore the impact of WOM marketing on consumers [10][11][12]. Users' WOM feedback data was used to mine information that is conducive to enterprises' innovation or growth [13][14][15]. A dynamic discount pricing strategy aiming at maximizing product profits based on WOM marketing was proposed [16][17][18]. Using WOM as an epidemic, a framework was constructed to discuss the impact of WOM on sales based on epidemic models [19][20][21].
In recent years, social network-based shopping, typified by shopping on WeChat, has emerged in China. e biggest characteristic of this shopping lies in its reliance on social networks for product sales. In particular, since the early 2020, when the COVID-19 outbreak caused a sharp drop in customer visits and product sales in physical stores, more and more sellers have begun to set up shopping groups to sell products on social networks such as WeChat. ese shopping groups, which we call community buying groups, tend to have the following characteristics: Members in such a group are often closely related, i.e., they may be members of the same company, neighbor users, etc. is makes it easy to spread WOM among different nodes within a social network, which directly affects product sales. Since most customers are familiar with each other, reviews are usually truthful and valid. erefore, positive WOM has a significant impact on product sales. Community group buying often involves repeat purchases, and positive WOM, in particular, prompts consumers to make repeat purchases. erefore, WOM affects the initial purchase intention of customers.
After customers buy a product, their evaluation is usually three-fold: silent, positive, and negative. Evidently, positive WOM helps to increase the purchase intention of the remaining customers, and negative WOM reduces their purchase intention.
After-sales service works in two ways for enhancing WOM. On the one hand, it encourages customers who have been remaining silent to post more positive reviews; on the other hand, it helps to reverse customers' negative reviews and finally drive positive WOM publicity.
We note that several studies have been conducted on the positive and negative effects of WOM [22][23][24][25][26]. Based on the cognitive dissonance theory and social support theory, Balaji et al. [27] studied the roles of situational factors, personal factors, and social network factors in determining customers' willingness to use social networking sites for negative WOM communication. Verhagen et al. [28] proposed a sender-oriented model to explore the effects of emotions and negative online WOM on re-sponsorship and switching intention. Dalman et al. [29] investigated how high-equity and low-equity brands attract negative WOM from consumers in the event of market failure. Weitzl et al. [30] suggested that online care (i.e., messages in response to online complaints) can mitigate complainants' adverse attributions of failure (i.e., track, controllability, and stability).
Inspired by the epidemic model, this paper takes WOM as a kind of epidemic and establishes a nodal dynamic WOM propagation model. From the characteristics of community group buying, it can be concluded that WOM has important implications for product sales. However, community group buying is small in scale and the profit it generates is limited. Investing heavy resources to maintain WOM would be costly. In this paper, we focus on how to dynamically invest in after-sales service to maximize profits. e main contributions are as follows: First, a node-level model based on WOM marketing is established to reveal the influence of WOM on consumers' purchase intention. Second, on this basis, the dynamic control problem of WOM through after-sales service is modeled as an optimal control problem.
ird, we prove that the model has optimal control and obtain the optimal system for solving the model. Fourth, by solving the corresponding optimal system, some optimal control strategies are given, which are then compared with uniform control. e comparison demonstrates the superiority of optimal control strategies over uniform control ones. Finally, the influence of after-sales service on product sales is further discussed through sensitivity analysis of relevant after-sales service parameters. e remainder of the paper is organized as follows. In Section 2, we establish a node-level Target-Buying-Refusing (TBR) model based on WOM marketing and model the dynamic after-sales service (DAS) problem as an optimal control problem. In Section 3, we perform theoretical analysis on the optimal control problem and give a dynamic strategy for after-sales service investment. Some optimal DAS strategies are given in Section 4. In Section 5, the influence of some after-sales service parameters on expected profits is further revealed. e concluding remarks are drawn in Section 6.

The Modeling of the DAS Investment Problem
In this section, we consider the WOM marketing problem with DAS investment. In view of the sales activities involved in community group buying, a DAS investment strategy is developed in order to maximize profits for sellers. e highlights of this section are as follows: (1) introducing basic symbols and terms; (2) establishing a TBR model based on WOM marketing; (3) modeling the DAS problem as an optimal control problem.

Terms and Notations.
Assuming the number of users for a community group purchase is N, we let G � (V, E) denote the topology of this network. Specifically, V � (V 1 , V 2 , . . . , V N ) represents the nodes of the network and N is the number of nodes in the network; furthermore, E ij � V i , V j ∈ E, which represents nodes V i and V j are friends, so G is an undirected network; A � (a ij ) N×N represents the adjacency matrix of network G. When a ij � 1, V i and V j can share their reviews on products with each other.
Let the vector represent the state of N nodes in the network at time t. Assuming that a product is sold in a finite time horizon [0, T], individual users may have the following three states in community group buying: O i (t) � 0, O i (t) � 1, and O i (t) � 2, corresponding to target customers (who have not yet decided whether to buy the product), buying customers (who buy the product), and refusing customers (who refuse to buy the product) at time t, respectively. Let T i (t), B i (t), and R i (t) denote the expected probabilities of node V i being target customers, buying customers, and refusing customers at time t, respectively: Complexity (1) Note that T i (t) + B i (t) + R i (t) � 1. Specifically, buying customers are categorized into three groups in terms of their evaluation: silent, positive, and negative. Let S i (t), P i (t), and N i (t) represent the expected probabilities of buying customers who remain silent and give positive and negative evaluations at time t, respectively.
To solve the WOM propagation problem with DAS investment, we introduce the following assumptions: Due to the shopping share of neighbor nodes who buy the products, target customers become buying customers with a probability of ρ on average Due to the shopping share of neighbor nodes who refuse to buy the products, target customers become refusing customers with a probability of c on average For buying customers, α 1 , α 2 , and α 3 represent the probabilities of them remaining silent, giving positive evaluation and giving negative evaluation; hence, α 1 + α 2 + α 3 � 1 Due to the positive WOM effect of buyers, target customers become buying customers with a probability of β 1 on average Due to the negative WOM effect of buyers, target customers become refusing customers with a probability of β 2 on average e above assumptions are independent of each other, and the state transition diagram of the node is shown in Figure 1. In practice, parameters ρ, c, α 1 , α 2 , α 3 , β 1 , β 2 can be estimated from the information of the network. e vector, represents the expected state of nodes in the network at time t, where For ease of understanding, a simple example is given. Assume that there is a topological relationship between network nodes, as shown in Figure 2, and the probability that node 1 is a target customer is 1 at time t, i.e.,

. Suppose the adjacency matrix of nodes in the network is
e probabilities of network nodes being in each state are shown in Table 1.
Parameter values are shown in Table 2. en, the probability that node 1 is a buying node at t + Δt is Complexity en, the probability that node 1 is a refusing node at t + Δt is en, the probability that node 1 is a target node at t + Δt is

Dynamic TBR Model Based on WOM
Marketing. e TBR model based on WOM marketing to be derived later conforms to the above assumption. e following system gives an equivalent form of the exact TBR model: is the proportion of investment in the first type of after-sales service, including the proportion of silent users converted into positive reviews through cash back. θ 2 (t) is the proportion of investment in the second type of after-sales service, including the proportion of negative reviews converted into positive ones by compensating users for their losses. erefore, we assume that the DAS strategy is where L[0, T] 2 represents the set of all Lebesgue integrable functions defined on [0, T] [31]. It is widely known that profits are closely associated with the sales of products. eoretically, the higher the sales of products is, the more negative reviews there will be. In WOM-oriented community group buying, in particular, negative reviews will directly affect the sales of products, resulting in a decline in profits. e proportion of positive WOM can be increased by investing in after-sales service. However, such investment tends to increase the cost and reduce the profit. In view of this, this paper intends to establish a dynamic proportion of investment in after-sales service to maximize the final profit.

Remark 1.
Assuming that the profit per unit of a product is c 1 , the total profit from selling the product at time [0, T] is Remark 2. Assuming that the investment proportion of the first type of after-sales service is θ 1 (t) and its average unit cost is c 2 , the cost of after-sales service at time [0, T] is Remark 3. Assuming that the investment proportion of the second type of after-sales service is θ 2 (t) and its average unit cost is c 3 , the cost of after-sales service at time [0, T] is In summary, the expected profit is where Based on the above discussions and assumptions, this DAS problem can be modeled as an optimal control problem as follows: e associated TBR model based on WOM can be rewritten as We refer to this optimal control problem as the DAS problem. is model can be described as a 15-tuple problem as follows:

Solvability of the DAS Problem.
First, we prove that the DAS problem is an optimal control problem and is solvable. Hence, we derive Lemma 1 [32].

Lemma 1.
e DAS problem is an optimal control problem if all the following five conditions hold.

Theorem 1.
e DAS problem is an optimal control problem.
Hence, f 2 (E, θ) is bounded by a linear function in E. e fourth condition follows that F(E, θ) is linear in Θ and is therefore convex. Finally, By Lemma 1, eorem 1 is proved.
Theorem 2. Suppose θ � (θ 1 (t), θ 2 (t)) is an optimal control of the DAS problem (16) and E is the solution to the associated TBR model (17). en, there exists an adjoint function X(t) � (λ(t), μ(t), ](t)) such that the following equations hold: Moreover, let en, for 0 ≤ t ≤ T, we have Proof. According to Pontryagin Minimum Principle [32], there exists (λ, μ, ]) such that e first 3N equations in system (22) follow by direct calculations. Since the terminal cost is unspecified and the final state is free, we have λ(T) � μ(T) � ](T) � 0. According to Pontryagin Maximum Principle, we have Equations (23) and (24) follow by the following direct calculations: □ By the optimal control theory, equations (16) and (22) constitute the optimality system for the TBR model. We refer to the control in each solution to the optimality system as a potential optimal control (POC) of the DAS problem. It is seen from equation (24) that the optimality system may have more than one POC.

Examples of the POC
For the notion of POC we introduced earlier for the DAS problem, now we provide some examples of the POC. First, the optimality system (17) and (22) is solved using the Runge-Kutta and backward Runge-Kutta fourth-order iterative procedure [34,35].
To generate a large number of DAS examples, three realworld networks are selected: Facebook network G FA , e-mail network G EM , and Twitter network G TW . We select the subnet of the network as the total number of nodes of the 8 Complexity three networks with N � 100. Let A FA , A EM , and A TW denote the adjacency matrix of G FA , G EM , and G TW , and the network topology is shown in Figure 3. Let the initial value E 0 � (T 0 , B 0 , R 0 ) � (0.7, . . . , 0.7, 0.2, . . . , 0.2, 0.1, . . . , 0.1).

Experiment 1.
Stabilities of the three states. e parameters and their values are shown in Table 3. As can be seen from Figure 4, in all of three networks, the expected probabilities of the three states are stable at a fixed value. Moreover, when the probability of negative evaluation in the network is larger than that of positive evaluation, nodes tend to refuse to buy the product.

Experiment 2. Optimal control strategies in networks.
Consider the TBR model (17) with G � G FA , G � G EM , G � G TW , θ 1 � 1, θ 2 � 1, c 1 � 50, c 2 � 5, and c 3 � 10, and the remaining parameters are shown in Table 3. e optimal control θ poc is obtained by solving the optimal system, as shown in Figure 5. Figure 6 exhibits θ poc ∪ θ p,q , p � (0, 0.1, 0.2, . . . , 1) and q � (0, 0.1, 0.2, . . . , 1). It is seen that J(θ poc ) > J(θ p,q ), for all p, q ∈ [0, 1]. θ poc is superior to all the uniform controls in the three networks in terms of expected profits. In the above experiment and 100 similar experiments, it is worth emphasizing that θ poc outperforms all static controls in terms of expected profits across all the networks, which demonstrates the optimality of θ poc .
As can be seen from Figure 6, when there is no after-sales service (θ 0,0 ) in the community group buying network, the expected profit of sales in the whole network is the lowest due to the influence of negative WOM. When q � 1, although p is different, the expected profit generated by community group buying is almost the same for the three networks. is phenomenon indicates that reversing negative WOM through after-sales service is more helpful in improving expected profits than operations such as cash back. Moreover, it can be seen from Figures 5 and 6 that the DAS optimal control strategies are concentrated at the initial time, which suggests the importance of timely after-sales service. Delayed or continuous after-sales service has no obvious effect on improving consumers' purchase intention and increasing expected profits.

Experiment 3. Effects of optimal control strategies.
As shown in Figure 7, we compare the expected probabilities of buying and refusing states without control and with the optimal control strategy. It can be inferred that, through DAS optimal control strategies, the probability of buying is greatly increased, while that of refusing buying is greatly decreased.
is further proves the importance of after-sales service.

The Influence of Parameters on Expected Profits
In this section, we discuss how different parameters affect the expected profits. On the one hand, taking node 30 as an example, we discuss the effects of different parameters on purchase intention. On the other hand, given the similar simulation results of the three networks, the e-mail network is taken as an example for illustration, as shown in Figure 8.  Table 3. e probability of the node's purchase intention increases as ρ and β 1 increase, as shown in Figures 8(a) and 8(c), and decreases as c and β 2 increase, as shown in Figures 8(b) and 8(d). is finding is consistent with the actual representations of the parameters. Experiment 5. Effects of parameters α 1 , α 2 , α 3 on purchase intention. Since When T � 25, take the probability of buying for node 30 as an example. As shown in Figure 9(a), when α 2 is very small, the probability changes little with the increase of α 1 . Specifically, despite the increased probability of silent purchase, the probability of final node purchase does not increase significantly.
is is because the probability of positive WOM is fixed at a small value. When α 2 is large, the probability increases significantly as α 1 increases. When the probability of positive WOM is fixed at a large value, the probability of negative WOM decreases as the probability of silent purchase increases, so the probability of final node purchase increases significantly. e situation in Figure 9(b) is similar to that in Figure 9(a). It can be clearly seen from Figure 9(c) that the purchase probability increases with the increase of α 2 and decreases with the increase of α 3 .
Under optimal dynamic after-sales service control, the expected profit exhibits different levels of sensitivity to different parameters. erefore, we will further discuss how the parameters affect the expected profit of the entire community group buying network later in this section. Experiment 6. Effects of parameters ρ, c, β 1 , β 2 on the expected profit.
Let ρ, c, β 1 , β 2 � [0.1, 0.3, 0.5, 0.7, 0.9], respectively, and the other parameters are shown in Table 3. As can be seen from Figure 10, the expected profit of the whole network increases with the increase of ρ, β 1 and decreases with the increase of c, β 2 after-sales service is available. Based on Figure 8, it can be concluded that when consumers' purchase intention increases, the expected profit also increases in the network. Experiment 7. Effects of parameters α 1 , α 2 , α 3 on expected profits. Since

Complexity
As can be seen from Figure 11, the expected profit is not closely related to the proportion of silent customers, but is directly proportional to positive WOM and inversely proportional to negative WOM. is conclusion is consistent with the analysis in Figure 9.
e experimental conclusions are summarized in Table 4.

Conclusion
is paper aims at maximizing the expected profits of product sales in social network shopping by dynamically controlling the proportion of after-sales service investment based on word-of-mouth marketing. First, the problem is modeled as an optimal control problem. Second, a potential optimal control strategy is proposed and the optimal control problem is identified by solving the optimal system. Finally, some comparative experiments demonstrate that the proposed dynamic control strategy is superior to any uniform control strategy, and the expected profits show different levels of sensitivity to different after-sales service parameters. erefore, the proposed dynamic after-sales investment strategy can serve as an effective approach to maximizing the expected profits of product sales in social network shopping. In this regard, there are a number of research topics worthy of further study. e problem of balancing profits and after-sales investment can be modeled as a game theory problem to ensure maximum interests for individuals.

Data Availability
e data used to support the findings of this study are included within the article.   C 2 e DAS optimal control strategy outperforms any uniform control strategy and can greatly improve the expected profit Experiments 2 and 3

Conflicts of Interest
Reversing negative reviews is more helpful in improving expected profits than improve silent evaluation Experiment 2 C 4 e probability ρ of T i being converted to B i is positively correlated with expected profits Experiments 4 and 6 C 5 e probability c of T i being converted to R i is negatively correlated with expected profits Experiments 4 and 6 C 6 e probability of positive evaluation α 2 is positively correlated with expected profits Experiments 5 and 7 C 7 e probability of negative evaluation α 3 is positively correlated with expected profits Experiments 5 and 7 C 8 Probability β 1 influenced by positive WOM is positively correlated with expected profits Experiments 4 and 6 C 9 Probability β 2 influenced by negative WOM is negatively correlated with expected profits Experiments 4 and 6 C 10 When the probability α 2 (α 3 ) of positive (negative) WOM is fixed and small, the probability of silent evaluation α 1 has a weak positive (negative) correlation with purchase intention Experiment 5

C 11
When the probability α 2 (α 3 ) of positive (negative) WOM is fixed and large, the probability of silent evaluation α 1 has a strong positive (negative) correlation with purchase intention Experiment 5 14 Complexity