Cross-layer collaborative optimization method in wireless federated learning system
By performing cross-layer collaborative optimization in the wireless federated learning system, and combining channel selection game and Stackelberg game, the problems of unreasonable channel resource allocation and insufficient client participation are solved, thereby achieving system stability and scalability, and improving model training efficiency and client enthusiasm.
Patent Information
- Application Number
- CN202611381591.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-20
AI Technical Summary
In wireless federated learning systems, unreasonable channel resource allocation leads to co-channel interference and the inability to upload model updates on time, affecting system stability and scalability. At the same time, clients lack enthusiasm for participating in training, and existing research has failed to effectively coordinate the tight coupling between the communication layer and the resource layer.
A cross-layer collaborative optimization method is adopted. By performing channel selection game at the communication layer to minimize upload latency, abandonment penalty and co-channel interference, a stable channel allocation result is determined. At the resource layer, a Stackelberg game is constructed to determine the unit data price and purchase quantity, ensuring that the actual upload capacity of the communication layer is aligned with the decision of the resource layer.
This approach reduces co-channel interference, minimizes upload timeouts, improves overall system performance and client engagement under limited channel resources, and ensures timely data upload and the stability and scalability of model training.
Smart Images

Figure CN123145608A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wireless communication and distributed machine learning technology, specifically relating to a cross-layer collaborative optimization method in a wireless federated learning system. Background Technology
[0002] With the rapid development of edge intelligence and IoT technologies, data processing is shifting from classic centralized to distributed methods. Federated learning, while ensuring the locality of raw data, enables collaborative training among multiple clients, providing a solution that balances privacy protection and model performance for fields such as autonomous driving, smart healthcare, and industrial IoT. When federated learning is deployed to edge networks, its model training process is affected by wireless communication conditions, thus forming wireless federated learning. In wireless federated learning, terminal devices complete model training locally and upload model updates to the server for aggregation via wireless communication networks. However, limited by finite wireless communication resources and dynamically changing channel conditions, parameter uploading has gradually evolved into a key bottleneck restricting system performance and training efficiency, severely impacting the stability and scalability of wireless federated learning systems.
[0003] To improve the utilization efficiency of wireless communication resources, non-orthogonal multiple access (NOMA) has been introduced into wireless federated learning systems. Through power domain multiplexing and serial interference cancellation mechanisms, multiple clients can upload model updates in parallel on the same channel, thereby improving the overall system efficiency. However, under limited channel resources, multiple clients need to reuse the same channel to upload model updates, and channel resource allocation directly affects the client's transmission performance: if the channel allocation is unreasonable, co-channel interference will lead to a decrease in upload rate and the inability to complete model updates on time. Therefore, how to achieve efficient, stable, and scalable channel selection and multiplexing under limited channel resources is an open problem that the communication layer of a wireless federated learning system needs to solve.
[0004] Furthermore, the continuous operation of a wireless federated learning system relies on clients actively contributing communication, computing, and data resources. As the system scales up, clients incur greater time and resource costs during local training and parameter uploading, directly impacting their motivation to participate in training. With the increasing potential value of data and models, client-provided model updates become tradable, requiring servers to incentivize continued client participation through reasonable compensation mechanisms. Therefore, establishing an effective coordination mechanism between training overhead, data pricing, and model accuracy presents a significant challenge for the resource layer in wireless federated learning systems.
[0005] However, existing research typically addresses communication resource optimization and client incentives separately: the former focuses only on local optimization problems at the communication layer, such as channel selection and power control, while the latter focuses only on resource layer incentive mechanism design problems, such as revenue allocation and pricing, neglecting the close coupling between the two. In reality, channel selection decisions at the communication layer and data acquisition decisions at the resource layer affect the same round of federated training, influencing and constraining each other: the actual transmission capacity of the communication layer determines whether client model updates can be uploaded on time, thus affecting the effectiveness of resource layer decisions; if the resource layer is designed independently of the actual transmission capacity of the communication layer, resource allocation may appear reasonable, but data may not be uploaded in time, leading to training interruptions or model performance degradation. Therefore, establishing effective linkage between the communication layer and the resource layer to achieve cross-layer collaborative optimization is a key technical problem that needs to be solved to improve the overall performance of wireless federated learning systems. Summary of the Invention
[0006] To address the shortcomings and deficiencies of existing technologies, this invention provides a cross-layer collaborative optimization method in a wireless federated learning system. This method organizes each round of training in wireless federated learning into three interconnected stages: communication layer channel selection, cross-layer coupling, and resource layer pricing and purchasing. Under non-orthogonal multiple access (MOA) conditions, the communication layer engages in a channel selection game aimed at minimizing the communication costs caused by upload latency, abandonment penalties, and co-channel interference, resulting in stable channel allocation and upload rates for each client. Cross-layer coupling, based on upload rate, maximum tolerable latency, and the conversion relationship between model update size and training data volume, converts the actual upload capacity of the communication layer into an upper limit of the effective data volume available to each client in this round. Under this upper limit constraint, the resource layer determines the unit data price and training data purchase quantity through a Stackelberg game with clients as leaders and servers as followers. The key to this scheme is that the actual transmission capacity of the communication layer becomes the boundary of the resource layer's decision-making through the upper limit of the effective data volume. The game between the two layers forms a sequential dependency around this upper limit and is updated round by round with the channel state, thereby achieving cross-layer collaboration between communication efficiency and training resource allocation.
[0007] The present invention specifically adopts the following technical solution:
[0008] This invention provides a cross-layer collaborative optimization method in a wireless federated learning system, which is executed by a server and multiple clients through multiple channels. In each training round, a selected client is chosen from the multiple clients, and the following processing is performed.
[0009] Selected clients choose one of the available channels to upload local model updates or abandon the upload. Multiple clients that choose to upload reuse the same channel and transmit in parallel under non-orthogonal multiple access. Each selected client aims to minimize the communication cost caused by upload delay, abandonment penalty and co-channel interference, and iteratively updates the channel selection strategy until the channel selection strategy no longer changes or the maximum number of iterations is reached. The upload rate of each selected client that chooses to upload is determined based on the converged channel selection results. In this process, the signals from multiple clients on the same channel are superimposed after power domain multiplexing. The communication cost of any client depends on its own choice as well as the choices of other clients on the same channel. Therefore, channel selection is essentially a decision-making process in which multiple clients influence each other. Iterative update refers to each client adjusting its own choice according to the current strategy of other clients and repeating the process. The channel selection strategy no longer changes means that no selected client can reduce its own communication cost by changing its own channel selection alone. That is, the channel selection result reaches a stable state, and the maximum number of iterations serves as the termination guarantee condition for this iterative process. Among the three components of communication cost, upload delay characterizes the time cost, abandonment penalty characterizes the timeout risk, and co-channel interference characterizes the channel multiplexing cost. The three components together reflect the communication burden faced by the model update upload.
[0010] For each selected client choosing to upload, based on its upload rate, maximum tolerable latency, and the conversion relationship between local model update size and training data volume, the upper limit of the amount of data it can upload within the maximum tolerable latency is determined. The smaller of this upper limit and its local data volume is taken as the upper limit of the effective data volume for this client in this round of training. The upper limit of the effective data volume for selected clients that give up uploading is zero. The conversion relationship between local model update size and training data volume means that the model update size uploaded by the client is obtained by multiplying the amount of data used in training by the number of model parameters corresponding to a unit of data volume. The number of model parameters corresponding to a unit of data volume is determined by the model structure and local training settings, and can be obtained through offline calibration. Therefore, given the amount of training data, the corresponding model update size can be determined. Thus, under the condition that the upload latency does not exceed the maximum tolerable latency, the upper limit of the amount of data that can be uploaded is equal to the product of the upload rate and the maximum tolerable latency divided by the number of model parameters corresponding to a unit of data volume. The smaller value is chosen so that the upper limit of the effective data volume is constrained by both the amount of local data and the channel transmission capacity. When the amount of local data is insufficient, the upper limit is the amount of local data. When the transmission capacity is insufficient, the upper limit is the amount of data that can be uploaded. Both situations are automatically covered by this value selection method. Clients that give up uploading cannot produce timely model updates, and their data cannot be obtained in this round of training, so the upper limit is set to zero.
[0011] Each selected client that has not given up uploading determines its unit data bid. For each selected client who has not given up uploading, the server constructs a Stackelberg game with that client as the leader and the server as the follower. Based on the unit data bid, the server weighs the gains in model accuracy against the data purchase cost, and determines the amount of data to purchase within the client's effective data limit. Optimal response analysis is used to solve for the optimal bid and optimal purchase quantity. The decision-making structure of the client first determining the bid and the server determining the purchase quantity after observing the bid aligns with the client's pursuit of its own gains and the server's pursuit of maximizing its own utility. Determining the purchase quantity within the effective data limit ensures that the amount of data acquired by the server does not exceed the amount of data that the client can actually upload on time under the current channel conditions, avoiding a mismatch between the purchase quantity and transmission capacity. Optimal response analysis refers to the server finding the purchase quantity that maximizes its own utility under a given bid as the optimal response. The client then uses this optimal response to find the bid that maximizes its own utility, thus obtaining the equilibrium solution of the Stackelberg game.
[0012] The current global model is distributed to the selected clients. Each selected client that has not given up uploading completes local training based on the current global model according to the optimal purchase amount, and uploads the local model update through the channel determined by the channel selection result of this round. Clients that give up uploading do not participate in local training and uploading. The server aggregates the updates of each local model to obtain the updated global model.
[0013] The above process is repeated round by round, with the upper limit of effective data volume being redefined round by round based on the channel selection results of that round, until the training termination condition is met. The channel competition landscape and interference conditions differ in each round, and the converged channel selection results and upload rate change round by round, thus refreshing the upper limit of effective data volume accordingly. This ensures that the resource layer's purchasing decisions and the communication layer's actual transmission capacity for that round remain aligned. The training termination condition is when the global model reaches the preset convergence condition or the preset upper limit of the training rounds.
[0014] Furthermore, the aforementioned communication cost is a weighted sum of upload latency, abandonment penalty, and co-channel interference. The selected client updates its channel selection strategy with the objective of maximizing the negative of this communication cost. The abandonment penalty is the proportion of upload latency exceeding the maximum tolerable latency; this penalty is zero if the upload latency does not exceed the maximum tolerable latency, and increases proportionally after exceeding it. Upload latency is the quotient of the local model update size divided by the upload rate. Co-channel interference is the interference caused to the selected client by the received power of other selected clients sharing the same channel. The weighted summation unifies time cost, timeout risk, and interference level into a single scalar, facilitating channel selection decisions by the client. The weight coefficients corresponding to the three components can be configured according to the system's different emphases on latency sensitivity and interference tolerance.
[0015] Furthermore, the iterative update of the aforementioned channel selection strategy constitutes a finite-precise potential game: Under the equivalent congestion proxy model, each client has the same equivalent load weight and the same equivalent cost function. The negative value of the sum of the equivalent cost contributions accumulated by each channel according to the access order is used as the potential function. Any unilateral change of the channel selection strategy by the client will make the change in the potential function equal to the change in the client's own communication utility. The communication utility is the negative of the communication cost. This finite-precise potential game has a pure policy Nash equilibrium. The reason for introducing the equivalent congestion proxy model is that the upload delay in the original communication cost involves the logarithmic nonlinearity of the channel capacity, and the co-channel interference involves the judgment structure based on the received power ranking, making it difficult to verify the equalization property directly in the original form. As the number of clients multiplexed on the channel increases, the interference increases, the signal-to-interference-plus-noise ratio decreases, the upload rate decreases, and the delay and timeout penalties increase. The overall communication cost monotonically does not decrease with the channel load. Therefore, the proxy model is obtained by using the channel equivalent congestion (i.e., the channel load measured by the number of access clients) as the state variable and the monotonically decreasing equivalent cost function to characterize this relationship. Furthermore, experiments have verified that the iterative update process based on the optimal response dynamics can also converge stably under the original non-orthogonal multiple access serial interference cancellation model. The equivalent cost contribution refers to the equivalent cost corresponding to a single access client when the channel congestion level is determined. The potential function is constructed with negative cumulative equivalent cost, and its value decreases as the overall system congestion level increases. Therefore, the potential function reflects the overall system congestion level. Since the change in the potential function is equal to the change in its own communication utility when the client unilaterally improves its strategy, the potential function increases every time the client improves its own utility. However, the total number of strategy combinations is finite, and the iterative process will inevitably terminate in a finite number of steps at a pure strategy Nash equilibrium.
[0016] Furthermore, each channel has an upper limit on the number of clients it can support. When the number of clients accessing a channel exceeds this upper limit, the equivalent cost contribution corresponding to the clients accessing the channel beyond this upper limit takes a sufficiently large finite value. This finite value is greater than the absolute value of the communication utility when the client abandons uploading. The communication utility of the abandon uploading strategy takes a fixed negative value. Clients that abandon uploading do not participate in the calculation of upload rate, latency, and interference. The potential function also includes the negative value of the product of the equivalent cost corresponding to abandoning uploading and the number of clients that abandon uploading. Here, "clients exceeding the upper limit" refers only to clients whose access sequence number exceeds the channel capacity limit, not all clients accessing the channel. A sufficiently large finite value is not required to be a specific number; its value only needs to make the overall cost of an overloaded channel significantly higher than that of a normal channel, and this finite value is greater than the absolute value of the communication utility when a client abandons uploading. This ensures that the utility gained from choosing an overloaded channel is lower than the utility gained from abandoning uploading, preventing clients from choosing fully loaded channels during policy comparison. In equilibrium, the number of clients accessing each channel does not exceed the capacity limit. This method achieves capacity control through utility comparison without changing the structure of the client's policy space. Using a finite value instead of infinity ensures that the difference in the potential function during policy switching has a mathematically sound definition. The communication utility of abandoning the upload strategy is a preset fixed negative value, while its corresponding communication cost is a fixed positive value; the two are opposites. Clients that abandon upload do not participate in subsequent calculations, making abandoning upload a finite cost option with a clear utility. Clients make rational decisions by comparing the utility of each channel with the utility of abandoning upload. The equivalent cost of abandoning upload is included in the potential function, ensuring that the relationship between the change in the potential function and the change in communication utility also holds true in strategy switching involving abandoning upload. When the total number of selected clients exceeds the sum of the capacity limits of all channels, the excess clients can avoid channel overload by using the upload abandonment strategy.
[0017] Furthermore, when the server determines the amount of data to purchase based on the unit data price, the goal is to maximize server utility. Server utility is the accuracy gain minus the data purchase cost. Accuracy gain is the value gain per unit of accuracy improvement multiplied by the accuracy model term and then multiplied by the price impact term. The accuracy model term is the global accuracy benchmark minus the degree of non-independent and identically distributed client data, and then minus the accuracy growth term which decreases exponentially with the increase in purchase volume according to the accuracy growth rate parameter. The magnitude parameter of the accuracy growth term decreases with the degree of non-independent and identically distributed client data. The price impact term is one minus the ratio of the price impact coefficient to the unit data price. The unit data price is greater than the price impact coefficient. The upper limit of the pricing range for the selected client is the preset upper price limit, and the lower limit of the pricing range is the larger of the preset lower price limit and the sum of the price impact coefficient and the positive offset. Among them, the precision growth term, which decreases exponentially with the purchase volume, characterizes the diminishing marginal returns of model precision as the amount of data increases. The increase in precision gains is capped by the global precision benchmark minus the degree of non-independent identical distribution. The degree of non-independent identical distribution is measured by the deviation between the client's data label distribution and the overall data label distribution. The larger the value, the more severe the distribution deviation. It affects the server's decision through two entry points: it lowers the upper limit of precision gains and suppresses the rate of precision growth with the purchase volume by decreasing the magnitude parameter with the degree of non-independent identical distribution. This results in clients with larger data distribution deviations receiving less data in resource allocation. As a specific implementation, the magnitude parameter is set to the first... The constant is divided by the sum of the degree of non-independent and identically distributed (IOD) distribution; the global accuracy benchmark is the upper limit benchmark of the model accuracy gain under the ideal IOD distribution condition, and its value is greater than the sum of the degree of non-independent and identically distributed distribution of any selected client and the magnitude parameter of the accuracy growth term, so as to ensure that the accuracy gain is positive; the price influence term increases with the increase of the unit data price, characterizing the incentive effect of higher prices on clients to provide higher quality model updates; the unit data price is greater than the price influence coefficient to ensure that the accuracy gain coefficient is positive, and the positive offset is a positive number that ensures that the lower bound of the pricing interval does not exceed the upper bound of the pricing interval, that is, a sufficiently small positive number under the premise that the unit data price is strictly greater than the price influence coefficient.
[0018] Furthermore, server utility is strictly concave with respect to the purchase quantity. The optimal purchase quantity for the server is a three-stage solution: when the internal solution is not greater than zero, the optimal purchase quantity is zero; when the internal solution is greater than zero and less than the upper limit of the effective data volume, the optimal purchase quantity is the internal solution; when the internal solution is not less than the upper limit of the effective data volume, the optimal purchase quantity is the upper limit of the effective data volume. The precision gain coefficient is the product of the value gain per unit of precision improvement and the price impact term. The internal solution is the value obtained by dividing the natural logarithm of the first ratio by the precision growth rate parameter. The first ratio is the ratio of the product of the precision gain coefficient, the magnitude parameter of the precision growth term, and the precision growth rate parameter to the unit data price. Among them, strict concavity ensures that the optimal purchase quantity for any given price is unique, and the optimal response of the server is determined, providing stable feedback for the client's pricing decision. The three-stage solution corresponds to three scenarios of the server's purchase decision: when the price is high, the accuracy gain is insufficient to cover the purchase cost, and the optimal purchase quantity is zero; when the price is moderate, the internal solution is determined by balancing marginal revenue and marginal cost; when the price is low and the data is sufficient, the purchase quantity is truncated by the upper limit of the effective data volume and is purchased at the upper limit. This three-stage solution can be analytically derived from the optimization conditions, for example, by using the Karush-Kuhn-Tucker conditions, without numerical search and with low computational cost.
[0019] Furthermore, the client determines its unit data price with the goal of maximizing client utility. Client utility is the product of the purchased data quantity and the unit data price, minus the product of the purchased data quantity and the client's training unit data cost. The optimal price is determined as follows: if all internal solutions within the pricing range are not greater than zero, the client exits the current pricing round and its utility is recorded as zero; if the internal solutions are greater than zero and less than the upper limit of the effective data quantity, the client utility is calculated for each candidate price in the candidate price set. The candidate price set includes all stationary points where the lower bound of the pricing range, the upper bound of the pricing range, the first derivative of the client utility is zero, and feasible price roots that make the internal solutions equal to the upper limit of the effective data quantity. If the client utility corresponding to each candidate price is not greater than zero, the client exits the current pricing round and the client utility is recorded as zero. Otherwise, the price that maximizes the client utility is selected as the optimal bid. The first derivative of the client utility is included in the precision gain coefficient's dependence on the unit data price. If the internal solution is not less than the upper limit of the effective data volume, the server's optimal purchase quantity is truncated by the upper limit of the effective data volume. The client utility increases strictly with the unit data price. The optimal bid is taken as the maximum endpoint of the feasible price range that satisfies the condition that the internal solution is not less than the upper limit of the effective data volume. When the client's training unit data cost is not greater than twice the price influence coefficient and the preset pricing lower limit is not less than twice the price influence coefficient, the client's optimal bid is unique. Here, client utility is the difference between the revenue from selling data and the local training cost; the precision gain coefficient itself includes a price influence term that varies with the unit data price, and when differentiating client utility with respect to the price, the dependence of the precision gain coefficient on the price must be taken into account. The resulting first-order condition is the accurate stationary point condition, and all its solutions can be obtained numerically; the price root that makes the internal solution equal to the upper limit of the effective data volume is the critical price at which the server purchase quantity is truncated and switched; the internal solution first increases and then decreases with respect to the unit data price, and reaches its maximum value when the unit data price equals twice the price influence coefficient, thus satisfying the condition that the internal solution is not less than the upper limit of the effective data volume. If the set of row prices is not empty, it is a closed interval with a unique maximum endpoint. The client utility function with respect to the price is generally non-monotonic over the pricing interval, and there may be multiple stationary points under extreme parameters. The global optimum can only be obtained at the interval endpoints, stationary points, or critical prices. Therefore, the globally optimal price can be obtained by comparing the finite set of candidate prices one by one, without the need for iterative trial and error or learning-based training. The exit mechanism allows the client to exit with zero utility when there is no feasible positive return, avoiding participation with negative utility. When the training unit data cost and the preset pricing lower limit meet the above conditions, the client utility function is strictly concave over the pricing interval, with a unique stationary point, and the optimal price is also unique.
[0020] Furthermore, multiple selected clients use non-orthogonal multiple access for parallel transmission on the same channel. The server performs serial interference cancellation decoding according to the received power. The signal-to-interference-plus-noise ratio (SIR) of a client on its selected channel is the received signal power divided by the sum of the total interference, residual interference, and noise power. The total interference is the sum of the received power of other clients with lower received power than the client. The residual interference is the product of the sum of the received power of other clients with higher received power than the client and the residual factor of non-ideal serial interference cancellation. Each channel has a channel quality coefficient. The upload rate of a client is the product of the channel quality coefficient of the channel selected by the client, the channel bandwidth, and the logarithm. The logarithm is the base-2 logarithm with one and the sum of the SIR as the argument. In this process, serial interference cancellation decodes the signal in descending order of received power. Clients with higher received power are decoded first and their interference is eliminated from the received signal. This leaves only partial interference for clients that are decoded later. The residual interference factor, with a value between zero and one, characterizes the residual components of non-ideal cancellation, with smaller values indicating more thorough cancellation. Clients with lower received power are decoded later and completely interfere with clients that were decoded earlier. Thus, the signal-to-interference-plus-noise ratio (SNR) of each client on the same channel is determined by its own received power and the received power of other clients on the same channel. The interference structure is explicitly incorporated into the channel selection decision. The channel quality coefficient is a positive coefficient that characterizes the quality differences between channels caused by factors such as frequency selection. Once the selected channel is determined, the upload rate of the client is also determined. This upload rate is the upload rate on which cross-layer coupling is based, and its level directly determines the amount of data that can be uploaded within the maximum tolerable delay.
[0021] Furthermore, the iterative update of the channel selection strategy includes: initializing the channel selection strategy for each client, including the corresponding all-zero strategy for abandoning upload, with the communication cost of abandoning upload being a fixed positive value; in each iteration, enumerating all feasible channel selection strategies for each client and calculating the communication cost, selecting the strategy with the minimum communication cost, updating and marking the change if the strategy is better than the current strategy, stopping the iteration when no client updates the strategy or the maximum number of iterations is reached; the process of the server determining the amount of data to purchase and the client determining the optimal price includes: for each client that has not abandoned upload, numerically solving all stationary points where the first derivative of the client utility is zero within the pricing range, adding the stationary points, the lower bound of the pricing range, the upper bound of the pricing range, and feasible roots that make the internal solution equal to the upper limit of the effective data amount to the candidate price set; if the client utility corresponding to all prices in the candidate price set is not greater than zero, the client exits the current transaction and the client utility is recorded as zero; otherwise, calculating the corresponding optimal purchase quantity and client utility for each candidate price in the candidate price set, and selecting the price that maximizes the client utility as the optimal price. Among them, the zero-strategy corresponding to abandoning upload, which is the strategy of not selecting any channel, has a communication cost of a preset fixed positive value, and is enumerated and compared with other feasible strategies; the best response update is to enumerate all feasible strategies and select the one with the minimum communication cost. Each update strictly reduces the communication cost of the client, and the total number of strategy combinations is limited. The iteration will inevitably terminate when no client updates or when the maximum number of iterations is reached; the numerical solution of stationary points can use conventional numerical methods such as the bisection method or Newton's method; clients that abandon upload skip subsequent pricing and purchase calculations because the upper limit of the effective data volume is zero.
[0022] Accordingly, this invention also provides a cross-layer collaborative optimization system in a wireless federated learning system, including a server and multiple clients. The server is configured to determine the set of clients participating in training, the set of channels, and system parameters; distribute a global model to the clients; receive model updates uploaded by the clients and perform global aggregation; clients are configured to select an upload channel or abandon uploading at the communication layer; multiple clients selecting upload channels reuse the same channel under non-orthogonal multiple access; each client iteratively updates its channel selection strategy based on the communication cost consisting of upload latency, abandonment penalty, and co-channel interference until the channel selection strategy no longer changes or the maximum number of iterations is reached, obtaining the channel selection result, and determining the unit data price at the resource layer; the server is also configured to calculate the upload rate of each client selecting upload based on the channel selection result; for each client selecting upload, based on its upload rate and maximum tolerable latency, combined with the conversion relationship between the local model update size and the training data volume, calculate the maximum data volume that the client can transmit, and use the smaller of the maximum data volume and the local data volume as the transmission rate. The effective data volume limit is zero for clients that forgo uploading. The system weighs the model accuracy gains against data purchase costs based on the unit data price, determining the amount of data to purchase from each client within the effective data volume limit. The optimal price and optimal purchase volume are obtained through optimal response analysis. The unit data price is determined by the client, while the purchased data volume is determined by the server after observing the unit data price. A Stackelberg game is played between the client and the server, with the client as the leader and the server as the follower. Clients are also configured to complete local training based on the global model according to the data volume purchased by the server, and upload local model updates through the channel determined by the channel selection result of this round. Clients that forgo uploading do not participate in local training or uploading. The server and clients are configured to repeat the above process round by round, with the effective data volume limit being re-determined round by round based on the channel selection result of that round, until the training termination condition is met. In this system, the iterative updates of the channel selection strategy and the pricing decisions are executed by each client. The calculation of the effective data volume limit and the determination of the purchase volume are executed by the server after observing the pricing of each client. Cross-layer coupled calculations are concentrated on the server side. When making channel selection decisions, clients only need to know the current channel occupancy and information related to the receiving power of the same channel. When making pricing decisions, clients only need their own data and cost-related information. Private information such as the local data volume and training cost of each client does not need to be disclosed to other clients, which is suitable for the form of a large number of clients and distributed deployment in wireless federated learning.
[0023] Compared to existing technologies, this invention and its preferred solution convert the actual upload capacity of the communication layer into an effective data volume upper limit according to the conversion relationship between the model update size and the training data volume, and update it round by round with the channel selection results. The purchase decision of the resource layer is always based on the actual uploadable data scale of the client in the current round, avoiding the data failure to be uploaded in time due to the disconnect between resource allocation and transmission capacity, while ensuring that the purchase volume is not inflated due to lack of constraints or mismatch with transmission capacity. The communication layer selects channels with the communication cost including upload latency, abandonment penalty and co-channel interference as the objective, and ensures iterative convergence under the exact potential game framework, so that the client obtains a stable and non-overloaded channel allocation result under limited channel resources and non-orthogonal multiplexing interference, reducing co-channel interference and upload timeout. The Stackelberg game of the resource layer and its solution structure of comparing the closed-form optimal response with the finite candidate set achieve a balance between model accuracy gains, data purchase costs and client gains, taking into account server cost control and client participation enthusiasm, without the need for iterative trial and error or learning-based training, and providing a clear exit path for clients with insufficient transmission conditions or no feasible gains. Experimental results show that this method achieves superior model accuracy and classification performance compared to other methods on various real-world image datasets and real testbeds. The convergence process is more stable, a larger number of clients can complete model updates and uploads, and it maintains good adaptability and scalability under different client sizes, number of channels, and channel capacity configurations. Attached Figure Description
[0024] Figure 1 This is an overview diagram of the wireless federated learning system model according to an embodiment of the present invention;
[0025] Figure 2 This is an overview diagram of the cross-layer collaborative optimization framework according to an embodiment of the present invention;
[0026] Figure 3 The figure shows a comparison of the convergence of different methods in the embodiments of the present invention on different datasets. In the figure, (a) is the convergence curve on the MNIST dataset, (b) is the convergence curve on the Fashion-MNIST dataset, (c) is the convergence curve on the CIFAR-10 dataset, and (d) is the convergence curve on the CIFAR-100 dataset. The horizontal axis represents the number of communication rounds, and the vertical axis represents the accuracy.
[0027] Figure 4 This is a comparison chart showing the number of clients that completed model uploads on different datasets using different methods in embodiments of the present invention.
[0028] Figure 5This is a comparison diagram of the scalability of the framework of the present invention under different configurations; in the figure, (a) is the number of clients that complete model upload under different number of clients, (b) is the number of clients that complete model upload under different number of channels, and (c) is the number of clients that complete model upload under different channel capacities.
[0029] Figure 6 This is a comparison chart of the server and client utilities of different methods in embodiments of the present invention on different datasets.
[0030] Figure 7 This is a comparison chart of data purchase volume for different methods on different datasets in embodiments of the present invention. Detailed Implementation
[0031] The present invention will be further described below with reference to the accompanying drawings and embodiments. This embodiment proposes a game-theoretic cross-layer collaborative optimization framework for wireless federated learning systems, which can be implemented using general-purpose computing devices and wireless communication devices.
[0032] 1. Overview of Technical Solution
[0033] like Figure 1 , Figure 2 As shown, this embodiment models the client's channel selection under non-orthogonal multiple access as a potential game at the communication layer, ensuring the system converges to a Nash equilibrium. At the resource layer, a Stackelberg game is constructed between the server and the client. The server weighs the overhead against the model accuracy gains based on the client's bid, and the existence of this game equilibrium is proven, along with the parameter conditions for its uniqueness. Simultaneously, the channel multiplexing results in the communication layer are transformed into effective data volume constraints in the resource layer, enabling the server's data purchasing decisions to efficiently match the client's actual upload capacity. Each policy update in the above game directly changes the client's access behavior on the wireless channel and the amount of local training data, thereby reducing co-channel interference, decreasing upload timeouts, and improving system throughput and global model accuracy.
[0034] The technical solution of this embodiment mainly includes the following aspects.
[0035] A wireless federated learning system is proposed, which jointly models the channel selection decision of the communication layer and the data pricing and purchase decision of the resource layer. At the same time, the effective data volume constraint is used to build the connection between the two layers, thereby realizing cross-layer collaborative optimization of communication efficiency and model performance.
[0036] Design a channel selection mechanism for limited communication resources. Addressing channel contention and co-channel interference during parallel uploads by multiple clients in wireless federated learning, this mechanism comprehensively considers upload delay, abandonment penalties, and co-channel interference at the communication layer, and models the channel selection decision as a potential game. Furthermore, it proves that this game possesses a pure policy Nash equilibrium, and that policy updates converge within a finite number of steps.
[0037] This paper develops a data pricing and resource allocation mechanism based on Stackelberg game theory. Addressing the issue of insufficient client participation in training, the client acts as the leader, pricing data per unit, while the server, as a follower, weighs the costs and benefits to model accuracy. Optimal pricing and purchasing strategies are then determined through optimal response analysis. Furthermore, the existence of the proposed Stackelberg game equilibrium is theoretically proven, and the optimal response is derived using the Karush-Kuhn-Tucker conditions.
[0038] Extensive experiments, using multiple real-world datasets and testbeds, validated the superiority of the proposed framework. Results show that the framework outperforms comparable methods in model update uploading, data purchase decisions, bilateral utility balancing, and model performance; furthermore, it maintains excellent adaptability and robustness under varying client sizes, communication environments, and task settings.
[0039] 2. Symbols and Definitions
[0040] The main symbols involved in this embodiment are defined as follows.
[0041] Represents the set of all clients. The total number of clients is . This represents the set of clients selected to participate in this round of training. The total number of selected clients is . Represents the set of all channels. The total number of channels is . Indicates channel The maximum number of clients that can be supported. Indicates channel The bandwidth. This represents the Gaussian noise power. Indicates client Upload power. Indicates client In the channel Uplink channel gain. Indicates client via channel The signal power received by the server during transmission . Indicates channel The channel quality coefficient, .
[0042] Indicates client The amount of local data possessed. This indicates the maximum amount of data that can be transmitted in a single round, determined by the transmission capacity. Indicates client The maximum amount of data available for training is a derived quantity, derived from... Calculated. This indicates that the server is from the client. The amount of data purchased for training the model. Indicates client Quoting prices for data from one's own unit. Indicates client The lower limit of the price. This indicates the number of clients the server can accept. The upper limit of the price.
[0043] This indicates the predicted size of the uploaded parameter update. ,in This represents the number of model parameters corresponding to a unit of local data volume, measured in bits per data sample. It is determined by the model structure and local training settings and can be obtained through offline calibration. This represents the price impact coefficient, used to characterize the moderating effect of unit data pricing on model accuracy gains. . This represents the global accuracy baseline constant, i.e., the upper limit of the model's accuracy gain under ideal independent and identically distributed conditions, and requires... To ensure that the benefit of accuracy is positive. This represents the fixed utility penalty constant when the client abandons the upload. . This represents the equivalent cost to a single client when the channel is overloaded, i.e., the overload penalty. Take a sufficiently large finite value, and . This represents the positive offset from the lower bound of the price. Used to guarantee Strictly valid.
[0044] Indicates client The degree of non-independent identical distribution of data is measured by the L1 distance of the label distribution. and The parameters in the accuracy gain model are all greater than zero; among them This is a rate parameter that shows the rate at which accuracy gains decrease exponentially with increasing purchase volume (i.e., the accuracy growth rate parameter). The parameter representing the increase in accuracy is set to a fixed value for a given client and varies with... Decreasing, take , Using this as a baseline, the design incorporates the degree of non-independent identical distribution into the server purchase decision through the magnitude of the precision growth term. Indicates client The computational and energy costs required to train unit data. This represents the value gained from each unit of precision improvement. This represents the residual interference factor after eliminating non-ideal serial interference. . This indicates the maximum latency the server can tolerate. , , These are the weighting coefficients for upload delay, abandonment penalty, and co-channel interference in the communication layer utility function, all of which are greater than zero.
[0045] Indicates client Select channel? Upload the file; select 1 if you choose to upload, otherwise select 0. Indicates client The channel selection strategy vector. This represents the combination of channel selection strategies for all selected clients.
[0046] Indicates channel The equivalent congestion level. Indicates client Equivalent load weights for the channel. Indicates strategy combination Select Channel The number of clients. This indicates the number of clients that chose to abandon the upload. Indicates channel Upper The equivalent cost level for each access user . This indicates the equivalent cost of forgoing uploading to the virtual channel. . This represents the potential function. This represents the internal solution for the optimal purchase quantity of the server. This represents the internal extreme point of the client's optimal pricing. and This represents the Lagrange multiplier in the KKT conditions. This represents the maximum number of iteration rounds in the channel selection game. This represents the total number of categories in the classification task.
[0047] Definition 1 (Predicted upload parameter update size): It is used to estimate the size of parameter updates uploaded by the client. It is worth noting that the communication layer game primarily focuses on the client's communication cost; therefore, the full local data size is used to assess the feasibility and interference of its communication.
[0048] Definition 2 (Channel Selection): Used to indicate Choose Upload now. If... choose ,but ;otherwise When a client chooses to abandon the upload, its policy vector is an all-zero vector, meaning all... .
[0049] Definition 3 (Degree of Non-Independent and Identically Distributed Data): Differences in data distribution among different clients can affect the training efficiency of the global model. Therefore, this embodiment introduces the L1 distance of the label distribution to measure the deviation between client data and the ideal distribution, defined as:
[0050] (1)
[0051] in Indicates the total number of tags. express The data we have is labeled as Data percentage This indicates that the labels in all data are The percentage of data.
[0052] 3 System Model
[0053] 3.1 System Model Overview
[0054] like Figure 1 As shown, this embodiment considers a multi-client system for wireless federated learning. In this system, clients upload their local models to the server via a wireless channel, and the server performs global model aggregation and distribution. For selected clients, during the model update upload process, factors such as transmission latency, discard penalties, and co-channel interference need to be comprehensively considered to select a suitable channel for transmission. Simultaneously, considering the resource overhead incurred by clients during local training and model upload, clients can set corresponding prices for the data used for training, while the server needs to weigh the gains in model accuracy against the payment costs to determine a reasonable data purchase strategy.
[0055] 3.2 Channel Selection Model
[0056] The proposed wireless federated learning system includes a server and There are [number] clients. In each round of training, a certain percentage (e.g., 50%) of the clients are randomly selected to participate in that round of training. During the upload phase, the server assigns [number] clients to the selected clients. One channel is used for local model update transmission. To improve the utilization of wireless communication resources, a non-orthogonal multiple access mechanism is introduced, allowing multiple clients to transmit on the same channel. Furthermore, considering the system's concurrency capabilities, for any given channel... The maximum number of clients it can support simultaneously in a single training round is If the number of selected clients exceeds the system's total channel capacity, the excess clients can avoid overload by abandoning the upload strategy.
[0057] Each selected client Both clients need to choose a channel to upload model parameters during this training round or abandon the upload. The policy vector is defined as:
[0058] (2)
[0059] and This is used to represent the combination of channel selection strategies for all selected clients.
[0060] When the client Choose to abandon the upload, that is When the vector is all zero, the subsequent formulas for delay, penalty, and interference are not applied. Instead, its communication layer utility is separately defined as a fixed abandonment cost. This convention makes abandoning uploading a finite-cost option with well-defined utility; clients can compare the utility of uploading to different channels with... Make rational decisions.
[0061] Client The upload power is denoted as In the channel The uplink channel gain on is denoted as , Indicates client via channel The signal power received by the server during transmission. When multiple clients select the same channel, the server uses serial interference cancellation for decoding. Given a combination of strategies... The server sorts clients on the same channel based on their received power and performs serial interference cancellation decoding. Therefore, the client... In the channel The signal-to-interference-plus-noise ratio is:
[0062] (3)
[0063] in
[0064] (4)
[0065] (5)
[0066] This indicates an indicator function, which is 1 if the condition is true and 0 otherwise. Indicates client It suffers from complete interference from clients with lower receiving power; Indicates the received power ratio Higher client support The resulting residual interference. In serial interference cancellation, clients with higher receive power are decoded and canceled first, thus leaving only partial interference; clients with lower receive power are decoded later, thus causing complete interference.
[0067] In practical wireless federated learning systems, different channels may exhibit differences due to factors such as frequency selection. To characterize these differences, a channel quality coefficient is introduced for each channel. Based on this, the client In strategy combination The uplink transmission rate can be expressed as:
[0068] (6)
[0069] Since each client selects at most one channel, the summation will have at most one non-zero term.
[0070] Therefore, in the communication layer channel selection game, the client The latency for uploading a complete model update in a single training round is defined as:
[0071] (7)
[0072] When designing the utility function, client upload latency, discard penalties, and co-channel interference are comprehensively considered. Discard penalties and co-channel interference are defined as follows:
[0073] (8)
[0074] (9)
[0075] in , This indicates the maximum latency the server can tolerate. Formula (8) represents the proportion of timeout to the tolerance limit; when the transmission latency does not exceed... The penalty is zero when it is exceeded, and increases proportionally afterward.
[0076] Therefore, the client The utility definition at the communication layer is:
[0077] (10)
[0078] Furthermore, the communication layer channel selection game problem is formalized as follows:
[0079] (11)
[0080] The policy space maintains a Cartesian product structure, with a maximum number of clients per channel. This is reflected by taking the larger value of the equivalent cost level of the access user in the subsequent equivalent congestion model when overloaded.
[0081] 3.3 Data Pricing and Resource Allocation Model
[0082] In a wireless federated learning system, local data is controlled by the client, and the server cannot directly access the data or force the client to train. However, the server can provide the client with a reward as training compensation. This embodiment models the above relationship as a Stackelberg game, where the client, as the leader, determines the price of its data. The server, acting as a follower, observes the client's pricing before making a purchase decision. .
[0083] To characterize the diminishing marginal returns of model accuracy as the amount of data increases, a server utility function is constructed, defined as follows:
[0084] (12)
[0085] in Used to evaluate the server from the client Purchased data volume Impact on model accuracy. The higher the degree of non-independent and identically distributed (i.i.d.) model accuracy, i.e. The larger the value, the more the data distribution deviates from the ideal distribution, and the greater its contribution to the accuracy of the global model. The lower; at the same time Follow The decreasing rate of change further influences server purchasing decisions by influencing the degree of non-independent identical distribution through the rate of increase in precision. When the client... When the data is fixed, and All are constants; the larger the amount of data purchased by the server, the higher the model accuracy, but there is an upper limit to performance growth. . This indicates the impact of price on model accuracy; higher prices incentivize clients to train higher-quality models for updates. This factor varies with... It increases as it grows. This represents the value gained from each unit of precision improvement. This indicates that the server sends a message to the client. The cost of purchasing the data.
[0086] Client The utility function is determined by the revenue generated from the amount of data sold and the local training cost, and is defined as follows:
[0087] (13)
[0088] Therefore, the game of data pricing and resource allocation at the resource layer is formalized as an optimization problem of the utility functions of the server and the client, defined as follows:
[0089] (14)
[0090] (15)
[0091] In formula (15) ensure Therefore, the server accuracy gain term is positive and the subsequent concavity analysis holds; at the same time, it is assumed that... and The value of should make This ensures that the feasible region of P3 is not empty.
[0092] 4 Game Analysis and Algorithm Design
[0093] 4.1 Overview
[0094] like Figure 2 As shown, the proposed framework revolves around the decision-making process that is interrelated between the communication and resource layers. First, the client's channel selection behavior under limited resource conditions is analyzed at the communication layer, and stable channel selection results are obtained. Second, based on the transmission capacity constraints obtained from the communication layer, the effective amount of data that the client can use for model updates in this round of training is determined. On this basis, a data pricing and resource allocation mechanism between the client and server is established to solve for the optimal decision under the trade-off between benefits and costs.
[0095] 4.2 Channel Selection Based on Potential Game Theory
[0096] Modeling the client's channel selection as a game ,in This represents the set of clients selected to participate in the training. Indicates client The feasible strategy space Let represent the utility function. In non-orthogonal multiple access (MOA), a client's payoff depends not only on its own decisions but also on the influence of other clients on the same channel. Therefore, the stability and convergence of this channel selection process can be analyzed from the perspective of game equilibrium.
[0097] The goal of P1 is to maximize the utility function. This is equivalent to minimizing the function. Therefore, P1 is equivalent to:
[0098] (16)
[0099] It should be noted that the original cost function Transmission delay Logarithmic nonlinearity involving Shannon capacity, co-channel interference This involves an indicator function based on received power ranking, both of which are complex nonlinear functions of the channel multiplexing state. To facilitate potential game analysis, this embodiment introduces a proxy cost model with equivalent congestion as the state variable, abstracting the client communication cost as a monotonically non-decreasing function of the channel's equivalent congestion. The rationale for this approximation is that as the number of multiplexed clients on the channel increases, interference increases, the signal-to-interference-plus-noise ratio decreases, the data rate decreases, and both delay and penalty monotonically increase; the overall cost can be consistently characterized by the equivalent congestion. The following potential game analysis holds true under this proxy model.
[0100] In the actual iteration, each client calculates the utility according to formula (10) and superimposes the overload penalty M on the overloaded channel (see the first step of the algorithm). The equivalent congestion proxy model is only used for the theoretical analysis of the existence of equilibrium.
[0101] For any channel In strategy combination The equivalent congestion level is defined as follows:
[0102] (17)
[0103] in Indicates client For the channel The equivalent load weight. To ensure the accuracy of the potential function, it is assumed that the equivalent load weights of each client are homogeneous, i.e. It can be normalized to ,at this time Meanwhile, the proxy model assumes that all clients have the same equivalent cost function. The individual differences among clients are absorbed by this homogenization approximation, and the rationality of this approximation is supported by the stable convergence results of the experimental part under the original non-orthogonal multiple access model.
[0104] If the client Selected channel Its cost function is expressed as:
[0105] (18)
[0106] in Indicates that, except for the client Currently assigned to the channel The equivalent congestion level. This represents the equivalent cost function under a given congestion state.
[0107] In non-orthogonal multiple access (NMO) systems, both client transmission delay and timeout penalties are affected by co-channel interference. As the number of clients multiplexed on a channel increases, the client transmission rate may decrease, leading to increased time delay and abandonment penalties, while co-channel interference also increases. Therefore, the total cost to the client is monotonically non-decreasing with respect to the equivalent congestion level of the selected channel. If two distinct congestion variables exist... ,have:
[0108] (19)
[0109] Definition 4 (Pure Strategy Nash Equilibrium): For a game... If there exists a strategy combination satisfy:
[0110] (20)
[0111] Then it is called This is the pure strategy Nash equilibrium of the game, meaning that in this state, no client can improve their utility by unilaterally changing their strategy.
[0112] Since it is difficult to verify the existence of pure policy Nash equilibrium using the original utility function, potential game theory is used for analysis.
[0113] Definition 5 (Exact Potential Game): Assume there exists a potential function This makes it possible for any client Strategy Combination and two feasible strategies All satisfy:
[0114] (twenty one)
[0115] Exact potential games show that a unilateral change in strategy by any client will result in an exact equal change in the potential function and the utility function. Therefore, as long as the game is a finite game, the existence of pure strategy Nash equilibrium and its convergence within a finite number of steps can be derived.
[0116] Theorem 1: Under the equivalent congestion proxy model, and where the equivalent load weights and equivalent cost functions of each client are homogeneous, i.e. , Channel selection game It is a finite exact potential game, and the potential function is defined as:
[0117] (twenty two)
[0118] in Indicating in strategy combination Select Channel Number of clients, This indicates the number of clients who chose to abandon the upload. Indicates the channel congestion level as A single client, i.e., the first The equivalent cost level for each access user. Since the equivalent congestion degree monotonically decreases and the channel load increases, the equivalent cost to the client also increases. It depicts the overall congestion level of the system. The equivalent cost of forgoing the upload virtual channel. When At that time, the equivalent cost for the access user is ,Right now This characterizes the physical reality of drastic interference deterioration when a channel exceeds its capacity limit. Consequently, any strategy combination that overloads a channel significantly reduces its potential function value. Under optimal dynamic response, the client will not choose a fully loaded channel, thus naturally achieving maximum capacity per channel in the proxy model. Capacity constraints for each client. This soft constraint mechanism is effective when the utility loss due to overload is greater than the utility loss from abandoning uploads, i.e. At this point, the channel at the Nash equilibrium is not overloaded.
[0119] Proof: Consider the client strategy Change to The strategies for other clients remain fixed, while the strategy combinations are determined by... Become If the client is using the channel Switch to channel Then leave the channel Reduce the last term of the cumulative cost of this channel. Add channel Increase the cumulative cost of this channel by the last term. Therefore, the potential function changes as follows:
[0120] (twenty three)
[0121] The change in the client's own cost is as follows:
[0122] (twenty four)
[0123] The comparison shows that .because Therefore The precise potential game holds true. Giving up the upload as an equivalent cost is always... The virtual channel is incorporated into the above equation, and its corresponding alignment relationship also holds true word by word. Furthermore, since the number of participating clients is finite, and each client's strategy is also a finite set, the channel selection game... It is a finite exact potential game.
[0124] Corollary 1: According to Theorem 1, since It is a finite exact game, therefore There exists at least one pure policy Nash equilibrium, and the iterative update process of the game terminates within a finite number of steps and converges to a certain pure policy Nash equilibrium point.
[0125] The above convergence conclusion holds true under the equivalent congestion proxy model. The experimental part verifies that the channel selection process based on the optimal response dynamic can also converge stably under the original non-orthogonal multiple access serial interference cancellation model.
[0126] 4.3 Effective Data Volume Constraint Coupling
[0127] In the two-stage wireless federated learning framework, the channel selection game at the communication layer determines the client's channel selection and upload rate, while the data pricing and resource allocation game at the resource layer determines the amount of training data the client can provide under a given channel. Therefore, an effective data volume constraint coupling is introduced between the two stages, transforming the channel selection decision at the communication layer into a data constraint for the resource layer game.
[0128] Based on the outcome of the communication layer channel selection game, the client... The upload speed is The maximum latency that the server can accept is The total amount of local data in formula (7) Replace with normal training data volume Constrained by upload latency The maximum amount of data that can be transmitted in the current round is:
[0129] (25)
[0130] In the resource layer, the server will communicate with the client. To determine what needs to be done through game theory Purchased training data volume Under latency constraints, the client The maximum amount of data that can be used for training is:
[0131] (26)
[0132] When the client's upload rate is low, even if it has more local data, the amount of training data that the server can purchase in a single training round will be limited.
[0133] 4.4 Data Pricing and Resource Allocation Based on Stackelberg Game Theory
[0134] There is a clear game between the server and the client. The server wants to obtain a high-quality model at a lower cost, while the client wants to obtain a higher reward and reduce overhead. This typical non-cooperative decision-making problem can be modeled as a Stackelberg game, where the client is the leader and the server is the follower, and both want to maximize their utility functions.
[0135] Definition 6 (Stackelberg Equilibrium): Let and Let P2 and P3 represent the optimal solutions, respectively. , . The solution that brings the Stackelberg game to equilibrium is one that satisfies the following:
[0136] (27)
[0137] (28)
[0138] Stackelberg equilibrium demonstrates that there exists a set of equilibrium solutions for a game. This makes the policy for the server... The resulting utility is no less than other strategies; for the client, adopt the strategy The utility obtained is no less than that of other strategies.
[0139] Theorem 2: P2 is a convex optimization problem.
[0140] Proof: Let ,So The first derivative is:
[0141] (29)
[0142] in ,Require .
[0143] Furthermore, The second derivative is:
[0144] (30)
[0145] because , and are positive numbers and ,so Established. exist The function is strictly concave, and the goal of P2 is to maximize the concave function, therefore P2 is a convex optimization problem.
[0146] Theorem 3: The optimal solution for P2 is:
[0147] (31)
[0148] in Furthermore, due to strict concavity, this optimal solution is unique.
[0149] Proof: To solve P2, based on the KKT conditions, we introduce two Lagrange multipliers. and , respectively corresponding to the lower bound constraints and upper bound constraints Construct the standard maximized Lagrange function:
[0150] (32)
[0151] Optimal solution The KKT conditions should be met:
[0152]
[0153]
[0154]
[0155]
[0156]
[0157] (33)
[0158] Next, we will discuss three different scenarios.
[0159] (1) When When both the lower and upper bound constraints are strict inequalities, we can obtain the following from the complementary relaxation condition: Substituting the gradient condition, we get:
[0160] (34)
[0161] therefore:
[0162] (35)
[0163] (2) When At that time, we can obtain from the complementary relaxation condition that Based on the non-negativity of the multipliers and the gradient condition, we can obtain:
[0164] (36)
[0165] therefore:
[0166] (37)
[0167] (3) When At that time, we can obtain from the complementary relaxation condition that Based on the non-negativity of the multipliers and the gradient condition, we can obtain:
[0168] (38)
[0169] therefore:
[0170] (39)
[0171] Theorem 4: The optimal solution for P3 is:
[0172] (40)
[0173] Condition 1 is:
[0174] in The candidate price set includes the upper and lower bounds of the prices, all stationary points of the modified first-order conditions, and the equation. The feasible real roots.
[0175] Proof: First, if for all feasible prices... or for all feasible prices If the client's maximum utility in participating in pricing does not exceed zero, then the client chooses to exit the current transaction, and its utility is recorded as zero, which is equivalent to... and .
[0176] when At that time, the server purchase quantity was truncated by the upper bound constraint. Client-side utility It is about It is a strictly increasing function, therefore the client should satisfy... Select the maximum price within the feasible price range. It can be seen that, exist The maximum value is taken at point , therefore If it is not empty, then it is a closed interval. Optimal solution The right endpoint of this interval is uniquely determined. The boundary critical point satisfies... Substitute This is equivalent to a quadratic equation. The condition for the existence of a real root is: .
[0177] Finally, when At that time, Substitution We can obtain:
[0178] (41)
[0179] Note Depends on ,right When differentiating, the following must be taken into account Item. At this time It can be seen as a... A function whose extreme points satisfy:
[0180] (42)
[0181] After rearranging the terms, we obtain the implicit equation for the extreme point:
[0182] (43)
[0183] The equation is: The implicit equations can be solved numerically using the bisection method or Newton's method. If the solution to the above equations... Located in the feasible range If a value is found to be stationary, it should be added to the candidate set. Under extreme parameters, the equation may have multiple stationary points; in this case, all stationary points should be added to the candidate set. Finally, the price that maximizes the client's utility is selected as the optimal solution from the candidate set.
[0184] Theorem 5: The second-stage Stackelberg game has an optimal solution. When the parameters satisfy and When the optimal solution is unique, the solution is unique.
[0185] Proof: First, when At that time, the server's utility function is related to The second derivative always satisfies:
[0186] (44)
[0187] Therefore, the server for any given The optimal response is unique. Substituting it into the client's utility function and taking the derivative, we get:
[0188] (45)
[0189] Furthermore, the second derivative is:
[0190] (46)
[0191] The precise concavity analysis is as follows. Let... ,in , The molecules are .because Strictly decreasing, and , so when hour, For all Established, exist Strict concave at the top, extreme value at the inner point only. when hour, exist Slightly higher The value may be positive. There may be two stationary points. In this case, by comparing the candidate set, which includes all stationary points and endpoints, we can guarantee that we can find the global optimum.
[0192] when When the client exits the game, its utility is recorded as zero. When the feasible pricing set is a closed interval and Strictly incremental, Unique. Due to the server's optimal response. For any Both are uniquely determined, and the second phase of the Stackelberg game is in and There exists a unique equilibrium solution, and in general, there exists an optimal solution that can be determined by comparing candidate sets.
[0193] 4.5 Algorithm Implementation
[0194] The main steps of the proposed framework are as follows.
[0195] Input: Total number of clients Number of selected clients Channel set Channel capacity limit Channel bandwidth noise power Upload power Local data volume Maximum latency Price upper and lower limits and Maximum number of iterations Residual interference factor Precision value coefficient Update size coefficient Price Influence Coefficient Precision model baseline value With constant Training costs Global accuracy benchmark Channel quality coefficient Abandon punishment Overload penalty The price is shifting. .
[0196] Output: Optimal channel selection strategy Optimal pricing Optimal purchase quantity .
[0197] The first step is channel selection at the communication layer based on potential game theory. This involves initializing the channel selection strategy. satisfy Includes a zero-give-up strategy; makes the current optimal strategy Number of cycles Update the tag .when and If true, execute the following loop: Let For each client Construct a feasible strategy set For each feasible strategy ,like If it is a vector of all zeros, then its utility is taken as... Otherwise, the utility is calculated according to formula (10). And the number of accessors in the channel under investigation The overload penalty is applied concurrently, meaning that the equivalent cost for the client on this channel under this candidate strategy is reduced to [value missing]. And deduct accordingly from the client's utility. This achieves the soft capacity constraint described in Theorem 1; the strategy that maximizes utility is selected as the candidate strategy. If the utility of a candidate policy is greater than the utility of the current best policy, then update. And order After the loop ends, let... .
[0198] The second step is cross-layer coupling. This is based on the channel selection strategy. Formula (26) is used to calculate the maximum available data volume for each client. For those who have given up uploading... For clients of all-zero vectors, its Skip subsequent pricing calculations.
[0199] The third step involves data pricing and resource allocation at the resource layer based on Stackelberg game theory. This applies to each client that has not abandoned its upload process. Lower price range ; in the interval The corrected formula (42) obtained by numerical solution is as follows: All outposts added to the candidate set At the same time and join in If the equation It has a real root, that is, it satisfies the condition. , will be located inner root and join in For each candidate price Calculate the corresponding purchase quantity according to formula (31) Calculate the corresponding client utility according to formula (13) If all prices in the candidate set correspond to If none of the values are zero, the client exits the current transaction, and its utility is recorded as zero. Otherwise, the price that maximizes the client's utility is selected as the optimal price. And according to formula (31) and optimal pricing Calculate the optimal purchase quantity .
[0200] 5. Experiment and Results Analysis
[0201] 5.1 Experimental Setup
[0202] Datasets and Model Structures. Real-world image datasets such as MNIST, Fashion-MNIST, CIFAR-10, and CIFAR-100 were used. For the MNIST and Fashion-MNIST datasets, a convolutional neural network was used as the native model, consisting of two convolutional layers and a fully connected layer with 512 hidden units. The kernel size was 5x5, with 32 and 64 channels respectively. Each convolutional layer was followed by a ReLU activation function and a 2x2 max-pooling layer. For the CIFAR-10 dataset, an AlexNet network was used as the native model, consisting of five convolutional layers with channel numbers of 64, 192, 384, 256, and 256 respectively. Two fully connected layers with 1024 hidden units and a Dropout mechanism were included in the classifier part. For the CIFAR-100 dataset, a ResNet9 network was used as the native model, consisting of four convolutional blocks and two residual modules. The number of channels gradually increased from 64 to 512, and a batch normalization layer was incorporated to improve training stability. The above model was implemented using PyTorch and trained using the FedAvg framework.
[0203] System Implementation. A real-world testbed consisting of one workstation and 20 Jetson TX2 processors was constructed to simulate the interaction between a server and clients in a wireless federated learning system. The workstation, acting as the server, was equipped with an Intel Xeon Silver 4208 CPU (2.10 GHz), an NVIDIA GeForce RTX 4090 GPU, and 96 GB of RAM. The Jetson TX2s served as clients, each equipped with a 256-core NVIDIA Pascal GPU. The heterogeneous CPU cluster consisted of dual-core Denver 64-bit CPUs and quad-core Arm Cortex-A57 MPCore processors, each with 8 GB of RAM. All devices were deployed on the same local area network, and end-to-end communication between the workstation and each client was established based on the FLASK framework. The total number of clients in the experiment... In this case, the excess portion is simulated using software.
[0204] Parameter settings. By default, the total number of clients is set to 30, the number of channels to 5, each channel can accommodate a maximum of 5 clients, and the total system bandwidth is 1 MHz. Evenly distributed among the channels ,default hour MHz, transmit power of 0.2 W, noise power of mW is W, approximately -90 dBm, and a residual interference factor of 0.02. For each channel, set the channel quality coefficient. It follows a truncated normal distribution with a mean of 1 and a standard deviation of 0.25, with a lower truncation of 0, ensuring... The mean value is approximately 1, and it remains constant within a single round of communication. During wireless federated learning training, the SGD optimizer is used, with a batch size of 64, a learning rate of 0.01, and one local training round.
[0205] Comparison Methods. To verify the effectiveness of the proposed framework, specific benchmark methods were designed according to different experimental objectives, including three categories: channel selection baseline, pricing baseline, and state-of-the-art methods. Channel selection baselines included Random (clients randomly select available channels); Equal (distributing clients as evenly as possible across channels while satisfying channel capacity constraints); and Greedy (making locally optimal selections based on current channel load). Pricing baselines included Min-Price (client pricing remains at the lower limit of the range); Max-Price (clients always adopt the highest price); and Random-Price (clients set prices randomly). State-of-the-art methods included NOMA-PA (optimizing transmission power during client uploads to reduce model update transmission errors); AdaptiveFL (clients select appropriately sized sub-models for training and uploading based on real-time bandwidth status); PIM (constructing a multi-participant incentive mechanism based on Stackelberg game theory); and Bi-MAPPO (using two-layer multi-agent reinforcement learning to solve the two-dimensional Stackelberg incentive problem). To ensure fair comparison, apart from the different communication scheduling, channel selection, price decision, or incentive mechanisms designed for each method, all other training settings remained consistent.
[0206] Performance metrics. Accuracy and F1 score are used to evaluate the overall model performance. Accuracy represents the model's correct classification accuracy on the test set, and is defined as:
[0207] (47)
[0208] in and These represent the number of correctly predicted samples and the total number of test samples, respectively.
[0209] The F1 score reflects the model's classification accuracy and recall. For the first... The F1 score for each category is defined as follows:
[0210] (48)
[0211] in , , , , They represent the first The true positives, false positives, and false negatives of each class are identified. For multi-class classification tasks, the average F1 score for each class is used, defined as:
[0212] (49)
[0213] in Represents the total number of categories.
[0214] 5.2 Experimental Results and Analysis
[0215] The overall performance comparison is shown in Table 1. The proposed framework achieved the highest accuracy and F1 score on various datasets. Specifically, on MNIST and Fashion-MNIST, the gap between the framework and some well-performing benchmark methods is small, indicating that heuristic channel selection or data pricing strategies can still support effective model performance when task complexity is low. In contrast, on CIFAR-10 and CIFAR-100, the accuracy of some benchmark methods drops significantly because complex image tasks place higher demands on communication resource coordination, data scale utilization, and model training quality. Simple channel selection, data pricing, or single communication optimization strategies are insufficient to fully characterize the dynamic relationship between communication state, data contribution, and resource benefits. In this case, the advantages of the proposed framework are more obvious.
[0216] Table 1 Performance comparison of different methods on different datasets
[0217]
[0218] Compared to state-of-the-art methods, the proposed framework performs better. NOMA-PA improves the transmission reliability of model updates by optimizing transmission power, achieving good accuracy on multiple datasets. However, for complex tasks, model performance is also affected by factors such as client data size and data quality, and power optimization alone has a relatively limited effect on improving accuracy. AdaptiveFL can select an appropriate size of client sub-models for uploading based on dynamic bandwidth, achieving results close to the proposed framework on CIFAR-10 and CIFAR-100, but its performance drops significantly on Fashion-MNIST, indicating that the bandwidth-adaptive model uploading strategy is sensitive to task features and model pruning effects. PIM can improve data contribution motivation through benefit coordination, achieving relatively stable results on simple tasks. However, its adapted incentive mechanism mainly focuses on benefit coordination and does not adequately characterize the coupling relationship between communication constraints, data size, and model training effects, thus resulting in a significant performance drop on complex datasets. Bi-MAPPO introduces a two-layer multi-agent reinforcement learning approach to address incentive problems in complex federated learning scenarios. However, its policy updates are susceptible to reward fluctuations and the difficulty of collaborative learning, resulting in generally low accuracy and F1 scores, with a significant drop on CIFAR-100. The results demonstrate that the proposed framework enables more reasonable channel selection and data pricing, achieving optimal model performance on various datasets.
[0219] Convergence pairs, for example Figure 3 As shown, on MNIST and Fashion-MNIST, most methods can quickly improve accuracy and gradually reach a stable state within a few communication rounds. The proposed framework can quickly converge to the highest accuracy, demonstrating its superior convergence speed and stability on simple tasks. In contrast, although some baseline methods can also achieve high accuracy, their convergence process is somewhat volatile, and their overall stability in the later stages is weaker than that of the proposed framework. On CIFAR-10 and CIFAR-100, the convergence differences between different methods are more obvious. Some baseline methods have relatively slow convergence speeds and lower final accuracy, while NOMA-PA and AdaptiveFL can maintain strong competitiveness on complex tasks, but their convergence process still has some volatility. PIM and Bi-MAPPO have relatively limited improvement on complex datasets, especially Bi-MAPPO, which shows significantly insufficient convergence performance on CIFAR-100. In contrast, the proposed framework maintained a relatively stable upward trend throughout the training process and continued to maintain high accuracy in the later stages, indicating that the proposed game-based cross-layer collaborative mechanism can effectively promote model convergence in fewer communication rounds.
[0220] Channel selection strategies comparison Figure 4As shown, the effectiveness of different methods in channel selection on different datasets was tested, and the number of clients completing the transmission task after passing through the communication layer was compared. Under the same channel resources and latency constraints, the more clients that complete the model update upload, the more effectively the proposed method can coordinate client access and improve the utilization efficiency of channel resources. The proposed framework achieved the best results on different datasets, indicating that it can achieve more effective channel selection under different task complexities. On MNIST and Fashion-MNIST, since the amount of data to be transmitted in a single model update is small, most clients can complete the model upload. Equal and AdaptiveFL can meet the channel capacity constraints well, while Random and Greedy show some fluctuations. In contrast, the proposed framework can achieve more balanced channel selection under low load conditions. On CIFAR-10 and CIFAR-100, as the model update scale increases, channel resource constraints become the key factor affecting the completion of client model upload. Equal ignores the channel quality difference, Random does not consider the impact of co-channel interference, and Greedy selects based on local optimal benefits and lacks global coordination. NOMA-PA and AdaptiveFL alleviate transmission pressure through power allocation and adaptive upload scale, respectively, but they lack joint coordination for channel contention, co-channel interference, and drop-off penalties. In contrast, the proposed framework considers channel interference, latency constraints, and drop-off penalties simultaneously during the decision-making process, achieving efficient coordination among clients and maintaining excellent stability even in complex scenarios.
[0221] Scalability such as Figure 5As shown, the number of clients completing model uploads was compared under different client numbers, channel numbers, and channel capacities. Due to the smaller datasets of MNIST and Fashion-MNIST, channel resources were fully utilized; however, the larger datasets of CIFAR-10 and CIFAR-100 meant that different settings had a more significant impact on the results. With increasing client numbers, the number of clients completing model uploads on MNIST and Fashion-MNIST increased linearly. When the number of clients reached 60, the number of clients completing model uploads stopped increasing due to channel resource limitations. For CIFAR-10 and CIFAR-100, increasing the number of clients did not improve the number of clients completing model uploads; instead, it may have caused severe competition and interference. With increasing channel numbers, the results on MNIST and Fashion-MNIST remained unchanged, indicating that all clients could be fully utilized; however, on CIFAR-10 and CIFAR-100, the number of clients completing model uploads increased, indicating that increasing the number of channels under high load conditions can effectively alleviate congestion. Changes in channel capacity have a relatively small impact on client decisions. For MNIST and Fashion-MNIST, due to the limited number of clients, increasing channel capacity does not affect the results. However, on CIFAR-10 and CIFAR-100, increasing channel capacity will cause more clients to attempt to enter the same channel, increasing interference within that channel and leading to fluctuations in the results. Overall, the proposed framework can adaptively adjust to different scenarios, demonstrating good scalability.
[0222] A comparison of the utility of servers and clients, such as Figure 6As shown. It is worth noting that utility cannot be simply interpreted as the higher the better for one side. If only the server utility is high, it often means insufficient benefits for the client, thus weakening their enthusiasm for participating in training; if only the client utility is high, it usually means that the server cost is too high, which is not conducive to the long-term operation of the system. A reasonable strategy should achieve a coordinated balance between data purchase and the distribution of benefits between the two sides, while ensuring that the utility of both the server and the client is positive. Max-Price has a relatively high overall client utility, but its corresponding server data purchase volume is relatively low, indicating that although Max-Price increases client benefits, it comes at the cost of increased server costs and decreased willingness to purchase. Min-Price maintains a high level of server utility, but the client utility is relatively low, indicating that although low data pricing is conducive to the server to increase purchase volume, it weakens the client's benefits. Random-Price has large fluctuations in purchase volume and bilateral utility due to the lack of a stable pricing mechanism. PIM performs relatively stably in most cases, but its balance of overall benefits is still weaker than the proposed framework. Bi-MAPPO improves server utility on some datasets, but client utility is relatively low. In contrast, the proposed framework maintains a relatively stable and moderate amount of data purchases while achieving a relatively balanced utility for both servers and clients. This indicates that its advantage does not lie in simply pursuing more data purchases or maximizing the utility of one side alone, but in achieving better coordination between purchasing decisions and bilateral benefits based on different task complexities.
[0223] Data purchase volume comparison Figure 7 As shown in the figure, Max-Price significantly increases purchase costs due to its high pricing, resulting in lower purchase volumes across different datasets compared to other methods. Min-Price, with its low pricing, attracts servers to purchase more data, thus exhibiting higher purchase volumes across all datasets. Random-Price's purchase decisions show some volatility. PIM incentivizes clients to contribute data, but its strong constraint on server purchase costs leads to generally low purchase volumes. Bi-MAPPO optimizes data contribution decisions through Stackelberg game theory, but purchase volumes decrease significantly on complex datasets. In contrast, the proposed framework maintains moderate data purchase volumes across all datasets, indicating its ability to dynamically adjust purchase strategies based on data pricing and available data volume, resulting in a better match between server data purchases, client upload capabilities, and cost-benefit analysis.
[0224] In summary, this embodiment proposes a game-theoretic cross-layer collaborative optimization framework for wireless federated learning systems. To address the resource-constrained communication layer, client channel selection under non-orthogonal multiple access is modeled as a potential game to achieve stable channel allocation. To address the insufficient incentive at the resource layer, a Stackelberg game is constructed between the client and server to determine optimal data pricing and purchasing decisions. Simultaneously, the upload capability of the communication layer is transformed into a data purchasing constraint at the resource layer through effective data volume constraints, thereby achieving collaborative optimization among channel selection, data pricing, and resource allocation. Extensive experiments using real-world datasets and testbeds validate the superiority of this framework. Compared to other state-of-the-art methods, this framework achieves the highest accuracy and exhibits more stable convergence during the convergence process. Furthermore, the framework ensures that more clients complete model update uploads, demonstrating its ability to effectively coordinate client access and improve channel resource utilization efficiency under limited channel resources and latency constraints. Moreover, the framework maintains stable performance under different numbers of clients, channels, and channel capacities, indicating its adaptability to various wireless federated learning scenarios. Furthermore, the framework can achieve a reasonable balance between data purchase volume, server utility, and client utility, avoiding problems such as excessive or insufficient purchases and one-sided utility imbalance.
[0225] This embodiment addresses key challenges in wireless federated learning systems, such as limited communication resources, insufficient client participation, and lack of effective coupling between the communication and resource layers. It proposes a game-theoretic-based cross-layer collaborative optimization method for wireless federated learning systems. First, a channel selection mechanism based on potential game theory is designed. In non-orthogonal multiple access (MOA) channel reuse scenarios, it comprehensively considers transmission delay, abandonment penalties, and co-channel interference, enabling clients to obtain stable channel selection results under limited channel resources. Next, a data pricing and resource allocation mechanism based on Stackelberg game theory is constructed, with the client acting as the data price setter and the server as the data buyer, allowing the server to balance model accuracy gains with payment costs. Furthermore, the channel selection results obtained from the communication layer are transformed into effective data volume constraints in the resource layer, ensuring that the server's data purchasing decisions match the client's actual upload capacity, thereby achieving collaborative optimization between communication efficiency, resource allocation, and model performance.
[0226] The specific implementation process of the framework provided in this embodiment is as follows.
[0227] The first step is system initialization. The server determines the set of clients participating in the wireless federated learning task, the set of available channels, the channel capacity limit, the channel bandwidth, the client upload power, the channel gain, the noise power, the amount of local data on the client, the upper and lower limits of data pricing, and the global training parameters. It then sends the initial global model to the clients and provides the necessary system status information for the subsequent channel selection, data pricing, and resource allocation processes.
[0228] The second step is client selection and local preparation. At the start of each round of federated training, the server selects a certain proportion of clients from all clients to participate in the training for that round. The selected clients receive the current global model and estimate the size of the uploaded parameter update based on their own local data size. At the same time, they provide input for subsequent channel selection based on information such as the current wireless channel state, channel bandwidth, upload power, and channel gain.
[0229] The third step is channel selection at the communication layer. The client selects a channel for model updates and uploads it based on available channels, or abandons the upload if the upload conditions cannot be met. The server calculates the corresponding upload rate, transmission delay, abandonment penalty, and co-channel interference based on the multiplexing of multiple clients on the same channel. Each client iteratively updates its channel selection strategy based on the constructed potential game model until the channel selection result reaches a stable state or the maximum number of iterations is reached, thus obtaining the channel allocation result for the current training round.
[0230] The fourth step is cross-layer coupling. Based on the channel selection results obtained from the communication layer, the client's actual upload rate, and the maximum tolerable latency, the server calculates the amount of data that the client can effectively participate in model updates during this round of training. This effective data amount serves as a constraint in the data purchase and allocation process of the resource layer, preventing the server from purchasing more data than the client's actual transmission capacity.
[0231] The fifth step is resource layer data pricing and resource allocation. The client determines its unit data price based on its own training costs and pricing constraints. After observing the client's price, the server determines the corresponding data purchase quantity based on model accuracy gains, payment costs, and effective data volume constraints. Through optimal response analysis in Stackelberg game theory, the server and client obtain data purchase strategies and data pricing strategies, respectively. Subsequently, the client completes local training and model update uploads based on the data purchased by the server. The server receives the model updates uploaded by the client and performs global aggregation to obtain a new global model.
[0232] The above process is repeated in multiple rounds of federated training until the model reaches the preset convergence condition or the upper limit of the training rounds.
[0233] This embodiment can be applied to scenarios requiring distributed model training and resource coordination in wireless networks, such as wireless federated learning, edge intelligence, industrial IoT, vehicle-to-everything (V2X) communication, and smart healthcare. Experimental results based on multiple real-world datasets and testbeds demonstrate that this framework exhibits superior performance in model update uploading, data purchase decisions, bilateral utility balancing, and model performance.
Claims
1. A cross-layer collaborative optimization method in a wireless federated learning system, executed by a server and multiple clients through multiple channels, characterized in that, In each training round, a selected client is chosen from multiple clients, and the following processing is performed: The selected client chooses one of the available channels to upload the local model update or abandons the upload. Multiple clients that choose to upload reuse the same channel and transmit in parallel under non-orthogonal multiple access. Each selected client aims to minimize the communication cost caused by upload delay, abandonment penalty and co-channel interference, and iteratively updates the channel selection strategy until the channel selection strategy no longer changes or the maximum number of iterations is reached. The upload rate of each selected client that chooses to upload is determined based on the converged channel selection results. For each selected client that chooses to upload, the upper limit of the amount of data that it can upload within the maximum tolerable latency is determined based on its upload rate, maximum tolerable latency, and the conversion relationship between local model update size and training data volume. The smaller of this upper limit and its local data volume is taken as the upper limit of the effective data volume for this client in this round of training. The upper limit of the effective data volume for selected clients that give up uploading is zero. Each selected client that has not given up uploading determines its unit data price. For each selected client that has not given up uploading, the server constructs a Stackelberg game with the client as the leader and the server as the follower. Based on the unit data price, the server weighs the model accuracy gains and data purchase costs, determines the amount of data to purchase within the client's effective data volume limit, and obtains the optimal price and optimal purchase quantity through optimal response analysis. The current global model is sent to the selected clients. Each selected client that has not given up uploading completes local training based on the current global model according to the optimal purchase amount, and uploads the local model update through the channel determined by the channel selection result of this round. Clients that give up uploading do not participate in local training and uploading. The server aggregates the updates of each local model to obtain the updated global model. The above process is repeated round by round, and the upper limit of the effective data volume is re-determined round by round based on the channel selection result of the current round, until the training termination condition is met.
2. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 1, characterized in that: The communication cost is a weighted sum of upload latency, abandonment penalty, and co-channel interference. The selected client updates its channel selection strategy with the goal of maximizing the negative of this communication cost. The abandonment penalty is the proportion of the upload latency exceeding the maximum tolerable latency to the maximum tolerable latency. The upload latency is the quotient of the local model update size divided by the upload rate. The co-channel interference is the interference caused to the selected client by the received power of other selected clients that share the same channel with the selected client.
3. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 1, characterized in that: The iterative update of the channel selection strategy constitutes a finite-precise potential game. Under the equivalent congestion proxy model, each client has the same equivalent load weight and the same equivalent cost function. The negative value of the sum of the equivalent cost contributions of each channel accumulated according to the access order is used as the potential function. Any unilateral change of the channel selection strategy by the client will make the change in the potential function equal to the change in the client's own communication utility. The communication utility is the negative of the communication cost. The finite-precise potential game has a pure policy Nash equilibrium.
4. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 3, characterized in that: Each channel has an upper limit on the number of clients it can support. When the number of clients accessing a channel exceeds this upper limit, the equivalent cost contribution corresponding to the clients accessing the channel beyond this upper limit takes a sufficiently large finite value. This finite value is greater than the absolute value of the communication utility when the client abandons uploading. The communication utility of the abandon uploading strategy takes a fixed negative value. Clients that abandon uploading do not participate in the calculation of upload rate, latency, and interference. The potential function also includes the negative value of the product of the equivalent cost corresponding to abandoning uploading and the number of clients that abandon uploading.
5. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 1, characterized in that: When the server determines the amount of data to purchase based on the unit data price, the goal is to maximize server utility, which is the accuracy gain minus the data purchase cost. The accuracy gain is the value gain per unit of accuracy improvement multiplied by an accuracy model term and then by a price impact term. The accuracy model term is the global accuracy benchmark minus the degree of non-independent and identically distributed client data, and then minus an accuracy growth term that decreases exponentially with the increase in purchase volume according to the accuracy growth rate parameter. The magnitude parameter of the accuracy growth term decreases with the degree of non-independent and identically distributed client data. The price impact term is a factor minus the ratio of the price impact coefficient to the unit data price. The unit data price is greater than the price impact coefficient. The upper bound of the pricing range for the selected client is a preset upper price limit, and the lower bound of the pricing range is the larger of the preset lower price limit and the sum of the price impact coefficient and a positive offset.
6. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 5, characterized in that: The server utility is strictly concave with respect to the purchase amount. The optimal purchase amount for the server is a three-stage solution: when the internal solution is not greater than zero, the optimal purchase amount is zero; when the internal solution is greater than zero and less than the upper limit of the effective data amount, the optimal purchase amount is the internal solution; when the internal solution is not less than the upper limit of the effective data amount, the optimal purchase amount is the upper limit of the effective data amount. The accuracy gain coefficient is the product of the value gain per unit of accuracy improvement and the price impact term; the internal solution is the value obtained by dividing the natural logarithm of the first ratio by the accuracy growth rate parameter, where the first ratio is the ratio of the product of the accuracy gain coefficient, the magnitude parameter of the accuracy growth term, and the accuracy growth rate parameter to the unit data price.
7. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 6, characterized in that: The client determines the unit data price with the goal of maximizing client utility. Client utility is the product of the purchased data quantity and the unit data price, minus the product of the purchased data quantity and the client's training unit data cost. The optimal price is determined as follows: if the internal solutions for all prices within the pricing range are not greater than zero, the client exits the current pricing round and its utility is recorded as zero; if the internal solutions are greater than zero and less than the upper limit of the effective data quantity, the client utility is calculated for each candidate price in the candidate price set, which includes all stationary points with a pricing range lower bound, a pricing range upper bound, and a client utility first derivative of zero. The feasible price root that makes the internal solution equal to the upper limit of the effective data volume is determined. If the client utility corresponding to each candidate price is not greater than zero, the client exits the current pricing round and the client utility is recorded as zero. Otherwise, the price that maximizes the client utility is selected as the optimal bid. The first derivative of the client utility is included in the dependence of the precision gain coefficient on the unit data price. If the internal solution is not less than the upper limit of the effective data volume, the server's optimal purchase quantity is truncated by the upper limit of the effective data volume. The client utility increases strictly with the unit data price, and the optimal bid is taken as the maximum endpoint of the feasible price range that satisfies the condition that the internal solution is not less than the upper limit of the effective data volume. When the client's training unit data cost is no greater than twice the price influence coefficient and the preset pricing lower limit is no less than twice the price influence coefficient, the client's optimal price is unique.
8. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 1, characterized in that: Multiple selected clients use non-orthogonal multiple access for parallel transmission on the same channel. The server performs serial interference cancellation decoding according to the received power. The signal-to-interference-plus-noise ratio (SIR) of a client on its selected channel is the received signal power divided by the sum of total interference, residual interference, and noise power. The total interference is the sum of the received power of other clients with lower received power than the client. The residual interference is the product of the sum of the received power of other clients with higher received power than the client and the residual factor of non-ideal serial interference cancellation. Each channel has a channel quality coefficient. The upload rate of a client is the product of the channel quality coefficient of the channel selected by the client, the channel bandwidth, and the logarithm. The logarithm is the base-2 logarithm with one and the sum of the SIR as arguments.
9. The cross-layer collaborative optimization method in the wireless federated learning system according to claim 7, characterized in that: The iterative update of the channel selection strategy includes: initializing the channel selection strategy for each client, including the corresponding all-zero strategy for abandoning upload, with the communication cost of abandoning upload being a fixed positive value; in each iteration, enumerating all feasible channel selection strategies for each client and calculating the communication cost, selecting the strategy with the minimum communication cost, updating and marking the change if the strategy is better than the current strategy, stopping the iteration when no client updates the strategy or the maximum number of iterations is reached; the process of the server determining the amount of data to purchase and the client determining the optimal price includes: for each client that has not abandoned upload, numerically solving all stationary points where the first derivative of the client utility is zero within the pricing range, adding the stationary points, the lower bound of the pricing range, the upper bound of the pricing range, and the feasible root that makes the internal solution equal to the upper limit of the effective data amount to the candidate price set; if the client utility corresponding to all prices in the candidate price set is not greater than zero, the client exits the current transaction and the client utility is recorded as zero; otherwise, calculating the corresponding optimal purchase amount and client utility for each candidate price in the candidate price set, and selecting the price that maximizes the client utility as the optimal price.
10. A cross-layer collaborative optimization system in a wireless federated learning system, characterized in that, Includes a server and multiple clients; The server is configured to determine the set of clients participating in training, the set of channels, and system parameters, distribute the global model to the clients, receive model updates uploaded by the clients, and perform global aggregation. The client is configured to select an upload channel or abandon upload at the communication layer. Multiple clients that select upload reuse the same channel under non-orthogonal multiple access. Each client iteratively updates the channel selection strategy according to the communication cost consisting of upload delay, abandonment penalty and co-channel interference until the channel selection strategy no longer changes or the maximum number of iterations is reached, and obtains the channel selection result. The unit data price is then determined at the resource layer. The server is further configured to calculate the upload rate of each selected client based on the channel selection result. For each selected client, based on its upload rate and maximum tolerable latency, and combined with the conversion relationship between the local model update size and the amount of training data, the maximum amount of data that the client can transmit is calculated. The smaller of the maximum amount of data and the local amount of data is taken as the effective data volume limit. The effective data volume limit for clients that give up uploading is zero. Based on the unit data price, the server weighs the model accuracy gain and data purchase cost, determines the amount of data to be purchased from each client within the effective data volume limit, and obtains the optimal price and optimal purchase amount through optimal response analysis. The unit data price is determined by the client, and the amount of data to be purchased is determined by the server after observing the unit data price. The client and the server form a Stackelberg game with the client as the leader and the server as the follower. The client is also configured to complete local training based on the global model according to the amount of data purchased by the server, and upload the local model update through the channel determined by the channel selection result of this round. Clients that give up uploading will not participate in local training and uploading. The server and the client are also configured to repeatedly execute the above process round by round, and the upper limit of the effective data volume is re-determined round by round based on the channel selection result of the current round, until the training end condition is met.
