Training method, device and computer program product of wireless base station model for nonlinear precoding task

By embedding and encoding channel state information through a two-stage training method to form a base model, the problem of high computational complexity in existing technologies is solved, and efficient multi-user nonlinear coding task processing and signal detection are achieved, expanding the applicable scenarios.

CN123164475APending Publication Date: 2026-11-24PEKING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611235107.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, nonlinear precoding and signal detection have high computational complexity and can only be applied when the number of user-equipped antennas is equal to the number of data streams transmitted by the base station, resulting in poor task processing performance.

Method used

A two-stage training method is adopted. First, the channel state information is embedded and encoded through a preprocessing module, an encoder, and a multi-task output module to form a base model. Then, the model is trained through a neural network to reduce computational complexity and expand the applicable scenarios, thereby achieving joint optimization of the precoding matrix and user sorting.

Benefits of technology

It reduces computational overhead and latency, expands the applicable channel scenarios, improves the processing performance of the base model, and enables efficient processing of multi-user nonlinear coding tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164475A_ABST
    Figure CN123164475A_ABST
Patent Text Reader

Abstract

This application relates to a training method, apparatus, and computer program product for a wireless base station model for nonlinear precoding tasks. The method includes: acquiring sample channel state information from the base station antenna side and the user equipment antenna side; processing this information through a preprocessing module, an encoder, the task type of the nonlinear precoding task, and a reconstruction sub-output module to obtain reconstructed data; and then performing a first-stage training and a second-stage training on the base station model to obtain a second base station model that meets the conditions for completing the precoding task training. By employing this method, efficient processing of multi-user nonlinear coding tasks can be achieved based on neural networks, avoiding the limitations imposed by the number of antennas configured per user and the amount of data stream transmission between the user equipment and the base station. This expands the applicable channel scenarios and communication systems of the second base station model and also reduces the computational overhead and latency of the task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a training method, apparatus, and computer program product for a wireless base model for nonlinear precoding tasks. Background Technology

[0002] Multiple-User Multiple-Input Multiple-Output (MU-MIMO) technology is a key technology in 5G mobile communication systems. Currently, the trend is towards Massive MIMO with large-scale antenna arrays deployed in base stations. In MU-MIMO systems, base stations simultaneously serve multiple geographically distributed User Equipment (UE) on the same frequency. During downlink transmission, the base station needs to use precoding techniques to suppress multi-user interference and improve the system's spectral efficiency. During uplink transmission, the base station needs to use signal detection techniques to distinguish signals from different users and accurately recover transmitted data, reducing the bit error rate. Nonlinear precoding and signal detection, because they directly perform more refined processing on each data point, typically outperform linear methods and are key technologies for improving system performance. Related technologies generally use model-driven schemes to implement nonlinear precoding and nonlinear signal detection. However, model-driven schemes can only be applied when the number of user-equipped antennas equals the number of data streams transmitted by the base station, and their high computational complexity leads to poor task processing performance. Summary of the Invention

[0003] Therefore, it is necessary to provide a training method, apparatus, and computer program product for wireless base station models for nonlinear precoding tasks that can reduce computational complexity and improve applicability to the above-mentioned technical problems.

[0004] In a first aspect, this application provides a training method for a wireless base model for nonlinear precoding tasks. The base model includes at least a preprocessing module, an encoder, and a multi-task output module. The multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module. The method includes:

[0005] Obtain sample channel state information from the base station antenna side and the user equipment antenna side;

[0006] The sample channel state information is embedded and encoded using the preprocessing module, the encoder, and the task type of the nonlinear precoding task to obtain the first output word.

[0007] The first output lexical unit is processed by the reconstruction sub-output module to obtain reconstruction data. Based on the reconstruction data and the sample channel state information, the base model is trained in the first stage to obtain a first base model that meets the initial training completion conditions.

[0008] Based on the sample channel state information and the sorting sub-output module and the precoding sub-output module, the first base model is trained in the second stage to obtain a second base model that meets the training completion conditions of the precoding task.

[0009] In some embodiments, the encoder includes at least one expert co-coding module; the multi-task output module further includes a detection sub-output module; the method further includes:

[0010] Based on the sample channel state information, the expert joint coding module located at the end of the encoder in the second base model, and the detection sub-output module, the second base model is trained in a preset fine-tuning stage to obtain a target base model that meets the training completion conditions of the detection task.

[0011] In some embodiments, the preprocessing module includes a lexical embedding module and a masking module; the encoder includes a user-configured embedding module and at least one expert joint coding module; the embedding and coding process performed on the sample channel state information through the preprocessing module, the encoder, and the task type of the nonlinear precoding task to obtain the first output lexical includes:

[0012] In the lexical embedding module, the sample channel state information is segmented and embedded to obtain an initial channel state lexical sequence. The initial channel state lexical sequence is then concatenated with a preset learnable vector to obtain a target channel state lexical sequence.

[0013] In the masking module, the target channel state word sequence is masked based on the masking operation and masking ratio corresponding to the type of the nonlinear precoding task to obtain the input word sequence.

[0014] The user-configured embedding module in the encoder performs embedding encoding on the input word sequence based on the user-configured embedding vector, the system-configured embedding vector, and the preset position encoding vector to obtain the first input word; the user-configured embedding vector is determined based on multiple learnable vectors.

[0015] Based on the first input lexical unit and the multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the first output lexical unit vector, and the first output lexical unit vector is determined as the first output lexical unit.

[0016] In some embodiments, the step of performing a first-stage training on the pedestal model based on the reconstructed data and the sample channel state information to obtain a first pedestal model that meets the initial training completion conditions includes:

[0017] The mean square error is calculated based on the sample channel state information and the reconstructed data to obtain channel reconstruction loss data; the load balancing loss data is calculated based on the sample channel state information and the expert model routing ratio corresponding to the expert joint coding module.

[0018] The channel reconstruction loss data and the load balancing loss data are weighted and processed to obtain the first-stage training loss data. The model parameters of the base model are then updated using the first-stage training loss data until the first base model that meets the initial training completion conditions is obtained.

[0019] In some embodiments, the second-stage training of the first base model based on the sample channel state information and the sorting sub-output module and the precoding sub-output module to obtain a second base model that meets the precoding task training completion conditions includes:

[0020] The preprocessing module includes a lexical embedding module, which performs block processing and embedding processing on the sample channel state information to obtain an initial channel state lexical sequence. The initial channel state lexical sequence is then concatenated with a preset learnable vector to obtain a target channel state lexical sequence.

[0021] In the user configuration embedding module of the encoder, the target channel state word sequence is embedded and encoded based on the user configuration embedding vector, the system configuration embedding vector, and the preset position encoding vector to obtain the second input word.

[0022] Based on the second input lexical unit and multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the second output lexical unit vector;

[0023] The second output word vector is processed by the sorting sub-output module, the feedforward precoding sub-module included in the precoding sub-output module, and the feedback precoding sub-module to obtain the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector. Based on the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector, a second base model that meets the training completion conditions of the precoding task is obtained.

[0024] In some embodiments, the processing based on the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector to obtain a second base model that satisfies the training completion conditions of the precoding task includes:

[0025] Based on the prediction feedforward precoding matrix and the prediction feedback precoding matrix, an equivalent precoding matrix is ​​generated.

[0026] Based on the equivalent precoding matrix and channel matrix data, frequency efficiency loss data is calculated. If the frequency efficiency loss data does not meet the precoding task training completion conditions, second-stage training loss data is obtained based on the prediction feedforward precoding matrix, prediction feedback precoding matrix, prediction user ranking probability vector, and their corresponding real label data. The model parameters of the first base model are updated using the second-stage training loss data until a second base model that meets the precoding task training completion conditions is obtained.

[0027] In some embodiments, the step of training the second base model in a preset fine-tuning phase based on the sample channel state information, the expert co-coding module located at the end of the encoder in the second base model, and the detection sub-output module to obtain a target base model that meets the training completion conditions of the detection task includes:

[0028] Based on the sample channel state information, fine-tuned channel state information is obtained by filtering.

[0029] The fine-tuned channel state information is processed by the preprocessing module and encoder in the second base model to obtain the third output word vector;

[0030] The third output word vector is processed by the feedforward detection submodule and the feedback detection submodule included in the detection sub-output module to obtain the prediction feedforward detection matrix and the prediction feedback detection matrix.

[0031] The true feedforward detection matrix and the true feedback detection matrix are calculated based on the preset interference cancellation algorithm. Based on the predicted feedforward detection matrix, the predicted feedback detection matrix, the true feedforward detection matrix, and the true feedback detection matrix, fine-tuning training loss data is obtained. The model parameters of the expert joint coding module at the end of the encoder in the second base model and the detection sub-output module are updated using the fine-tuning training loss data to obtain the target base model that meets the training completion conditions of the detection task.

[0032] In some embodiments, the method further includes:

