WO2024032031A1 - 一种数据分析方法及装置 - Google Patents
一种数据分析方法及装置 Download PDFInfo
- Publication number
- WO2024032031A1 WO2024032031A1 PCT/CN2023/090526 CN2023090526W WO2024032031A1 WO 2024032031 A1 WO2024032031 A1 WO 2024032031A1 CN 2023090526 W CN2023090526 W CN 2023090526W WO 2024032031 A1 WO2024032031 A1 WO 2024032031A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- model
- mtlf
- accuracy
- evaluation
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/20—Ensemble learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/098—Distributed learning, e.g. federated learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/147—Network analysis or design for predicting network behaviour
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/16—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using machine learning or artificial intelligence
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
- H04L43/028—Capturing of monitoring data by filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/02—CAD in a network environment, e.g. collaborative CAD or distributed simulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Definitions
- the embodiments of the present application relate to the field of communication technology, and in particular, to a data analysis method and device.
- Federated learning is a type of distributed machine learning that enables data sharing and joint modeling while ensuring data privacy and security.
- the core idea is to conduct distributed model training among multiple data sources with local databases. Without the need to exchange data samples, only the intermediate parameters of the model need to be exchanged to achieve joint model training.
- selecting clients to participate in federated learning is a current concern.
- This application provides a data analysis method and device to determine the clients participating in federated learning during the federated learning process.
- the first aspect provides a data analysis method.
- the execution subject of the method is the server MTLF, or a device (circuit, chip or others) configured in the server MTLF.
- the method includes: The server MTLF sends the first model to each of the N candidate client MTLFs; optionally, the first model is an initial model, an intermediate model, or a final model in the federated learning process.
- the server MTLF receives first accuracy evaluation information from the N candidate client MTLFs respectively.
- the first accuracy evaluation information represents the accuracy of the first model determined by the candidate client MTLF using local data, so
- the N is a positive integer greater than 1; optionally, the local data of the candidate client MTLF is the data collected by the candidate client MTLF in its own service area.
- the client The local data collected by MTLF in its own service area will not be sent to other client MTLF. Local data can also be called local data set.
- the server MTLF determines the client MTLF that participates in federated learning among the N candidate client MTLFs based on the N pieces of first accuracy evaluation information.
- the server MTLF can choose the client MTLF with similar feedback model evaluation information to participate in federated learning.
- the distribution of their local data is also similar. Selecting client MTLF with similar local data distribution for federated learning can improve the prediction accuracy of the model trained by federated learning.
- the server MTLF sends a first model evaluation request message to the N candidate client MTLFs respectively, and the first model evaluation request message includes the first model; the server MTLF receives messages from the N candidate clients respectively.
- the N pieces of first accuracy evaluation information are all the MTLF feedbacks of the N candidate clients.
- N evaluation values of the first model accuracy, the difference between the evaluation values fed back by any two client MTLFs participating in federated learning is less than or equal to the first threshold.
- the evaluation value with the largest value and the evaluation value with the smallest value are determined; the difference between the evaluation value with the largest value and the evaluation value with the smallest value is determined , less than or equal to the first threshold, the N candidate clients all participate in federated learning; or, the difference between the largest evaluation value and the smallest evaluation value is greater than the first threshold, determine The average value of the N evaluation values; determine the absolute value of the difference between each evaluation value in the N evaluation values and the average value, and the absolute value of the difference from the evaluation value to the average value is called the The distance between the candidate client corresponding to the evaluation value and the centroid; in the federated learning group composed of the N candidate clients, remove the candidate client MTLF with the largest distance from the centroid to form a new federated learning group; continue in In the new federated learning group, the maximum evaluation value and the minimum evaluation value are determined, and the relationship between the difference between the two evaluation values and the first threshold is determined.
- the first accuracy evaluation information is the evaluation level of the first model accuracy fed back by the candidate client MTLF, and the evaluation level fed back by the MTLF client participating in federated learning meets the target evaluation level.
- the N evaluation levels an evaluation level whose difference from the target evaluation level is less than or equal to the third threshold is determined; and the difference from the target evaluation level is less than or equal to the third threshold.
- the candidate client MTLF corresponding to the three-threshold evaluation level is used as the client MTLF participating in federated learning.
- the accuracy evaluation information fed back by the selected client MTLF participating in federated learning can be close.
- the accuracy of the first model fed back by any two client MTLFs is The difference in degree evaluation values is less than or equal to the first threshold, thereby ensuring that the local data distribution of the selected client MTLF participating in federated learning tends to be consistent, and improving the prediction accuracy of the federated learning model.
- the method further includes: the server MTLF sends the first model to the analytical reasoning function AnLF; the server MTL receives second accuracy evaluation information from the AnLF, and the second accuracy evaluation information indicates that the AnLF uses local The data determines the accuracy of the first model.
- the AnLF's local data is data collected by the AnLF within its own service area.
- the server MTLF sends a second model evaluation request message to the AnLF, and the second model evaluation request message includes the first model; the server MTLF receives the second model from the AnLF. and an evaluation request response message, where the second model evaluation request response message includes the second accuracy evaluation information.
- determining the client MTLFs participating in federated learning among the N candidate client MTLFs based on the N pieces of first accuracy evaluation information includes: based on the N pieces of the first accuracy evaluation information and The second accuracy evaluation information determines the client MTLF that participates in federated learning among the N candidate clients.
- the second accuracy evaluation information is the reference value of the first model accuracy fed back by the AnLF
- the first accuracy evaluation information is the reference value fed back by the candidate client MTLF.
- the difference between the reference value and the evaluation value is less than or equal to the fourth threshold; the candidate client MTLF corresponding to the evaluation value whose difference between the reference value is less than or equal to the fourth threshold is used as a candidate client participating in federated learning.
- ClientMTLF the second accuracy evaluation information is the reference level of the accuracy of the first model fed back by the AnLF, and the first accuracy evaluation information is the accuracy of the first model fed back by the candidate client MTLF.
- the evaluation level of the degree, the difference between the evaluation level fed back by the client MTLF participating in federated learning and the reference level is less than or equal to the fifth threshold.
- determining the client MTLF participating in federated learning among the N candidate clients including: among the N evaluation levels, determining the evaluation level whose difference with the reference level is less than or equal to the fifth threshold;
- the candidate client MTLF corresponding to the evaluation level whose difference between the reference levels is less than or equal to the fifth threshold is regarded as the client MTLF participating in federated learning.
- the first accuracy evaluation information of the first model determined by the client MTLF and the first model determined by AnLF should not differ much. If the difference between the two is too large, the local data characteristics of the client MTLF are greatly different from the local data characteristics of AnLF; through the above design, among the N candidate client MTLFs, the local data characteristics of the AnLF are eliminated.
- Candidate client MTLF with large differences ensures that the local data of client MTLF participating in federated learning has similar characteristics to the local data of AnLF, thereby improving the inference accuracy of the federated learning model.
- the evaluation value, or reference value includes at least one of the following: accuracy rate, error rate, precision rate, recall rate, mean absolute error, mean absolute percentage error, or mean square error.
- it also includes: receiving a model request message from the AnLF, the model request message at least including the target accuracy that the model needs to meet; and the first model fed back by the client MTLF participating in the federated learning.
- the third accuracy evaluation information meets the requirements of the target accuracy, federated learning ends; or, the third accuracy evaluation information of the first model fed back by the client MTLF participating in federated learning does not meet the target accuracy.
- the second model is determined according to the model parameters fed back by the client MTLF participating in the federated learning.
- AnLF can notify the server MTLF of the target accuracy that the trained model needs to achieve through the model request message; the server MTLF stops federated learning when the model obtained by federated learning training meets the target accuracy, thereby making the federated learning training The resulting model meets the preset target accuracy requirements.
- a data analysis method is provided.
- the execution subject of the method is the client MTLF or AnLF, or a device configured in the client MTLF, or a device configured in AnLF, etc., including: receiving model training logic from the server
- the model evaluation request message of the function MTLF includes a first model; optionally, the first model is an initial model, an intermediate model, or a final model in the federated learning process.
- determine the accuracy evaluation information of the first model Using local data, determine the accuracy evaluation information of the first model; and send a model evaluation request response message to the server MTLF, where the model request response message includes the accuracy evaluation information of the first model.
- the accuracy evaluation information may be first accuracy evaluation information, and the first accuracy evaluation information represents the accuracy of the first model determined by the candidate client MTLF using local data.
- the accuracy evaluation information is second accuracy evaluation information, and the second accuracy evaluation information represents the accuracy of the first model determined by the analysis and reasoning function AnLF using local data.
- the accuracy evaluation information of the first model is an evaluation value of the accuracy of the first model
- using local data to determine the accuracy evaluation information of the first model includes: according to The local data and the first model are used to determine the output of the first model; based on the output of the first model, an evaluation value of the accuracy of the first model is determined.
- the accuracy evaluation information of the first model is an evaluation level of the accuracy of the first model
- using local data to determine the accuracy evaluation information of the first model includes: according to Determine the output of the first model based on the local data and the first model; determine the evaluation value of the accuracy of the first model based on the output of the first model; determine the accuracy of the first model based on the output of the first model The evaluation value determines the evaluation level of the accuracy of the first model.
- the method further includes: sending a model request message to the server MTLF, where the model request message at least includes a model Target accuracy needs to be met.
- the method further includes: receiving an analysis request message from the user,
- the analysis request message includes at least one of the following: analysis identification, analysis filtering information, or target accuracy that the analysis needs to meet; it is determined that the local model of the analysis reasoning function AnLF cannot meet the requirements of the analysis request message, and the network warehouse function NRF The MTLF that meets the requirements of the analysis request message cannot be queried.
- AnLF can match the analysis identifier and model filtering information and meet the target accuracy model, it is determined not to perform federated learning; otherwise, it is determined to perform federated learning and train a user that meets the target accuracy through the federated learning process. model for reasoning about the current task.
- the evaluation value includes at least one of the following: accuracy rate, error rate, precision rate, recall rate, mean absolute error, mean absolute percentage error, or mean square error.
- a data analysis method is provided.
- the execution body of the method is a server MTLF, or a device configured in the server MTLF, including: receiving a model request message from the analysis and reasoning function AnLF, where the model request message includes At least one of the following: analysis identification, model filtering information, or the target accuracy that the model needs to meet.
- the analysis identification is used to identify the analysis task
- the model filtering information is used to indicate the conditions that the training data needs to meet during the federated learning process.
- the target accuracy that the model needs to meet is used to indicate the accuracy that the model that infers the current analysis task needs to meet; according to the model request message, it is determined whether to perform federated learning or not.
- the server MTLF can determine whether to perform subsequent federated learning based on the model request message, which can avoid unnecessary federated learning, save network resources, and meet the accuracy requirements of the analysis service model.
- determining whether to perform federated learning based on the model request message includes: determining characteristics of the training data in the federated learning process based on the analysis identification and/or the model filtering information; the training If the characteristics of the data are not related to the geographical location, it is determined to perform federated learning; or, if the characteristics of the training data are related to the geographical location, it is determined not to perform federated learning.
- determining whether to perform federated learning according to the model request message includes: sending a first model evaluation request message to a client MTLF participating in federated learning, where the first model evaluation request message is used to request The client MTLF reports the accuracy evaluation information of the local model; receives a first model evaluation request response message from the client MTLF, the first model evaluation request response message includes the local model reported by the client MTLF accuracy evaluation message; when the accuracy evaluation information of the local model fed back by the client MTLF meets the target accuracy, it is determined not to perform federated learning; or, the accuracy evaluation information of the local model fed back by the client MTLF When the stated target accuracy is not met, it is determined to perform federated learning.
- the server MTLF can determine whether to perform subsequent federated learning based on the local model or the model obtained in each round of federated learning, which can avoid unnecessary federated learning and save network resources.
- the method when it is determined not to perform federated learning, the method further includes: sending a model request response message to the AnLF, where the model request response message includes a federated learning failure reason or an analysis aggregation indication, and the analysis aggregation indication is Yu instructs the AnLF to determine the result of the current analysis task using analysis aggregation.
- a data analysis method is provided.
- the execution subject of the method is AnLF, or a device configured in the AnLF.
- the method includes: receiving an analysis request message from a user, the analysis request message including an analysis identifier and the The accuracy that the analysis hopes to achieve; when the local model of the analysis and reasoning function AnLF cannot meet the requirements of the analysis request message, and the model training logic function MTLF that meets the requirements of the analysis request message cannot be queried in the network warehouse function NRF, the server will MTLF sends a model request message.
- the model request message includes at least one of the following: analysis identification, model filtering information, or target accuracy that the model needs to meet.
- the target accuracy that the model needs to meet is the target accuracy that is expected to be achieved according to the analysis.
- the analysis accuracy is determined, and the model filtering information is used to indicate the conditions that the training data needs to meet during the model training process.
- the method further includes: receiving a model request response message from the server MTLF.
- the model request response message includes a federated learning failure reason or an analysis aggregation indication.
- the analysis aggregation indication is used to instruct the AnLF to utilize analysis aggregation. way to determine the results of the current analysis task.
- the fifth aspect provides a communication device.
- the device may be a server MTLF, or a device (such as a chip, etc.) configured in the server MTLF, or a device that can be used in conjunction with the server MTLF.
- the device has the ability to implement the above first aspect or Functionality of the third aspect method. This function can be implemented by hardware, or it can be implemented by hardware executing corresponding software.
- the hardware or software includes one or more units corresponding to the above functions, such as a transceiver unit and a processing unit.
- a communication device including units or means (means) for executing each step in the first aspect or the third aspect.
- a seventh aspect provides a communication device, including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory, so that the device executes the above-mentioned first aspect Or the method in the third aspect.
- An eighth aspect provides a communication device, including a processor coupled to a memory.
- the processor is configured to call a program stored in the memory to execute the method of the first aspect or the third aspect.
- the memory may be located in the device. Within or outside the device. And there can be one or more processors.
- a ninth aspect provides a communication device, including a processor and an interface circuit.
- the processor is configured to communicate with other devices through the interface circuit and execute the method of the first or third aspect.
- the processor may be one or more indivual.
- a tenth aspect provides a communication device, which may be a client MTLF, or a device (such as a chip) configured in the client MTLF, or a device that can be used in conjunction with the client MTLF, or the device may be an AnLF, Or a device (such as a chip) configured in the AnLF, or a device that can be used in conjunction with the AnLF, and the device has the function of realizing the above second aspect or the fourth aspect.
- This function can be implemented by hardware, or it can be implemented by hardware executing corresponding software.
- the hardware or software includes one or more units corresponding to the above functions, such as a transceiver unit and a processing unit.
- a communication device including units or means for executing each step in the above-mentioned second aspect or fourth aspect.
- a communication device including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory, so that the device executes the above-mentioned Methods in the second or fourth aspect.
- a communication device including a processor coupled to a memory.
- the processor is configured to call a program stored in the memory to execute the method of the second aspect or the fourth aspect.
- the memory may be located in the Within the device, it can also be outside the device. And there can be one or more processors.
- a fourteenth aspect provides a communication device, including a processor and an interface circuit.
- the processor is configured to communicate with other devices through the interface circuit and execute the method of the second or fourth aspect.
- the processor may be one or Multiple.
- a chip system including: a processor for executing the method of any one of the above-mentioned first to fourth aspects.
- a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instruction is run on a communication device, any one of the above-mentioned first to fourth aspects is achieved. The method is executed.
- a computer program product includes a computer program or instructions.
- the method of any one of the above-mentioned first to fourth aspects is performed. be executed.
- An eighteenth aspect provides a communication system, which system includes the device of any one of the foregoing fifth to ninth aspects, and the device of any one of the tenth to fourteenth aspects.
- a data analysis method includes: the server MTLF sends the first model to N candidate client MTLFs respectively; any candidate client MTLF among the N candidate client MTLFs uses local data, Determine first accuracy evaluation information of the first model, where the first accuracy evaluation information represents the accuracy of the first model determined by the candidate client MTLF using local data, and N is a positive number greater than 1. Integer; the candidate client MTLF sends the first accuracy evaluation information to the server MTLF; the server MTLF determines the clients participating in federated learning among the N candidate client MTLFs based on the N pieces of the first accuracy evaluation information. terminal MTLF.
- the server MTLF may send a first model evaluation request message to N candidate client MTLFs respectively, and the first model evaluation request message includes the first model; the server MTLF may respectively receive messages from the N candidate client MTLFs.
- the first accuracy evaluation information is an evaluation value of the first model accuracy fed back by the candidate client MTLF.
- the candidate client MTLF determines the output of the first model based on local data and the first model; the candidate client determines the evaluation value of the accuracy of the first model based on the output of the first model.
- the difference between the evaluation values fed back by any two candidate client MTLFs determined by the server MTLF among the client MTLFs participating in federated learning is less than or equal to the first threshold.
- the server MTLF determines the evaluation value with the largest value and the evaluation value with the smallest value; the difference between the evaluation value with the largest value and the evaluation value with the smallest value is less than or equal to the First threshold, the N candidate clients all participate in federated learning; or, the difference between the evaluation value with the largest value and the evaluation value with the smallest value is greater than the first threshold, determine the value of the N evaluation values average value; determine the absolute value of the difference between each evaluation value in the N evaluation values and the average value; in the federated learning group composed of the N candidate clients, eliminate those that differ from the average value
- the candidate client MTLF corresponding to the evaluation value with the largest absolute value forms a new federated learning group; continue in the new federated learning group, determine the evaluation value with the largest value and the evaluation value with the smallest value, and determine two The relationship between the difference between the evaluation values and the first threshold.
- the first accuracy evaluation information is an evaluation level of the first model accuracy fed back by the candidate client MTLF.
- the client MTLF determines the first model based on local data and the first model. The output of a model; the client MTLF determines the evaluation value of the accuracy of the first model based on the output of the first model; the client MTLF determines the first model based on the evaluation value of the accuracy of the first model Evaluation level of accuracy.
- the evaluation level of the client MTLF feedback determined by the server MTLF that participates in federated learning satisfies the target evaluation level.
- the server MTLF determines an evaluation level whose difference from the target evaluation level is less than or equal to a third threshold; the server MTLF determines that the difference from the target evaluation level is less than or equal to the third threshold.
- the candidate client MTLF corresponding to the evaluation level of the third threshold is used as the client MTLF participating in federated learning.
- the server MTLF sends the first model to the analysis and reasoning function AnLF;
- AnLF uses local data to determine the second accuracy evaluation information of the first model, and the second accuracy evaluation information represents The AnLF uses local data to determine the accuracy of the first model.
- AnLF sends the second accuracy evaluation information to the server MTLF.
- the server MTLF sends a second model evaluation request message to the AnLF, and the second model evaluation request message includes the first model.
- the server MTLF receives a second model evaluation request response message from the AnLF, where the second model evaluation request response message includes the second accuracy evaluation information.
- the server MTLF determines the client MTLFs participating in federated learning among the N candidate client MTLFs based on the N first accuracy evaluation information, including: the server MTLF determines the client MTLFs participating in federated learning based on the N pieces of the first accuracy evaluation information.
- the degree evaluation information and the second accuracy evaluation information determine the client MTLF that participates in federated learning among the N candidate clients.
- the second accuracy evaluation information is the reference value of the first model accuracy fed back by the AnLF
- the first accuracy evaluation information is the reference value fed back by the candidate client MTLF.
- the evaluation value of the first model accuracy, the difference between the evaluation value fed back by any one of the client MTLFs participating in federated learning determined by the server MTLF and the reference value is less than or equal to the fourth threshold.
- the server MTLF determines that the difference between the reference value and the reference value is less than or equal to the fourth threshold; the server MTLF determines the evaluation value whose difference between the reference value and the reference value is less than or equal to the fourth threshold.
- the candidate client MTLF corresponding to the evaluation value is used as the client MTLF participating in federated learning.
- the second accuracy evaluation information is the reference level of the first model accuracy fed back by the AnLF
- the first accuracy evaluation information is the reference level of the first model accuracy fed back by the candidate client MTLF.
- the difference between the evaluation level fed back by the client MTLF participating in federated learning determined by the server MTLF and the reference level is less than or equal to the fifth threshold.
- the server MTLF determines the evaluation level whose difference from the reference level is less than or equal to the fifth threshold; the server MTLF determines the evaluation level whose difference from the reference level is less than or equal to the fifth threshold.
- the candidate client MTLF corresponding to the evaluation level is used as the client MTLF participating in federated learning.
- anLF sends a model request message to the server MTLF, the model request message at least includes the target accuracy that the model needs to meet; the server MTLF sends the first feedback of the client MTLF participating in the federated learning.
- the server MTLF determines the second model based on the model parameters fed back by the client MTLF participating in federated learning, and uses the second model to continue federated learning.
- the AnLF before sending the model request message to the server MTLF, the AnLF further includes: the AnLF receives an analysis request message from the user, and the analysis request message includes at least one of the following: analysis identification, analysis filtering information, or the target accuracy that the analysis needs to meet; AnLF determines that AnLF’s local model cannot meet The requirements of the analysis request message, and the MTLF that meets the requirements of the analysis request message cannot be queried in the network warehouse function NRF.
- a data analysis method including: AnLF receives an analysis request message from a user, and the analysis request message includes an analysis identifier and the accuracy expected to be achieved by the analysis; AnLF's local model cannot satisfy the analysis request message, and when the model training logic function MTLF that meets the requirements of the analysis request message cannot be queried in the network warehouse function NRF, AnLF sends a model request message to the server MTLF, and the model request message includes at least one of the following: Analysis identification, model filtering information, or the target accuracy that the model needs to meet. The target accuracy that the model needs to meet is determined based on the analysis accuracy that the analysis hopes to achieve. The model filtering information is used to indicate that during model training Conditions that the training data needs to meet during the process. The server MTLF determines whether to perform federated learning based on the model request message.
- the server MTLF determines whether to perform federated learning based on the model request message, including: determining characteristics of the training data in the federated learning process based on the analysis identifier and/or the model filtering information; If the characteristics of the training data are not related to the geographical location, it is determined to perform federated learning; or, if the characteristics of the training data are related to the geographical location, it is determined not to perform federated learning.
- the server MTLF determines whether to perform federated learning based on the model request message, including: sending a first model evaluation request message to the client MTLF participating in federated learning, where the first model evaluation request message is Requesting the client MTLF to report the accuracy evaluation information of the local model; receiving a first model evaluation request response message from the client MTLF, where the first model evaluation request response message includes the accuracy evaluation information reported by the client MTLF.
- the accuracy evaluation message of the local model; the accuracy evaluation information of the local model fed back by the client MTLF meets the target accuracy, and it is determined not to perform federated learning; or the accuracy evaluation of the local model fed back by the client MTLF If the information does not meet the stated target accuracy, it is determined to perform federated learning.
- the server MTLF when the server MTLF determines not to perform federated learning, it further includes: the server MTLF sends a model request response message to the AnLF, and the model request response message includes the federated learning failure reason or an analysis aggregation indication, and the The analysis aggregation instruction is used to instruct the AnLF to use analysis aggregation to determine the result of the current analysis task.
- the server MTLF when it determines to perform federated learning, it also includes: sending a second model evaluation request message to the client MTLF participating in federated learning, where the second model evaluation request message includes the results obtained from this round of model training.
- model the second model evaluation request message is used to request the client MTLF to report the accuracy evaluation information of the model obtained by the current round of training; receiving the second model evaluation request response message from the client MTLF, so
- the second model evaluation request response message includes the accuracy evaluation information of the model obtained by the current round of model training reported by the client MTLF; the accuracy evaluation of the model obtained by the current round of model training reported by the client MTLF.
- the information meets the stated target accuracy, ending federated learning.
- FIG. 1 is a schematic diagram of the network architecture provided by this application.
- FIG. 2 is a schematic diagram of another network architecture provided by this application.
- FIG. 3 is a flow chart of the data analysis method provided by this application.
- Figure 4 is another flow chart of the data analysis method provided by this application.
- Figure 5 is another flow chart of the data analysis method provided by this application.
- FIG. 6 is a schematic diagram of the device provided by this application.
- FIG. 7 is another schematic diagram of the device provided by this application.
- FIG 8 is a schematic diagram of the system provided by this application.
- FIG. 1 is a schematic architectural diagram of a communication system 1000 applied in an embodiment of the present application.
- the communication system 1000 includes a core network, which includes one or more of the following entities:
- Access and mobility management function network element mainly used for the attachment, mobility management and tracking area update process of terminals in mobile networks.
- Access and mobility management function network elements process non-access stratum (NAS) messages, complete registration management, connection management and reachability management, allocate tracking area list (track area list, TA list) and mobility management etc., and transparently routes session management (SM) messages to the session management network element.
- NAS non-access stratum
- the access and mobility management function network element may be the access and mobility management function (AMF).
- Session management network element Mainly used for session management in mobile networks, such as session establishment, modification, and release. Specific functions include assigning Internet Protocol (IP) addresses to terminals and selecting user plane network elements that provide packet forwarding functions.
- IP Internet Protocol
- the session management network element may be a session management function (SMF).
- Policy control network element includes user subscription data management functions, policy control functions, billing policy control functions, quality of service (QoS) control, etc.
- the policy control network element can be a policy control function (PCF).
- PCF policy control function
- PCF may also be divided into multiple entities according to levels or functions, such as global PCF and PCF within slices, or session management PCF (session, management PCF, SM-PCF) and access management PCF (access management PCF). management PCF, AM-PCF).
- Network slice selection network element mainly used to select appropriate network slices for terminal services.
- the network slice selection network element may be a network slice selection function (NSSF) network element.
- NSSF network slice selection function
- Unified data management network element responsible for managing terminal contract information.
- the unified data management network element can be unified data management (UDM).
- the data analysis network element collects network data from various network functions (NF), such as AMF, SMF, PCF, etc.
- the data analysis network element can collect network data indirectly from the application function (AF) through the network exposure function (NEF), or directly from the AF; the data analysis network element can also collect network data from the operation management and maintenance ( Operation, administration, and maintenance (OAM) system collects network data.
- the data analysis network element can analyze and predict based on the collected network data.
- the data analysis network element collects relevant network data, uses machine learning technology to train and fit the collected network data to a model, and then outputs analysis services based on the model.
- the data analysis network element can be the network data analytics function (NWDAF) or the management data analytics system (MDAS).
- User plane network element Mainly responsible for processing user messages, such as forwarding, accounting, legal interception, etc.
- the user plane network element can also be called a protocol data unit (PDU) session anchor (PDU session anchor, PSA).
- PDU session anchor PDU session anchor
- PSA protocol data unit
- the user plane network element can be the user plane function (UPF).
- UPF can communicate directly with NWDAF through a service-like interface, or it can communicate with NWDAF through other means, such as through SMF or a private interface or internal interface with NWDAF.
- Application function network element mainly supports cooperation with the 3rd generation partnership project (3rd generation partnership project, 3GPP) core network interacts to provide services, such as affecting data routing decisions, policy control functions, or providing some third-party services to the network side.
- 3rd generation partnership project 3rd generation partnership project, 3GPP
- the application function network element can be AF.
- Network opening function network element mainly used to support the opening of capabilities and events, such as for securely opening services and capabilities provided by 3GPP network functions to the outside.
- the network development function network element is also the network exposure function (NEF).
- Network storage function network element It is mainly used to store network function entities and description information of the services they provide, and supports service discovery and network element entity discovery.
- the network storage function network element can be a network repository function (NRF).
- Operation management and maintenance network elements mainly used to manage resource configuration, performance statistics, fault alarms, etc. of network equipment.
- the operation, management and maintenance network elements can be OAM, etc.
- the communication system 1000 may also include the following equipment or network elements:
- Terminal It is a device with wireless sending and receiving functions.
- the terminal can also be called terminal equipment, user equipment (UE), mobile station, mobile terminal, etc.
- Terminals can be widely used in various scenarios, such as device-to-device (D2D), vehicle to everything (V2X) communication, machine-type communication (MTC), Internet of Things ( internet of things (IOT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc.
- Terminals can be mobile phones, tablets, computers with wireless transceiver functions, wearable devices, vehicles, drones, helicopters, airplanes, ships, robots, robotic arms, smart home devices, etc.
- the embodiments of this application do not limit the specific technology and specific equipment form used by the terminal.
- the terminal is used as an example for description below.
- Access network (AN) equipment used for wireless side access of terminals, which can be base station, evolved base station (evolved NodeB, eNodeB), transmission reception point (TRP), The next generation base station (next generation NodeB, gNB) in the fifth generation (5th generation, 5G) mobile communication system, the next generation base station in the sixth generation (6th generation, 6G) mobile communication system, and the base station in the future mobile communication system Or an access node in a wireless fidelity (WiFi) system, etc.; it can also be a module or unit that completes some functions of the base station, for example, it can be a centralized unit (CU) or a distributed unit (distributed unit, DU).
- CU centralized unit
- DU distributed unit
- the CU here completes the functions of the base station’s radio resource control (RRC) protocol and packet data convergence protocol (PDCP), and can also complete the service data adaptation protocol (SDAP) function;
- DU completes the functions of the radio link control (RLC) layer and medium access control (MAC) layer of the base station, and can also complete part of the physical (PHY) layer or all of the physical layer.
- RRC radio resource control
- PDCP packet data convergence protocol
- SDAP service data adaptation protocol
- DU completes the functions of the radio link control (RLC) layer and medium access control (MAC) layer of the base station, and can also complete part of the physical (PHY) layer or all of the physical layer.
- RRC radio resource control
- PDCP packet data convergence protocol
- SDAP service data adaptation protocol
- DU completes the functions of the radio link control (RLC) layer and medium access control (MAC) layer of the base station, and can also complete part of the physical (PHY) layer or all of the physical layer.
- PHY physical layer
- a data network can be a service network that provides data business services to users.
- the DN can be an IP multi-media service network or the Internet, etc.
- the terminal device can establish a protocol data unit (PDU) session from the terminal device to the DN to access the DN.
- PDU protocol data unit
- the data analysis network element trains a model and outputs analysis results according to the model.
- NWDAF can be divided into model training logic functions There are two parts (model training logical function, MTLF) and analytical reasoning logical function (analytics logical function, AnLF).
- NWDAF can have only the MTLF function, only the AnLF function, or both the MTLF function and the AnLF function.
- MTLF can be an independent network element or a functional unit in NWDAF.
- AnLF can be an independent network element or a functional unit in NWDAF.
- MTLF is used to train the model based on the collected data.
- AnLF is used to use models for inference and provide analysis services to each network element.
- the Internet of Vehicles server can request AnLF to predict the network performance of a certain location in the next 10 minutes.
- the network performance includes data such as the maximum sending and receiving speed of the terminal at the location.
- AnLF can collect data related to terminals at the location, and obtain the network performance prediction model from MTLF.
- the collected terminal data can be used as input to the network performance prediction model.
- the output of the model is the predicted time in the location in the next 10 minutes.
- the terminal transmits and receives data at the maximum speed it can achieve, and then provides it to the Internet of Vehicles server.
- NWDAF In real networks, multiple NWDAFs are generally deployed. Each NWDAF usually has its own service area.
- the service area of NWDAF can be an area covered by one or more tracking areas (tracking area, TA).
- TA consists of broadcasting the same tracking area.
- the code consists of one or more cells.
- MTLF in NWDAF When collecting raw data for model training, it is difficult to collect all raw data from distributed data sources in different regions. To solve this problem, MWDAF uses federated learning (FL) technology to train the model. In the process of machine learning, there is no need to centrally transfer the original training data to a certain MWDAF, but only the cooperation between MTLFs in multiple NWDAFs. Each participant can use other data to conduct joint modeling through federation.
- FL federated learning
- the MTLF that organizes federated learning is called federated learning server MTLF (FL Server MTLF), which can be referred to as server MTLF;
- the MTLF that participates in federated learning is called federated learning client MTLF (FL Client MTLF), which can be referred to as client MTLF.
- the consumer of the analysis service can send an analysis request subscription message or an analysis information request message to AnLF to request AnLF to perform a certain analysis service.
- AC can be a network element, application function or OAM, etc., without limitation.
- the MTLF with the server role can be queried in NRF, which is called the server MTLF.
- AnLF can send a model request message to the queried server MTLF to request the server MTLF to organize federated learning, jointly train the model, and complete the analysis task.
- the server MTLF when it receives the model request message of AnLF, it can determine multiple client MTLFs participating in federated learning by querying the NRF. Each client MTLF corresponds to a different data source, and the data source can be composed of local data collected by the client MTLF.
- the server MTLF sends a request message to the determined client MTLF. This request message is used to request the client MTLF to join federated learning.
- the request message may include analysis identification, filtering information, federated learning group identification, etc.; the client MTLF determines to join the federation.
- data for model training is collected from various data sources based on analysis identification and filtering information, which can be called training data; the client MTLF sends a response message to the server MTLF to join the federated learning group.
- the server MTLF organizes each client MTLF participating in federated learning to perform federated learning together. Specifically, the server MTLF sends the initial model to the client MTLF. Each client MTLF uses the locally collected training data to train the initial model and update the model parameters; each client MTLF sends the model parameters obtained by local training to the server MTLF.
- Server MTLF aggregates each model parameter sent by each client MTLF.
- AnLF can analyze the analysis task based on the model obtained by the training, and return the analysis results to AC. Or, if the model obtained by the above aggregation cannot meet the target accuracy, or the number of federated learning If the preset number of times is not reached, the server MTLF can use the model obtained in the previous round of aggregation as the initial model for the next round of model training, send it to the client MTLF, and organize the client MTLF to conduct the next round of model training.
- the server MTLF directly organizes the client MTLF to perform federated learning when receiving the model request message from AnLF.
- the distribution characteristics of a large amount of data in the network are different.
- Using data with different distribution characteristics for federated learning may result in a model obtained by federated learning that is not very accurate.
- a model needs to be trained to predict network load. Assume that the server MTLF determines that there are 3 client MTLFs participating in federated learning.
- the areas to which the three client MTLFs belong are commercial areas, office areas and residential networks respectively.
- the network load is heavy in the evening and morning, and the network load is very light during the day on weekdays; for office areas, the network load is heavy during the day on weekdays, and the load is light on weekends; for commercial areas, the network load is heavy on weekends, and the network load is light on weekdays. lighter.
- the service scope is respectively residential area, commercial area, and office area
- the three client MTLF will conduct model training based on the locally collected data, and the parameters of the updated model will be sent to the server MTLF, and the server will train the three clients. Aggregation of model parameters sent by end-MTLF may result in lower prediction accuracy of the aggregated model. How to determine the client MTLF participating in federated learning is a technical issue to be solved in this application.
- This application provides a data analysis method.
- the server MTLF sends the first model to the determined candidate client MTLF participating in federated learning; when the candidate client MTLF participating in federated learning receives the first model, it uses the local
- the data determines the accuracy evaluation information of the first model, and the determined accuracy evaluation information is fed back to the server MTLF.
- the server MTLF determines the client MTLFs that participate in federated learning among the candidate client MTLFs based on the model accuracy evaluation information fed back by the candidate client MTLFs. For example, client MTLF that selects feedback model evaluation information with similar information participates in federated learning.
- their local data distribution is also similar. Selecting client MTLF with similar local data distribution for federated learning can improve the prediction accuracy of the model trained by federated learning.
- the process of providing a data analysis method includes at least:
- Step 300 The server MTLF sends the first model to N candidate client MTLFs respectively, where N is an integer greater than 1.
- the server MTLF sends a first model evaluation request (model evaluation request) message to each of the N candidate client MTLFs, and the first model evaluation request message includes the first model.
- model evaluation request model evaluation request
- Step 301 N candidate client MTLFs respectively send first accuracy evaluation information to the server MTLF.
- the server can obtain N pieces of first accuracy evaluation information based on the first accuracy evaluation information respectively sent by the N candidate client MTLFs. For example, when any candidate client MTLF among N candidate client MTLFs receives the first model, it can use local data (local data) to determine the accuracy evaluation information of the first model.
- the accuracy evaluation information is called First accuracy assessment information.
- the local data of the candidate client is the data collected by the candidate client MTLF in its own service area. During the process of federated learning, the local data collected by the client MTLF will not be sent to other client MTLFs. Local data may also be called a local data set.
- the client MTLF uses the local training data set to determine the accuracy evaluation information of the first model.
- the training data set includes input data and label data.
- the client MTLF can input the input data into the first model; and determine the prediction information of the first model based on the output of the first model.
- the output of the first model may be prediction information, or the output of the first output may be further processed to obtain prediction information.
- the above processing includes but is not limited to: transforming the output of the first model in dimensions such as time domain, frequency domain or spatial domain to obtain prediction information, etc.
- the output of the first model is used as the prediction information of the first model as an example. Compare the prediction information of the first model with the label data in the training data set to determine the first accuracy evaluation information of the first model in the training phase.
- the accuracy of the first model The degree evaluation information may be an evaluation value.
- the evaluation value includes at least one of the following: accuracy rate, error rate, precision rate, recall rate, mean absolute error, mean absolute percentage error, or mean square error, etc.
- the evaluation value of the first model may be the accuracy rate, error rate, precision or recall rate of the model, etc.
- the evaluation value of the first model may be the mean absolute error, mean absolute percentage error, mean square error, etc. of the model.
- the accuracy evaluation information of the first model may be an evaluation level.
- the candidate client MTLF can determine the evaluation level corresponding to the evaluation value of the first model according to the preset correspondence between the evaluation value range and the evaluation level, and the candidate client MTLF feeds back the evaluation level of the first model to the server MTLF.
- the evaluation level includes a low accuracy level, a medium accuracy level, and a high accuracy level, and each evaluation level corresponds to a different evaluation value range.
- the candidate client MTLF may determine that the evaluation level corresponding to the evaluation value of the first model is low, medium, or high based on the corresponding relationship between the evaluation level and the evaluation value range.
- the N candidate client MTLFs may each send a first model evaluation request response (model evaluation request response) message to the server MTLF, where the first model evaluation request response message includes the first accurate value determined by the candidate client MTLF. degree assessment information.
- Step 302 The server MTLF determines the client MTLF that participates in federated learning among the N candidate client MTLFs based on the N first accuracy evaluation information.
- the N pieces of first accuracy evaluation information are N evaluation values of the accuracy of the first model fed back by N candidate client MTLFs. Any two clients in the client MTLFs participating in federated learning The difference between the evaluation values fed back by the terminal MTLF is less than or equal to the first threshold.
- the first threshold is preset, or specified by the protocol, or pre-configured or pre-notified to the server MTLF, etc., without limitation.
- the clustering method can be used to determine the client MTLF that participates in federated learning among N candidate clients.
- the implementation method is as follows:
- N evaluation values determine the maximum evaluation value and the minimum evaluation value; if the difference between the maximum evaluation value and the minimum evaluation value is less than or equal to the first threshold, it is considered that the N candidate clients all meet the conditions. , can participate in federated learning; otherwise, perform step 3 below.
- the new federated learning group determine the maximum evaluation value and the minimum evaluation value, determine the relationship between the difference between the maximum evaluation value and the minimum evaluation value and the first threshold, and repeat step 3. , until the difference between the evaluation values fed back by any two client MTLFs participating in federated learning is less than or equal to the first threshold. or,
- the maximum distance method can be used to determine the client MTLF that participates in federated learning among N candidate clients.
- the implementation method is as follows:
- the N candidate client MTLFs all meet the conditions and can participate in federated learning; otherwise, perform step 3.
- the centroid algorithm is used to determine the client MTLF that participates in federated learning among N candidate clients.
- the implementation method is as follows:
- N evaluation values determine the largest evaluation value and the smallest evaluation value; if the difference between the largest evaluation value and the smallest evaluation value is less than or equal to the first threshold, then the N All candidate client MTLFs meet the conditions and can participate in federated learning, ending the process; otherwise, continue to step 3.
- step 4 Determine the distance between each candidate client MTLF and the centroid, and remove the client MTLF with the largest distance from the centroid from the federated learning group to form a new federated learning group.
- step 2. determine the largest evaluation value and the smallest evaluation value, and determine the relationship between the difference between the two evaluation values and the first threshold, and repeat step 3. and 4, until the difference between the evaluation values fed back by any two client MTLFs among the client MTLFs participating in federated learning is less than or equal to the first threshold.
- the N first accuracy evaluation information is N evaluation levels of the first model accuracy fed back by N candidate client MTLFs, and the evaluation levels fed back by the MTLF clients participating in federated learning Meet target assessment levels.
- the server MTLF may determine, among the N evaluation levels, the evaluation levels whose difference from the target evaluation level is less than or equal to the third threshold; and evaluate the evaluation levels whose difference from the target evaluation level is less than or equal to the third threshold.
- the candidate client MTLF corresponding to the level is used as the client MTLF participating in federated learning.
- the third threshold is preset, or specified in the protocol, or pre-notified or configured to the server MTLF, and is not limited.
- the target evaluation level is preset, or specified in the protocol, or notified or configured to the server MTLF in advance, without limitation.
- the target evaluation level may be AnLF pre-notification server MTLF.
- the server MTLF may select an evaluation level whose difference from the target evaluation level is less than or equal to the third threshold among the N evaluation levels fed back by the N candidate clients. For example, the value of N is 3, and the evaluation levels of the three candidate client MTLF feedbacks are respectively evaluation level 7, evaluation level 9 and evaluation level 5.
- the server MTLF can choose between the above three evaluation levels and the target evaluation level 8. The difference is less than or equal to the third threshold (for example, the third threshold is 1).
- the selected evaluation levels are evaluation level 7 and evaluation level 9, then the candidate client MTLF corresponding to evaluation level 7 and evaluation level 9 , participate in federated learning, evaluate the candidate client MTLF corresponding to level 5, eliminate it from the federated learning group, and no longer participate in federated learning.
- the server MTLF can also send the first model to AnLF and receive second accuracy evaluation information from AnLF.
- the second accuracy evaluation information represents the accuracy of the first model determined by the AnLF using local data.
- Evaluate information For example, the server MTLF may send a second model evaluation request message to AnLF, the second model evaluation request message including the first model, and receive a second model evaluation request response message from AnLF, the second model evaluation request response message including The second accuracy assessment information is included.
- AnLF receives the first model
- the collected local data can be used to determine the accuracy of the first model, and the accuracy of the first model is called second accuracy evaluation information.
- the local data of the AnLF is the data collected by the AnLF within its own service area.
- AnLF can determine the second accuracy evaluation information of the first model based on the local data that has been collected historically, by comparing the inference results of the first model with the observed label data (i.e., real data from the network) , to determine the accuracy evaluation information of the first model.
- the first model is used to predict terminal performance 10 minutes in the future.
- AnLF can use the terminal data collected locally 10 minutes ago as input to the first model.
- the output of the first model can be considered as the inference result of the first model.
- the inference result of the first model can be the predicted inference result. Terminal performance after 10 minutes.
- AnLF compares the predicted terminal performance after 10 minutes inferred by the first model with the real performance of the terminal after 10 minutes collected in the network, and determines the second accuracy evaluation information.
- the second accuracy evaluation The information may be an evaluation value of the accuracy of the first model, or an evaluation level of the accuracy of the first model.
- evaluation values and evaluation levels please refer to the previous description.
- the server MTLF can determine the clients participating in federated learning among the N candidate client MTLFs based on the N first accuracy evaluation information fed back by the N candidate client MTLF and the second accuracy evaluation information fed back by AnLF.
- MTLF For example, the N first accuracy evaluation information fed back by MTLF of N candidate clients are N evaluation values, and the second accuracy evaluation information fed back by AnLF is the evaluation value, and the evaluation value is called a reference value.
- the fourth threshold may be a preset , or specified in the protocol, or notified or configured to the server MTLF in advance, there is no restriction.
- the server MTLF may determine, among the N evaluation values, the evaluation value whose difference from the reference value is less than or equal to the fourth threshold; and select the candidate corresponding to the evaluation value whose difference between the reference value is less than or equal to the fourth threshold.
- Client MTLF as the client MTLF participating in federated learning.
- the N first accuracy evaluation information fed back by N candidate clients are N evaluation levels
- the second accuracy evaluation information fed back by AnLF is the evaluation level, which can be called a reference level.
- the difference between the evaluation level fed back by the client MTLF participating in federated learning and the reference level is less than or equal to the fifth threshold.
- the fifth threshold is preset or specified by the protocol, Or notify or configure the server MTLF in advance. For example, among the N evaluation levels, the server MTLF determines the evaluation level whose difference with the reference level is less than or equal to the fifth threshold; and assigns the candidate customers corresponding to the evaluation level whose difference with the reference level is less than or equal to the fifth threshold.
- the three evaluation levels of MTLF feedback from three clients are evaluation levels 8, 9, and 5 respectively.
- the evaluation level for AnLF feedback is reference level 8.
- the difference between the evaluation level 8 and the evaluation level 9 and the reference level 8 is less than or equal to the fifth threshold (the fifth threshold may be 1).
- the difference between evaluation level 5 and reference level 8 is greater than the fifth threshold.
- the server MTLF can select the candidate client MTLF corresponding to evaluation level 8 and evaluation level 9 to participate in federated learning, and remove the candidate client corresponding to evaluation level 5 from the federated learning group.
- the first accuracy evaluation information of the first model determined by the client MTLF and the first accuracy evaluation information determined by AnLF should not differ much. If the difference between the two is too large, the local data characteristics of the client MTLF are greatly different from the local data characteristics of AnLF; through the above design, among the N candidate client MTLFs, the local data characteristics of the AnLF are eliminated.
- Candidate client MTLF with large differences ensures that the local data of client MTLF participating in federated learning has similar characteristics to the local data of AnLF, thereby improving the inference accuracy of the federated learning model.
- the above-mentioned first model may be an initial model, an intermediate model, or a final model in the federated learning process.
- the initial model refers to the initial public model determined by the server MTLF for model training during the federated learning process, or described as the initial public model sent by the server MTLF to the client MTLF during the first round of model training;
- the intermediate model refers to the public model formed after the parameter aggregation and update of the previous round of federated learning sent by the server MTLF to the client MTLF during the intermediate round of model training. It can also be considered as the initial model of this round of federated learning training. ;
- the final model refers to the model obtained through federated learning after the last round of model training process. This final model can be considered as the model fed back to AnLF by the server MTLF.
- a round of model training process includes: the server MTLF can determine the client MTLF that participates in federated learning among the candidate client MTLFs; the server MTLF sends the initial model to each client MTLF respectively; Each client MTLF uses local data to train the initial model and updates the parameters of the initial model; each client MTLF sends the updated initial model parameters to the server MTLF; the server MTLF evaluates the parameters of the initial model fed back by each client MTLF. Aggregate to determine the model obtained in this round of training. The model obtained in this round of training can be used as the initial model for the next round of model training. The client MTLF participating in federated learning in this round is used as the candidate client MTLF for the next round of model training.
- the server MTLF can determine N candidate clients participating in federated learning by querying the NRF.
- the server MTLF sends a model evaluation request message to the N candidate clients respectively, and the model evaluation request message includes the initial model.
- Each candidate client uses local data as a verification set to verify the accuracy of the initial model, determine the accuracy evaluation information of the initial model, and feed it back to the server MTLF.
- the server MTLF determines the client MTLF that participates in federated learning based on the accuracy evaluation information of the initial model fed back by the N candidate client MTLFs.
- the server MTLF determines that among the above N candidate client MTLFs, there are M client MTLFs that can participate in federated learning, and the M is a positive integer less than or equal to N; then in the first round of model training process In , the server MTLF sends the initial model to M client MTLF, and the M client MTLF trains the initial model, etc.
- the server MTLF aggregates the model parameters fed back by the M client MTLFs, determines the model obtained in the first round of training, and the first round of training is completed.
- the M clients MTLF that participated in federated learning in the first round were used as candidate clients for the second round of model training.
- the server MTLF sends the model obtained in the first round of training as the initial model of the second round of training to M candidate clients.
- M candidate clients use local data to verify the accuracy evaluation information of the initial model and feed it back to the server MTLF.
- the server MTLF determines the X client MTLFs that participate in federated learning based on the accuracy evaluation information fed back by the M candidate clients, where X is an integer less than or equal to M.
- the server MTLF sends the initial model in the second round of training to X clients.
- the X clients use local data to train the initial model, update the model parameters, and send the updated model parameters to the server MTLF.
- the server MTLF aggregates the model parameters fed back by X clients to obtain the model for the second round of training, etc.
- the subsequent process of other rounds of model training is similar to the above and will not be repeated.
- the number of rounds of direct federated learning reaches the preset value, or the accuracy evaluation information fed back by the client MTLF participating in federated learning meets the target accuracy, then the federation will be stopped. learning process.
- the server MTLF sends a model evaluation request message to each candidate client MTLF, and based on the accuracy evaluation information of the model fed back by each client MTLF, it is determined that in this round During the federated learning process, the client MTLF participates in federated learning.
- the above process can also be described as: after the end of each round of learning, the server MTLF sends a model evaluation request message to the client MTLF, and the model evaluation request message carries the model obtained in this round of training.
- Client MTLF can use local data to verify the accuracy evaluation information of the model obtained through local training and feed it back to server MTLF.
- the server MTLF determines whether to continue federated learning based on the accuracy evaluation information of the model fed back by each client MTLF. For example, if the accuracy evaluation information of the model fed back by each client's MTLF meets the target accuracy requirements, federated learning will be stopped, otherwise the next round of federated learning will be continued. That is to say, in this application, after a round of model training is completed, the server MTLF sends a model evaluation request message to the client MTLF.
- the model evaluation request message carries the model obtained in this round of training. Type, the client MTLF uses local data to determine the accuracy evaluation information of this round of training model, and feeds it back to the server MTLF.
- the server MTLF can perform the following operations: First, determine whether federated learning needs to continue. Second, if it is determined to continue to perform the next round of federated learning, the client MTLF etc. that will participate in the next round of federated learning can be determined based on the accuracy evaluation information fed back by each client.
- the above target accuracy may be preset, or specified in the protocol, or may be notified or configured to the server MTLF in advance, etc., without limitation.
- AnLF sends a model request message to the server MTLF, and the model request message includes the above target accuracy.
- the server MTLF When the server MTLF receives the above model request message, it can perform model training in the federated learning process according to the above method; when the server MTLF completes training the model, it sends a model request response message to AnLF, and the model request response message includes the federated learning Obtained model.
- AnLF before AnLF sends a model request message to the server MTLF, it also includes: AnLF receives an analysis request from the user, and the analysis request includes at least one of the following: analysis identification, analysis filtering information, or the goal that the analysis needs to meet. Accuracy.
- the analysis identification can be used to identify analysis tasks, and the analysis filtering information is used to indicate the conditions that the training data needs to meet during the federated learning process, or it can be described as analysis filtering information to determine the model filtering information, and the model filtering information is used to refer to the conditions in the federated learning process. Conditions that training data needs to meet during the federated learning process, etc.
- the target accuracy that needs to be met by the analysis can be used to determine the target accuracy that the model needs to meet.
- the target accuracy can be the target accuracy value, or the target accuracy level, etc., without limitation.
- AnLF determines that the local model of AnLF cannot meet the requirements of the analysis request message and the MTLF that meets the requirements of the analysis request message cannot be queried in NRF, it can query the MTLF with the server role in NRF.
- AnLF will The server MTLF sends a model request message and executes the aforementioned method.
- AnlF receives the federated learning model fed back by the server, it can perform the above analysis tasks based on the model and feed back the analysis results to the user.
- the server MTLF when the server MTLF receives the accuracy evaluation information fed back by the MTLF of each candidate client, it can determine whether the accuracy evaluation information fed back by the MTLF of each candidate client meets the target accuracy. requirements; optionally, the accuracy evaluation information fed back by the candidate client can be called the third accuracy evaluation information.
- the third accuracy evaluation information is the same as or different from the aforementioned first accuracy evaluation information, without limitation. If satisfied, the federated learning ends; otherwise, the second model will be determined based on the model update parameters fed back by the MTLF of each candidate client, which can be called the update parameters of the first model. This second model may be an intermediate model in the federated learning process.
- the server MTLF sends the second model to the candidate client MTLF to perform the next round of federated learning.
- the candidate client feeds back the first accuracy evaluation information to the server MTLF, and the AnLF feeds back the second accuracy evaluation information to the server MLTF.
- the server MTLF determines the clients participating in the federated learning based on the first accuracy evaluation information and the second accuracy evaluation information.
- the end-MTLF solution as shown in Figure 4, provides a data analysis method process, which at least includes:
- Step 400 Each MTLF registers its own information with the NRF.
- each MTLF can register the server role or client role it supports in the federated learning process into the NRF.
- each MTLF can also register the analysis ID (analytics ID), analysis filter information (analytics filter information) corresponding to the model it can provide, and the accuracy evaluation information of the model it can provide into the NRF.
- Step 401 The consumer AC of the analysis service sends an analysis request subscription message or an analysis information request message to AnLF, which carries at least one of the following: analysis identification (analytics ID), analysis filtering information, or the desired analysis accuracy level (preferred level). of accuracy of analytics).
- AnLF which carries at least one of the following: analysis identification (analytics ID), analysis filtering information, or the desired analysis accuracy level (preferred level). of accuracy of analytics).
- the consumer AC of the analysis service can be a network element, application function or OAM, etc., without any restrictions.
- the analysis identifier is used to identify the analysis task; the analysis filter information can indicate the object of analysis or the scope of the analysis output, etc.
- the analysis filtering information may be a network slice for the Internet of Vehicles service specified by the network slice identifier.
- the desired analysis accuracy level may be data such as accuracy, or may be an accuracy level.
- the accuracy level may be high, medium, or low.
- the Internet of Vehicles server requests from AnLF the service quality prediction of the network slice of the Internet of Vehicles service at a certain location in the next 10 minutes.
- the analysis identifier can indicate the service quality prediction service, and the analysis filtering information indicates prediction for the network slice of the Internet of Vehicles service.
- the desired level of analytical accuracy is high.
- Step 402 AnLF determines at least one of the following based on the message received in step 401: analysis identification, model filter information (model filer information), or the target accuracy that the model needs to achieve.
- AnLF can determine the model filtering information based on the analyzed filtering information in step 401, and the model filtering information can indicate the conditions that the training data needs to meet during the federated learning process.
- the above step 401 may not carry analysis filtering information, and AnLF may determine the model filtering information through other methods without limitation.
- data that meets the model filtering information conditions can be used for model training.
- the parameter types included in the model filtering information are the same as the parameter types included in the analysis filtering information.
- the parameter values of each type of parameter included in the model filtering information and the parameter values of each type of parameter included in the analysis filtering information may also be the same.
- the model filtering information and the analysis filtering information may include the same content.
- the model filtering information may be a specific network area, or a network slice identifier, such as a single-network slice selection assistance information (S-NSSAI), a specified specific network slice, or an application identifier. Specific application services specified by (application ID), etc.
- S-NSSAI single-network slice selection assistance information
- application ID Specific application services specified by (application ID), etc.
- AnLF can determine to provide the above analysis request.
- the conditions that the model of the inference service needs to meet are that the analysis flag is a service quality prediction service, and the model filtering information is a slice of the Internet of Vehicles service.
- AnLF may determine the target accuracy of the model based on the analysis accuracy level in step 401.
- the target accuracy of the model may be the target accuracy value of the model, or the target accuracy level of the model, etc.
- the above-mentioned desired analysis accuracy level can be obtained by data such as accuracy rate, and the desired analysis accuracy can be converted into the target accuracy value that the model hopes to achieve, etc.
- the target accuracy value of the model can be the accuracy rate, error rate, precision, or recall rate; or when the model is a model that computes regression, the target accuracy value of the model can be the mean absolute error. , average absolute percentage error, or mean square error, etc.
- the target accuracy value of the model can be converted into the target accuracy level of the model. For example, based on the corresponding relationship between the target accuracy value and the target accuracy level, the target accuracy level corresponding to the target accuracy value is determined. That is to say, the target accuracy that the model in this application needs to achieve can be the target accuracy value or the target accuracy level.
- the target accuracy that the model needs to achieve reflects the accuracy level required for the model trained by federated learning.
- the accuracy of the model can be verified by inputting verification data into a model, comparing the output of the model with the accurate output corresponding to the verification data, and determining the accuracy of the model.
- Step 403 AnLF determines whether AnLF's local model meets the requirements for analysis identification, model filtering information, and target accuracy in the aforementioned step 402. If AnLF's local model can meet the requirements, AnLF uses the local model to perform model inference, and the inference will be The results are fed back to the consumer AC of the analysis as a result of the above analysis task. If AnLF's local model cannot meet the requirements, AnLF queries NRF for an MTLF that meets the above analysis identification, model filtering information, and target accuracy requirements; if an MTLF that meets the requirements can be queried, NRF feeds back the MTLF that meets the requirements to AnLF.
- AnLF's access address AnLF sends a model request message to MTLF based on the MTLF's access address, and MTLF can return a model request response message to AnLF.
- the model request response message includes the MTLF response message.
- the fed-back model that meets the requirements is fed back;
- AnLF uses the fed-back model that meets the requirements to perform model inference, and the inference results are fed back to the AC as the results of the above analysis tasks.
- AnLF can query NRF for the MTLF registered as the server role in step 400, and return the access address of the MTLF registered as the server role to AnLF.
- AnLF executes subsequent step 404 and sends a model request message to MTLF registered as a server role.
- the above process can be considered as the process of AnLF discovering MTLF.
- the analysis identified by AnLF is service quality prediction
- the model filtering information is the network prediction of the Internet of Vehicles service
- the target accuracy is high.
- AnLF can determine whether the local model can meet the above conditions; if so, the local model is used to perform model inference, and the inference result is used as the result of the above analysis.
- AnLF can query NRF for MTLFs that meet the above conditions.
- an MTLF registers an analysis identifier with the NRF as service quality prediction, the analysis filtering information is network prediction for Internet of Vehicles services, and the accuracy evaluation information of the model is high, then the MTLF can be considered
- NRF returns the access address of the MTLF that meets the conditions to AnLF
- AnLF uses the model provided by the MTLF that meets the conditions to perform model inference.
- AnLF queries NRF in step 400, registers the MTLF whose role is the server, and returns the access address of the MTLF to AnLF.
- Step 404 AnLF sends a model request message to the server MTLF.
- the model request message includes analysis identification, model filtering information, and target accuracy that the model needs to meet.
- Step 405 The server MTLF sends a second model evaluation request message to AnLF, where the second model evaluation request message carries the initial model.
- Step 406 AnLF uses local data to determine the second accuracy evaluation information of the initial model; AnLF sends a second model evaluation request response message to the server, and the second model evaluation request response message includes the second accuracy evaluation of the initial model. information.
- the second accuracy evaluation information may be the accuracy evaluation value of the initial model.
- AnLF inputs locally collected data into the initial model, compares the output of the initial model with the labels of the local data, and determines the accuracy evaluation value of the initial model.
- the second accuracy evaluation information may be the accuracy evaluation level of the initial model, and AnLF may further determine the accuracy evaluation level of the initial model based on the accuracy evaluation value of the initial model.
- Step 407 AnLF determines N candidate client MTLFs participating in federated learning through NRF, where N is an integer greater than 1; AnLF sends a first model evaluation request message to the N candidate client MTLFs respectively. The first model evaluation request The initial model is included in the message.
- Step 408 Each candidate client MTLF among the N candidate client MTLFs determines the first accuracy evaluation information of the initial model using locally collected data. This process is similar to the process of AnLF determining the second accuracy evaluation information, please refer to the previous description.
- Each candidate client MTLF among the N candidate client MTLFs sends a first model evaluation request response message to the AnLF, where the first model evaluation request response message includes first accuracy evaluation information of the initial model.
- Step 409 The server MTLF determines the client MTLFs participating in federated learning among the N candidate client MTLFs based on the N first accuracy evaluation information and the second accuracy evaluation information.
- the process can be described as: the server MTLF modifies the federated learning group including N client MTLFs, and uses client MTLFs consistent with the data distribution of AnLF to participate in federated learning.
- the server MTLF may select the first accuracy evaluation information that is consistent with the second accuracy evaluation level or close to the second accuracy evaluation value among N first accuracy evaluation information, and compare it with the second accuracy evaluation value. Same level
- the client MTLF corresponding to the first accuracy evaluation information that is consistent or close to the second accuracy evaluation value is used as the client MTLF participating in the next round of federated learning.
- the specific process please refer to the description in Figure 3 mentioned above.
- Step 4010 The client MTLF determined by the server MTLF organization uses local data to perform federated learning.
- N candidate clients use locally collected data to perform model training on the initial model provided by the server MTLF, and update the parameters of the initial model.
- the N candidate client MTLFs send the updated parameters of the initial model to the server MTLF, and the server MTLF aggregates the updated parameters of the initial models fed back by the N candidate client MTLFs to determine the first intermediate model.
- the server MTLF determines the client MTLF that participates in the second round of federated learning among the N candidate client MTLFs.
- the server MTLF sends the first intermediate model to the determined client MTLF participating in the second round of federated learning.
- Each client MTLF performs model training on the first intermediate model based on local collected data. Update the parameters of the first intermediate model.
- the server MTLF determines the second intermediate model based on the updated parameters of the first intermediate model fed back by each client MTLF.
- the server MTLF selects the client MTLF that participates in the third round of federated learning among the client MTLFs that participate in the second round of federated learning.
- the server MTLF sends the second intermediate model to the client MTLF participating in the third round of federated learning, and the cycle is executed until the accuracy evaluation information of a model determined by the server MTLF can meet the target accuracy. degree, stop federated learning.
- the server MTLF can eliminate the client MTLF whose local data distribution is different from AnLF's local data distribution in the federated learning group, so that the model obtained by federated learning has good performance when used for network analysis. Higher accuracy.
- Step 4011 In the above federated learning process, after multiple rounds of federated learning updates, if the model accuracy evaluation information fed back by each client MTLF can meet the target accuracy level, the server MTLF stops the next round of federated learning. The server MTLF sends a model request response message to AnLF, and the model request response message carries the final model obtained by federated learning.
- Step 4012 When AnLF obtains the final model, it uses the final model for analysis, and sends an analysis subscription notification message or an analysis information response message to the requester AC of the analysis service, which carries the analysis results.
- AnLF when AnLF receives the final model, it can collect data locally based on the model filtering information, and use the collected local data as input into the final model.
- the output of the final model is the analysis result.
- the server MTLF can filter out the client MTLF participating in the next round of federated learning based on the accuracy evaluation information of the model fed back by AnLF and the accuracy evaluation information of the model fed back by the client MTLF participating in the previous round of federated learning. This prevents the client MTLF from having its inference accuracy fail to meet the requirements when applying the federated learning model because the data characteristics of the local data of the client are different from the data characteristics of AnLF's local data.
- the method includes: the server MTLF receives a model request message from AnLF.
- the model request message includes at least one of the following: analysis identification, model filtering information, or target accuracy that the model needs to meet.
- the analysis identifier is used to identify the analysis task
- the model filtering information is used to indicate the conditions that the training data needs to meet during the federated learning process
- the target accuracy that the model needs to meet is used to indicate the training data for inference during the federated learning process.
- the model of the current analysis task needs to meet the accuracy; the server MTLF requests a message based on the model and determines whether to perform federated learning or not.
- the server MTLF when it determines not to perform federated learning, it sends a model request response message to AnLF.
- the model request response message includes the reason for the failure of federated learning, and/or an analysis aggregation indication, and the analysis aggregation indication is used to indicate
- the AnLF uses analysis aggregation to determine the results of the current analysis task.
- the server MTLF determines to perform federated learning, at the end of each round of federated learning, the server MTLF A second model evaluation request message can be sent to the client MTLF participating in this round of federated learning.
- the second model evaluation request message carries the model obtained in this round of training.
- the second model evaluation request message is used to request the client MTLF to report this Accuracy evaluation information of the model obtained by the round of training, and receiving a second model evaluation request response message from the client MTLF.
- the second model evaluation request response message includes the accuracy of the model obtained by the current round of training reported by the client MTLF. degree assessment information.
- the target accuracy may be preset, or preconfigured or notified to the server MTLF, or obtained by the server MTLF in the model request message sent by AnLF, etc., without limitation.
- the process of providing a data analysis method includes at least:
- Step 500 Each MTLF registers its own information with the NRF.
- Step 501 The consumer AC of the analysis service sends an analysis request subscription message or analysis information request message to AnLF, which carries at least one of the following: analysis identification, analysis filtering information, or the desired analysis accuracy level.
- Step 502 AnLF sends a model request message to the server MTLF.
- the model request message includes at least one of the following: analysis identification, model filtering information, or target accuracy that the model needs to achieve.
- the model filtering information is determined based on the analysis filtering information, and the target accuracy that the model needs to achieve is determined based on the desired level of analysis accuracy.
- AnLF can first determine whether AnLF's local model can meet the above requirements for analysis identification, model filtering information, and target accuracy; if it cannot, then query NRF to see if there is an MTLF that meets the above requirements; if in NRF If the MTLF that meets the above requirements cannot be queried, AnLF searches the NRF for the MTLF that can provide the server role, and sends a model request message to the MTLF that can provide the server role. That is to say, if AnLF can match the analysis identifier and model filtering information and meet the target accuracy model, it is determined not to perform federated learning; otherwise, it is determined to perform federated learning and train a user that meets the target accuracy through the federated learning process. model for reasoning about the current task.
- Step 503 When receiving the model request message of AnLF, the server MTLF may determine whether federated learning needs to be performed. If federated learning is performed, continue to subsequent step 504.
- the server MTLF can determine whether to perform federated learning based on the analysis identifier and/or model filtering information carried in the model request message. For example, the server MTLF can determine the characteristics of the training data in the federated learning process based on the analysis identifier and/or model filtering information; if the characteristics of the training data are not related to geographical location, for example, the training data is related to the application business, the server MTLF determines Suitable for federated learning; or, if the characteristics of the training data are related to geographical location, the server MTLF determines that it is not suitable for federated learning.
- Federated learning can be determined not to be suitable when the analysis identifier and/or model filter information is any of the following:
- the analysis identification is data network performance analysis (DN performance analytics);
- the analysis flag is redundant transmission experience related analytics (redundant transmission experience related analytics);
- the analysis identification is session management congestion control Experience
- the analysis identifier is dispersion analytics, and the model filtering information is the specified network slice identifier.
- the analysis is identified as observed service experience related network data analytics (observed service experience related network data analytics);
- the analysis is identified as slice load level related network data analytics.
- the analysis identifier and/or model filtering information is any of the following, it can be considered that the network data for training the model is related to the geographical location, then the local data distribution of the client MTLF is different, and it is determined that it is not suitable for federated learning:
- the analysis identifier is WLAN performance analysis (performance analytics);
- the analysis identifier is dispersion analytics, and the model filtering information contains the specified network location;
- the analysis identification is quality of service sustainability analytics (QoS sustainability analytics);
- the analysis identification is user data congestion analysis (user data congestion analytics);
- the analysis identifier is user mobility analytics (UE mobility analytics);
- the analysis identifier is user communication analytics (UE communication analytics);
- the analysis identification is abnormal behavior related network data analytics
- the model filtering information is unexpected UE location (unexpected UE location), unexpected long-live/large rate traffic (unexpected long-live/large rate flows), unexpected radio link failures or Ping-ponging across neighboring cells.
- the analysis identification is network performance analytics, and the model filtering information is the network area of interest or specific gNB;
- the analysis identifier is NF load analytics, and the model filtering information is the specified NF or the NF of a specific area.
- the server MTLF can query the MTLF registered as the client role through NRF.
- the MTLF obtained by the query can be called the client MTLF, and the client MTLF obtained by the query can form a federated learning group.
- the server MTLF may send a first model evaluation request message to the client MTLF in the federated learning group, where the first model evaluation request message is used to request the client MTLF to report accuracy evaluation information of the local model.
- the first model evaluation request message may include analysis identification and model filtering information.
- the client MTLF may locally determine a unique model based on the analysis identifier and model filtering information carried in the first model evaluation request message.
- Client MTLF can use local training data as a verification set to verify the accuracy evaluation information of the local model.
- client MTLF can use local training data that meets the model filtering information conditions as the validation set.
- the client MTLF can use the local training data set of the network slice of the Internet of Vehicles service as the verification set to determine the accuracy of the local model.
- the client MTLF may send a first model evaluation request response message to the server MTLF, where the message carries the determined accuracy evaluation information of the local model.
- the accuracy evaluation information may be an accuracy evaluation value, an accuracy evaluation level, etc. For details, please refer to the foregoing description.
- the server MTLF can determine whether federated learning needs to be performed based on the accuracy evaluation information of the local model fed back by each client MTLF. If the accuracy evaluation information of the local model fed back by the MTLF of each client meets the target accuracy in step 502, it is determined that federated learning does not need to be performed.
- the server MTLF may send a model request response message to AnLF.
- the model request response message carries the reason for the federated learning failure and/or an analysis aggregation indication.
- the analysis aggregation indication is used to instruct AnLF to use the analysis aggregation method for analysis.
- the analysis aggregation instructs AnLF to directly forward the analysis request subscription message or analysis information request message in step 501 to the NWDAF of each client MTLF, and each NWDAF provides inference prediction results in their respective service areas.
- the specific inference process is performed by the AnLF in each NWDAF.
- AnLF just summarizes the inference prediction results of each NWDAF. For example, when the Internet of Vehicles server requests network switching service quality prediction for Internet of Vehicles services at various locations on a path, AnLF can aggregate and summarize the inference results of each NWDAF in the service area that can cover the path and provide it as the final analysis result. To the Internet of Vehicles server.
- the above is based on each client
- the feedback of the accuracy evaluation information of the local model to determine whether to perform federated learning can be considered as a process of determining whether the distribution of local data of each client is consistent or similar based on the accuracy evaluation information.
- the process of determining whether to perform federated learning is focused on describing the accuracy evaluation information of the local model fed back by the client MTLF.
- the first design described above can be used to determine whether federated learning needs to be performed, or the second design described above can be used to determine whether federated learning needs to be performed. Alternatively, the first and second designs above can be combined while determining whether federated learning needs to be performed. For example, you can first adopt the first design mentioned above to determine whether to perform federated learning. If it is determined that federated learning is not to be performed, a model request response message is sent to AnLF. The model request response message carries the reason for the failure of federated learning. The reason may be that the network data trained on the current model is related to the geographical location, and federation is not appropriate. study.
- the second design mentioned above can be used to determine whether to perform federated learning. If federated learning is performed, proceed to the next steps of this application. If it is determined that federated learning is not to be performed, a model request response message is sent to AnLF, and the model request response message carries analysis aggregation instructions, etc.
- Step 504 The server MTLF uses the client MLF to perform federated learning.
- the federated learning process can be multiple rounds.
- the server MTLF sends the initial model of this round to the client MTLF.
- the client MTLF uses the locally collected data to train the initial model, updates the parameters of the initial model, and updates the parameters of the initial model.
- the server MTLF updates the initial model based on the updated parameters of the initial model fed back by each client, and determines the model for this round of training.
- the model for this round of training can be used as the initial model for the next round of model training.
- the server MTLF can send a second model evaluation request message to each client MTLF.
- the second model evaluation request message carries the model of this round of training and is used to request the client.
- MTLF reports the accuracy evaluation information of the model for this round of model training.
- the client MTLF receives the model of this round of training, it verifies the accuracy of the model based on locally collected data, and reports the accuracy evaluation information of this round of training model to the server MTLF.
- the client MTLF may send a second model evaluation request response message to the server MTLF, where the second model evaluation request response message carries the accuracy evaluation information of the current round of training model.
- the accuracy evaluation information can be the accuracy evaluation value of the current round of training model, or the accuracy evaluation level of the current round of training model, without limitation.
- the server MTLF When the server MTLF receives the accuracy evaluation information of this round of training model reported by each client, it can determine whether the accuracy evaluation information of this round of model reported by each client meets the target accuracy in the above step 502. If satisfied, federated learning is stopped; AnLF sends a model request response message to the server MTLF, and the model request response message carries the model obtained by federated learning. Alternatively, if the accuracy evaluation information of this round of models reported by each client does not meet the target accuracy in step 502, the next round of model training is continued.
- Step 505 The server MTLF sends a model request response message to AnLF.
- the model request response message carries the model obtained by federated learning, the reason for the failure of federated learning, or instructs AnLF to perform aggregation analysis, etc.
- Step 506 AnLF performs network analysis and sends an analysis subscription notification message or an analysis information response message to the AC of the analysis service, which carries the analysis results.
- the model request response message in step 505 above carries a model obtained by federated learning
- AnLF can perform model inference based on the model obtained by federated learning, and feed the inference results back to AnLF as an analysis result.
- the model request response message in step 505 above carries instructions for AnLF to perform aggregation analysis
- AnLF performs aggregation analysis and feeds back the result of the aggregation analysis to the AC as the analysis result.
- the server MTLF can determine whether to use the local model or the model obtained in each round of federated learning. Performing subsequent federated learning can avoid unnecessary federated learning, save network resources, and at the same time meet the accuracy requirements of the analysis service model.
- the server MTLF, client MTLF, AnLF, etc. include hardware structures and/or software modules corresponding to each function.
- the units and method steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software driving the hardware depends on the specific application scenarios and design constraints of the technical solution.
- Figures 6 and 7 are schematic structural diagrams of possible communication devices provided by embodiments of the present application. These communication devices can be used to implement the functions of the server MTLF, client MTLF or AnLF in the above method embodiments, and therefore can also achieve the beneficial effects of the above method embodiments.
- the communication device 600 includes a processing unit 610 and a transceiver unit 620 .
- the communication device 600 is used to implement the functions of the server MTLF, client MTLF or AnLF in the method embodiments shown in FIG. 3, FIG. 4, or FIG. 5.
- the transceiver unit 620 is used to send the first model to the N candidate client model training logic functions MTLF respectively; receive them respectively.
- First accuracy evaluation information from the N candidate client MTLFs the first accuracy evaluation information represents the accuracy of the first model determined by the candidate client MTLFs using local data, the N is a positive integer greater than 1;
- the processing unit 610 is configured to determine the client MTLF that participates in federated learning among the N candidate client MTLFs according to the N pieces of the first accuracy evaluation information.
- the transceiver unit 620 is used to receive a model evaluation request message from the server model training logic function MTLF, the model The evaluation request message includes the first model; the processing unit 610 is configured to use local data to determine the accuracy evaluation information of the first model, where the accuracy evaluation information is the first accuracy evaluation information and the second accuracy evaluation Information; the transceiver unit 620 is also configured to send a model evaluation request response message to the server MTLF, where the model request response message includes the accuracy evaluation information of the first model.
- the transceiver unit 620 is used to receive a model request message from the analysis and reasoning function AnLF, where the model request message includes at least one of the following : Analysis identification, model filtering information, or the target accuracy that the model needs to meet.
- the analysis identification is used to identify the analysis task.
- the model filtering information is used to indicate the conditions that the training data needs to meet in the federated learning process.
- the model needs The met target accuracy is used to indicate the accuracy that the model for inferring the current analysis task needs to meet; the processing unit 610 is used to determine whether to execute federated learning according to the model request message.
- the transceiver unit 620 is used to receive an analysis request message from the user, where the analysis request message includes an analysis identifier and what the analysis hopes to achieve. Accuracy; the processing unit 610 is used to determine that the local model of the analysis and reasoning function AnLF cannot meet the requirements of the analysis request message, and the model training logic function MTLF that meets the requirements of the analysis request message cannot be queried in the network warehouse function NRF; sending and receiving Unit 620 is also configured to send a model request message to the server MTLF.
- the model request message includes at least one of the following: analysis identification, model filtering information, or target accuracy that the model needs to meet.
- the target accuracy that the model needs to meet is accurate. The degree is determined based on the analysis accuracy that the analysis hopes to achieve, and the model filtering information is used to indicate the conditions that the training data needs to meet during the model training process.
- the communication device 700 includes a processor 710 and an interface circuit 720 .
- the processor 710 and the interface circuit 720 are coupled to each other.
- the interface circuit 720 may be a transceiver or an input-output interface.
- the communication device 700 may also include a memory 730 for storing instructions executed by the processor 710 or input data required for the processor 710 to run the instructions or data generated after the processor 710 executes the instructions.
- the processor 710 is used to implement the functions of the above-mentioned processing unit 610, and the interface circuit 720 is used to implement the functions of the above-mentioned transceiver unit 620.
- the server MTLF module implements the functions of the server MTLF in the above method embodiment.
- the server MTLF module receives information from other modules in the server MTLF (such as radio frequency modules or antennas), which is sent by the client MTLF or AnLF to the server MTLF; or, the server MTLF module sends information to other modules in the server MTLF (such as Radio frequency module or antenna) sends information, which is sent by the server MTLF to the client MTLF or AnLF.
- the client MTLF module implements the functions of client MTLF in the above method embodiment.
- the client MTLF module receives information from other modules (such as radio frequency modules or antennas) in the client MTLF.
- the information is sent by the server MTLF to the client MTLF; or, the client MTLF module sends information to other modules in the client MTLF. (such as a radio frequency module or antenna) sends information, which is sent by the client MTLF to the server MTLF.
- the AnLF module When the above communication device is a module applied to AnLF, the AnLF module implements the functions of AnLF in the above method embodiment.
- the AnLF module receives information from other modules in AnLF (such as radio frequency modules or antennas), which is sent to AnLF by the server MTLF; or, the AnLF module sends information to other modules in AnLF (such as radio frequency modules or antennas), This information is sent by AnLF to the server MTLF.
- this application also provides a communication system 800, which includes the aforementioned device 810 corresponding to server MTLF and the device 820 corresponding to client MTLF.
- the communication system also includes: AnLF corresponding device 830.
- processor in the embodiment of the present application can be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), or application-specific integrated circuit (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
- CPU central processing unit
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- a general-purpose processor can be a microprocessor or any conventional processor.
- the method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions.
- Software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory In memory, register, hard disk, mobile hard disk, CD-ROM or any other form of storage medium well known in the art.
- An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and storage media may be located in an ASIC. Additionally, the ASIC can be located in the base station or terminal. Of course, the processor and the storage medium may also exist as discrete components in the base station or terminal.
- the computer program product includes one or more computer programs or instructions.
- the computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a user equipment, or other programmable device.
- the computer program or instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another.
- the computer program or instructions may be transmitted from a website, computer, A server or data center transmits via wired or wireless means to another website site, computer, server, or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media.
- the available media may be magnetic media, such as floppy disks, hard disks, and tapes; optical media, such as digital video optical disks; or semiconductor media, such as solid-state hard drives.
- the computer-readable storage medium may be volatile or nonvolatile storage media, or may include both volatile and nonvolatile types of storage media.
- “at least one” refers to one or more, and “plurality” refers to two or more.
- “And/or” describes the relationship between associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural.
- the character “/” generally indicates that the related objects before and after are an “or” relationship; in the formula of this application, the character “/” indicates that the related objects before and after are a kind of "division” Relationship.
- “Including at least one of A, B and C” may mean: including A; including B; including C; including A and B; including A and C; including B and C; including A, B and C.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Artificial Intelligence (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Databases & Information Systems (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (41)
- 一种数据分析方法,其特征在于,包括:向N个候选客户端模型训练逻辑功能MTLF分别发送第一模型;分别接收来自所述N个候选客户端MTLF的第一准确度评估信息,所述第一准确度评估信息表示候选客户端MTLF使用本地的数据确定的所述第一模型的准确度,所述N为大于1的正整数;根据N个所述第一准确度评估信息,确定所述N个候选客户端MTLF中参与联邦学习的客户端MTLF。
- 如权利要求1所述的方法,其特征在于,所述向N个候选客户端MTLF分别发送第一模型,包括:向所述N个候选客户端MTLF分别发送第一模型评估请求消息,所述第一模型评估请求消息中包括所述第一模型。
- 如权利要求1或2所述的方法,其特征在于,所述分别接收来自所述N个候选客户端MTLF的第一准确度评估信息,包括:分别接收来自所述N个候选客户端MTLF的第一模型评估请求响应消息,所述第一模型评估请求响应消息中包括所述第一准确度评估信息。
- 如权利要求1至3中任一项所述的方法,其特征在于,所述第一准确度评估信息为所述候选客户端MTLF反馈的所述第一模型准确度的评估值,所述参与联邦学习的客户端MTLF中任两个候选客户端MTLF反馈的评估值间的差值小于或等于第一阈值。
- 如权利要求4所述的方法,其特征在于,根据N个所述第一准确度评估信息,确定所述N个候选客户端MTLF中参与联邦学习的客户端MTLF,包括:在所述N个评估值中,确定取值最大的评估值与取值最小的评估值;所述取值最大的评估值与取值最小的评估值之差小于或等于所述第一阈值,所述N个候选客户端均参与联邦学习;或者,所述取值最大的评估值与取值最小的评估值之差大于所述第一阈值,确定所述N个评估值的平均值;确定所述N个评估值中每个评估值与所述平均值的差的绝对值;在所述N个候选客户端组成的联邦学习组中,剔除与所述平均值的差的绝对值最大的评估值对应的候选户端MTLF,组成新的联邦学习组;继续在所述新的联邦学习组中,确定取值最大的评估值与取值最小的评估值,且确定两个评估值之差与所述第一阈值的大小关系。
- 如权利要求1至3中任一项所述的方法,其特征在于,所述第一准确度评估信息为所述候选客户端MTLF反馈的所述第一模型准确度的评估等级,所述参与联邦学习的客户端MTLF反馈的评估等级满足目标评估等级。
- 如权利要求6所述的方法,其特征在于,根据N个所述第一准确度评估信息,确定所述N个候选客户端MTLF中参与联邦学习的客户端MTLF,包括:在所述N个评估等级中,确定与所述目标评估等级间的差值小于或等于第三阈值的评估等级;将与所述目标评估等级间的差值小于或等于第三阈值的评估等级对应的候选客户端MTLF,作为参与联邦学习的客户端MTLF。
- 如权利要求1至3中任一项所述的方法,其特征在于,还包括:向分析推理功能AnLF发送第一模型;接收来自所述AnLF的第二准确度评估信息,所述第二准确度评估信息表示所述AnLF使用本地的数据确定的所述第一模型的准确度。
- 如权利要求8所述的方法,其特征在于,所述向AnLF发送第一模型,包括:向所述AnLF发送第二模型评估请求消息,所述第二模型评估请求消息中包括所述第一模型。
- 如权利要求8或9所述的方法,其特征在于,所述接收来自所述AnLF的第二准确度评估信息,包括:接收来自所述AnLF的第二模型评估请求响应消息,所述第二模型评估请求响应消息中包括所述第二准确度评估信息。
- 如权利要求8至10中任一项所述的方法,其特征在于,根据N个所述第一准确度评估信息,确定所述N个候选客户端MTLF中参与联邦学习的客户端MTLF,包括:根据N个所述第一准确度评估信息和所述第二准确度评估信息,确定所述N个候选客户端中参与联邦学习的客户端MTLF。
- 如权利要求8至11中任一项所述的方法,其特征在于,所述第二准确度评估信息为所述AnLF反馈的所述第一模型准确度的参考值,所述第一准确度评估信息为所述候选客户端MTLF反馈的所述第一模型准确度的评估值,所述参与联邦学习的客户端MTLF中任一个客户端MTLF反馈的评估值与所述参考值间的差值小于或等于第四阈值。
- 如权利要求12所述的方法,其特征在于,根据N个所述第一准确度评估信息和所述第二准确度评估信息,确定所述N个候选客户端中参与联邦学习的客户端MTLF,包括:在N个评估值中,确定与所述参考值间的差值小于或等于第四阈值的评估值;将与所述参考值间的差值小于或等于第四阈值的评估值对应的候选客户端MTLF,作为参与联邦学习的客户端MTLF。
- 如权利要求8至11中任一项所述的方法,其特征在于,所述第二准确度评估信息为所述AnLF反馈的所述第一模型准确度的参考等级,所述第一准确度评估信息为所述候选客户端MTLF反馈的所述第一模型准确度的评估等级,所述参与联邦学习的客户端MTLF所反馈的评估等级与所述参考等级间的等级间的差值小于或等于第五阈值。
- 如权利要求11或14所述的方法,其特征在于,根据N个所述第一准确度评估信息和所述第二准确度评估信息,确定所述N个候选客户端中参与联邦学习的客户端MTLF,包括:在N个评估等级中,确定与所述参考等级间的差值小于或等于第五阈值的评估等级;将与所述参考等级间的差值小于或等于第五阈值的评估等级对应的候选客户端MTLF,作为参与联邦学习的客户端MTLF。
- 如权利要求4、5、12或13所述的方法,其特征在于,所述评估值,或参考值包括以下至少一项:正确率、错误率、精度率、召回率、平均绝对误差、平均绝对百分比误差、或均方误差。
- 如权利要求1至16中任一项所述的方法,其特征在于,所述第一模型为联邦学习过程中的初始模型、中间模型、或最终模型。
- 如权利要求1至17中任一项所述的方法,其特征在于,还包括:接收来自所述AnLF的模型请求消息,所述模型请求消息中至少包括模型需要满足的目标准确度;参与联邦学习的客户端MTLF反馈的所述第一模型的第三准确度评估信息满足所述目标准确度的要求时,结束联邦学习;或者,参与联邦学习的客户端MTLF反馈的所述第一模型的第三准确度评估信息不满足所述目标准确度的要求,根据所述参与联邦学习的客户端MTLF反馈的模型参数,确定第二模型。
- 一种数据分析方法,其特征在于,包括:接收来自服务器模型训练逻辑功能MTLF的第一模型;利用本地的数据,确定所述第一模型的准确度评估信息;向所述服务器MTLF发送所述第一模型的准确度评估信息。
- 如权利要求19所述的方法,其特征在于,所述准确度评估信息为第一准确度评估信息,所述第一准确度评估信息表示候选客户端MTLF使用本地的数据确定的所述第一模型的准确度。
- 如权利要求19所述的方法,其特征在于,所述准确度评估信息为第二准确度评估信息,所述第二准确度评估信息表示分析推理功能AnLF使用本地的数据确定的所述第一模型的准确度。
- 如权利要求19至21中任一项所述的方法,其特征在于,所述接收来自服务器模型训练逻辑功能MTLF的第一模型,包括:接收来自服务器模型训练逻辑功能MTLF的模型评估请求消息,所述模型评估请求消息中包括第一模型;所述向所述服务器MTLF发送所述第一模型的准确度评估信息,包括:向所述服务器MTLF发送模型评估请求响应消息,所述模型请求响应消息中包括所述第一模型的准确度评估信息。
- 如权利要求19至22中任一项所述的方法,其特征在于,所述第一模型的准确度评估信息为所述第一模型准确度的评估值,所述利用本地的数据,确定所述第一模型的准确度评估信息,包括:根据所述本地的数据和所述第一模型,确定所述第一模型的输出;根据所述第一模型的输出,确定所述第一模型准确度的评估值。
- 如权利要求19至22中任一项所述的方法,其特征在于,所述第一模型的准确度评估信息为所述第一模型准确度的评估等级,所述利用本地的数据,确定所述第一模型的准确度评估信息,包括:根据所述本地的数据和所述第一模型,确定所述第一模型的输出;根据所述第一模型的输出,确定所述第一模型准确度的评估值;根据所述第一模型准确度的评估值,确定所述第一模型准确度的评估等级。
- 如权利要求19至24中任一项所述的方法,其特征在于,还包括:向所述服务器MTLF发送模型请求消息,所述模型请求消息中至少包括模型需要满足的目标准确度。
- 如权利要求25所述的方法,其特征在于,在所述向服务器MTLF发送模型请求消息之前,还包括:接收来自用户的分析请求消息,所述分析请求消息中包括以下至少一项:分析标识、分析过滤信息、或该分析需要满足的目标准确度;确定分析推理功能AnLF的本地模型不能满足所述分析请求消息的要求,且网络仓库功能NRF中不能查询到满足所述分析请求消息要求的MTLF。
- 如权利要求23至26中任一项所述的方法,其特征在于,所述评估值,包括以下至 少一项:正确率、错误率、精度率、召回率、平均绝对误差、平均绝对百分比误差、或均方误差。
- 如权利要求19至27中任一项所述的方法,其特征在于,所述第一模型为联邦学习过程中的初始模型、中间模型、或最终模型。
- 一种数据分析方法,其特征在于,包括:接收来自分析推理功能AnLF的模型请求消息,所述模型请求消息中包括以下至少一项:分析标识、模型过滤信息、或模型需要满足的目标准确度,所述分析标识用于标识分析任务,所述模型过滤信息用于指示联邦学习过程中训练数据需要满足的条件,所述模型需要满足的目标准确度用于指示推理当前分析任务的模型需要满足的准确度;根据所述模型请求消息,确定执行或不执行联邦学习。
- 如权利要求29所述的方法,其特征在于,根据所述模型请求消息,确定执行或不执行联邦学习,包括:根据所述分析标识和/或所述模型过滤信息,确定联邦学习过程中训练数据的特征;所述训练数据的特征与地理位置无关,确定执行联邦学习;或者,所述训练数据的特征与地理位置相关,确定不执行联邦学习。
- 如权利要求29所述的方法,其特征在于,根据所述模型请求消息,确定执行或不执行联邦学习,包括:向参与联邦学习的客户端MTLF发送第一模型评估请求消息,所述第一模型评估请求消息用于请求所述客户端MTLF上报本地模型的准确度评估信息;接收来自所述客户端MTLF的第一模型评估请求响应消息,所述第一模型评估请求响应消息中包括所述客户端MTLF上报的本地模型的准确度评估消息;所述客户端MTLF反馈的本地模型的准确度评估信息满足所述目标准确度,确定不执行联邦学习;或者,所述客户端MTLF反馈的本地模型的准确度评估信息不满足所述目标准确度,确定执行联邦学习。
- 如权利要求29至31中任一项所述的方法,其特征在于,在确定不执行联邦学习时,还包括:向所述AnLF发送模型请求响应消息,所述模型请求响应消息中包括联邦学习失败原因或分析聚合指示,所述分析聚合指示用于指示所述AnLF利用分析聚合的方式确定当前分析任务的结果。
- 如权利要求29至31中任一项所述的方法,其特征在于,在确定执行联邦学习时,还包括:向参与联邦学习的客户端MTLF发送第二模型评估请求消息,所述第二模型评估请求消息中包括本轮模型训练得到的模型,所述第二模型评估请求消息用于请求所述客户端MTLF上报所述本轮训练得到的模型的准确度评估信息;接收来自所述客户端MTLF的第二模型评估请求响应消息,所述第二模型评估请求响应消息中包括所述客户端MTLF上报的本轮模型训练得到的模型的准确度评估信息;所述客户端MTLF上报的所述本轮模型训练得到的模型的准确度评估信息满足所述目标准确度,结束联邦学习。
- 一种数据分析方法,其特征在于,包括:接收来自用户的分析请求消息,所述分析请求消息中包括分析标识和该分析希望达到的准确度;分析推理功能AnLF的本地模型不能满足所述分析请求消息的要求,且网络仓库功能NRF中不能查询到满足所述分析请求消息要求的模型训练逻辑功能MTLF时,向服务器MTLF发送模型请求消息,所述模型请求消息中包括以下至少一项:分析标识、模型过滤信息、或模型需要满足的目标准确度,所述模型需要满足的目标准确度是根据所述分析希望达到的分析准确度确定的,所述模型过滤信息用于指示在模型训练过程中训练数据需要满足的条件。
- 如权利要求34所述的方法,其特征在于,还包括:接收来自服务器MTLF的模型请求响应消息,所述模型请求响应消息中包括联邦学习失败原因或分析聚合指示,所述分析聚合指示用于指示所述AnLF利用分析聚合的方式,确定当前分析任务的结果。
- 一种通信装置,其特征在于,包括处理器和接口电路,所述接口电路用于接收来自所述通信装置之外的其它通信装置的信号并传输至所述处理器或将来自所述处理器的信号发送给所述通信装置之外的其它通信装置,所述处理器通过逻辑电路或执行代码指令用于实现如权利要求1至18中任一项所述的方法,或者如权利要求29至33中的任一项所述的方法。
- 一种通信装置,其特征在于,包括用于执行如权利要求1至18中的任一项所述方法的单元,或者如权利要求29至33中的任一项所述方法的单元。
- 一种通信装置,其特征在于,包括处理器和接口电路,所述接口电路用于接收来自所述通信装置之外的其它通信装置的信号并传输至所述处理器或将来自所述处理器的信号发送给所述通信装置之外的其它通信装置,所述处理器通过逻辑电路或执行代码指令用于实现如权利要求19至28中的任一项所述的方法,或者如权利要求34或35所述的方法。
- 一种通信装置,其特征在于,包括用于执行如权利要求19至28中的任一项所述方法的单元,或者如权利要求34或35所述方法的单元。
- 一种通信系统,其特征在于,包括如权利要求36的通信装置和权利要求38的通信装置,或者包括如权利要求37的通信装置和权利要求39的通信装置。
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,实现如权利要求1至18中任一项所述的方法,或者如权利要求19至28中的任一项所述的方法,或者如权利要求29至33中的任一项所述的方法,或者如权利要求34或35所述的方法。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020257005733A KR20250040712A (ko) | 2022-08-09 | 2023-04-25 | 데이터 분석 방법 및 장치 |
| EP23851261.0A EP4568217A4 (en) | 2022-08-09 | 2023-04-25 | METHOD AND APPARATUS FOR DATA ANALYSIS |
| US19/046,691 US20250181983A1 (en) | 2022-08-09 | 2025-02-06 | Data Analytics Method and Apparatus |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210951168.5 | 2022-08-09 | ||
| CN202210951168.5A CN117675596A (zh) | 2022-08-09 | 2022-08-09 | 一种数据分析方法及装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US19/046,691 Continuation US20250181983A1 (en) | 2022-08-09 | 2025-02-06 | Data Analytics Method and Apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024032031A1 true WO2024032031A1 (zh) | 2024-02-15 |
Family
ID=89850596
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/090526 Ceased WO2024032031A1 (zh) | 2022-08-09 | 2023-04-25 | 一种数据分析方法及装置 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20250181983A1 (zh) |
| EP (1) | EP4568217A4 (zh) |
| KR (1) | KR20250040712A (zh) |
| CN (1) | CN117675596A (zh) |
| WO (1) | WO2024032031A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2026036555A1 (en) * | 2024-08-13 | 2026-02-19 | Huawei Technologies Co., Ltd. | Communication method and related apparatuses |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112181666A (zh) * | 2020-10-26 | 2021-01-05 | 华侨大学 | 一种基于边缘智能的设备评估和联邦学习重要性聚合方法、系统、设备和可读存储介质 |
| CN113191484A (zh) * | 2021-04-25 | 2021-07-30 | 清华大学 | 基于深度强化学习的联邦学习客户端智能选取方法及系统 |
| CN114021464A (zh) * | 2021-11-09 | 2022-02-08 | 京东科技信息技术有限公司 | 数据处理方法、装置和存储介质 |
| CN114385376A (zh) * | 2021-12-09 | 2022-04-22 | 北京理工大学 | 一种异构数据下边缘侧联邦学习的客户端选择方法 |
| CN114564746A (zh) * | 2022-02-28 | 2022-05-31 | 浙江大学 | 基于客户端权重评价的联邦学习方法和系统 |
| US20220172844A1 (en) * | 2019-09-26 | 2022-06-02 | Fujifilm Corporation | Machine learning system and method, integration server, information processing apparatus, program, and inference model creation method |
| CN114611716A (zh) * | 2022-03-01 | 2022-06-10 | 亚信科技(中国)有限公司 | 联邦学习系统构建方法、装置、电子设备及可读存储介质 |
| US20220230062A1 (en) * | 2019-03-01 | 2022-07-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Dynamic network configuration |
-
2022
- 2022-08-09 CN CN202210951168.5A patent/CN117675596A/zh active Pending
-
2023
- 2023-04-25 EP EP23851261.0A patent/EP4568217A4/en active Pending
- 2023-04-25 KR KR1020257005733A patent/KR20250040712A/ko active Pending
- 2023-04-25 WO PCT/CN2023/090526 patent/WO2024032031A1/zh not_active Ceased
-
2025
- 2025-02-06 US US19/046,691 patent/US20250181983A1/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20220230062A1 (en) * | 2019-03-01 | 2022-07-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Dynamic network configuration |
| US20220172844A1 (en) * | 2019-09-26 | 2022-06-02 | Fujifilm Corporation | Machine learning system and method, integration server, information processing apparatus, program, and inference model creation method |
| CN112181666A (zh) * | 2020-10-26 | 2021-01-05 | 华侨大学 | 一种基于边缘智能的设备评估和联邦学习重要性聚合方法、系统、设备和可读存储介质 |
| CN113191484A (zh) * | 2021-04-25 | 2021-07-30 | 清华大学 | 基于深度强化学习的联邦学习客户端智能选取方法及系统 |
| CN114021464A (zh) * | 2021-11-09 | 2022-02-08 | 京东科技信息技术有限公司 | 数据处理方法、装置和存储介质 |
| CN114385376A (zh) * | 2021-12-09 | 2022-04-22 | 北京理工大学 | 一种异构数据下边缘侧联邦学习的客户端选择方法 |
| CN114564746A (zh) * | 2022-02-28 | 2022-05-31 | 浙江大学 | 基于客户端权重评价的联邦学习方法和系统 |
| CN114611716A (zh) * | 2022-03-01 | 2022-06-10 | 亚信科技(中国)有限公司 | 联邦学习系统构建方法、装置、电子设备及可读存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4568217A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4568217A1 (en) | 2025-06-11 |
| EP4568217A4 (en) | 2025-12-10 |
| KR20250040712A (ko) | 2025-03-24 |
| US20250181983A1 (en) | 2025-06-05 |
| CN117675596A (zh) | 2024-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12388717B2 (en) | Method and device for selecting service in wireless communication system | |
| US20250267076A1 (en) | Communication method, apparatus, and system | |
| US11418413B2 (en) | Sharable storage method and system for network data analytics | |
| US11202240B2 (en) | Systems and methods for managing and monitoring communication sessions | |
| US11558476B2 (en) | Method and apparatus for renewing subscription for network data analysis in wireless communication system | |
| KR20220001797A (ko) | 무선 통신 네트워크에서 네트워크 분석 정보 제공 방법 및 장치 | |
| JP2024539470A (ja) | サブスクリプションネットワークにおけるモデル伝送状態の解析方法、装置及び読み取り可能な記憶媒体 | |
| CN112042167A (zh) | 用于在实现移动边缘计算(mec)的通信网络中处理用户服务简档信息的方法和装置 | |
| WO2023185807A1 (zh) | 一种通信方法及装置 | |
| WO2023078183A1 (zh) | 一种数据收集方法及通信装置 | |
| WO2023213134A1 (zh) | 一种数据报告的方法、装置及系统 | |
| CN118138479A (zh) | 一种模型训练方法、系统、通信实体及存储介质 | |
| US20250181983A1 (en) | Data Analytics Method and Apparatus | |
| US20250252354A1 (en) | Method for supporting federated learning based on non-sharing of original data and device performing the same | |
| CN120224214A (zh) | 一种通信方法及装置 | |
| WO2025195179A1 (zh) | 一种通信方法及装置 | |
| WO2024099016A1 (zh) | 一种通信方法及装置 | |
| WO2026046392A1 (zh) | 数据传输方法及通信装置 | |
| WO2025242048A1 (zh) | 通信方法及通信装置 | |
| WO2024104339A1 (zh) | 数据传输方法、装置、相关设备及存储介质 | |
| WO2025031153A1 (zh) | 通信方法及装置 | |
| WO2025065347A1 (zh) | 用于实现感知服务的系统和方法 | |
| WO2025067490A1 (zh) | 通信方法及装置 | |
| CN121218270A (zh) | 一种通信方法及装置 | |
| WO2025000381A1 (zh) | 资源管理方法、装置及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23851261 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 20257005733 Country of ref document: KR Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 1020257005733 Country of ref document: KR |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023851261 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023851261 Country of ref document: EP Effective date: 20250303 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 1020257005733 Country of ref document: KR |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023851261 Country of ref document: EP |