Artificial intelligence model distributed collaborative research and development platform and research and development method
Through the artificial intelligence model distributed collaborative research and development platform, cloud and local data are combined for model training, and anomaly detection and large language model technology are used to solve the problems of data security and model generalization in the aviation field, and achieve efficient model research and development. and improved generalization.
Patent Information
- Application Number
- CN202410887216.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-18
AI Technical Summary
In the aviation field, centralized training of artificial intelligence models cannot guarantee data security, while distributed training has poor model generalization due to insufficient data sample size and diversity and cannot meet the needs of engineering applications.
A distributed collaborative research and development platform for artificial intelligence models is designed. Model development and pre-training are carried out through the cloud server, iterative training is performed based on local data, and the anomaly detection model is used to verify the model parameters to form the global optimal model parameters, and through the large language model Provide intelligent services to improve R&D efficiency.
On the premise of ensuring data security, the generalization and adaptability of the model are improved, the research and development threshold is lowered, and the needs of aerospace engineering applications are met.
Smart Images

Figure CN118798833A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an artificial intelligence model distributed collaborative R&D platform and a R&D method. Background Art
[0002] The civil aviation industry is a high-security field. The development of aviation-borne avionics, electromechanical, flight control and other systems involves a large amount of core confidential data. Data security is of vital importance. Technical means such as access control and network isolation are usually used to protect data security. In this context, the development of artificial intelligence models is limited to local secure and trusted environments. When facing the common R&D needs of multiple units, it is difficult to concentrate on multi-party data training and maintenance and update models. The disadvantage of this approach is that the sample size and data diversity are insufficient, and the developed model has poor generalization and cannot meet the needs of engineering applications. For this reason, it is urgent to build a multi-unit distributed collaborative R&D model to achieve trusted interaction of sensitive data in the R&D design, production and manufacturing, and operation and maintenance processes while protecting information security.
[0003] For the development of artificial intelligence models in the aviation field, there are two common implementation methods: one is centralized training, which unifies the data of units with common model development needs to carry out model training and maintenance and updates. Through centralized training, data resources can be better managed and optimized, and the generalization of the model can be improved. However, the data privacy and security of each unit cannot be guaranteed; the other is distributed training, in which each unit carries out model training and maintenance and updates in a local secure and trusted environment. Data is not shared, security is high, and there is no risk of core data leakage. However, the aviation field is characterized by multiple varieties and small batches. When facing the common R&D needs of multiple units, distributed training will result in poor model generalization due to insufficient data sample size and diversity, making it difficult to meet engineering application needs. Summary of the invention
[0004] In view of the defects in the prior art, the present invention provides an artificial intelligence model distributed collaborative R&D platform and R&D method to solve the problem that the current artificial intelligence model development for aviation rain is unable to guarantee both data security and data sample diversity through separate centralized training or distributed training.
[0005] In a first aspect, the present invention provides an artificial intelligence model distributed collaborative R&D platform, comprising:
[0006] AI basic framework, which is used to provide a basic support system for building and running artificial intelligence applications;
[0007] AI resource management module, which is used to comprehensively manage the core resources involved in the AI development process of the cloud server;
[0008] Intelligent service module, based on multi-agent technology of large language model, realizes automatic code generation, intelligent algorithm recommendation, automatic code review and storage, and fault analysis;
[0009] The AI platform service module is used for AI model development and training of cloud servers, as well as the interaction and collaboration between cloud servers and local client models. Each local client downloads the pre-trained global model from the cloud server, and uploads the model parameters generated by local training to the cloud in the form of text files using four types of interfaces supported by the data access function. The cloud server verifies the model parameters uploaded by the local client through anomaly detection models, aggregates them into the globally optimal model parameters, and the optimized cloud-based global optimal model is made available for download and use by each local client.
[0010] Optionally, it also includes a platform operation and maintenance module and a data access module.
[0011] The platform operation and maintenance module is used to implement resource monitoring and authority management;
[0012] The data access module is used to import data from various sources into the research and development platform or workflow.
[0013] Optionally, the AI basic framework includes a big data computing engine, an artificial intelligence computing framework and basic hardware.
[0014] The big data computing engine is used to process and analyze data information and provide data input for AI algorithms;
[0015] The artificial intelligence computing framework is used to provide the tools and interfaces required to build, train and deploy models;
[0016] The basic hardware, including high-performance processors and cloud computing infrastructure, is used to provide computing power support for AI algorithms.
[0017] In a second aspect, the present invention provides a distributed collaborative development method for an artificial intelligence model, comprising:
[0018] The cloud server develops and trains AI models based on access data;
[0019] Each local client downloads the pre-trained global model from the cloud server, including the model architecture and model parameters ω;
[0020] After the client receives the global model from the cloud server, it performs iterative training based on local data to obtain the optimized model parameters ω k ,ω k =LocalTraining(ω,LocalDataset);
[0021] The client sets the local model parameter ω k The text file is uploaded to the cloud server;
[0022] The cloud server evaluates the locally updated model parameters ω through the anomaly detection model k Quality, remove abnormal updates;
[0023] The cloud server will verify the local model parameters ω k Perform global aggregation to form the global optimal model parameter ω new , the global optimal model is downloaded and used again by each local client; new =sum(α k *ω k ) / sum(α k ), α k is the aggregate weight of the local model parameters.
[0024] Optionally, the file format of the cloud server access data includes text files, SQL databases, API interface data sources, and HDFS text files;
[0025] The text file is connected by adding a new data source, including CSV files, excel files and json files;
[0026] The SQL database reads the original data in the relational database through a database connector or an ETL tool;
[0027] The API interface data source calls the API to obtain real-time data streams provided by external systems or services, and captures and imports data through the API interface.
[0028] Optionally, AI model development methods include visual modeling, guided modeling, and interactive modeling.
[0029] The visual modeling is based on the execution engine of directed acyclic graph to perform data flow and operator collaboration execution in algorithm arrangement;
[0030] The wizard-style modeling provides guidance steps for model development, and the user fills in the content step by step according to the guidance steps to complete the modeling task in sequence;
[0031] The interactive modeling provides an automatic code generation tool to generate basic code and assist users in development through natural language demand description and application scenario description; or provides a browser programming tool, so that users can directly write algorithm scripts and run and debug model development scripts online.
[0032] Optionally, during model development, the wizard-based modeling selects a model from an algorithm library of the artificial intelligence model distributed collaborative R&D platform based on an algorithm recommendation algorithm, including:
[0033] Build training dataset: collect code and text data from GitHub; build code process data, use existing large models to generate code implementation ideas, pseudocode, and different implementation codes for natural language queries in CodeSearchNet dataset;
[0034] Model training: Based on the RetroMAE model, pre-train the collected code data; perform comparative learning pre-training on different types of collected data; adjust the model based on the constructed retrieval task instructions to support retrieval in different business scenarios.
[0035] Optionally, an evaluation method using the anomaly detection model comprises:
[0036] After receiving the model parameter update X' uploaded by the client, the cloud server uses the pre-trained anomaly detection model to obtain an evaluation score Y'=Model(X');
[0037] If Y'>τ, the model parameter X' is abnormally updated; τ is the threshold set and dynamically adjusted by the cloud server.
[0038] Optionally, the pre-training method of the anomaly detection model includes:
[0039] Extract the normal model parameters x of the cloud server i , get the training set X normal ={x 1 ,x 2 ,...,x n};
[0040] Based on unsupervised learning, using the training set X normal training the anomaly detection model;
[0041] Prediction evaluation score Y = Model(X normal ), loss function L = ||YW|| 2 , W is the actual evaluation score.
[0042] By adopting the above technical solution, the present application has the following beneficial effects:
[0043] The civil aviation industry is a high-security field. The development process of aviation-borne avionics, electromechanical, flight control and other systems involves a large amount of core commercial secret data, and data security is of vital importance. At the same time, the aviation-borne field has the characteristics of highly complex systems, long industrial chains, multiple varieties and small batches. There are many units involved in the development, and the development data is scattered. There are problems of insufficient data sample size and diversity among individuals, which makes it difficult to ensure the generalization of the model. Therefore, it is necessary to concentrate the scattered data for model development, but the contradiction between data sharing and data security is difficult to reconcile. The present invention combines the advantages of centralized training and distributed training on the premise of ensuring data security. First, in response to the small amount of data samples and security issues, a distributed collaborative R&D platform for artificial intelligence models is proposed to realize centralized development and pre-training of global models from the cloud. The global model can be downloaded by local clients to realize distributed training of local local models, and the parameter weights are fed back to the global model on the cloud for integration and optimization of the whole process of closed-loop business process, which effectively solves the contradiction between data sharing and data security; secondly, in order to improve the accuracy and reliability of global model parameter weight update, a model parameter anomaly detection algorithm based on unsupervised learning is proposed. The anomaly detection model is used to evaluate whether the model parameter update of local distributed training is effective and of good quality, and abnormal updates are removed during the weight fusion process; finally, aviation engineering personnel focus on the development of aviation equipment, but do not have the ability to develop artificial intelligence algorithms. In response to the high threshold of artificial intelligence model development and the difficulty of engineering application, an intelligent service based on large models is proposed. Through services such as automatic code generation, intelligent algorithm recommendation, automatic code review and storage, and fault analysis, the process of distributed collaborative development of models is optimized, the platform's usability is improved, the R&D threshold is lowered, and the engineering needs of artificial intelligence are met. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0045] Figure 1 A schematic diagram of a distributed collaborative R&D platform for artificial intelligence models provided by an embodiment of the present invention is shown;
[0046] Figure 2 A business process diagram of a distributed collaborative R&D platform for artificial intelligence models provided by an embodiment of the present invention is shown;
[0047] Figure 3 A schematic diagram of the process of developing a cloud server model provided by an embodiment of the present invention is shown;
[0048] Figure 4 A schematic diagram of a distributed collaborative R&D method for an artificial intelligence model provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0049] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
[0050] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0051] like Figure 1 As shown, this embodiment provides a distributed collaborative R&D platform for artificial intelligence models, including four parts: AI basic framework, AI resource management module, large model-based intelligent service module and AI platform service module.
[0052] (1) The AI basic framework provides the core underlying engine and is the basic support system for building and running artificial intelligence applications. It includes three parts: big data computing engine, artificial intelligence computing framework, and basic hardware.
[0053] (1.1) Big data computing engine: responsible for processing and analyzing massive amounts of data information and providing necessary data input for AI algorithms. For example, distributed computing frameworks such as Hadoop and Spark can efficiently perform large-scale data processing and computing.
[0054] (1.2) Artificial intelligence computing frameworks: such as TensorFlow, PyTorch, SkLearn, etc. These frameworks provide the tools and interfaces required to build, train, and deploy deep learning models, allowing developers to develop and optimize models more conveniently.
[0055] (1.3) Basic hardware: including high-performance processors such as GPU and CPU, as well as cloud computing infrastructure, which provide powerful computing power support for the efficient operation of AI algorithms.
[0056] (2) The AI resource management module is used to comprehensively manage various core resources involved in the AI development process, including:
[0057] (2.1) Data resource management: Classify, store, version control and security management of various data resources such as raw data, pre-processed data, and training data.
[0058] (2.2) Algorithm resource management: manage and schedule multiple machine learning or deep learning algorithms, optimize algorithm selection and usage efficiency, and provide algorithm import function. All imported algorithms need to go through a set of review processes before they can be stored. Among them, the automatic code review and storage function uses large language model technology to automate the code review and storage process, improving the review efficiency and quality.
[0059] (2.3) Model resource management: covers the management of the entire life cycle, including internal / external model creation, iterative updates, and version control.
[0060] (3) Intelligent service module based on large model and multi-agent technology based on large language model, realizing functions such as automatic code generation, intelligent algorithm recommendation, automatic code review and storage, and fault analysis. The specific intelligent services are as follows:
[0061] (3.1) Automatic code generation: Allows developers to describe the functions or algorithms they want to implement in natural language. The intelligent engine can understand these descriptions and directly generate corresponding code snippets, greatly improving development efficiency.
[0062] (3.2) Intelligent algorithm recommendation: It can recommend the most suitable algorithm or data structure based on the application scenario described in natural language, code logic or pseudocode. It can analyze the patterns in the code base, identify the most effective solution, help developers quickly locate the optimal algorithm, and reduce the cost of trial and error.
[0063] (3.3) Automatic code review and storage: When checking the code into the algorithm library, the code review can be automatically performed to check the code quality and compliance with regulations, automate the code review process, and execute the operation of entering the algorithm library.
[0064] (3.4) Fault analysis: When the anomaly detection module detects abnormal weights, it can analyze the weight parameters and local model information, quickly locate the root cause of the problem, and provide repair suggestions.
[0065] (4) AI platform service module, which is used for AI model development and training of cloud servers, as well as the interaction and collaboration between cloud servers and local client model fusion; each local client downloads the pre-trained global model from the cloud server, and uploads the model parameters generated by local training to the cloud in the form of text files using four types of interfaces supported by the data access function; the cloud server verifies the model parameters uploaded by the local client through the anomaly detection model, aggregates them into the global optimal model parameters, and the optimized cloud global optimal model is available for each local client to download and use again. It further provides a series of services from data annotation, model design and construction, model training and optimization, model fusion, model deployment, etc. to ensure that AI projects can be successfully completed and continuously optimized and upgraded.
[0066] At the same time, the distributed collaborative R&D platform for artificial intelligence models provided in this embodiment also includes a platform operation and maintenance module and a data access module. The platform operation and maintenance module uses the resource monitoring function to understand and adjust the operating status of the system in real time, and also uses the authority management function to ensure the data security and operational compliance of each team and role in the collaboration process. The data access module enables the platform to flexibly connect to various data sources to meet the AI development needs in different scenarios.
[0067] The overall business process of the platform revolves around two main parts: cloud model development and training and distributed collaborative R&D. The specific process is as follows: Figure 2 As shown, a complete business process is implemented from centralized development and training in the cloud to feedback optimization of local distributed training sets, and then to integrated distribution in the cloud.
[0068] Among them, cloud model development and training is a series of activities on the cloud server from raw data access, data preprocessing for application generation targets, data labeling, model training, model evaluation to left-center model generation to achieve the association of data, models, and applications. Figure 3 shown.
[0069] In one embodiment, Figure 4 As shown, a distributed collaborative R&D method for an artificial intelligence model is also provided, including:
[0070] S1. The cloud server develops and trains AI models based on access data.
[0071] Data access is an important part of cloud AI model development and training. It allows data from various sources to be imported into a unified data platform or workflow, and data annotation can be completed through the data annotation platform. Data access supports text files, SQL databases, API interface data sources, HDFS text files, etc.
[0072] Text file: Import text files into the data source by adding a new data source, including CSV files, Excel files, and JSON files;
[0073] SQL database: Directly read the raw data in the relational database (such as MySQL, SQL Server, Oracle, etc.) through a database connector or ETL tool, using the relational database as the data source.
[0074] API interface data source: Call the API to obtain real-time data streams provided by external systems or services, capture data through the API interface and import it into the platform.
[0075] HDFS text files: For large-scale unstructured or semi-structured data, large text files can be read through the Hadoop Distributed File System (HDFS) and loaded into the platform.
[0076] See also Figure 3 , after the data is connected to my data source, data annotation is performed. Data annotation is used to assist model developers in data preparation and provide annotation functions for tasks such as text classification, sequence labeling, and sequence to sequence. It is used to create labeled data for sentiment analysis, named entity recognition, text summarization, etc. For image, text, audio, video and other data, manual or intelligent annotation is performed through the data annotation platform, such as image classification, object detection, semantic segmentation, sentiment analysis, etc., to generate training labels that can be used by machine learning algorithms. The labeled data can be imported through the data set and the data source is established, which can be applied to subsequent AI model development and design.
[0077] When developing a specific AI model, this embodiment provides three modeling methods, namely visual modeling, wizard modeling, and interactive modeling, providing a full-process low-code development process from data processing, model training, model evaluation, and model publishing.
[0078] (a) Visual modeling
[0079] The model development process, including data management, data processing, feature engineering, model training, model evaluation, model storage, and service output, is componentized through process orchestration. A drag-and-drop operation mode is provided for the development of model algorithms. After the evaluated and trained model meets expectations, the model is generated and saved in the model library.
[0080] Visual modeling uses the execution engine of directed acyclic graphs to perform data flow and operator collaboration in algorithm orchestration, supports multi-node execution, multi-task parallel processing, state feedback and other functions, and effectively improves the flexibility and computing efficiency of low-code interaction. Figure 4 As shown. Among them, the specific implementation process of the directed acyclic graph is as follows:
[0081] Step a-1. Define the type of each operator, such as data operator, model operator, service operator, etc. There is a corresponding function processing for each operator. Through the execution of abstract operators, each type of operator can adapt to the execution of directed acyclic graphs.
[0082] Step a-2. Provide a directed acyclic graph engine to ensure that operators have a useful direction for execution. The direction determines the input and output types, fully abstracts the input and output structures, provides free and flexible customization of algorithm components, and uses the task scheduling scenario of a directed acyclic graph to design the program.
[0083] Step a-3. Add multi-threaded task processing capabilities. Each node in the directed acyclic graph is a thread, which helps to efficiently execute nodes and obtain node execution status.
[0084] (b) Guided Modeling
[0085] Provides basic model development steps. Users can follow the guidance steps provided by the platform to fill in the required content for each step and complete the data analysis and modeling tasks in sequence.
[0086] Step b-1. Create a new project: Name the AI model project, provide a brief description, and select an appropriate project type (such as classification, regression, clustering, etc.).
[0087] Step b-2. Configure the data source: Select the appropriate data table from the imported data source and configure the data source to give users a preliminary understanding of the data structure and content.
[0088] Step b-3. Dataset splitting: According to the model training and verification requirements, the imported data is split reasonably. After setting the splitting ratio or rules, the platform will automatically split the data and generate corresponding training sets and test sets.
[0089] Step b-4. Model selection: In the model development phase, select a suitable model from the algorithm library provided by the platform based on the project goals and data characteristics. In order to select the appropriate algorithm more efficiently and accurately, this step also proposes an intelligent algorithm recommendation algorithm based on a large model, which closely links the actual business scenario with the algorithm characteristics to ensure that the selected model can effectively solve specific problems and make full use of the scenario characteristics. The specific steps of the algorithm are as follows:
[0090] Construct a training dataset:
[0091] First, we collect high-quality code and text data from GitHub to collect more extensive code data.
[0092] Secondly, we build process data of the code to enhance the understanding of the code logic, and use existing large models such as ChatGPT and GPT4 to generate code implementation ideas, pseudocode, and different implementation codes for natural language queries in the CodeSearchNet dataset;
[0093] Finally, in order to adapt to a wider range of business scenarios, a variety of retrieval task datasets are constructed for instruction fine-tuning.
[0094] Model training:
[0095] First, based on the RetroMAE model, pre-training is performed on the collected code data to make the model adapt to the domain code;
[0096] Secondly, comparative learning pre-training is performed on the collected matching data of different types. For example, comparative learning pre-training is performed on the collected GitHub Pair data and the constructed process data, so that the model has preliminary retrieval capabilities.
[0097] Finally, further fine-tuning is performed on the constructed instruction data. The constructed retrieval task data is used to further fine-tune the model, and uniform instruction fine-tuning is performed on different retrieval task instructions to support retrieval in different business scenarios.
[0098] (c) Interactive Modeling
[0099] Provides a browser-based web IDE programming tool. Users with programming skills can flexibly and conveniently write algorithm scripts and run and debug model development scripts online. Algorithm scripts can also be written into system components for visual modeling.
[0100] At the same time, interactive modeling provides users with automatic code generation tools based on large models. It automatically generates basic code through natural language descriptions of requirements and application scenarios, assisting users in developing scripts online, significantly reducing the workload of writing entry-level or repetitive code.
[0101] S2. Each local client downloads the pre-trained global model from the cloud server, including the model architecture and model parameters ω.
[0102] S3. After the client receives the global model from the cloud server, it performs iterative training based on local data to obtain the optimized model parameters ω k ,ω k =LocalTraining(ω,LocalDataset).
[0103] S4. The client sets the local model parameter ω k The text file is uploaded to the cloud server; the cloud server evaluates the locally updated model parameters ω through the anomaly detection model k Quality, remove abnormal updates. This step also includes: using a large language model to perform fault analysis on the detected abnormal weights, quickly locating the problem based on the input abnormal weight parameters, and providing scientific and reasonable improvement suggestions based on the understanding of the abnormal detection model, thereby improving the stability and generalization ability of local model training.
[0104] Among them, how to use the anomaly detection model for evaluation includes:
[0105] S411. After receiving the model parameter update X' uploaded by the client, the cloud server uses the pre-trained anomaly detection model to obtain the evaluation score Y'=Model(X');
[0106] S412. If Y'>τ, then the model parameter X' is abnormally updated; τ is a threshold set and dynamically adjusted by the cloud server. The cloud server sets and dynamically adjusts the threshold τ based on historical data and current environmental changes. If the anomaly score calculated by the anomaly detection model exceeds this threshold, it is considered that the model update uploaded by the client is abnormal.
[0107] Pre-training methods for anomaly detection models include:
[0108] S421. Extract normal model parameters x of the cloud server i , get the training set X normal ={x 1 ,x 2 ,…,x n};
[0109] S422. Based on unsupervised learning, using training set X normal training the anomaly detection model;
[0110] S423. Prediction evaluation score Y = Model (X normal ), loss function L = ||YW|| 2 , W is the actual evaluation score.
[0111] For identified abnormal model updates, the cloud will choose to ignore or refuse to accept them, and may trigger further diagnosis and intervention on the corresponding client, and not include them in the fusion process of the global model, so as to ensure the stability of distributed training and model quality. In this way, the anomaly detection model can effectively screen and eliminate abnormal model updates during the distributed training process, ensure the robustness of the entire system, and prevent the performance of the global model from degrading due to problems in individual clients.
[0112] S5. The cloud server will verify the local model parameters ω k Perform global aggregation to form the global optimal model parameter ω new , the global optimal model is downloaded and used again by each local client; new =sum(α k *ω k ) / sum(α k ), α k is the aggregate weight of the local model parameters.
[0113] After the above steps, the optimized model parameters ω new It is republished to the cloud server and redistributed to the local client as needed, forming a closed-loop iterative process to continuously improve the generalization ability and adaptability of the model.
[0114] Above, such as Figure 3 As shown, the model developed based on the method provided in this embodiment can provide external access capabilities in the form of API interface services and image export.
[0115] API interface: You can send requests to remote servers through HTTP requests or other protocols and receive responses to achieve data exchange, function calls or service requests.
[0116] Image export: In the field of containerization technology, especially in container platforms such as Docker, image export is to save the built Docker image as a portable file, which is convenient for transferring images or long-term backup in environments where the network is not connected. The image export function is mainly designed for local clients that are not involved in the collaborative R&D process, so that they can easily call the trained model without a cloud development environment or understanding the specific architecture of the model.
[0117] The above embodiments are only used to introduce the technical solutions of the present application in detail, but the description of the above embodiments is only used to help understand the methods of the embodiments of the present invention and should not be understood as limiting the embodiments of the present invention. Any changes or substitutions that can be easily thought of by those skilled in the art should be included in the protection scope of the embodiments of the present invention.
Claims
1. A distributed collaborative R&D platform for artificial intelligence models, It is characterized in that include: AI basic framework, which is used to provide a basic support system for building and running artificial intelligence applications; AI resource management module, which is used to comprehensively manage the core resources involved in the AI development process of the cloud server; Intelligent service module, based on multi-agent technology of large language model, realizes automatic code generation, intelligent algorithm recommendation, automatic code review and storage, and fault analysis; The AI platform service module is used for AI model development and training of cloud servers, as well as the interaction and collaboration between cloud servers and local client models. Each local client downloads the pre-trained global model from the cloud server, and uploads the model parameters generated by local training to the cloud in the form of a text file using four types of interfaces supported by the data access function. The cloud server verifies the model parameters uploaded by the local client through an anomaly detection model, aggregates them into the globally optimal model parameters, and the optimized cloud-based global optimal model is made available for download and use by each local client.
2. The distributed collaborative R&D platform for artificial intelligence models according to claim 1, It is characterized in that It also includes platform operation and maintenance module and data access module. The platform operation and maintenance module is used to implement resource monitoring and authority management; The data access module is used to import data from various sources into the research and development platform or workflow.
3. The distributed collaborative R&D platform for artificial intelligence models according to claim 2, It is characterized in that The AI basic framework includes a big data computing engine, an artificial intelligence computing framework and basic hardware. The big data computing engine is used to process and analyze data information and provide data input for AI algorithms; The artificial intelligence computing framework is used to provide the tools and interfaces required to build, train and deploy models; The basic hardware, including high-performance processors and cloud computing infrastructure, is used to provide computing power support for AI algorithms.
4. A distributed collaborative development method for artificial intelligence models, It is characterized in that The distributed collaborative R&D platform for artificial intelligence models according to claims 1 to 3 comprises: The cloud server develops and trains AI models based on access data; Each local client downloads the pre-trained global model from the cloud server, including the model architecture and model parameters ω; After the client receives the global model from the cloud server, it performs iterative training based on local data to obtain the optimized model parameters ω k ,ω k =LocalTraining(ω,LocalDataset); The client sets the local model parameter ω k The text file is uploaded to the cloud server; the cloud server evaluates the locally updated model parameters ω through the anomaly detection model k Quality, remove abnormal updates; The cloud server will verify the local model parameters ω k Perform global aggregation to form the global optimal model parameter ω new , the global optimal model is downloaded and used again by each local client; new =sum(α k *ω k ) / sum(α k ), α k is the aggregate weight of the local model parameters.
5. The method according to claim 4, It is characterized in that The file formats of cloud server access data include text files, SQL databases, API interface data sources, and HDFS text files; The text file is connected by adding a new data source, including CSV files, excel files and json files; The SQL database reads the original data in the relational database through a database connector or an ETL tool; The API interface data source calls the API to obtain real-time data streams provided by external systems or services, and captures and imports data through the API interface.
6. The method according to claim 4, It is characterized in that AI model development methods include visual modeling, wizard modeling, and interactive modeling. The visual modeling is based on the execution engine of directed acyclic graph to perform data flow and operator collaboration execution in algorithm arrangement; The wizard-style modeling provides guidance steps for model development, and the user fills in the content step by step according to the guidance steps to complete the modeling task in sequence; The interactive modeling provides an automatic code generation tool to generate basic code and assist users in development through natural language demand description and application scenario description; or provides a browser programming tool, so that users can directly write algorithm scripts and run and debug model development scripts online.
7. The method according to claim 6, It is characterized in that The wizard-based modeling selects a model from the algorithm library of the artificial intelligence model distributed collaborative R&D platform based on an algorithm recommendation algorithm during model development, including: Build training dataset: collect code and text data from GitHub; build code process data, use existing large models to generate code implementation ideas, pseudocode, and different implementation codes for natural language queries in CodeSearchNet dataset; Model training: Based on the RetroMAE model, pre-train the collected code data; perform comparative learning pre-training on different types of collected data; adjust the model based on the constructed retrieval task instructions to support retrieval in different business scenarios.
8. The method according to claim 4, It is characterized in that An evaluation method using the anomaly detection model includes: After receiving the model parameter update X' uploaded by the client, the cloud server uses the pre-trained anomaly detection model to obtain an evaluation score Y'=Model(X'); If Y'>τ, the model parameter X' is abnormally updated; τ is the threshold set and dynamically adjusted by the cloud server.
9. The method according to claim 8, wherein the pre-training method of the anomaly detection model is: include: Extract the normal model parameters x of the cloud server i , get the training set X normal ={x 1 ,x 2 ,...,x n }; Based on unsupervised learning, using the training set X normal training the anomaly detection model; Prediction evaluation score Y = Model(X normal ), loss function L = ||YW|| 2 , W is the actual evaluation score.
Citation Information
Cited By
Self-service modeling management method based on large model
CN119417322A
Low-code automatic generation method based on AI agent collaboration
CN121143808A