[0033] Acquire the inference data for a multi-user nonlinear precoding task. The inference data includes a total channel matrix, which is obtained by splicing the real-time channel state information of each user equipment based on the dimension of the receiving antenna of the user equipment.

[0034] In the second base model or the target base model, the total channel matrix is ​​divided into blocks and embedded through the word embedding module to obtain an initial channel state word sequence. The initial channel state word sequence is then concatenated with a preset learnable vector to obtain an inference channel state word sequence.

[0035] The user configuration embedding module in the encoder performs embedding encoding on the inference channel state word sequence based on the user configuration embedding vector, the system configuration embedding vector, and the preset position encoding vector to obtain inference input words; the user configuration embedding vector is determined based on multiple learnable vectors.

[0036] Based on the inference input lexical units and the multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the inference output lexical unit sequence;

[0037] The ordering sub-output module and the precoding sub-output module, which includes a feedforward precoding sub-module and a feedback precoding sub-module, process the inference output word sequence to obtain the feedforward precoding matrix, the feedback precoding matrix, and the user ordering probability vector.

[0038] Secondly, this application also provides a training apparatus for a wireless base model for nonlinear precoding tasks. The base model includes at least a preprocessing module, an encoder, and a multi-task output module. The multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module. The apparatus includes:

[0039] The acquisition unit is used to acquire sample channel state information from the base station antenna side and the user equipment antenna side;

[0040] The encoding unit is used to perform embedding encoding processing on the sample channel state information through the preprocessing module, the encoder, and the task type of the nonlinear precoding task to obtain the first output word.

[0041] The output processing unit is used to process the first output token through the reconstruction sub-output module to obtain reconstruction data, and to perform the first stage training on the base model based on the reconstruction data and the sample channel state information to obtain the first base model that meets the initial training completion conditions.

[0042] The first training unit is used to perform a second-stage training on the first base model based on the sample channel state information, the sorting sub-output module, and the precoding sub-output module, to obtain a second base model that meets the training completion conditions of the precoding task.

[0043] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program as the steps in this embodiment.

[0044] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, constitutes the steps in this embodiment.

[0045] Fifthly, this application also provides a computer program product, including a computer program, which, when executed by a processor, represents the steps in this embodiment.

[0046] The aforementioned training method, apparatus, and computer program product for a wireless base station model for nonlinear precoding tasks, wherein the base station model includes at least a preprocessing module, an encoder, and a multi-task output module, and the multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module; the method includes: acquiring sample channel state information from the base station antenna side and the user equipment antenna side; performing embedding encoding processing on the sample channel state information through the preprocessing module, the encoder, and the task type of the nonlinear precoding task to obtain a first output term; processing the first output term through the reconstruction sub-output module to obtain reconstructed data; performing a first-stage training on the base station model based on the reconstructed data and the sample channel state information to obtain a first base station model that meets the initial training completion conditions; and performing a second-stage training on the first base station model based on the sample channel state information, the sorting sub-output module, and the precoding sub-output module to obtain a second base station model that meets the precoding task training completion conditions. By adopting this method, efficient processing of multi-user nonlinear coding tasks can be achieved based on neural networks, avoiding the limitations of the number of antennas configured for each user and the amount of data stream transmission between user equipment and base station. This expands the applicable channel scenarios and communication systems of the second base model. The precoding task is driven by a lightweight neural network, reducing the computational overhead and latency of the task. It also realizes the joint optimization and parallel inference of the precoding matrix and user sorting, thereby improving the processing performance of the base model. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1This is a flowchart illustrating a training method for a wireless base station model for a nonlinear precoding task in one embodiment.

[0049] Figure 2 This is a flowchart illustrating the step of determining the first output word in one embodiment;

[0050] Figure 3 This is a flowchart illustrating the first stage of the training process in one embodiment.

[0051] Figure 4 This is a flowchart illustrating the steps for obtaining the second base model in one embodiment;

[0052] Figure 5 This is a flowchart illustrating the training steps in the second stage of one embodiment;

[0053] Figure 6 This is a flowchart illustrating the steps for obtaining the target base model in one embodiment;

[0054] Figure 7 This is a flowchart illustrating the model inference steps in one embodiment;

[0055] Figure 8 This is a schematic diagram of the structure of a wireless base model for a nonlinear precoding task in another embodiment;

[0056] Figure 9 This is a structural block diagram of a training device for a wireless base model oriented towards a nonlinear precoding task in one embodiment.

[0057] Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0058] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0059] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0060] In one exemplary embodiment, such as Figure 1As shown, a training method for a wireless base station model for nonlinear precoding tasks is provided. The method is illustrated using a terminal device as an example, but it can also be applied to a server or a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, and tablets. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The training method for the wireless base station model for nonlinear precoding tasks provided in this embodiment is a two-stage pre-training method. The trained second base station model possesses the base station capability to handle nonlinear precoding tasks. Further, through a few-shot fine-tuning training method, the trained second base station model is trained to obtain the target base station model, which is a network architecture capable of handling both nonlinear precoding and signal detection tasks, and exhibits good task processing performance.

[0061] The base model includes at least a preprocessing module, an encoder, and a multi-task output module. The multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module. In this embodiment, the method includes the following steps:

[0062] Step 102: Obtain sample channel state information from the base station antenna side and the user equipment antenna side.

[0063] Among them, the base station antenna side refers to the planar array multiple antennas equipped in the base station in the wireless communication system; the user equipment antenna side refers to the planar array multiple antennas equipped in multiple user equipments respectively; the sample channel state information can be a two-dimensional CSI sample, for example, it can be two-dimensional CSI information composed of the base station antenna dimension and all UE antenna dimensions; the CSI information of the base station antenna dimension can be at least one of the number of sampling points, the number of antennas and the number of subcarriers, and the CSI information of the UE antenna dimension can be at least one of the number of sampling points, the number of antennas and the number of subcarriers.

[0064] The training method for the wireless base station model for nonlinear precoding tasks provided in this embodiment can be applied to wireless communication systems, such as MU-MIMO systems. The wireless communication system includes a base station side and a user equipment side. The base station side deploys a base station equipped with a planar array of multiple antennas. The user equipment side deploys multiple user equipments, meaning the base station simultaneously serves multiple user equipments. The user equipment is equipped with a planar array of multiple antennas. The second base station model trained by the method provided in this embodiment can handle multi-user nonlinear precoding tasks based on spatial CSI. Multi-user nonlinear precoding refers to calculating the feedforward precoding matrix, feedback precoding matrix, and user ordering that can be used for THP based on uplink CSI.

[0065] Optionally, the method provided in this embodiment can also train a target base model that can simultaneously handle multi-user nonlinear precoding tasks and signal detection tasks based on spatial CSI. Here, signal detection refers to calculating feedforward and feedback detection matrices that can be used for SIC based on uplink CSI.

[0066] Specifically, the terminal device can acquire the CSI of the base station antenna side and the CSI of the user equipment antenna side in the wireless communication system / MU-MIMO system, and combine the CSI of the base station antenna side and the CSI of each user equipment side to obtain the sample channel state information of the user training wireless base station model.

[0067] Step 104: The sample channel state information is embedded and encoded using the preprocessing module, encoder, and nonlinear precoding task to obtain the first output term.

[0068] The preprocessing module in the wireless base station model includes a word embedding module and a masking module, used to embed and mask the sample channel state information input to the wireless base station model to be trained. The task type of the nonlinear precoding task can be any task that the wireless base station model to be trained needs to implement / process, such as a nonlinear precoding task. Different task types correspond one-to-one with masking operations.

[0069] Specifically, the terminal device can embed and encode the collected sample channel state information in the wireless base model to be trained through the preprocessing module, encoder, and task type of the wireless base model, and determine the encoder output data as the first output term.

[0070] Step 106: The first output token is processed by the reconstruction sub-output module to obtain reconstructed data. Based on the reconstructed data and sample channel state information, the base model is trained in the first stage to obtain the first base model that meets the initial training completion conditions.

[0071] The wireless base model to be trained includes a multi-task output module, which can be a multi-output head module. The multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module. The reconstruction sub-output module is used for channel reconstruction, the sorting sub-output module is used to output the user sorting probability vector, and the precoding sub-output module includes a feedforward precoding sub-module and a feedback precoding sub-module, which are used to output the predicted feedforward precoding matrix and feedback precoding matrix, respectively.

[0072] Specifically, the terminal device can process the first output term through a reconstruction sub-output module. This reconstruction sub-output module may contain a single fully connected layer. The first output term is processed through this single fully connected layer to obtain the output result of the fully connected layer. This output result is determined to be the reconstructed data, which is the reconstructed channel state information. If the sample channel state information is 2D CSI information, the corresponding reconstructed data can be the reconstructed 2D CSI information. In this way, the terminal can perform the first stage of training on the wireless base station model to be trained based on the sample channel state information and the reconstructed data, until a wireless base station model that meets the initial training completion conditions is obtained. This wireless base station model that meets the initial training completion conditions is then determined as the first base station model.

