Incentive mechanism for maximizing utility of artificial intelligence generation system in vehicle-mounted edge computing network scene
By designing a dynamic incentive mechanism and deep reinforcement learning technology in the vehicle edge computing network to optimize resource allocation and backhaul, the problem of high energy consumption of resources by artificial intelligence generation technology is solved, maximizing system utility and rational resource utilization. , better than traditional methods.
Patent Information
- Application Number
- CN202410950242.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-01
AI Technical Summary
In vehicle edge computing networks, the existing incentive mechanism fails to effectively consider the high energy consumption of computing and communication resources caused by artificial intelligence generation technology, resulting in low resource utilization efficiency, and fixed user locations and a single service provider limit the system. Maximization of utility.
An incentive mechanism for a dynamic vehicle-mounted edge computing network is designed. By constructing a fully symmetric dynamic model of information, using monetary reward mechanisms and deep reinforcement learning technology, vehicle-mounted terminals are encouraged to share computing and communication resources, and optimal allocation and backhaul of resources are achieved. Double-layer Stackelberg game and multi-agent Markov decision-making process are used to optimize the server pricing strategy and ensure that the system reaches Nash equilibrium.
It improves the rationality of vehicle terminal resource utilization, solves the problem of resource waste, maximizes the overall system revenue, improves network utility, and is superior to the convergence speed and efficiency of traditional methods.
Smart Images

