Lightweight end-side agent workflow alignment training method and system for complex wireless network
By using the Cold Start Workflow Alignment (CoWA) framework and Group Relative Policy Optimization (GRPO), the interface gap and workflow gap in lightweight LLM for wireless optimization are resolved, enabling efficient and reliable wireless resource optimization decisions that are suitable for edge device deployment.
Patent Information
- Application Number
- CN202611670164.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-27
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies suffer from interface gaps, workflow gaps, and target gaps when adapting lightweight LLMs for wireless optimization. This makes it impossible to directly convert structured information into legitimate wireless configuration decisions, and the deployment costs are high, making it impossible to achieve low-overhead, high-performance optimization on edge devices.
By adopting the Cold Start Workflow Alignment (CoWA) framework, a lightweight general-purpose LLM is adapted into an executable intelligent agent. The inference mechanism is enhanced through structured task interfaces and tools, and combined with Group Relative Policy Optimization (GRPO), low-latency and high constraint satisfaction rate decision-making for wireless resource optimization is achieved.
In the Wi-Fi 7 multi-link operation channel allocation task, it achieves throughput performance superior to traditional methods, high inference execution efficiency, strong output reliability, good cross-scenario generalization ability, and low training and deployment costs.
Smart Images

Figure CN123178582A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of interdisciplinary technology of wireless communication network optimization and artificial intelligence, and specifically relates to a method and system for adapting a lightweight general-purpose large language model (LLM) into an intelligent agent that is optimized for wireless resources, deployable, executable, and meets protocol constraints. Background Technology
[0002] In recent years, LLM has made groundbreaking progress in the field of natural language processing, and researchers have begun to explore its application to wireless network optimization tasks, including network understanding, management, and control. Current research mainly follows two paths:
[0003] The first approach utilizes cutting-edge large-scale models in the cloud, guiding wireless decision-making through prompting engineering and thought chain reasoning. Representative works include: WirelessAgent++ (Tong et al., 2025) demonstrated that LLM agents can support autonomous wireless tasks through reasoning, multimodal processing, and workflow search; Zhou et al. (2025, 2024) studied context learning and power control for wireless optimization; Lian et al. (2025) combined LLM with Monte Carlo tree search for Wi-Fi 7 channel allocation; and Wang et al. (2025) developed ComAgent, an LLM-assisted orchestrator for 6 GHz Wi-Fi / NR-U coexistence. This approach is effective in zero-shot and few-shot scenarios, but it relies on large-scale model reasoning in the cloud, lacks the ability to implement explicit tools, and struggles to guarantee constraint satisfaction and long-term decision consistency.
[0004] The second path explores post-training of lightweight LLMs for edge deployment. Efficient parameter fine-tuning methods such as Low-Rank Adaptation (LoRA) and Quantized LoRA (QLoRA) reduce memory and computational overhead by updating only a small number of parameters, making lightweight LLM adaptation increasingly practical. However, existing methods primarily mimic the final decision or response format, neglecting intermediate processes such as state analysis, tool calls, constraint verification, and correction. Furthermore, while traditional search-based optimizers can obtain high-quality solutions, they require restarting the trial-and-error search for each new network instance, leading to a sharp increase in the interaction budget with network size.
[0005] Existing technologies have the following three core shortcomings when adapting lightweight LLMs for constrained wireless optimization:
[0006] ① Interface gap: Mismatch between natural language input and structured radio state. General-purpose LLMs struggle to directly translate structured information, including access point (AP) / station (STA) coordinates, channel pools, and carrier sensing radius, into legitimate radio configuration decisions, resulting in assignments that may fail to meet protocol constraints or be unenforceable.
[0007] ② Workflow Gap: Lack of reliable execution workflows in multi-step decision-making. Most existing post-training methods only mimic the final answer or response format, without teaching the model to learn the complete intermediate processes such as "state check → tool call → constraint verification → correction", resulting in low constraint satisfaction rate and poor long-term consistency.
[0008] ③ Target Gap: Mismatch between language fluency generation and system-level optimization performance. Pure prompting methods use text quality as the evaluation criterion; instance-by-instance search methods have high deployment costs and cannot reuse strategies across instances; both are difficult to achieve executable, constraint-feasible, and high-performance wireless optimization decisions with low overhead on resource-constrained edge devices. Summary of the Invention
[0009] The purpose of this invention is to address the interface gap, workflow gap, and target gap problems existing in the prior art by providing a lightweight edge agent workflow alignment training method and system for complex wireless networks. It adopts the Cold-start Workflow Alignment (CoWA) framework to adapt a lightweight general-purpose LLM into an executable agent for constrained wireless optimization. Taking Wi-Fi 7 multi-link operation channel allocation as a typical implementation case, it achieves low latency, high constraint satisfaction rate, and generalizable wireless resource optimization decision-making at the edge.
[0010] To achieve the above-mentioned objectives, the present invention provides the following technical solution:
[0011] This invention provides a lightweight end-side agent workflow alignment training method for complex wireless networks. It is a computer-implemented method for wireless network resource allocation, executed on computer and wireless network controller hardware, and includes the following steps:
[0012] S1. Task and Interface Alignment Phase: First, obtain the wireless network status; the wireless network status includes M Basic Service Sets (BSS), each BSS is configured with one Access Point Multilink Device (AP-MLD) and several Site Multilink Devices (STA-MLD); the wireless network status also includes the location coordinates of the AP and STA, the set of available frequency bands and the channel pool for each frequency band, the maximum number of active links L for each STA, and the carrier sensing radius for each frequency band; the wireless network status is serialized into structured instruction instances using a task formatter; the structured instruction instances include the wireless network status, a set of task constraints, a set of callable domain tools, and an output mode; the set of task constraints includes at most 1 link per frequency band, at most L links per site, and at least 1 link per site; finally, output the structured instructions.
[0013] S2. Tool Enhancement Cold Start Supervision Phase: A domain tool library is constructed to explicitly expose intermediate quantities such as distance, conflict relationships, and load—which originally required implicit inference in lightweight LLM—as callable operators. This transforms channel allocation into a structured tool-enhanced decision-making task. The domain tool library includes a distance calculation tool, a conflict graph construction tool, a conflict intensity summarization tool, a load planning tool, an initial group allocation tool, and an unallocated identification tool. The distance calculation tool calculates the Euclidean distance matrix between all APs and STAs. The conflict graph construction tool determines the competition relationship between STAs on the same channel based on the carrier sensing radius of each frequency band and constructs a conflict graph. The conflict intensity summarization tool summarizes the conflict intensity index for each channel. The load planning tool plans the expected load distribution for each channel. The initial group allocation tool filters and allocates initial STA groups for each channel. The unallocated identification tool identifies unallocated STAs. STAs without any assigned links; Execute controlled tool enhancement trajectories for each structured instruction instance, where the tool enhancement trajectory is either a preset fixed calling order or a model-selected tool calling order; This embodiment preferably uses a fixed-order controlled tool enhancement trajectory, sequentially calling the distance calculation tool, conflict graph construction tool, conflict intensity summarization tool, load planning tool, initial group allocation tool, and unassigned identification tool, terminating the tool calling after all preset tool calls are executed; The controlled tool enhancement trajectory includes the tool calling actions and the corresponding tool observation results; High-quality samples are selected according to the throughput threshold to construct a cold start dataset, which stores target link allocation schemes that conform to the output mode; Supervised fine-tuning is performed using QLoRA parameter efficient fine-tuning, this stage enables the model to establish a strong wireless decision-making workflow that synthesizes executable decisions from the structured tool enhancement context.
[0014] S3. Target Alignment Phase Based on Group Relative Policy Optimization (GRPO): For the tool enhancement context, multiple candidate link allocation schemes are sampled from the current model policy. Each candidate allocation scheme is evaluated using a reward function that simultaneously considers system throughput utility, output format validity, and protocol constraint feasibility. The format validity indicator verifies whether the output allocation scheme conforms to the channel allocation configuration format resolvable by the radio network controller. The protocol feasibility indicator verifies whether the allocation scheme meets objective communication constraints such as Wi-Fi 7 MLD link protocol constraints, frequency band channel occupancy constraints, and STA link quantity constraints. The normalization advantage is calculated for each group of multiple candidates, and the model policy is optimized using a pruned GRPO objective function with a KL divergence penalty term. The KL divergence penalty term constrains the updated policy to not deviate from the reference policy learned in the cold start phase, ensuring optimization stability.
[0015] S4. Deployment and Inference Phase: The controller acquires the current wireless network status and generates a structured instance; the trained lightweight LLM agent receives the structured instance, calls domain tools to execute tool-enhanced inference trajectories, and generates an executable multi-link operation channel allocation decision that satisfies protocol constraints, which is then directly executed by the controller.
[0016] In step S1, the structured instructions are organized using an LLM dialogue template and include system instructions, JSON-formatted user messages, and scripting tool call prefixes; or they can be serialized in a machine-parseable format such as pure JSON or a domain-specific language.
[0017] In step S2, the controlled tool enhancement trajectory is called sequentially according to a fixed workflow order: distance calculation tool, conflict map construction tool, conflict intensity summary tool, load planning tool, initial group allocation tool, and unassigned identification tool. The tool calls are stopped before the final decision is generated.
[0018] In step S2, the parameter efficient supervision and fine-tuning adopts QLoRA; or adopts Adapter or PrefixTuning.
[0019] In step S3, the reward function is obtained by weighted summation of the throughput utility item, the format validity indicator item, and the protocol feasibility indicator item. The throughput utility item is normalized to the interval [0,1] to characterize the system throughput performance of the allocation scheme. The format validity indicator item is 1 when the allocation scheme meets the preset output format, and 0 otherwise. The protocol feasibility indicator item is 1 when the allocation scheme meets all protocol constraints, and 0 otherwise.
[0020] In step S3, the group relative policy optimization (GRPO) target alignment stage can be replaced by PPO or DPO policy optimization; the reward function can add fairness, energy consumption or latency indicators as additional reward components, or it can only retain the throughput utility term.
[0021] In steps S2 and S3, the lightweight LLM is Llama-3.1-8B; or a small-parameter, large-language model with instruction following capability is selected from the Qwen, Mistral, or Phi series.
[0022] The method described in this invention can be applied to Wi-Fi 7 multi-link channel allocation; or to 5G / 6G power control, beamforming, resource scheduling, spectrum access control, and O-RAN network orchestration tasks.
[0023] This invention provides a lightweight edge-side agent workflow alignment training system for complex wireless networks, used to implement the training method described above; the system includes a network state acquisition and task interface alignment module, a tool enhancement cold start supervision module, a GRPO target alignment training module, an inference decision and channel allocation module, and a domain tool library module;
[0024] The network status acquisition and task interface alignment module is used to acquire the wireless network status and serialize it into structured instruction instances through a task formatter.
[0025] The tool enhancement cold start supervision module is used to acquire the domain tool library, execute tool enhancement trajectories, filter high-quality samples according to the throughput threshold, and fine-tune the training model with QLoRA supervision to learn executable decision-making workflows.
[0026] The GRPO target alignment training module is used to further optimize the strategy based on cold start supervision by using GRPO with three rewards: throughput utility, format validity and protocol feasibility, thus pushing the model from workflow imitation to utility-driven decision-making.
[0027] The inference decision and channel allocation module is used to accept structured instances during deployment and generate executable multi-link operation channel allocations through tool-enhanced inference trajectories;
[0028] The domain tool library module provides distance calculation tools, conflict graph construction tools, conflict intensity summarization tools, load planning tools, initial group allocation tools, and unassigned identification tools, which are respectively called by the tool enhancement cold start supervision module, GRPO target alignment training module, and inference decision and channel allocation module during training and inference.
[0029] Furthermore, the domain tool library module supports the model to autonomously select the timing and type of tool invocation; or, the domain tools are invoked sequentially in a preset fixed order.
[0030] Compared with the prior art, the present invention has the following outstanding technical effects and advantages:
[0031] ① Superior System Throughput Performance: This invention enhances the inference mechanism through structured task interfaces and tools, enabling the lightweight large language model to accurately acquire wireless network status information and complete multi-step resource inference. In the Wi-Fi 7 multi-link operation channel allocation task, the Llama-3.1-8B agent trained with CoWA aligned by the cold-start workflow achieves an average throughput of 293.5 Mbps, which is better than the baseline large language model GPT-5.2 (291.8 Mbps) based on cueing engineering simulation. Its performance is close to the BAI-MCTS search optimization algorithm (297.2 Mbps) that fuses optimal arm recognition (BAI) and Monte Carlo tree search (MCTS), achieving high-level resource allocation performance with a small parameter model.
[0032] ② Higher inference execution efficiency: This invention solidifies the wireless resource calculation logic into callable operators through a domain toolkit, eliminating the need for the model to re-derive resource allocation logic using long text prompts during the inference phase. Combined with group relative strategy optimization (GRPO) training, a structured inference path from network state to channel decision is formed. The CoWA scheme achieves an average inference time of 36.50 seconds, approximately 2.69 times faster than the simulation model GPT-5.2's 98.15 seconds, effectively reducing channel allocation decision latency.
[0033] ③ Enhanced reliability of output: This invention introduces a protocol feasibility reward during the training phase and forces the model to complete inference along a fixed tool call workflow. This constrains the model output to meet wireless communication protocol constraints, ensures standardized and parsable output formats, and allows the generated channel allocation scheme to be directly executed by the controller. Ablation experiments confirm that the Group Relative Policy Optimization (GRPO) module and tool enhancement mechanism collaboratively constrain model decisions, reducing ineffective and conflicting resource allocation schemes and avoiding system instability and performance loss caused by infeasible configurations.
[0034] ④ Better cross-scenario generalization ability: This invention adopts a protocol-aware composite reward and structured inference paradigm to reduce the model's overfitting to the network topology and size distribution within the training samples. In network size scenarios not encountered during the training phase, the model throughput fluctuates less, and the overall throughput standard deviation, coefficient of variation, and cross-scenario throughput standard deviation are all better than the simulation baseline GPT-5.2. Structured inference and protocol-aware rewards reduce the sensitivity of the model output to changes in random seeds and network size, adapting to diverse wireless network deployment scenarios.
[0035] ⑤ Lower training and deployment costs: This invention adopts a two-stage training framework combining tool-enhanced cold-start supervised pre-training with population relative policy optimization (GRPO). It can complete the domain adaptation of a lightweight large language model with only a small number of domain samples, without having to conduct trial and error search for each new network instance. The training process can be completed with only a single NVIDIA H100 80GBHBM3 graphics processor, which significantly reduces the training computing power threshold and is suitable for edge network deployment scenarios with limited computing power resources. Attached Figure Description
[0036] Figure 1 This is a flowchart of a lightweight end-side intelligent agent workflow alignment training method for complex wireless networks in an embodiment of the present invention.
[0037] Figure 2 This is a schematic diagram of the lightweight edge-side intelligent agent workflow alignment training system for complex wireless networks in an embodiment of the present invention. In this diagram, 100 is the network state acquisition and task interface alignment module, 200 is the tool enhancement cold start supervision module, 300 is the GRPO target alignment training module, 400 is the inference decision and channel allocation module, and 500 is the domain tool library module. Detailed Implementation
[0038] The present invention will now be described in further detail with reference to the accompanying drawings. Those skilled in the art should understand that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0039] This embodiment proposes a Cold-start Workflow Alignment (CoWA) framework, which adapts a lightweight general-purpose LLM into an executable intelligent agent for constrained wireless optimization. It uses Wi-Fi 7 multi-link operation channel allocation as the wireless optimization task scenario, and selects Llama-3.1-8B as the backbone lightweight LLM.
[0040] Figure 1 This is a flowchart of a lightweight edge-side intelligent agent workflow alignment training method for complex wireless networks, as described in an embodiment of the present invention. The present invention includes the following steps:
[0041] S10: Task and Interface Alignment Phase.
[0042] S11: Obtain the wireless network status s. The wireless network status s includes: M Basic Service Sets (BSS), each BSS containing one Access Point Multi-Link Device (AP-MLD) and several Station Multi-Link Devices (STA-MLD); the wireless network status s also includes the location coordinates of the Access Point (AP) and the Station (STA). , ,in, For the first The location coordinates of each AP; For AP set; For the first The location coordinates of each STA; Set of STAs; Set of available frequency bands GHz and channel pools for each frequency band Maximum number of active links per STA (L); carrier sensing radius for each frequency band. wait.
[0043] S12: Serialize the raw state into structured instruction instances using the task formatter g(·). .in For the set of task constraints (including at most one link per frequency band) Each STA has at most L links At least one link per STA ); This is a collection of callable domain tools (see step S20). Define the output mode (define the resolvable channel-STA allocation format) In the formula, Assign a format to the channel-STA; For frequency band; A set of available frequency bands; For channels; frequency band The corresponding channel pool; To be allocated to the channel The STA set; (The STA set in instance i).
[0044] S13: Output structured instructions. These instructions are organized using an LLM dialogue template and include system commands, JSON-formatted user messages, and scripting tool prefixes, making the lightweight instructions readable by the LLM for wireless tasks and allowing the deployment controller to parse their responses.
[0045] S20: Tool enhancement cold start monitoring phase.
[0046] S21: Building Domain Toolkits The functions of each tool are as follows:
[0047] Distance calculation tool Used to calculate the pairwise Euclidean distance matrix between all APs and STAs. Conflict graph construction tool. This tool is used to determine the competition relationship between STA pairs on the same channel based on the carrier sensing radius of each frequency band and to construct a collision map. It also includes a collision intensity summary tool. Used to summarize the collision intensity metrics for each channel. Load planning tool. Used to plan the expected load distribution for each channel. Initial packet allocation tool. Used to filter and assign initial STA groups for each channel. No identification tool assigned. Used to identify STAs that have not yet been assigned any links.
[0048] The aforementioned tools explicitly expose intermediate quantities such as distance, collision relationships, and load, which originally required implicit inference in lightweight LLM, as callable operators, transforming channel allocation into a structured tool that enhances the decision-making task.
[0049] S22: For each structured instance Execute controlled tool enhanced trajectory . Includes tool calls on the assistant side and corresponding tool observation results. A collection of callable domain tools. The trajectory executes sequentially along a fixed workflow: distance calculation tool. →Conflict Graph Building Tool → Conflict Intensity Summary Tool →Load planning tools →Initial group assignment tool →Unassigned identification tools After all preset tool calls have been executed, the tool calls are terminated, and the final decision is generated.
[0050] S23: By throughput threshold Screen for high-quality samples. Indicates the state Sub-allocation The measured total throughput, Indicates the throughput of the reference strategy. Only when ( Samples are retained if the threshold is ∈ (0,1]. The filtered data constitutes the cold start dataset. ,in, For the first Example of a structured instruction; For the first The tool-enhanced trajectory corresponding to each sample To conform to the output mode Target allocation, This represents the total number of samples in the cold start dataset.
[0051] S24: Supervised fine-tuning is performed using efficient QLoRA parameter tuning. The training objective function is:
[0052]
[0053] This phase enables the model to build a robust wireless decision-making workflow that synthesizes executable decisions from the context enhanced by structured tools.
[0054] The parameters to be optimized for a lightweight large language model; For parameters The distribution of model strategies; For the model in a given structured instruction instance Enhanced trajectory with tools Output target allocation scheme under certain conditions The probability of.
[0055] S30: Target alignment phase based on Group Relative Policy Optimization (GRPO).
[0056] Cold start supervision has given the model an effective task workflow, but simple imitation learning is limited by the quality and coverage of supervised examples. Therefore, GRPO is introduced to further align the wireless optimization objectives.
[0057] S31: Enhance the context for each tool Sample G candidate assignments from the current strategy ; For the first Example of a structured instruction; For the first The tool augmentation trajectory corresponding to each sample; G is the total number of candidate assignment schemes for a single context downsampling. In the first The tool enhances contextual downsampling to obtain the first... One candidate allocation scheme; For parameters The model in a given structured instruction instance Enhanced trajectory with tools Policy distribution under given conditions;
[0058] S32: Evaluate each candidate using a reward function. The reward is defined as:
[0059] .
[0060] in, The utility score, obtained by normalizing the measured total throughput, reflects the system-level performance of the allocation. ∈ [0,1]; : This is a format validity indicator if and only if the generated allocation satisfies the required output format. The value is 1 if it is active, and 0 otherwise. : A protocol feasibility indicator is defined if and only if the generated allocation belongs to the set of feasible actions in the current state. The value is 1 when all protocol constraints are satisfied, and 0 otherwise. This is an indicator function. The weighting factor is used to balance the three contributions. This reward design reflects the practical needs of wireless control: a response is only valuable if it simultaneously possesses high throughput, correct format, and protocol feasibility.
[0061] S33: Calculate the relative advantage within each group. Calculate the normalized advantage value for each of the G candidates in each group:
[0062]
[0063] in, The normalized advantage value is the k-th candidate allocation scheme within the i-th group; Let $\frac{k}{i}$ be the reward value for the $k$-th candidate allocation scheme within the $i$-th group. Let G be the average reward of all G candidate solutions in the i-th group; Let be the standard deviation of the rewards for all G candidate solutions in the i-th group; Small constants to ensure numerical stability. Subscript This means that the mean and standard deviation are calculated by iterating over all candidates in this group.
[0064] S34: Optimize the GRPO objective function for pruning. Define the strategy ratio. , The strategy ratio corresponding to the k-th candidate allocation scheme in the i-th group represents the probability ratio of the current strategy relative to the cold start strategy. For parameters The corresponding current model policy distribution; This is the distribution of reference strategies obtained during the cold start phase; This represents the k-th candidate allocation scheme within the i-th group; This is an instance of the i-th structured instruction; The tool augmentation trajectory is generated for the i-th sample.
[0065] The optimization objective is: ,in, Optimize the objective loss function for GRPO; To calculate the expected value at sample index i and candidate index k; is the normalized advantage value of the k-th candidate allocation scheme in the i-th group; clip(·) is the clipping function used to limit the fluctuation range of the strategy ratio; This is the cutting factor. The weights are the KL divergence penalty weights. The KL divergence between the current strategy and the cold start reference strategy; This serves as a reference strategy for the cold start phase. The KL term prevents the strategy from deviating too far from the cold start prior, ensuring optimization stability.
[0066] This phase moves the model from workflow imitation to utility-driven policy improvement, enabling its executable decisions to better align with the actual optimization objectives of multi-link operational channel allocation.
[0067] S40: Deployment inference phase.
[0068] The deployment inference process is as follows: The controller obtains the current wireless network status. → A structured instance is generated by the task and interface alignment module. → Fine-tuned CoWA agent reception The trailing edge tool enhances the inference trajectory (including tool invocation, tool observation, and deep inference steps) to generate the final executable multi-link operation channel allocation. ,satisfy It can be executed directly by the controller. Compared to traditional optimization algorithms, the entire inference process avoids multiple interactive explorations, and the latency and cost are significantly lower than cloud-based large model hint methods.
[0069] Furthermore, a lightweight edge-side agent workflow alignment training method for complex wireless networks is also provided. For example... Figure 2 As shown, the system includes a network status acquisition and task interface alignment module 100, a tool enhancement cold start supervision module 200, a GRPO target alignment training module 300, an inference decision and channel allocation module 400, and a domain tool library module 500.
[0070] The network status acquisition and task interface alignment module 100 is used to acquire the wireless network status and serialize it into structured instruction instances using a task formatter. .
[0071] The tool enhancement cold start monitoring module 200 is used to acquire domain tool libraries. Execution tools enhance trajectory High-quality samples are selected based on throughput thresholds, and the training model is fine-tuned using QLoRA supervision to learn an executable decision-making workflow.
[0072] The GRPO target alignment training module 300 is used to further optimize the strategy based on cold start supervision by using GRPO with three rewards: throughput utility, format validity, and protocol feasibility, thus pushing the model from workflow imitation to utility-driven decision-making.
[0073] The inference decision and channel allocation module 400 is used to accept structured instances during deployment, and generate executable multi-link operation channel allocations through tool-enhanced inference trajectories. ( );in, For the generated multi-link operation channel allocation scheme; Wireless network status The corresponding set of possible actions represents the set of legal channel allocation schemes that satisfy all protocol constraints.
[0074] The domain tool library module 500 is used to provide distance calculation tools. Conflict graph building tools Conflict Intensity Summary Tool Load planning tools Initial group assignment tool Unassigned identification tools There are six domain tools, which can be used by modules 200, 300, and 400 during training and inference.
[0075] This embodiment mainly includes four core technical points, which respectively solve the defects of existing technologies such as interface gap, workflow gap, target gap and high deployment cost.
[0076] 1. Align structured tasks with interfaces:
[0077] This key point addresses the interface gap, specifically the mismatch between natural language input and structured wireless state information. A task formatter transforms raw wireless network state information (including AP / STA locations, channel pools, constraints, etc.) into structured instructions containing optimization objectives, network status, available tools, task constraints, and output patterns. This facilitates the reading of task information by lightweight large language models (LLMs) and ensures that the deployment controller can parse the model's output response.
[0078] 2. Domain toolkit and tools enhance cold start supervision:
[0079] This approach addresses the workflow gap, specifically the lack of a reliable workflow for multi-step decision-making processes. It encapsulates intermediate computations such as distance matrix solving, conflict graph construction, conflict intensity aggregation, channel load planning, initial packet allocation, and unassigned STA identification into callable operators. The training model follows a fixed workflow sequence: distance calculation tool, conflict graph construction tool, conflict intensity aggregation tool, load planning tool, initial packet allocation tool, and unassigned STA identification tool. This enhanced inference, rather than simply learning the final decision result, significantly improves the protocol constraint satisfaction rate and long-term decision consistency of the solution.
[0080] 3. Multi-objective reward alignment based on Group Relative Policy Optimization (GRPO):
[0081] This approach addresses the target gap, specifically the mismatch between the text generation fluency target and the system-level optimization performance of wireless networks. It constructs a composite reward function that integrates throughput utility, format validity, and protocol feasibility to replace simple imitation learning. Furthermore, it leverages the relative advantage within groups and pruning mechanisms of Group Relative Policy Optimization (GRPO) to iteratively optimize model strategies, reducing the dependence of training effectiveness on the quality of cold-start samples and improving the performance of the wireless network system as well as the executability of the model's output scheme.
[0082] 4. Lightweight end-to-end adaptation framework:
[0083] This approach addresses the technical drawback of high deployment costs and overcomes the shortcomings of existing solutions that rely on large cloud models or instance-by-instance search optimization. It requires only a small number of domain samples to adapt a lightweight large language model (LLM), eliminating the need for trial-and-error searches for each new network instance; inference latency is significantly reduced compared to large cloud models, making it more suitable for edge deployment under limited interaction budgets.
[0084] Experimental verification and result analysis:
[0085] To verify the performance of the proposed Cold-start Workflow Alignment (CoWA) framework, a simulation experiment was conducted using the Wi-Fi 7 multi-link operation channel allocation task. This experiment used Llama-3.1-8B as the lightweight large language model backbone; the baselines included: the simulation baseline GPT-5.2 deployed using prompting engineering, and the BAI-MCTS search optimization algorithm which integrates Best-Arm Identification (BAI) and Monte Carlo Tree Search (MCTS).
[0086] The main experimental test results are as follows: In the Wi-Fi 7 multi-link operation channel allocation scenario, the Llama-3.1-8B agent, finely tuned with the CoWA framework, achieved an average throughput of 293.5 Mbps. This throughput is higher than the simulation baseline GPT-5.2's 291.8 Mbps and close to the BAI-MCTS algorithm's 297.2 Mbps. Inference time test results show that the CoWA solution has an average inference time of 36.50 seconds, while the simulation baseline GPT-5.2 has an average inference time of 98.15 seconds, achieving approximately 2.69 times faster inference. This efficiency improvement is due to the lightweight backbone model's elimination of the need for long free text prompts to re-derive resource allocation logic during the inference phase; the enhanced tool interface and Group Relative Policy Optimization (GRPO) training strategy, which construct a structured inference path from the wireless network state directly to the channel allocation decision.
[0087] To verify the necessity of the core module of this invention, ablation experiments were conducted, and the observed indicators included the number of unassigned STAs and the number of conflicting STA pairs. After removing the GRPO module, the number of unassigned STAs increased from 0.050 to 1.125; after removing the tool enhancement mechanism, the number of conflicting STA pairs increased from 26.917 to 55.608. The experimental results show that the GRPO module and the tool enhancement mechanism work synergistically to ensure that the model output scheme meets the protocol constraints and the output format is parseable. The output results can be directly executed by the controller, avoiding system instability and performance loss caused by infeasible configurations.
[0088] Cross-scale generalization tests were conducted to evaluate model performance in unfamiliar network scale scenarios not used during training. The overall standard deviation of the CoWA scheme's throughput was 24.2 Mbps, lower than the simulation baseline GPT-5.2's 25.5 Mbps; the throughput coefficient of variation was 7.83%, lower than the simulation baseline GPT-5.2's 8.23%; and the cross-scenario throughput standard deviation was 14.2 Mbps, lower than the simulation baseline GPT-5.2's 15.1 Mbps. These results indicate that structured reasoning and protocol-aware reward design reduce the model output's sensitivity to random seed and network size changes, demonstrating good cross-scenario generalization ability.
[0089] Training resource overhead tests show that this embodiment only requires 750 domain samples to complete the supervised fine-tuning and GRPO two-stage training of Llama-3.1-8B; all training tasks can be completed on a single NVIDIA H100 80GB HBM3 graphics processor, which can adapt to engineering deployment scenarios with limited computing resources.
[0090] Experiments demonstrate that this invention provides a resource scheduling and control method for multi-link hardware resource allocation in wireless networks. By quantifying and calculating wireless link spatial conflicts and channel load using domain tool operators, it outputs channel allocation configuration instructions that can be directly executed by the wireless network controller. This method allocates and regulates wireless network hardware resources, solving the technical problems of wireless network resource allocation and resulting in improved wireless communication throughput, reduced decision latency, and increased constraint satisfaction rate. This invention can be applied to Wi-Fi 7 multi-link channel allocation scenarios, or to 5G / 6G power control, beamforming, wireless resource block scheduling, spectrum access control, O-RAN network orchestration, millimeter-wave communication resource management, V2X wireless resource allocation in vehicle-to-everything (V2X) networks, and industrial wireless sensor network resource scheduling scenarios.
[0091] The above embodiments are merely exemplary embodiments of the present invention and should not be construed as limiting the scope of protection of the present invention. The Basic Service Set (BSS), Access Point Multilink Device (AP-MLD), Site Multilink Device (STA-MLD), and link quantity constraints described in the embodiments are merely preferred implementations of the present invention in the Wi-Fi 7 multilink channel allocation scenario, and are not essential technical features for implementing the training method of the present invention. This method can also be applied to other wireless network resource scheduling scenarios without this specific hardware and constraints. Any simple modifications, equivalent changes, and alterations made based on the technical essence of the present invention fall within the protection scope defined by the claims of the present invention.
Claims
1. A lightweight edge-side agent workflow alignment training method for complex wireless networks, characterized in that, Includes the following steps: S10: Task and interface alignment phase. Obtain the wireless network status, serialize the wireless network status into structured instruction instances through the task formatter, and output structured instructions for the lightweight large language model to read and for the deployment controller to parse. S20: The tool enhancement cold start supervision stage involves building a domain tool library containing various wireless domain operators, executing controlled tool enhancement trajectories for each structured instruction instance in a fixed order, selecting high-quality samples based on throughput thresholds to form a cold start dataset, and using QLoRA parameters for efficient fine-tuning to conduct supervised fine-tuning, enabling the model to learn from the tool enhancement context to generate executable wireless resource decisions in a workflow. S30: The target alignment stage of GRPO optimization based on group relative strategy is to sample multiple candidate resource allocation schemes based on the current strategy in the context of tool enhancement, evaluate the candidate schemes using a composite reward function that integrates throughput utility, format validity, and protocol feasibility, calculate the relative advantage within the group, optimize the strategy based on the pruned GRPO objective function with KL divergence penalty, and iterate the model from workflow imitation learning to utility-driven decision model. S40: During the deployment inference phase, the controller acquires the real-time wireless network status, generates structured instances through task and interface alignment, and the trained lightweight edge agent generates wireless resource allocation decisions directly executed by the controller along the tool-enhanced inference trajectory.
2. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, The S10 task and interface alignment phase specifically includes: S11: Obtain the wireless network status s, which includes: M Basic Service Sets (BSS), each BSS containing one Access Point Multilink Device (AP-MLD) and several Site Multilink Devices (STA-MLD); the wireless network status s also includes the location coordinates of the Access Point (AP) and the Site (STA) , Available frequency bands GHz and channel pools for each frequency band Maximum number of active links L per STA; carrier sensing radius for each frequency band. ; S12: Serialize the raw state into structured instruction instances using the task formatter g(·). ;in The set of task constraints includes at most one link per frequency band. Each STA has at most L links At least one link per STA ; A collection of callable domain tools; Define a resolvable channel-STA allocation format for the output mode. ; S13: Outputs structured instructions organized in an LLM dialogue template, containing system instructions, JSON-formatted user messages, and scripted tool prefixes, making the lightweight instructions readable by the wireless task following the LLM, and the deployment controller able to parse its responses.
3. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, The domain toolkit includes at least a distance calculation tool, a conflict graph construction tool, a conflict intensity summary tool, a load planning tool, an initial grouping and allocation tool, and an unassigned identification tool. The controlled tool enhancement trajectory in the fixed order is executed sequentially as follows: distance calculation tool, conflict graph construction tool, conflict intensity summary tool, load planning tool, initial group allocation tool, and unallocated identification tool. The tool calls are terminated before the final resource allocation decision round is output.
4. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, The method for filtering high-quality samples based on throughput threshold is as follows: Let Indicates the state Sub-allocation The measured total throughput, Indicates the throughput of the reference strategy; only when The sample should be retained at that time. ∈(0,1] is the filtering threshold; the filtered data constitutes the cold start dataset. ,in To conform to the output mode Target allocation.
5. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, Each candidate is evaluated using a reward function, which is: in, The utility score, obtained by normalizing the measured total throughput, reflects the system-level performance of the allocation. ∈[0,1]; : Format validity indicator, if and only if the generated allocation meets the required output format. The value is 1 when the time is right, and 0 otherwise. : Protocol feasibility indicator if and only if the generated allocation belongs to the set of feasible actions in the current state. The value is 1 when the time is right, and 0 otherwise. These are weighting coefficients used to balance the three contributions.
6. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, The calculation of relative advantage within a group includes: calculating a normalized advantage value for each of the G candidate allocation schemes in the group; in To ensure numerical stability; Optimize the GRPO objective function for pruning; define the strategy ratio. The optimization objective is: where clip(·) is the clipping function. This is the cutting factor. The weights are the KL divergence penalty weights. This serves as a reference strategy for the cold start phase; the KL term prevents the strategy from deviating too far from the cold start prior, ensuring optimization stability.
7. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, The QLoRA parameter efficient fine-tuning method is replaced by the Adapter or Prefix Tuning parameter efficient fine-tuning method.
8. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, When the group relative strategy optimization GRPO is replaced with PPO or DPO strategy optimization, the core framework of structured task interface, domain tool library, tool-enhanced cold start supervision, and composite reward function is used to achieve the same workflow alignment goal. The composite reward function can selectively add fairness, energy consumption or latency indicators as additional reward components, or only retain throughput utility as a reward component.
9. The lightweight edge-side intelligent agent workflow alignment training method according to claim 1, characterized in that, The lightweight large language model is selected from the Llama, Qwen, Mistral, and Phi series of small-parameter large language models with instruction following capabilities.
10. A lightweight edge-side agent workflow alignment training system for complex wireless networks, characterized in that, For performing the training method according to any one of claims 1 to 9, comprising: The network status acquisition and task interface alignment module is used to acquire the wireless network status and serialize the wireless network status into structured instruction instances through the task formatter. The tool enhancement cold start supervision module is used to call the domain tool library to execute tool enhancement trajectories, filter high-quality samples according to throughput thresholds, and fine-tune the training model with QLoRA supervision to learn executable decision workflows. The GRPO target alignment training module is used to optimize the model strategy based on cold start supervision, through the GRPO reward optimization strategy based on three factors: throughput utility, format validity and protocol feasibility. This enables the model to iterate from workflow imitation learning to a utility-driven decision model. The inference decision and channel allocation module is used to receive structured instances during the deployment phase and generate an executable wireless resource allocation scheme along the tool-enhanced inference trajectory. The domain tool library module provides tools for distance calculation, conflict graph construction, conflict intensity summarization, load planning, initial packet allocation, and unassigned identification, which are then called by the tool enhancement cold start supervision module, GRPO target alignment training module, and inference decision and channel allocation module during training and inference. The network state acquisition and task interface alignment module outputs structured instructions to the tool enhancement cold start supervision module, GRPO target alignment training module, and inference decision and channel allocation module, and the domain tool library module provides tool call interfaces to the aforementioned modules.