[0073] Step 108: Based on the sample channel state information and the sorting sub-output module and the precoding sub-output module, the first base model is trained in the second stage to obtain the second base model that meets the training completion conditions of the precoding task.

[0074] Among them, the precoding task training completion condition can be the model training completion condition set for the precoding task. For example, it can be that the number of consecutive target values ​​for spectral efficiency no longer increases. Optionally, the number of target values ​​can be 20, etc. The specific value can be determined based on the actual application scenario.

[0075] Specifically, after completing the first stage of training, the terminal device obtains a first base model. Based on this, a second stage of training can be performed using the first base model and sample channel state information. For example, the first base model's word embedding module and encoder process the data to obtain a second output word vector. Then, the second output word vector is processed in parallel by the ranking sub-output module, the feedforward precoding sub-module within the precoding sub-output module, and the feedback precoding sub-module, all contained in the first base model. This yields the prediction feedforward precoding matrix output by the ranking sub-output module, the prediction feedback precoding matrix output by the feedforward precoding sub-module, and the prediction user ranking probability vector output by the feedback precoding sub-module. The terminal device can then update the model parameters of the first base model based on these matrixes until a second base model that meets the precoding task training completion conditions is obtained.

[0076] In the aforementioned training method for a wireless base station model for nonlinear precoding tasks, sample channel state information from the base station antenna side and the user equipment antenna side is acquired. Through a preprocessing module, an encoder, and the task type of the nonlinear precoding task, the sample channel state information is embedded and encoded to obtain the first output token. The first output token is processed by a reconstruction sub-output module to obtain reconstructed data. Based on the reconstructed data and the sample channel state information, the base station model undergoes a first-stage training to obtain a first base station model that meets the initial training completion conditions. Based on the sample channel state information, the sorting sub-output module, and the precoding sub-output module, the first base station model undergoes a second-stage training to obtain a second base station model that meets the precoding task training completion conditions. By adopting this method, efficient processing of multi-user nonlinear coding tasks can be achieved based on neural networks, avoiding the limitations of the number of antennas configured for each user and the amount of data stream transmission between user equipment and base station. This expands the applicable channel scenarios and communication systems of the second base model. The precoding task is driven by a lightweight neural network, reducing the computational overhead and latency of the task. It also realizes the joint optimization and parallel inference of the precoding matrix and user sorting, thereby improving the processing performance of the base model.

[0077] In one embodiment, the encoder includes at least one expert joint coding module. The multi-task output module further includes a detection sub-output module. This detection sub-output module includes a feedforward detection sub-module and a feedback detection sub-module. The feedforward detection sub-module outputs a feedforward detection matrix, and the feedback detection sub-module outputs a feedback detection matrix. Nonlinear signal detection can be achieved through the feedforward and feedback detection matrices. Accordingly, the training method for this wireless base model for nonlinear precoding tasks further includes:

[0078] Based on the sample channel state information, the expert joint coding module located at the end of the encoder in the second base model, and the detection sub-output module, the second base model is trained in a preset fine-tuning stage to obtain the target base model that meets the training completion conditions of the detection task.

[0079] Specifically, after the terminal device obtains the second base model that meets the training completion conditions for the precoding task, it can perform a fine-tuning phase based on a small number of samples to train the second base model and obtain the target base model that meets the detection task. For example, the terminal device can filter the sample channel state information of the wireless base model to be trained to obtain fine-tuned channel state information, where the number of data in the fine-tuned channel state information is less than that in the sample channel state information. Then, for the second base model, the terminal device can process the fine-tuned channel state information through the preprocessing module and encoder in the second base model to obtain the third output word vector. The third output word vector is then processed through the feedforward detection submodule and the feedback detection submodule to obtain the prediction feedforward detection matrix and the prediction feedback detection matrix, respectively.

[0080] In this way, the terminal device can calculate the fine-tuning training loss data corresponding to the fine-tuning training phase based on the predictive feedforward detection matrix and the predictive feedback detection matrix. If the conditions for completing the detection task training are not met, the model parameters of the expert co-coding module at the end of the encoder and the detection sub-output module in the second base model are updated using this fine-tuning training loss data to obtain the updated second base model. Based on the updated second base model, the above steps of training the second base model using sample channel state information, the expert co-coding module at the end of the encoder, and the detection sub-output module in the second base model for the preset fine-tuning phase are repeated to obtain the target base model that meets the conditions for completing the detection task training. This process continues until the fine-tuning training loss data meets the conditions for completing the detection task training, at which point the current second base model can be identified as the target base model. In other words, during the fine-tuning training phase, the model parameters of all modules in the second base model to be trained, except for the expert co-coding module and the detection sub-output module at the end, are fixed; the fine-tuning training phase only updates the model parameters of the expert co-coding module and the detection sub-output module at the end.

[0081] In this embodiment, through two-stage pre-training and fine-tuning training based on few sample channel state information, a target base model with both nonlinear precoding and signal detection capabilities can be obtained while ensuring low training overhead and computational complexity. This achieves multi-task processing within the same network, and the multi-task processing performance is good.

[0082] In one embodiment, the preprocessing module includes a lexical embedding module and a masking module. The encoder includes a user-configured embedding module and at least one expert joint coding module. Figure 2As shown, the specific processing steps of "embedding and encoding the sample channel state information through the preprocessing module, encoder, and nonlinear precoding task to obtain the first output term" include:

[0083] Step 202: In the lexical embedding module, the sample channel state information is processed by block segmentation and embedding to obtain an initial channel state lexical sequence. The initial channel state lexical sequence is then concatenated with a preset learnable vector to obtain a target channel state lexical sequence.

[0084] The word embedding module is used to segment and embed the target dimension sample channel state information into a one-dimensional word vector / CSI word sequence. The word embedding module can be a 2D convolutional layer; the preset learnable vector can be a CLS word; it is a learnable vector of learnable features, and this learnable vector is a vector initialized by a Gaussian distribution.

[0085] Specifically, the terminal device performs block processing and embedding processing on the two-dimensional sample channel state information through a two-dimensional convolutional layer to obtain multiple one-dimensional tokens. The combination of these one-dimensional tokens yields an initial token sequence, which can be an initial channel state token sequence. The terminal device can add CLS tokens before the starting token of this initial token sequence to obtain the target token sequence, i.e., the target channel state token sequence.

[0086] Optionally, the input data can be sample channel state information, specifically a 2D CSI sample consisting of the base station antenna dimension and all UE antenna dimensions. The word embedding module processes this sample to obtain a series of words. Specifically, a 2D convolution operation is used to segment and embed the 2D CSI sample, resulting in a sequence of 1D words forming a CSI word sequence. Where D is the dimension of the word element. The length of the sequence is determined to fit the input of subsequent transformer blocks. A CLS term is added before the starting term of the CSI term sequence. The CLS term is a learnable vector initialized with a Gaussian distribution. Therefore, the overall term sequence (i.e., the target channel state term sequence) can be represented as: The target channel state word sequence is the word sequence that has not been masked, i.e., the unmasked word sequence.

[0087] Step 204: In the masking module, based on the masking operation and masking ratio corresponding to the type of nonlinear precoding task, the target channel state word sequence is masked to obtain the input word sequence.

[0088] The masking module is used to mask the output data of the word embedding module based on the masking operation corresponding to the task type; the masking operation is different for different task types.

[0089] Specifically, based on the type of nonlinear precoding task, the terminal device determines that the masking operation is partial masking, and the masking ratio corresponding to the masking operation can be a target ratio. Then, the terminal device can randomly extract multiple target words from the target channel state word sequence. For each target word, masking is performed based on the target ratio to obtain the mask word corresponding to each target word in the target channel state word sequence. These mask words are then combined to obtain a combined result, which is determined as the input word sequence. In other words, for the multiple words in the target channel state word sequence, after extracting the target words, each target word is replaced with its corresponding mask word, thus obtaining the input word sequence.

[0090] Optionally, the target ratio can include a first ratio for learning vector replacement and a second ratio for Gaussian noise replacement. This allows for the extraction of multiple first target words from the target channel state word sequence based on the first ratio, and the extraction of second target words based on the second ratio. The first target words are then replaced with learnable vectors initialized to zero. The second target words are replaced with Gaussian random noise vectors. Other words remain unprocessed. This yields the input word sequence corresponding to the target channel state word sequence. The first ratio can be 80%, and the second ratio can be 10%.

[0091] Step 206: In the user configuration embedding module of the encoder, the input word sequence is embedded and encoded based on the user configuration embedding vector, the system configuration embedding vector, and the preset position encoding vector to obtain the first input word.

[0092] The user configuration embedding vector is determined based on multiple learnable vectors. The user configuration embedding vector can be a user embedding matrix containing multiple learnable vectors e1-eK. The order of these learnable vectors corresponds to the order of CSI terms belonging to each UE in the term sequence, thus enabling the user embedding (user configuration embedding vector) to distinguish the CSI from different UEs via the base station. The order of CSI terms for each UE in the term sequence is also the order of the antenna-side CSI of each user equipment in the sample channel state information.