Figure FDA0004947015180000021 
Figure FDA00049470151800000210 
Figure FDA00049470151800000211
Abstract
Description
Technical Field
[0001] The present invention relates to the field of edge computing and wireless communication technology, and in particular to an incentive mechanism for maximizing the utility of an artificial intelligence generation system in a vehicle-mounted edge computing network scenario. Background Art
[0002] With the rapid development of artificial intelligence technology, in-vehicle intelligent assistants have become an indispensable part of modern vehicles. In-vehicle intelligent assistants provide drivers with rich information and convenient services such as navigation, voice interaction, and vehicle condition monitoring by collecting vehicle status information and sensing the surrounding environment. However, due to the limited computing resources and storage capacity of on-board devices, traditional cloud processing methods cannot meet the real-time, reliability, and security requirements of in-vehicle intelligent assistants. Therefore, On-Board Edge Computing Networks (OECN) were proposed to offload computing tasks to on-board edge devices to reduce cloud pressure and improve processing efficiency.
[0003] AIGC (AI Generated Content) is a new production paradigm for automatically generating content based on artificial intelligence technology. Introducing AIGC (the process of generating content using artificial intelligence technology) tasks in the vehicle-mounted edge computing network can further expand its application scope and improve its performance. AIGC covers a variety of forms such as text, images, audio and video, and can be applied to multiple fields of vehicle-mounted intelligent assistants, such as speech recognition, image processing, natural language processing, etc. By combining AIGC tasks with the vehicle-mounted edge computing network, the idle resources of the vehicle terminal can be used to achieve more accurate vehicle status monitoring and prediction, more intelligent vehicle entertainment and human-computer interaction systems, etc. But specifically, AIGC may require a lot of computing power (computing resources) and bandwidth (communication resources) to generate content and transmit it back to users, such as text generation images, audio and other scenarios. Improper resource disposal may lead to a decrease in vehicle users' interest in resource sharing and a decrease in the total network utility.
[0004] At present, there are many studies focusing on the incentive mechanism of network utility in vehicle-mounted edge computing systems. Zhan et al. (see Z. Chang, W. Guo, X. Guo, Z. Zhou, and T. Ristaniemi, "Incentive mechanism for edge-computing-based blockchain," IEEE Transactions on Industrial Informatics, vol. 16, no. 11, pp. 7105–7114, 2020.) constructed a multi-stage Stackelberg game between data mining users and edge service providers (ESP) in the blockchain scenario to find the optimal incentive mechanism for ESP and user selection automatic adjustment strategy. Sun et al. (see G. Li, J. Cai, X. Chen, and Z. Su, "Nonlinear online incentive mechanism design in edge computing systems with energy budget," IEEE Transactions on Mobile Computing, vol. 22, no. 7, pp. 4086–4102, 2022.) constructed an incentive mechanism design problem to jointly optimize the task offloading and resource allocation problems assigned by base stations to mobile users in edge computing systems.
[0005] However, the most common existing strategy does not consider the energy consumption of the edge server after the task calculation is completed, that is, it is assumed that the data after the task is calculated is smaller than before completion, which is not realistic in the context of artificial intelligence generation technology. Taking text-generated images as an example, the generated image data is often much larger than the text data. In addition, problems such as fixed user locations and single service providers still exist in existing algorithms. Therefore, we designed an incentive mechanism for maximizing network utility based on the background of artificial intelligence production technology in a dynamic vehicle-mounted edge computing network. Summary of the invention
[0006] The purpose of this application is to overcome the existing deficiencies and propose an incentive mechanism to maximize the utility of the artificial intelligence generation system in the vehicle edge computing network scenario.
[0007] The edge computing system in the vehicle-mounted edge computing network scenario targeted by this application consists of users, M edge servers and N vehicle-mounted terminals equipped or not equipped with artificial intelligence generation technology servers. After the user publishes the generative artificial intelligence task requirements to the edge server, the edge server may face task congestion and queuing. At this time, the edge server will assign some of the tasks that cannot be calculated in time to the vehicle-mounted terminal that also carries a small generative artificial intelligence server, and provide the vehicle-mounted terminal with a reward clause based on the resource type to encourage the vehicle-mounted terminal to share its own resources. If the vehicle-mounted terminal accepts the employment of the edge server, it will use its own computing resources to complete the calculation of the task requirements and undertake the task backhaul at the same time. That is, during the entire service allocation process, the vehicle-mounted terminal shares its own computing resources and communication resources at the same time. The problem to be solved by the present invention is: in a given vehicle-mounted edge computing network, based on the mobility of the vehicle-mounted terminal and the information asymmetry between the edge server and the vehicle-mounted terminal, on the basis of satisfying the following conditions, the utility of the vehicle-mounted edge computing system is encouraged to reach Nash equilibrium by designing an incentive mechanism to improve network benefits:
[0008] 1) For computing resources:
[0009]
[0010] Among them, constraint (1) ensures that the energy consumption cost of the vehicle terminal's computing tasks does not exceed the total amount of computing resources it holds. Constraint (2) represents the pairing probability between the edge server and the vehicle terminal when sharing computing resources, and the two are paired one by one.
[0011] 2) Regarding communication resources:
[0012]
[0013] Among them, constraint (3) ensures that the energy consumption cost of the vehicle terminal transmission task does not exceed the total amount of communication resources it holds. Constraint (4) represents the pairing probability between the edge server and the vehicle terminal when sharing communication resources. The two are paired one by one. Constraint (5) ensures that the vehicle does not exceed the maximum communication distance of the edge server when moving. Constraint (6) represents the maximum transmission time of the task.
[0014] The present invention will, under the premise of satisfying the above constraints, encourage the edge service utility of the system to reach Nash equilibrium:
[0015]
[0016] in It represents the total utility brought to the system by the vehicle terminals sharing communication resources. It represents the total utility brought to the system by the shared communication resources of vehicle terminals.
[0017] The incentive mechanism for maximizing the utility of the artificial intelligence generation system in the vehicle-mounted edge computing network scenario proposed in this invention is as follows:
[0018] Step 1: First, build a dynamic vehicle-mounted edge computing network model with fully symmetric information. In the model, the resources shared by the vehicle terminal to the edge server are divided into two parts: computing resources required for computing tasks and communication resources required for transmission tasks. In the process of service allocation and resource sharing, the profit of the edge server is the profit of time saving minus the monetary reward distributed to the vehicle terminal, and the profit of the vehicle terminal is the monetary reward provided by the edge server minus the computing or communication resources consumed by itself.
[0019] 1) When the vehicle terminals share computing resources, let p n represents the key incentive parameter of edge server n, which represents the monetary reward per unit of computing resources. According to the distance between the vehicle terminal and the edge server, p n f m,n To represent the utility gain of the vehicle terminal m, where f m,n is the decision variable of vehicle terminal m, which indicates the amount of computing resources (CPU frequency) shared with edge server n. In order to support offloading services, edge server n requires vehicle terminal m to bear workload Dη, where D represents the data size and η represents the CPU required per bit. For vehicle terminal m, the energy consumption cost of CPU execution is where σ m,n represents the unit cost of computing energy consumed by vehicle terminal m to execute edge server n, κ m represents the effective switch capacitance coefficient. Therefore, if the vehicle terminal m accepts the employment of edge server n, it will obtain the following utility function,
[0020]
[0021] where w m,n =Dησ m,n .
[0022] We use monetary rewards to represent the pairing probability between edge servers and vehicle terminals. Obviously, vehicle terminals are more likely to enter edge servers with more monetary rewards. Therefore, the pairing probability between vehicle terminal m and edge server n is set as follows:
[0023]
[0024] For the vehicle terminal m, there is ∑ 1≤n≤N ρ m,n = 1. Considering N edge servers, the expected utility of vehicle terminal m is
[0025]
[0026] where f m ={f m,1 ,…,f m,N} and p={p 1 ,…,p N Each vehicle terminal m determines the optimal strategy vector f according to the reward strategy vector p m To maximize
[0027] 2) When vehicle terminals share communication resources, the mobility of the vehicle will affect task transmission and resource sharing. When the vehicle is stationary, when the vehicle terminal n sends the calculated task data to the edge server m, the transmission rate can be expressed as Where B is the bandwidth resource, h m,n is the channel gain, γ 2 represents Gaussian white noise. The energy consumption cost of the result transmission can be expressed as Where B is the bandwidth resource, h m,n is the channel gain, γ 2 is Gaussian white noise.
[0028] Therefore, if the vehicle terminal m accepts the employment of edge server n, it will obtain the following utility function:
[0029]
[0030] in is a constant greater than 0.
[0031] When the vehicle moves, the transmission rate from the vehicle terminal n to the edge server m can be re-expressed as Regain P m,n With T m,n The expression of the relationship is Therefore, the energy consumption of the back-propagation model parameters is expressed as At this time, the utility function of the vehicle terminal is
[0032]
[0033] The pairing probability between the vehicle terminal m and the edge server n is Considering N edge servers, the expected utility of vehicle terminal m is
[0034]
[0035] where r m = {r m,1 ,…,r m,N} and q={q 1 ,…,q N Each vehicle terminal m determines the optimal strategy vector r according to the reward strategy vector q m To maximize
[0036] 3) Edge server n collects a certain amount of computing resources from the vehicle terminal to serve its own task allocation. After meeting the user's computing needs, edge server n obtains a profit of g per unit of time saved n Considering the total monetary cost of M vehicle terminals, edge server n obtains the expected utility in the form of the following profit:
[0037]
[0038] 4) Edge server n collects a certain amount of communication resources from the vehicle terminal to serve its own task backhaul. After satisfying the user's computing needs, edge server n obtains a benefit h per unit of time saved. n At this time, the edge server n obtains the expected utility in the form of profit:
[0039]
[0040] Step 2: Design a contract-based incentive mechanism, formulate reward policies based on the different cost attributes of participants, and use the double-layer Stackelberg game process to encourage the system utility to move closer to the Nash equilibrium. In the incentive process, the edge server acts as a leader and publishes resource pricing information based on resource types. For computing resources, the incentive policy of the edge server is p n ; For communication resources, the incentive policy of the edge server is q n . After establishing a cooperative relationship with the vehicle terminal, the edge server will provide monetary rewards to the vehicle terminal to encourage the vehicle terminal to share more of its own resources. As a follower, the vehicle terminal observes the resource pricing provided by the edge server and decides the amount of resources it shares. Inspired by the incentive mechanism in existing work, we believe that the vehicle terminal m will make a probabilistic decision on the pairing of the edge server n, and that monetary rewards have a strong positive impact on the resource contribution decision of the vehicle terminal, because monetary rewards can compensate for the loss of its own resources after the vehicle terminal shares idle communication resources with the edge server. Therefore, we innovatively use monetary rewards to represent the pairing probability between the edge server and the vehicle terminal. Obviously, the vehicle terminal is more likely to enter the edge server with more monetary rewards.
[0041] Step 3: Under the condition of asymmetric information, design a server pricing mechanism based on deep reinforcement learning to incentivize the system utility to reach Nash equilibrium.
[0042] In a scenario of complete information sharing, each user needs to know the information of other users, such as resource pricing p n and shared revenue n etc. However, it is unrealistic to obtain this information in practical scenarios because users may refuse to disclose these parameters for privacy reasons. In addition, the physical parameters of users are time-varying, which makes it difficult for one user to accurately estimate the attributes of other users. Therefore, we study the pricing mechanism of edge servers when the attributes of other users are unobservable. We describe the dynamic decentralized resource pricing incentive process as a multi-agent Markov decision process and design a user dynamic resource pricing algorithm based on a multi-agent DRL scheme. Using this algorithm, each user can determine the approximate optimal pricing strategy for different types of shared resources directly from historical information without any prior information about other users.
[0043] 1) The state space is represented as We focus on the case where each participant’s state space is partially visible. For edge server n, its state consists of the past strategies of other edge servers and its own attributes, denoted as Where L represents the past L historical records in the training set t.
[0044] 2) Use Represents the actions of all edge servers, where In this model, represents the pricing of computing resources and communication resources given by edge servers. In the training set z, edge server n determines the relative state Action Actions correspond to reward policies. To improve learning efficiency, we set lower and upper bounds for actions, i.e., the computing resource pricing range is The communication resource pricing range is because so The action space of is continuous, and then this paper normalizes the range of the action space to [0,1],
[0045] 3) Reward function: The reward space is defined as For edge server n, its reward function is expressed as
[0046]
[0047] 4) Use a policy-based approach to train the DRL model and adopt a typical Actor-Critic model. Then, a decentralized actor network and a decentralized critic network are designed for each agent. For agent n, we use θn and ω n The parameters are used to maintain the Actor network and the Critic network, which are used to approximate the policy function and the value function. This paper applies the policy gradient method to optimize the learning objectives, and proposes a policy optimization theorem based on existing work. The policy gradient is designed as
[0048] Indicates that server n is in a given state S n The probability distribution of taking each action under Represents agent n in a given state S n Take a specific action a n The probability value of . It is the advantage function of states and actions, which indicates the advantage of a state-policy pair relative to the expected value function. It is used to measure the performance difference of the agent taking a specific action in a specific state compared to taking only an average action. is the resampling strategy, that is, the use of resampling actions, which can reduce sample variance and help estimate the gradient more stably. n represents the relative probability between the agent’s current policy and the resampled policy. In addition, we design the training procedure based on the proximal policy optimization algorithm, which is currently the most advanced policy gradient method with good stability. Therefore, the policy gradient is further clipped to in
[0049]
[0050] Represents a pruning factor used to limit the range of the policy gradient. ε is an adjustable hyperparameter. On this basis, the pruned policy gradient is used to update the participant model (policy network) and the critic model (value function network) using the mini-batch stochastic gradient ascent and descent methods respectively until the server pricing policy converges.
[0051] This reinforcement learning framework provides a mathematical model for optimizing the server pricing strategy. The edge server, as a seller, can incentivize the vehicle terminal to share more resources through a reward policy; the vehicle terminal, as a buyer, can observe the system status and take appropriate actions to maximize the expected utility.
[0052] The present invention proves that by adopting the above strategy, the service allocation of the dynamic vehicle-mounted edge computing network can be effectively completed and the system utility can meet the required requirements.
[0053] Compared with the prior art, the present invention has the following beneficial effects:
[0054] The present invention utilizes policy-based deep reinforcement learning technology to propose a learning-based server pricing mechanism, so that the global utility of the vehicle-mounted edge computing system reaches Nash equilibrium, improves the rationality of vehicle-mounted terminal resource utilization, solves the problem of serious resource waste in traditional methods, and maximizes the global benefits of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 Schematic diagram of a dynamic in-vehicle edge computing network that shares its own resources with in-vehicle terminals
[0056] Figure 2 Schematic diagram of the server pricing method based on deep reinforcement learning proposed in this invention
[0057] Figure 3 Schematic diagram of edge server utility convergence in the dynamic vehicle-mounted edge computing network scenario proposed by the present invention
[0058] Figure 4 Schematic diagram showing the comparison of the convergence of the proposed artificial intelligence generation system utility maximization incentive method and the existing incentive method in the dynamic vehicle-mounted edge computing network scenario. DETAILED DESCRIPTION
[0059] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
[0060] As attached Figure 1 As shown, the edge computing system in the vehicle-mounted edge computing network scenario targeted by this application consists of users, M edge servers, and N vehicle-mounted terminals equipped or not equipped with artificial intelligence generation technology servers. After the user publishes the generative artificial intelligence task requirements to the edge server, the edge server may face task congestion and queuing. At this time, the edge server will assign some of the tasks that are too late to calculate to the vehicle-mounted terminal that also carries a small generative artificial intelligence server, and provide the vehicle-mounted terminal with resource-type-based reward terms to encourage the vehicle-mounted terminal to share its own resources. If the vehicle-mounted terminal accepts the employment of the edge server, it will use its own computing resources to complete the calculation of the task requirements and at the same time undertake the backhaul of the task. That is, during the entire service allocation process, the vehicle-mounted terminal shares its own computing resources and communication resources at the same time.
[0061] We designed an incentive mechanism to maximize the utility of the AI generation system in the vehicle edge computing network scenario, which includes the following steps:
[0062] Step 1: First, build a model of a fully information-symmetric dynamic vehicle-mounted edge computing network. In the model, the resources shared by the vehicle terminal to the edge server are divided into two parts: the computing resources required for computing tasks and the communication resources required for transmission tasks. In the process of service allocation and resource sharing, the profit of the edge server is the profit of time saving minus the monetary reward distributed to the vehicle terminal, and the profit of the vehicle terminal is the monetary reward provided by the edge server minus the computing or communication resources consumed by itself.
[0063] 1) When the vehicle terminals share computing resources, let p n represents the key incentive parameter of edge server n, which represents the monetary reward per unit of computing resources. According to the distance between the vehicle terminal and the edge server, p n f m,n To represent the utility gain of the vehicle terminal m, where f m,n is the decision variable of vehicle terminal m, which indicates the amount of computing resources (CPU frequency) shared with edge server n. In order to support offloading services, edge server n requires vehicle terminal m to bear workload Dη, where D represents the data size and η represents the CPU required per bit. For vehicle terminal m, the energy consumption cost of CPU execution is where σ m,n represents the unit cost of computing energy consumed by vehicle terminal m to execute edge server n, κ m represents the effective switch capacitance coefficient. Therefore, if the vehicle terminal m accepts the employment of edge server n, it will obtain the following utility function,
[0064]
[0065] where w m,n =Dησ m,n .
[0066] We use monetary rewards to represent the pairing probability between edge servers and vehicle terminals. Obviously, vehicle terminals are more likely to enter edge servers with more monetary rewards. Therefore, the pairing probability between vehicle terminal m and edge server n is set as follows:
[0067]
[0068] For the vehicle terminal m, there is ∑ 1≤n≤N ρ m,n = 1. Considering N edge servers, the expected utility of vehicle terminal m is
[0069]
[0070] where f m ={f m,1 ,…,f m,N} and p={p 1 ,…,p N Each vehicle terminal m determines the optimal strategy vector f according to the reward strategy vector p m To maximize
[0071] 2) When vehicle terminals share communication resources, the mobility of the vehicle will affect task transmission and resource sharing. When the vehicle is stationary, when the vehicle terminal n sends the calculated task data to the edge server m, the transmission rate can be expressed as Where B is the bandwidth resource, h m,n is the channel gain, γ 2 represents Gaussian white noise. The energy consumption cost of the result transmission can be expressed as Where B is the bandwidth resource, h m,n is the channel gain, γ 2 is Gaussian white noise.
[0072] Therefore, if the vehicle terminal m accepts the employment of edge server n, it will obtain the following utility function:
[0073]
[0074] in is a constant greater than 0.
[0075] When the vehicle moves, the transmission rate from the vehicle terminal n to the edge server m can be re-expressed as Regain P m,n With T m,n The expression of the relationship is Therefore, the energy consumption of the back-propagation model parameters is expressed as At this time, the utility function of the vehicle terminal is
[0076]
[0077] The pairing probability between the vehicle terminal m and the edge server n is Considering N edge servers, the expected utility of vehicle terminal m is
[0078]
[0079] where r m = {r m,1 ,…,r m,N} and q={q 1 ,…,q N Each vehicle terminal m determines the optimal strategy vector r according to the reward strategy vector q m To maximize
[0080] 3) Edge server n collects a certain amount of computing resources from the vehicle terminal to serve its own task allocation. After meeting the user's computing needs, edge server n obtains a profit of g per unit of time saved n Considering the total monetary cost of M vehicle terminals, edge server n obtains the expected utility in the form of the following profit:
[0081]
[0082] 4) Edge server n collects a certain amount of communication resources from the vehicle terminal to serve its own task backhaul. After satisfying the user's computing needs, edge server n obtains a benefit h per unit of time saved. n At this time, the edge server n obtains the expected utility in the form of profit:
[0083]
[0084] Step 2: Design a contract-based incentive mechanism, formulate reward policies based on the different cost attributes of participants, and use the double-layer Stackelberg game process to encourage the system utility to move closer to the Nash equilibrium. In the incentive process, the edge server acts as a leader and publishes resource pricing information based on resource types. For computing resources, the incentive policy of the edge server is p n ; For communication resources, the incentive policy of the edge server is q n . After establishing a cooperative relationship with the vehicle terminal, the edge server will provide monetary rewards to the vehicle terminal to encourage the vehicle terminal to share more of its own resources. As a follower, the vehicle terminal observes the resource pricing provided by the edge server and decides the amount of resources it shares. Inspired by the incentive mechanism in existing work, we believe that the vehicle terminal m will make a probabilistic decision on the pairing of the edge server n, and that monetary rewards have a strong positive impact on the resource contribution decision of the vehicle terminal, because monetary rewards can compensate for the loss of its own resources after the vehicle terminal shares idle communication resources with the edge server. Therefore, we innovatively use monetary rewards to represent the pairing probability between the edge server and the vehicle terminal. Obviously, the vehicle terminal is more likely to enter the edge server with more monetary rewards.
[0085] Step 3: Under the condition of information asymmetry, design a server pricing mechanism based on deep reinforcement learning to encourage the system utility to reach Nash equilibrium, as shown in the attached figure. Figure 2 shown.
[0086] In a scenario of complete information sharing, each user needs to know the information of other users, such as resource pricing p n and shared revenue netc. However, it is unrealistic to obtain this information in practical scenarios because users may refuse to disclose these parameters for privacy reasons. In addition, the physical parameters of users are time-varying, which makes it difficult for one user to accurately estimate the attributes of other users. Therefore, we study the pricing mechanism of edge servers when the attributes of other users are unobservable. We describe the dynamic decentralized resource pricing incentive process as a multi-agent Markov decision process and design a user dynamic resource pricing algorithm based on a multi-agent DRL scheme. Using this algorithm, each user can determine the approximate optimal pricing strategy for different types of shared resources directly from historical information without any prior information about other users.
[0087] 1) The state space is represented as We focus on the case where each participant’s state space is partially visible. For edge server n, its state consists of the past strategies of other edge servers and its own attributes, denoted as Where L represents the past L historical records in the training set t.
[0088] 2) Use Represents the actions of all edge servers, where In this model, represents the pricing of computing resources and communication resources given by edge servers. In the training set z, edge server n determines the relative state Action Actions correspond to reward policies. To improve learning efficiency, we set lower and upper bounds for actions, i.e., the computing resource pricing range is The communication resource pricing range is because so The action space of is continuous, and then this paper normalizes the range of the action space to [0,1],
[0089] 3) Reward function: The reward space is defined as For edge server n, its reward function is expressed as
[0090]
[0091] 4) Use a policy-based approach to train the DRL model and adopt a typical Actor-Critic model. Then, a decentralized actor network and a decentralized critic network are designed for each agent. For agent n, we use θ n and ω nThe parameters are used to maintain the Actor network and the Critic network, which are used to approximate the policy function and the value function. This paper applies the policy gradient method to optimize the learning objectives, and proposes a policy optimization theorem based on existing work. The policy gradient is designed as
[0092] Indicates that server n is in a given state S n The probability distribution of taking each action under Represents agent n in a given state S n Take a specific action a n The probability value of . It is the advantage function of states and actions, which indicates the advantage of a state-policy pair relative to the expected value function. It is used to measure the performance difference of the agent taking a specific action in a specific state compared to taking only an average action. is the resampling strategy, that is, the use of resampling actions, which can reduce sample variance and help estimate the gradient more stably. n represents the relative probability between the agent’s current policy and the resampled policy. In addition, we design the training procedure based on the proximal policy optimization algorithm, which is currently the most advanced policy gradient method with good stability. Therefore, the policy gradient is further clipped to in
[0093]
[0094] Represents a pruning factor used to limit the range of the policy gradient. ε is an adjustable hyperparameter. On this basis, the pruned policy gradient is used to update the participant model (policy network) and the critic model (value function network) using the mini-batch stochastic gradient ascent and descent methods respectively until the server pricing policy converges.
[0095] This reinforcement learning framework provides a mathematical model for optimizing the server pricing strategy. The edge server, as a seller, can incentivize the vehicle terminal to share more resources through a reward policy; the vehicle terminal, as a buyer, can observe the system status and take appropriate actions to maximize the expected utility.
[0096] In order to further illustrate the advantages of the above process of the present invention, the effects of the present invention are further described below in conjunction with the accompanying drawings and embodiments.
[0097] Example:
[0098] Figure 3This is the convergence effect of the server pricing mechanism based on the deep reinforcement learning method proposed in the present invention. It can be seen that the incentive mechanism proposed in the present invention can make the system utility converge to the Nash equilibrium after a shorter iteration process, that is, near the optimal value of the system utility. Figure 4 To compare the convergence of the present invention with other existing methods in the same scenario, the present invention Figure 4 The name in is PPO, and it can be seen that the convergence of the present invention is better than other methods.
[0099] The above embodiments are only for the convenience of illustrating the method of the present invention, and are not intended to limit the scope of protection of the present invention. Within the scope of the technical solution described in the present invention, various simple deformations and modifications made by technicians in the relevant technical field should be included in the scope of the above patent application.
Claims
1. An incentive mechanism for maximizing the utility of an artificial intelligence generation system in an on-board edge computing network scenario, characterized in that The following steps are included: 1) In the vehicle-mounted edge computing network scenario, the edge computing system consists of users, M edge servers, and N vehicle-mounted terminals equipped or not equipped with artificial intelligence generation technology servers. After the user publishes the generative artificial intelligence task requirements to the edge server, the edge server may face task congestion and queuing. At this time, the edge server will assign some tasks that cannot be calculated in time to the vehicle-mounted terminal that also carries a small generative artificial intelligence server, and provide the vehicle-mounted terminal with resource-type-based reward terms to encourage the vehicle-mounted terminal to share its own resources. If the vehicle-mounted terminal accepts the employment of the edge server, it will use its own computing resources to complete the calculation of the task requirements and at the same time undertake the task backhaul work. That is, during the entire service allocation process, the vehicle-mounted terminal shares its own computing resources and communication resources at the same time. 2) In the system model design, the resources shared by the vehicle terminal to the edge server are divided into two parts: the computing resources required for the computing task and the communication resources required for the transmission task. In the process of service allocation and resource sharing, the profit of the edge server is the profit of time saving minus the monetary reward distributed to the vehicle terminal, and the profit of the vehicle terminal is the monetary reward provided by the edge server minus the computing or communication resources consumed by itself. 3) In the case of information asymmetry, a server pricing mechanism based on deep reinforcement learning is designed to motivate the system utility to reach Nash equilibrium. In the scenario of complete information sharing, each user needs to know the information of other users, such as resource pricing p n and shared revenue n etc. However, it is unrealistic to obtain this information in practical scenarios because users may refuse to disclose these parameters for privacy reasons. In addition, the physical parameters of users are time-varying, which makes it difficult for one user to accurately estimate the attributes of other users. Therefore, we study the pricing mechanism of edge servers when the attributes of other users are unobservable. We describe the dynamic decentralized resource pricing incentive process as a multi-agent Markov decision process and design a user dynamic resource pricing algorithm based on a multi-agent DRL scheme. Using this algorithm, each user can determine the approximate optimal pricing strategy for different types of shared resources directly from historical information without any prior information about other users.
2. The incentive mechanism for maximizing the utility of the artificial intelligence generation system in the vehicle-mounted edge computing network scenario as described in claim 1 is characterized by: In the system model design, the resources shared by the vehicle terminal to the edge server are divided into two parts: the computing resources required for computing tasks and the communication resources required for transmission tasks. 1) When the vehicle terminals share computing resources, let p n represents the key incentive parameter of edge server n, which represents the monetary reward per unit of computing resources. According to the distance between the vehicle terminal and the edge server, p n f m,n To represent the utility gain of the vehicle terminal m, where f m,n is the decision variable of vehicle terminal m, which indicates the amount of computing resources (CPU frequency) shared with edge server n. In order to support offloading services, edge server n requires vehicle terminal m to bear workload Dη, where D represents the data size and η represents the CPU required per bit. For vehicle terminal m, the energy consumption cost of CPU execution is where σ m,n represents the unit cost of computing energy consumed by vehicle terminal m to execute edge server n, κ m represents the effective switch capacitance coefficient. Therefore, if the vehicle terminal m accepts the employment of edge server n, it will obtain the following utility function, among themw m,n =Dησ m,n 。 We use monetary rewards to represent the pairing probability between edge servers and vehicle terminals. Obviously, vehicle terminals are more likely to enter edge servers with more monetary rewards. Therefore, the pairing probability between vehicle terminal m and edge server n is set as follows: For the vehicle terminal m, there is ∑ 1≤n≤N ρ m,n = 1. Considering N edge servers, the expected utility of vehicle terminal m is where f m ={f m,1 ,…,f m,N } and p={p1,…,p N Each vehicle terminal m determines the optimal strategy vector f according to the reward strategy vector p m To maximize 2) When vehicle terminals share communication resources, the mobility of the vehicle will affect task transmission and resource sharing. When the vehicle is stationary, when the vehicle terminal n sends the calculated task data to the edge server m, the transmission rate can be expressed as Where B is the bandwidth resource, h m,n is the channel gain, γ 2 represents Gaussian white noise. The energy cost of the result transmission can be expressed as Where B is the bandwidth resource, h m,n is the channel gain, γ 2 is Gaussian white noise. Therefore, if the vehicle terminal m accepts the employment of edge server n, it will obtain the following utility function: in is a constant greater than 0. When the vehicle moves, the transmission rate from the vehicle terminal n to the edge server m can be re-expressed as Regain P m,n With T m,n The expression of the relationship is Therefore, the energy consumption of the back-propagation model parameters is expressed as At this time, the utility function of the vehicle terminal is The pairing probability between the vehicle terminal m and the edge server n is Considering N edge servers, the expected utility of vehicle terminal m is where r m = {r m,1 ,…,r m,N } and q={q1,…,q N Each vehicle terminal m determines the optimal strategy vector r according to the reward strategy vector q m To maximize 3) Edge server n collects a certain amount of computing resources from the vehicle terminal to serve its own task allocation. After meeting the user's computing needs, edge server n obtains a profit of g per unit of time saved n Considering the total monetary cost of M vehicle terminals, edge server n obtains the expected utility in the form of the following profit: 4) Edge server n collects a certain amount of communication resources from the vehicle terminal to serve its own task backhaul. After satisfying the user's computing needs, edge server n obtains a benefit h per unit of time saved. n At this time, the edge server n obtains the expected utility in the form of profit: 5) Based on the above analysis, the problem of maximizing system utility can be defined as: question: For computing resources: Among them, constraint (17) ensures that the energy consumption cost of the vehicle terminal's computing tasks does not exceed the total amount of computing resources it holds. Constraint (18) represents the pairing probability between the edge server and the vehicle terminal when sharing computing resources, and the two are paired one by one. For communication resources: d m,n ≤d max ; (21) Among them, constraint (19) ensures that the energy consumption cost of the vehicle terminal transmission task does not exceed the total amount of communication resources it holds. Constraint (20) represents the pairing probability between the edge server and the vehicle terminal when sharing communication resources. The two are paired one by one. Constraint (21) ensures that the vehicle does not exceed the maximum communication distance of the edge server when moving. Constraint (22) represents the maximum transmission time of the task.
3. The incentive mechanism for maximizing the utility of the artificial intelligence generation system in the vehicle-mounted edge computing network scenario as described in claim 1 is characterized by: The policy-based deep reinforcement learning model includes: system state, action space, reward function and policy update. 1) The state space is represented as We focus on the case where each participant’s state space is partially visible. For edge server n, its state consists of the past strategies of other edge servers and its own attributes, denoted as Where L represents the past L historical records in the training set t. 2) Use Represents the actions of all edge servers, where In this model, represents the pricing of computing resources and communication resources given by edge servers. In the training set z, edge server n determines the relative state Action Actions correspond to reward policies. To improve learning efficiency, we set lower and upper bounds for actions, i.e., the computing resource pricing range is The communication resource pricing range is because so The action space of is continuous, and then this paper normalizes the range of the action space to [0,1], 3) Reward function: The reward space is defined as For edge server n, its reward function is expressed as 4) Use a policy-based approach to train the DRL model and adopt a typical Actor-Critic model. Then, a decentralized actor network and a decentralized critic network are designed for each agent. For agent n, we use θ m and ω n The parameters are used to maintain the Actor network and the Critic network, which are used to approximate the policy function and the value function. This paper applies the policy gradient method to optimize the learning objectives, and proposes a policy optimization theorem based on existing work. The policy gradient is designed as Indicates that server n is in a given state S n The probability distribution of taking each action under Represents agent n in a given state S n Take a specific action a n The probability value of . It is the advantage function of states and actions, which indicates the advantage of a state-policy pair relative to the expected value function. It is used to measure the performance difference of the agent taking a specific action in a specific state compared to taking only an average action. is the resampling strategy, that is, the use of resampling actions, which can reduce sample variance and help estimate the gradient more stably. n represents the relative probability between the agent’s current policy and the resampled policy. In addition, we design the training procedure based on the proximal policy optimization algorithm, which is currently the most advanced policy gradient method with good stability. Therefore, the policy gradient is further clipped to in Represents a pruning factor used to limit the range of the policy gradient. ε is an adjustable hyperparameter. On this basis, the pruned policy gradient is used to update the participant model (policy network) and the critic model (value function network) using the mini-batch stochastic gradient ascent and descent methods respectively until the server pricing policy converges. This reinforcement learning framework provides a mathematical model for optimizing the server pricing strategy. The edge server, as a seller, can incentivize the vehicle terminal to share more resources through a reward policy; the vehicle terminal, as a buyer, can observe the system status and take appropriate actions to maximize the expected utility.
Citation Information
Cited By
Service improvement system based on artificial intelligence
CN118966386A
Industrial internet multi-service real-time management method for industrial intelligence
CN119729632A
Block chain-based edge intelligent system resource management method
CN119893588A
A resource management method for edge intelligent systems based on blockchain
CN119893588B
Collaborative reasoning method for lightweight edge terminal computing resource sharing
CN121413768A