[0093] Specifically, the input word sequence is superimposed using user-configured embedding vectors, system-configured embedding vectors, and preset position encoding vectors, and the superimposed result is determined as the first input word.

[0094] Step 208: Perform joint expert coding based on the first input word and multiple stacked expert joint coding modules to obtain the first output word vector, and determine the first output word vector as the first output word.

[0095] In this model, the expert co-coding modules are stacked, i.e., connected end to end. The encoder of this wireless base model can contain multiple expert co-coding modules. The input data of the first expert co-coding module is the output data of the user-configured embedding module, i.e., the first input word. The output data of the first expert co-coding module is the input data of the second expert co-coding module. The output data of the expert co-coding module located at the end of the encoder is the output data of the encoder.

[0096] Specifically, the terminal can input the first input word into the first expert joint coding module. That is, through multiple expert joint coding modules connected end to end and the first input word, the first input word is encoded based on the expert model. The output data of the expert joint coding module located at the end of the encoder is determined as the first output word vector, that is, determined as the first output word.

[0097] Optionally, in each expert joint coding module, the input data of the expert joint coding module can be processed by multiple expert models in the expert joint coding module and the gating network corresponding to the task to obtain the output data of the expert joint coding module.

[0098] In this embodiment, the input lexical sequence is processed by user-configured embedding vectors, which can assign different user embedding vectors to different users; the system-configured embedding vectors enable the base model to adapt to heterogeneous system configurations; and the expert processing layer, which includes a gating network and multiple expert models, is used for encoding, which can learn different expert activation characteristics for different channel scenarios and system configurations, thereby further improving the task processing performance of the wireless base model.

[0099] In one embodiment, such as Figure 3 As shown, the specific processing steps of "based on the reconstructed data and sample channel state information, perform the first stage training on the pedestal model to obtain the first pedestal model that meets the initial training completion conditions" include:

[0100] Step 302: Calculate the mean square error based on the sample channel state information and the reconstructed data to obtain the channel reconstruction loss data. Calculate the load balancing loss data based on the sample channel state information and the expert model routing ratio corresponding to the expert joint coding module.

[0101] The reconstructed data can be a reconstructed 2D CSI.

[0102] Step 304: Based on the channel reconstruction loss data and load balancing loss data, weighted processing is performed to obtain the first-stage training loss data. The model parameters of the base model are then updated using the first-stage training loss data until the first base model that meets the initial training completion conditions is obtained.

[0103] The initial training completion condition can be that the number of training iterations in the first stage reaches the target number, or that the first-stage training loss data obtained during the first stage training process has met a preset convergence condition. The preset convergence condition can be that the first-stage training loss data remains unchanged, or that the first-stage training loss data is close to the target value. This embodiment does not limit the specific value of the number of training iterations or the specific value of the target value; those skilled in the art can determine these based on the needs of the actual application scenario. The weighting coefficients corresponding to the load balancing loss data can be pre-configured or determined based on the actual application scenario.

[0104] Specifically, the terminal device can calculate the mean squared error (MSE) of the sample channel state information and reconstructed data using the mean squared error function to obtain the CSI reconstruction error (channel reconstruction loss data). Similarly, the terminal device can also calculate the load balancing loss data corresponding to the expert co-coding module based on the sample channel state information and the expert model routing ratio corresponding to the expert co-coding module, which is the load balancing loss for the MOE architecture. The terminal can determine the channel reconstruction loss using the mean squared error (MSE) function. Optionally, the first-stage training loss data It can be calculated using the following formula:

[0105] ;

[0106] in, It is the original 2D CSI, i.e., sample channel state information. This is reconstructed data, specifically the reconstructed CSI. Load balancing loss data. The corresponding weighting coefficients can be .

[0107] Optionally, the terminal can obtain load balancing loss data through a nonlinear precoding task, a token routing ratio, and the average weights corresponding to the gating network. For example, sample channel state data from a training batch. There are T lexical units in the array, for example, the lexical routing ratio can be... N RLet represent the total number of expert models, and let denot routing ratio represent the proportion of all target tokens routed to expert model i. Let Pi be the average activation weight of the gating network for each expert model i. Then, the terminal can calculate the load balancing loss data using the following formula. :

[0108] ;

[0109]

[0110]

[0111] in, This is an indicator function; it returns 1 if the condition within the parentheses is met, and 0 otherwise.

[0112] In this way, the terminal can perform weighted processing on the channel reconstruction loss data and the load balancing loss data to obtain the first-stage training loss data. After obtaining the first-stage training loss data, the terminal device can determine whether the initial training completion conditions are met. If the initial training completion conditions are not met, the terminal device can update the model parameters of the wireless base station model to be trained based on the first-stage training loss data to obtain the updated base station model. Then, the method in the above embodiment is re-executed using the updated base station model until the initial training completion conditions are met, resulting in the first base station model that meets the initial training completion conditions.

[0113] In this embodiment, by comprehensively considering the loss function for load balancing and the loss function for channel reconstruction, multi-objective optimization can be balanced, ensuring further reduction of training overhead and improvement of the performance of the trained model.

[0114] In one embodiment, such as Figure 4 As shown, the specific processing steps of "based on the sample channel state information and the sorting sub-output module and the precoding sub-output module, perform the second stage of training on the first base model to obtain the second base model that meets the training completion conditions of the precoding task" include:

[0115] Step 402: The sample channel state information is segmented and embedded by the word embedding module included in the preprocessing module to obtain the initial channel state word sequence. The initial channel state word sequence is then concatenated with the preset learnable vector to obtain the target channel state word sequence.

[0116] The first base model has a similar model structure to the wireless base model to be trained, except that the model parameters are different. Therefore, the model structure of the first base model will not be described in detail.

[0117] Specifically, the terminal device can perform a second-stage training on the first base model obtained in the first training stage. Through the word embedding module in this first base model, the two-dimensional sample channel state information is segmented and embedded to obtain multiple one-dimensional words. These one-dimensional words are combined to form an initial word sequence, which can be an initial channel state word sequence. The terminal device can add CLS words before the starting word of this initial word sequence to obtain the target word sequence, i.e., the target channel state word sequence. This process is consistent with the word embedding module's processing in the first stage.

[0118] Step 404: In the user configuration embedding module of the encoder, the target channel state word sequence is embedded and encoded based on the user configuration embedding vector, the system configuration embedding vector, and the preset position encoding vector to obtain the second input word.

[0119] Specifically, after receiving the target channel state lexical sequence output by the lexical embedding module, the terminal device directly inputs it into the encoder. In the encoder's user-configured embedding module, the target channel state lexical sequence is superimposed based on the user-configured embedding vector, the system-configured embedding vector, and the preset position encoding vector. The superimposed result is then determined as the second input lexical. In other words, in the second stage of training, the output data of the lexical embedding module is directly input into the encoder without further masking.

[0120] Step 406: Perform joint expert coding based on the second input lexical unit and multiple stacked expert joint coding modules to obtain the second output lexical unit vector.

[0121] In this model, the expert co-coding modules are stacked, i.e., connected end to end. The encoder of this wireless base model can contain multiple expert co-coding modules. The input data of the first expert co-coding module is the output data of the word embedding module, i.e., the second input word. The output data of the first expert co-coding module is the input data of the second expert co-coding module. The output data of the expert co-coding module located at the end of the encoder is the output data of the encoder.

[0122] Specifically, the terminal can input the second input word into the first expert joint coding module. That is, through multiple expert joint coding modules connected end to end and the second input word, the terminal performs coding processing based on multiple shared expert models and at least one routing expert model to obtain the output data corresponding to each expert joint coding module. The output data of the expert joint coding module located at the end of the encoder is determined as the second output word vector.

[0123] Optionally, in each expert joint coding module, the input data of the expert joint coding module can be processed by multiple expert models in the expert joint coding module and the gating network corresponding to the task to obtain the output data of the expert joint coding module.

[0124] Step 408: The second output word vector is processed by the sorting sub-output module, the feedforward precoding sub-module included in the precoding sub-output module, and the feedback precoding sub-module to obtain the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user sorting probability vector. Based on the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user sorting probability vector, the second base model that meets the training completion conditions of the precoding task is obtained.

[0125] Specifically, the terminal device can process the second output word vector through the ranking sub-output module, the feedforward precoding sub-module contained in the precoding sub-output module, and the feedback precoding sub-module, respectively, to obtain the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector corresponding to each sub-output module. For example, the feedforward precoding sub-module and the feedback precoding sub-module can both be structures of fully connected layers and adaptive pooling layers; the ranking sub-output module can be an MLP consisting of two fully connected layers and a nonlinear activation function.

[0126] For example, the encoder's output data could be a second output word vector, which could contain a CSI word sequence. With CLS morpheme The precoding sub-output module, comprising a feedforward precoding sub-module and a feedback precoding sub-module, processes the CSI word sequence to obtain the prediction feedforward precoding matrix and the prediction feedback precoding matrix, respectively. The ranking sub-output module processes the CLS words to obtain the prediction user ranking probability vector. The terminal device can process the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector to obtain the second-stage training loss data. If the precoding task training completion conditions are not met, the model parameters of the first base model are updated using the second-stage training loss data, and the steps in the above embodiments are re-executed until a second base model that meets the precoding task training completion conditions is obtained.

[0127] In this embodiment, through two-stage pre-training, a base model with nonlinear precoding processing capabilities can be obtained while ensuring low training overhead and computational complexity. The computational complexity of model training is low and the model has good performance in processing nonlinear multi-coding tasks.

[0128] In one embodiment, such as Figure 5As shown, the specific processing steps of "processing based on the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector to obtain the second base model that meets the training completion conditions of the precoding task" include:

[0129] Step 502: Based on the prediction feedforward precoding matrix and the prediction feedback precoding matrix, generate an equivalent precoding matrix.

[0130] Specifically, the terminal device can concatenate or superimpose the prediction feedforward precoding matrix and the prediction feedback precoding matrix, and determine the resulting processing result as an equivalent precoding matrix.

[0131] Step 504: Based on the equivalent precoding matrix and channel matrix data, calculate the frequency efficiency loss data. If the frequency efficiency loss data does not meet the precoding task training completion conditions, obtain the second-stage training loss data based on the prediction feedforward precoding matrix, prediction feedback precoding matrix, prediction user ranking probability vector, and their corresponding real label data. Update the model parameters of the first base model using the second-stage training loss data until a second base model that meets the precoding task training completion conditions is obtained.

[0132] The training completion condition for the precoding task can be that the frequency efficiency loss data no longer increases within a consecutive target number of iterations. The target number of iterations can be 20.

[0133] Optionally, predict the feedforward precoding matrix Predictive feedback precoding matrix The corresponding real label data: real feedforward precoding matrix With real feedback precoding matrix All of these are obtained based on the ZF-THP algorithm, which predicts the user ranking probability vector. The corresponding real label data is the one-hot vector for optimal user ranking. (Real User Equipment Sorting) The optimal user sorting one-hot vector can be obtained based on a preset multi-branch THP sorting algorithm; the terminal device can output a predicted user sorting probability vector through the user sorting header, and determine the order of the user equipment to be used when using THP based on the element with the largest value in the predicted user sorting probability vector.

[0134] Specifically, the terminal device can calculate the signal-to-interference-plus-noise ratio (SINR) for each data stream based on the equivalent precoding matrix, channel matrix data, and MMSE receiver matrix. It can also calculate frequency efficiency loss data based on the SINR, the number of user equipments, and the number of data streams transmitted by each user equipment. Furthermore, it can calculate the precoding loss by using the MSE loss function to calculate the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and their corresponding real label data. It can also calculate the probability loss by using the cross-entropy loss function to calculate the predicted user ranking probability vector and its corresponding real label data. Finally, it can superimpose the frequency efficiency loss data, precoding loss, probability loss, and load balancing loss data corresponding to the first base model, along with their weighting coefficients, to obtain the second-stage training loss data. The model parameters of the first base model are updated using the second-stage training loss data, and the method described in the above embodiments is re-executed using the updated first base model until the precoding task training completion conditions are met, thus obtaining a second base model that satisfies the precoding task training completion conditions.

[0135] Optionally, the load balancing loss data corresponding to the first base model is similar to the load balancing loss data calculation process described in the above embodiments, and will not be repeated here;

[0136] Second-stage training loss data It can be calculated using the following formula:

[0137] ;

[0138] in, and These are the actual and predicted values ​​of the feedforward and feedback precoding matrices, respectively. and These are the one-hot vector for optimal user ranking and the predicted user ranking probability vector, respectively. and Obtained from the improved ZF-THP and multi-branch THP sorting methods, and The frequency efficiency loss data is obtained from the feedforward precoding header, the feedback precoding header, and the user sorting header, respectively. Load balancing losses

[0139] , This represents the weighting coefficient for the load balancing loss. This is the cross-entropy loss function.

[0140] Frequency efficiency loss data SINR is denoted by the negative of the spectral efficiency. k,i The SINR of the i-th data stream for the k-th UE; It can be calculated using the following formula:

[0141] ;

[0142] ;

[0143] in, It is the identity matrix; Let be the equivalent precoding matrix for the k-th UE. yes The conjugate transpose of the matrix; . Let be the channel matrix of the k-th UE. yes The conjugate transpose of ; K is the total number of user equipments; L is the total number of data streams carried by each user equipment. Let be the MMSE reception matrix for the k-th UE, i.e.:

[0144] ;

[0145] in, This is the transmit precoding matrix sent by the base station to user j. for The conjugate transpose of ; This represents the channel noise variance.

[0146] In other words, the training loss data in the second stage includes three parts: unsupervised loss of spectral efficiency. The MSE supervision loss of the feedforward precoding matrix and the feedback precoding matrix, and the cross-entropy loss of user ranking, are denoted as... And the same load balancing losses .

[0147] In this embodiment, by comprehensively considering the loss function for load balancing, feedforward encoding loss, feedback precoding loss, user probability prediction loss, and frequency efficiency loss data, multi-objective optimization can be balanced to ensure further reduction of training overhead and improvement of the trained model performance.

[0148] In one embodiment, such as Figure 6 As shown, the specific processing steps of "training the second base model in a preset fine-tuning phase based on sample channel state information, the expert joint coding module located at the end of the encoder in the second base model, and the detection sub-output module to obtain the target base model that meets the training completion conditions of the detection task" include:

[0149] Step 602: Filter based on sample channel state information to obtain fine-tuned channel state information.

[0150] Specifically, the terminal device can perform fine-tuning training using a small number of labeled CSI samples, far fewer than the number of pre-trained CSI samples. For example, it can filter the first number of pre-trained CSI samples (sample channel state information) to obtain a second number of fine-tuned channel state information samples. The second number is smaller than the first number. The structure and meaning of the fine-tuned channel state information are similar to those of the sample channel state information, and will not be elaborated further here.

[0151] Step 604: The fine-tuning channel state information is processed by the preprocessing module and encoder in the second base model to obtain the third output word vector.

[0152] Specifically, the terminal device can train the second base model obtained in the second training phase for fine-tuning. Through the word embedding module in this second base model, the two-dimensional fine-tuned channel state information is processed by block segmentation and embedding to obtain multiple one-dimensional words. These one-dimensional words are combined to obtain an initial word sequence, which can be an initial channel state word sequence. The terminal device can add CLS words before the starting word of this initial word sequence to obtain the target word sequence, i.e., the target channel state word sequence. This process is consistent with the word embedding module's processing in the first phase. After obtaining the target channel state word sequence output by the word embedding module, the terminal device directly inputs it into the encoder. In the encoder's user-configured embedding module, based on the user-configured embedding vector, system-configured embedding vector, and preset position encoding vector, the target channel state word sequence is superimposed to obtain the superposition result, which is then determined as the third input word. In other words, during the fine-tuning phase of training, the output data of the lexical embedding module is directly input into the encoder without further masking.

[0153] The terminal can input the third input term into the first expert joint coding module. That is, through multiple expert joint coding modules connected end to end and the third input term, the terminal performs coding processing based on multiple shared expert models and at least one routing expert model to obtain the output data corresponding to each expert joint coding module. The output data of the expert joint coding module located at the end of the encoder is determined as the third output term vector.

[0154] Step 606: The third output word vector is processed by the feedforward detection submodule and the feedback detection submodule included in the detection sub-output module to obtain the prediction feedforward detection matrix and the prediction feedback detection matrix.

[0155] Among them, the feedforward detection submodule and the feedback detection submodule can be MLPs composed of two fully connected layers and nonlinear activation functions.

[0156] Step 608: Calculate the true feedforward detection matrix and the true feedback detection matrix based on a preset serial interference cancellation algorithm. Then, based on the predicted feedforward detection matrix, the predicted feedback detection matrix, the true feedforward detection matrix, and the true feedback detection matrix, obtain fine-tuning training loss data. Update the model parameters of the expert joint encoding module at the end of the encoder and the detection sub-output module in the second pedestal model using the fine-tuning training loss data, thus obtaining the target pedestal model that meets the training completion conditions for the detection task.

[0157] Specifically, the encoder's output data can be a third output word vector, which may contain a CSI word sequence. The CSI word sequence is processed by the feedforward detection submodule and the feedback detection submodule included in the detection sub-output module to obtain the predicted feedforward detection matrix and the predicted feedback detection matrix. The terminal device can then process the MSE loss function based on the predicted feedforward detection matrix and the predicted feedback detection matrix, along with their corresponding real feedforward detection matrix and real feedback detection matrix, to obtain fine-tuned training loss data. If the training completion conditions for the detection task are not met, the model parameters of the expert joint encoding module at the end of the encoder and the detection sub-output module in the second base model are fine-tuned using the training loss data, while the model parameters of other modules remain fixed. This yields an updated second base model. The steps in the above embodiment are then repeated based on the updated second base model until the target base model that meets the training completion conditions for the detection task is obtained. Fine-tuning can be performed until the loss function no longer decreases after 20 consecutive rounds.

[0158] Optionally, the loss function of the network in the fine-tuning stage is the sum of the MSE supervision losses of the feedforward detection matrix and the feedback detection matrix, i.e.

[0159] ;

[0160] in, and These are the true and predicted values ​​of the feedforward detection matrix and the feedback detection matrix, respectively. These are the true values ​​of the feedforward detection matrix and the feedback detection matrix obtained offline based on the traditional SIC algorithm. The results are obtained from the feedforward detection head and the feedback detection head, respectively.

[0161] In this embodiment, through a small-sample fine-tuning training phase, with less training data and training overhead, the same network structure can achieve the effect of multi-task processing capability, resulting in a target base model that simultaneously possesses nonlinear precoding processing capability and signal detection processing capability.

[0162] In one embodiment, such as Figure 7 As shown, the training method for this wireless base station model for nonlinear precoding tasks also includes:

[0163] Step 702: Obtain the inference data for the multi-user nonlinear precoding task.

[0164] The data to be inferred includes the total channel matrix, which is obtained by stitching together the real-time channel state information of each user equipment based on the dimension of the user equipment's receiving antenna.

[0165] Step 704: In the second base model or the target base model, the total channel matrix is ​​divided into blocks and embedded through the word embedding module to obtain the initial channel state word sequence. The initial channel state word sequence is then concatenated with the preset learnable vector to obtain the inference channel state word sequence.

[0166] Step 706: In the user configuration embedding module of the encoder, based on the user configuration embedding vector, the system configuration embedding vector and the preset position encoding vector, the inference channel state word sequence is embedded and encoded to obtain the inference input words.

[0167] Step 708: Perform joint expert coding based on the inference input lexical units and multiple stacked expert joint coding modules to obtain the inference output lexical unit sequence; process the inference output lexical unit sequence through the sorting sub-output module, the feedforward precoding sub-module and the feedback precoding sub-module contained in the precoding sub-output module to obtain the feedforward precoding matrix, the feedback precoding matrix and the user sorting probability vector.

[0168] Specifically, for nonlinear precoding tasks, the terminal device acquires the inference data for multi-user nonlinear precoding tasks in the wireless communication system. For example, it can be the total channel matrix formed by splicing the CSIs of all UEs along the UE receiving antenna dimension. The total channel matrix is ​​input into the word embedding module in the second base model or the target base model. The total channel matrix is ​​processed by block processing and embedding processing to obtain the initial channel state word sequence. The initial channel state word sequence is spliced ​​with the preset learnable vector to obtain the inference channel state word sequence.

[0169] The terminal device directly inputs the inference channel state word sequence into the encoder in the second base model or the target base model. It then performs superposition processing on the inference channel state word sequence using user-configured embedding vectors, system-configured embedding vectors, and preset position encoding vectors, and determines the superposition result as the inference input word.

[0170] The terminal can input inference input terms into the first expert co-coding module. This involves encoding the inference input terms using multiple contiguous expert co-coding modules, and then using an expert model to encode the terms. The output data from the expert co-coding module at the end of the encoder is determined as the inference output term sequence. The inference output term sequence is then processed by the ranking sub-output module, the feedforward precoding sub-module within the precoding sub-output module, and the feedback precoding sub-module, respectively. This yields the feedforward precoding matrix, the feedback precoding matrix, and the user ranking probability vector. Finally, the user ranking is determined based on the element with the highest probability in the user ranking probability vector.

[0171] Optionally, when the model performs inference for a multi-user nonlinear precoding task, the input is the total channel matrix, which is formed by concatenating the CSIs of all UEs along the UE receiving antenna dimension. It first passes through the embedding module without masking, then through the encoder module, and then through the feedforward precoding head, feedback precoding head, and user ranking head in parallel. The outputs are the feedforward precoding matrix, the feedback precoding matrix, and the user ranking probability vector, respectively. The corresponding user ranking is determined based on the element with the highest probability in the user ranking probability vector.

[0172] Optionally, when the model performs inference for a multi-user nonlinear signal detection task, the input is also the total channel matrix. It first passes through the embedding module without masking, then through the encoder module, and then through the feedforward detection head and the feedback detection head in parallel, outputting the feedforward detection matrix and the feedback detection matrix respectively.

[0173] The following describes in detail the specific implementation steps of the training method for the wireless base station model for nonlinear precoding tasks, using a specific embodiment as an example. Figure 8 As shown, a wireless base model for nonlinear precoding tasks can include an embedding module (term embedding module), a masking module, an encoder module, and a multi-output head module (multi-task output module). The encoder includes user embedding, system configuration embedding, position coding processing, and multiple interconnected expert joint coding modules (SR MoE architecture, including block1-blockN); the multi-output head module...

[0174] +3+ includes the CSI reconstruction header, user sorting header, feedforward precoding header, feedback precoding header, feedforward detection header, and feedback detection header. Among them:

[0175] Embedding Module: The input consists of 2D CSI samples formed by the base station antenna dimensions and all UE antenna dimensions. The embedding module processes these samples to obtain a series of lexical units. Specifically, 2D convolution operations are used to segment and embed the 2D CSI samples, resulting in a sequence of 1D lexical units forming a CSI lexical unit sequence. Where D is the dimension of the word element. The length of the sequence is determined to fit the input of subsequent transformer blocks. A CLS term is added before the starting term of the CSI term sequence. The CLS word is a learnable vector initialized with a Gaussian distribution. Therefore, the overall word sequence can be represented as... .

[0176] Masking module: Performs different masking operations depending on the different pre-training tasks in the two stages, that is, selectively retains some words or inputs all words into the subsequent network.

[0177] Encoder Module: First, in the user-configured embedding module, three additional embeddings are superimposed on the input lexical sequence: user embedding, system configuration embedding, and sine / cosine absolute position encoding. The specific processing methods for user embedding and system configuration embedding are described in the above embodiment. Then, the lexical sequence is processed through a series of stacked transformer blocks (expert joint encoding modules), where each transformer block adopts a Mixture of Shared and Routed Experts (SR MoE) architecture.

[0178] Specifically, user embeddings are used to explicitly distinguish the user channel matrix to which each CSI term belongs, assigning different user embedding vectors to different users, while all terms corresponding to the same user share the same user embedding vector. The user embedding vectors are derived from K different learnable vectors, all initialized using a Gaussian distribution. Assume the user embedding vector corresponding to the k-th user is... Then the overall user embedding matrix can be represented as:

[0179] ;

[0180] in, This indicates that user embedding vectors are not superimposed on CLS lexical units.

[0181] System configuration embedding is used to enhance the network's adaptability to heterogeneous system configurations and guide the selection of routing experts in subsequent SR MoE, constructing a configuration vector. It is then fed into a Multi-Layer Perceptron (MLP) and mapped to a D-dimensional configuration vector, where These represent the number of base station antennas, the number of antennas per user, the number of users, and the number of data streams transmitted per user, respectively. This vector is then broadcast along the length of the word sequence to obtain the configuration embedding matrix. .

[0182] Finally, the user embedding matrix, configuration embedding matrix, and positional encoding matrix are all added to the word sequence to obtain the input of the first-layer transformer block. This step can be represented as:

[0183] .

[0184] in, The sine and cosine absolute position encoding matrix is ​​represented by the following formula:

[0185] .

[0186] Specifically, the SR MoE architecture consists of N S A shared expert and N R The system consists of several routing experts, with shared experts always participating in the computation. The routing experts adaptively select some experts to participate in the computation based on the input tokens. All experts use the same two-layer MLP structure and use GELU as the non-linear activation function.

[0187] For input words The output of the SR MoE feedforward network consists of the shared expert output and the activated routing expert output, and can be expressed as:

[0188] ;

[0189] in, This represents the i-th shared expert. This represents the j-th activated routing expert. This represents the set of Top-K routing experts selected based on the current term. This represents the weighting coefficient of the corresponding routing expert.

[0190] The routing weights are generated by a gating function. Specifically, the input terms first undergo linear mapping and a Softmax operation to obtain the selection probabilities for all routing experts. Then, a Top-K operation is used to retain the experts with the highest weights. Finally, normalization is performed. This process can be represented as follows:

[0191] ;

[0192] in, and These are the learnable weight matrix and bias vector in the routing gating, respectively.

[0193] Multiple output head modules: Multiple parallel lightweight output head modules are connected after the encoder module for various outputs during pre-training and fine-tuning. Specifically, the first-stage random mask reconstruction pre-training uses a CSI reconstruction head; the second-stage pre-training for multi-user nonlinear precoding uses a feedforward precoding head, a feedback precoding head, and a user ranking head; and the fine-tuning stage for multi-user nonlinear signal detection uses a feedforward detection head and a feedback detection head. That is, this embodiment includes a task-independent first-stage pre-training, a second-stage pre-training for multi-user nonlinear precoding, and few-sample partial parameter fine-tuning for multi-user nonlinear signal detection.

[0194] The CSI reconstruction head uses a single fully connected layer, and is input to the CSI term sequence output by the last transformer block in the encoder module. The output is the reconstructed 2D CSI. The feedforward and feedback precoder heads employ fully connected layers and adaptive pooling layers, with the input... The algorithm outputs the predicted feedforward precoding matrix and the feedback precoding matrix, respectively. The user sorting head uses an MLP consisting of two fully connected layers and a nonlinear activation function, and inputs the CLS tokens output from the last transformer block in the encoder module. Output the predicted user ranking probability vector The feedforward and feedback detection heads employ an MLP consisting of two fully connected layers and a nonlinear activation function. The input... The predicted feedforward detection matrix and feedback detection matrix are output respectively.

[0195] In the first stage of pre-training, a subset of words from the CSI word sequence output by the embedding module are randomly selected and masked according to a pre-defined masking ratio. For the selected words, they are replaced with a learnable vector initialized to zero vector with an 80% probability, replaced with a Gaussian random noise vector with a 10% probability, and left unchanged with a 10% probability. The CSI reconstruction head in the multi-output head module is used to output the reconstructed 2D CSI. The first stage of pre-training is completed after 200 training epochs.

[0196] In the second stage of pre-training, the training is conducted on the network that has completed the first stage of pre-training. The terms input to the encoder module are not masked. The second stage of pre-training is completed when the spectral efficiency no longer improves after 20 consecutive rounds. During inference for the multi-user nonlinear precoding task, the model takes as input the total channel matrix, composed of the CSIs of all UEs along the UE receive antenna dimension. This matrix first passes through the embedding module without masking, then through the encoder module, and subsequently through the feedforward precoding head, feedback precoding head, and user ranking head in parallel. The outputs are the feedforward precoding matrix, the feedback precoding matrix, and the user ranking probability vector, respectively. The user ranking is determined based on the element with the highest probability in the user ranking probability vector.

[0197] During the fine-tuning phase, the true values ​​of the feedforward and feedback detection matrices, calculated offline using the traditional SIC algorithm, are used as labels. The model uses a small number of labeled CSI samples—far fewer than the pre-trained CSI sample size—to fine-tune the last transformer block in the encoder module, as well as the feedforward and feedback detection heads. All other network parameters remain frozen. Fine-tuning is completed when the loss function stops decreasing after 20 consecutive rounds. When performing inference for a multi-user nonlinear signal detection task, the input is also the total channel matrix. It first passes through the embedding module without masking, then through the encoder module, and subsequently through the feedforward and feedback detection heads in parallel, outputting the feedforward and feedback detection matrices respectively.

[0198] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0199] Based on the same inventive concept, this application also provides a training apparatus for a wireless base model for a nonlinear precoding task, which implements the training method for the wireless base model for the nonlinear precoding task described above. The solution provided by this apparatus is similar to the implementation described in the above method. Therefore, the specific limitations of one or more training apparatus embodiments for a wireless base model for a nonlinear precoding task provided below can be found in the limitations of the training method for the wireless base model for a nonlinear precoding task described above, and will not be repeated here.

[0200] In one exemplary embodiment, such as Figure 9 As shown, a training device 900 for a wireless base model oriented towards nonlinear precoding tasks is provided. The base model includes at least a preprocessing module, an encoder, and a multi-task output module. The multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module. The device includes:

[0201] The acquisition unit 902 is used to acquire sample channel state information from the base station antenna side and the user equipment antenna side;

[0202] The coding unit 904 is used to perform embedding coding processing on the sample channel state information through the preprocessing module, the encoder and the task type of the nonlinear precoding task to obtain the first output word.

[0203] The output processing unit 906 is used to process the first output word through the reconstruction sub-output module to obtain reconstructed data, and to perform the first stage training of the base model based on the reconstructed data and sample channel state information to obtain the first base model that meets the initial training completion conditions.

[0204] The first training unit 908 is used to train the first base model in the second stage based on the sample channel state information, the sorting sub-output module, and the precoding sub-output module, so as to obtain a second base model that meets the training completion conditions of the precoding task.

[0205] In some embodiments, the encoder includes at least one expert co-coding module; the multi-task output module further includes a detection sub-output module; the apparatus further includes:

[0206] The second training unit is used to train the second base model in a preset fine-tuning stage based on the sample channel state information, the expert joint coding module located at the end of the encoder in the second base model, and the detection sub-output module, so as to obtain a target base model that meets the training completion conditions of the detection task.

[0207] In some embodiments, the preprocessing module includes a lexical embedding module and a masking module; the encoder includes a user-configured embedding module and at least one expert joint coding module; the coding unit is specifically used for:

[0208] In the lexical embedding module, the sample channel state information is segmented and embedded to obtain an initial channel state lexical sequence. The initial channel state lexical sequence is then concatenated with a preset learnable vector to obtain a target channel state lexical sequence.

[0209] In the masking module, the target channel state word sequence is masked based on the masking operation and masking ratio corresponding to the type of the nonlinear precoding task to obtain the input word sequence.

[0210] The user-configured embedding module in the encoder performs embedding encoding on the input word sequence based on the user-configured embedding vector, the system-configured embedding vector, and the preset position encoding vector to obtain the first input word; the user-configured embedding vector is determined based on multiple learnable vectors.

[0211] Based on the first input lexical unit and the multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the first output lexical unit vector, and the first output lexical unit vector is determined as the first output lexical unit.

[0212] In some embodiments, the output processing unit is specifically used for:

[0213] The mean square error is calculated based on the sample channel state information and the reconstructed data to obtain channel reconstruction loss data; the load balancing loss data is calculated based on the sample channel state information and the expert model routing ratio corresponding to the expert joint coding module.

[0214] The channel reconstruction loss data and the load balancing loss data are weighted and processed to obtain the first-stage training loss data. The model parameters of the base model are then updated using the first-stage training loss data until the first base model that meets the initial training completion conditions is obtained.

[0215] In some embodiments, the first training unit is specifically used for:

[0216] The preprocessing module includes a lexical embedding module, which performs block processing and embedding processing on the sample channel state information to obtain an initial channel state lexical sequence. The initial channel state lexical sequence is then concatenated with a preset learnable vector to obtain a target channel state lexical sequence.

[0217] In the user configuration embedding module of the encoder, the target channel state word sequence is embedded and encoded based on the user configuration embedding vector, the system configuration embedding vector, and the preset position encoding vector to obtain the second input word.

[0218] Based on the second input lexical unit and multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the second output lexical unit vector;

[0219] The second output word vector is processed by the sorting sub-output module, the feedforward precoding sub-module included in the precoding sub-output module, and the feedback precoding sub-module to obtain the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector. Based on the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector, a second base model that meets the training completion conditions of the precoding task is obtained.

[0220] In some embodiments, the first training unit is specifically used to: generate an equivalent precoding matrix based on the prediction feedforward precoding matrix and the prediction feedback precoding matrix;

[0221] Based on the equivalent precoding matrix and channel matrix data, frequency efficiency loss data is calculated. If the frequency efficiency loss data does not meet the precoding task training completion conditions, second-stage training loss data is obtained based on the prediction feedforward precoding matrix, prediction feedback precoding matrix, prediction user ranking probability vector, and their corresponding real label data. The model parameters of the first base model are updated using the second-stage training loss data until a second base model that meets the precoding task training completion conditions is obtained.

[0222] In some embodiments, the second training unit is specifically used for:

[0223] Based on the sample channel state information, fine-tuned channel state information is obtained by filtering.

[0224] The fine-tuned channel state information is processed by the preprocessing module and encoder in the second base model to obtain the third output word vector;

[0225] The third output word vector is processed by the feedforward detection submodule and the feedback detection submodule included in the detection sub-output module to obtain the prediction feedforward detection matrix and the prediction feedback detection matrix.

[0226] The true feedforward detection matrix and the true feedback detection matrix are calculated based on the preset interference cancellation algorithm. Based on the predicted feedforward detection matrix, the predicted feedback detection matrix, the true feedforward detection matrix, and the true feedback detection matrix, fine-tuning training loss data is obtained. The model parameters of the expert joint coding module at the end of the encoder in the second base model and the detection sub-output module are updated using the fine-tuning training loss data to obtain the target base model that meets the training completion conditions of the detection task.

[0227] In some embodiments, the apparatus further includes:

[0228] The inference data acquisition unit is used to acquire inference data for a multi-user nonlinear precoding task. The inference data includes a total channel matrix, which is obtained by splicing the real-time channel state information of each user equipment based on the dimension of the receiving antenna of the user equipment.

[0229] The inference coding unit is used in the second base model or the target base model to perform block processing and embedding processing on the total channel matrix through the word embedding module to obtain an initial channel state word sequence. The initial channel state word sequence is then concatenated with a preset learnable vector to obtain an inference channel state word sequence. The user configuration embedding module in the encoder performs embedding encoding processing on the inference channel state word sequence based on a user configuration embedding vector, a system configuration embedding vector, and a preset position encoding vector to obtain inference input words. The user configuration embedding vector is determined based on multiple learnable vectors.

[0230] The output processing unit is used to perform joint expert coding processing based on the inference input lexical units and the multiple stacked expert joint coding modules to obtain the inference output lexical sequence; and to process the inference output lexical sequence through the sorting sub-output module, the feedforward precoding sub-module and the feedback precoding sub-module included in the precoding sub-output module to obtain the feedforward precoding matrix, the feedback precoding matrix and the user sorting probability vector.

[0231] The modules in the training device for the wireless base station model for nonlinear precoding tasks described above can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0232] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 10As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores training and inference data for the base model. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a training method for a wireless base model for non-linear precoding tasks.

[0233] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0234] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0235] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0236] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0237] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0238] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0239] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0240] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A training method for a wireless base station model for nonlinear precoding tasks, characterized in that, The base model includes at least a preprocessing module, an encoder, and a multi-task output module. The multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module. The method includes: Obtain sample channel state information from the base station antenna side and the user equipment antenna side; The sample channel state information is embedded and encoded using the preprocessing module, the encoder, and the task type of the nonlinear precoding task to obtain the first output word. The first output lexical unit is processed by the reconstruction sub-output module to obtain reconstruction data. Based on the reconstruction data and the sample channel state information, the base model is trained in the first stage to obtain a first base model that meets the initial training completion conditions. Based on the sample channel state information and the sorting sub-output module and the precoding sub-output module, the first base model is trained in the second stage to obtain a second base model that meets the training completion conditions of the precoding task.

2. The method according to claim 1, characterized in that, The encoder includes at least one expert joint coding module; the multi-task output module further includes a detection sub-output module; the method further includes: Based on the sample channel state information, the expert joint coding module located at the end of the encoder in the second base model, and the detection sub-output module, the second base model is trained in a preset fine-tuning stage to obtain a target base model that meets the training completion conditions of the detection task.

3. The method according to claim 1, characterized in that, The preprocessing module includes a lexical embedding module and a masking module; the encoder includes a user-configured embedding module and at least one expert joint coding module; the process of embedding and coding the sample channel state information using the preprocessing module, the encoder, and the task type of the nonlinear precoding task to obtain the first output lexical includes: In the lexical embedding module, the sample channel state information is segmented and embedded to obtain an initial channel state lexical sequence. The initial channel state lexical sequence is then concatenated with a preset learnable vector to obtain a target channel state lexical sequence. In the masking module, the target channel state word sequence is masked based on the masking operation and masking ratio corresponding to the type of the nonlinear precoding task to obtain the input word sequence. The user-configured embedding module in the encoder performs embedding encoding on the input word sequence based on the user-configured embedding vector, the system-configured embedding vector, and the preset position encoding vector to obtain the first input word; the user-configured embedding vector is determined based on multiple learnable vectors. Based on the first input lexical unit and multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the first output lexical unit vector, and the first output lexical unit vector is determined as the first output lexical unit.

4. The method according to claim 3, characterized in that, The first stage of training of the base model based on the reconstructed data and the sample channel state information to obtain a first base model that meets the initial training completion conditions includes: The mean square error is calculated based on the sample channel state information and the reconstructed data to obtain channel reconstruction loss data; the load balancing loss data is calculated based on the sample channel state information and the expert model routing ratio corresponding to the expert joint coding module. The channel reconstruction loss data and the load balancing loss data are weighted and processed to obtain the first-stage training loss data. The model parameters of the base model are then updated using the first-stage training loss data until the first base model that meets the initial training completion conditions is obtained.

5. The method according to claim 1, characterized in that, The second stage of training, based on the sample channel state information, the sorting sub-output module, and the precoding sub-output module, to obtain a second base model that meets the precoding task training completion conditions, includes: The preprocessing module includes a lexical embedding module, which performs block processing and embedding processing on the sample channel state information to obtain an initial channel state lexical sequence. The initial channel state lexical sequence is then concatenated with a preset learnable vector to obtain a target channel state lexical sequence. In the user configuration embedding module of the encoder, the target channel state word sequence is embedded and encoded based on the user configuration embedding vector, the system configuration embedding vector, and the preset position encoding vector to obtain the second input word. Based on the second input lexical unit and multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the second output lexical unit vector; The second output word vector is processed by the sorting sub-output module, the feedforward precoding sub-module included in the precoding sub-output module, and the feedback precoding sub-module to obtain the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector. Based on the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector, a second base model that meets the training completion conditions of the precoding task is obtained.

6. The method according to claim 5, characterized in that, The process of processing the prediction feedforward precoding matrix, the prediction feedback precoding matrix, and the prediction user ranking probability vector to obtain a second base model that meets the training completion conditions of the precoding task includes: Based on the prediction feedforward precoding matrix and the prediction feedback precoding matrix, an equivalent precoding matrix is ​​generated. Based on the equivalent precoding matrix and channel matrix data, frequency efficiency loss data is calculated. If the frequency efficiency loss data does not meet the precoding task training completion conditions, second-stage training loss data is obtained based on the prediction feedforward precoding matrix, prediction feedback precoding matrix, prediction user ranking probability vector, and their corresponding real label data. The model parameters of the first base model are updated using the second-stage training loss data until a second base model that meets the precoding task training completion conditions is obtained.

7. The method according to claim 2, characterized in that, The second base model is trained using a preset fine-tuning phase based on the sample channel state information, the expert joint coding module located at the end of the encoder in the second base model, and the detection sub-output module, to obtain a target base model that meets the training completion conditions for the detection task, including: Based on the sample channel state information, fine-tuned channel state information is obtained by filtering. The fine-tuned channel state information is processed by the preprocessing module and encoder in the second base model to obtain the third output word vector; The third output word vector is processed by the feedforward detection submodule and the feedback detection submodule included in the detection sub-output module to obtain the prediction feedforward detection matrix and the prediction feedback detection matrix. The true feedforward detection matrix and the true feedback detection matrix are calculated based on the preset interference cancellation algorithm. Based on the predicted feedforward detection matrix, the predicted feedback detection matrix, the true feedforward detection matrix, and the true feedback detection matrix, fine-tuning training loss data is obtained. The model parameters of the expert joint coding module at the end of the encoder in the second base model and the detection sub-output module are updated using the fine-tuning training loss data to obtain the target base model that meets the training completion conditions of the detection task.

8. The method according to claim 2, characterized in that, The method further includes: Acquire the inference data for a multi-user nonlinear precoding task. The inference data includes a total channel matrix, which is obtained by splicing the real-time channel state information of each user equipment based on the dimension of the receiving antenna of the user equipment. In the second base model or the target base model, the total channel matrix is ​​divided into blocks and embedded through the word embedding module to obtain an initial channel state word sequence. The initial channel state word sequence is then concatenated with a preset learnable vector to obtain an inference channel state word sequence. The user configuration embedding module in the encoder performs embedding encoding on the inference channel state word sequence based on the user configuration embedding vector, the system configuration embedding vector, and the preset position encoding vector to obtain inference input words; the user configuration embedding vector is determined based on multiple learnable vectors. Based on the inference input lexical units and the multiple stacked expert joint coding modules, joint expert coding processing is performed to obtain the inference output lexical unit sequence; The ordering sub-output module and the precoding sub-output module, which includes a feedforward precoding sub-module and a feedback precoding sub-module, process the inference output word sequence to obtain the feedforward precoding matrix, the feedback precoding matrix, and the user ordering probability vector.

9. A training device for a wireless base station model for nonlinear precoding tasks, characterized in that, The base model includes at least a preprocessing module, an encoder, and a multi-task output module. The multi-task output module includes at least a reconstruction sub-output module, a sorting sub-output module, and a precoding sub-output module. The device includes: The acquisition unit is used to acquire sample channel state information from the base station antenna side and the user equipment antenna side; The encoding unit is used to perform embedding encoding processing on the sample channel state information through the preprocessing module, the encoder, and the task type of the nonlinear precoding task to obtain the first output word. The output processing unit is used to process the first output token through the reconstruction sub-output module to obtain reconstruction data, and to perform the first stage training on the base model based on the reconstruction data and the sample channel state information to obtain the first base model that meets the initial training completion conditions. The first training unit is used to perform a second-stage training on the first base model based on the sample channel state information, the sorting sub-output module, and the precoding sub-output module, to obtain a second base model that meets the training completion conditions of the precoding task.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.