Training method and device of training architecture based on block chain, and electronic equipment
By using a blockchain-based training architecture and leveraging task management contracts and a training coordinator to dynamically adjust training task parameters and stimulus schemes, the transparency and trustworthiness issues of collaborative training of multiple biological neural networks are resolved, achieving efficient neural network collaborative training and robustness enhancement.
Patent Information
- Application Number
- CN202511391139.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-26
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2045-09-26
AI Technical Summary
Existing technologies struggle to achieve collaborative training of multiple biological neural networks, and centralized management methods suffer from opacity and unreliability issues.
A blockchain-based training architecture is adopted, which generates training tasks through task management contracts, performs neural training using multiple biological neuron network nodes, and dynamically adjusts training task parameters and stimulation schemes based on evaluation and aggregation results through a training coordinator.
It enables collaborative training of multiple biological neural networks, improves the transparency and reliability of training, avoids privacy leaks and performance biases caused by centralized scheduling, supports joint training of neural networks under different physical conditions, and enhances the robustness of the training architecture.
Smart Images

Figure CN121235035A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of artificial intelligence, and particularly relates to a training method and device of a training architecture based on a blockchain and an electronic device. BACKGROUND
[0002] With the development of neuromorphic computing, biological neuron networks gradually become an important direction of artificial intelligence research as a computing carrier with synaptic plasticity and low power consumption advantages. However, due to the strong dependence of its physical properties on the cultivation environment and the heterogeneity, it is difficult for multiple biological neuron networks to be collaboratively trained in a unified model.
[0003] In addition, the opacity and untrustworthiness of the traditional centralized management method in the collaborative training of biological neuron networks also become an important bottleneck restricting its development.
[0004] Therefore, how to provide a training method capable of collaboratively training multiple neuron networks is a technical problem to be solved. SUMMARY
[0005] Therefore, it is necessary to provide a training method, device, storage medium and electronic device of a training architecture based on a blockchain in view of the defect that the existing training method cannot collaboratively train multiple neuron networks.
[0006] In a first aspect, an embodiment of the present application provides a training method of a training architecture based on a blockchain, the method comprising: generating a training task through a task management contract of a blockchain in the training architecture, the training task comprising training task parameters, the training task parameters comprising a stimulus category and an input sequence; executing neural training based on the received training task through multiple biological neuron network nodes in the training architecture to generate node response results of the multiple biological neuron network nodes; dynamically adjusting training task parameters and a stimulation scheme based on an evaluation result and an aggregation result through a training coordinator in the training architecture, the evaluation result being an evaluation result obtained by evaluating the training effect of the node response results of the multiple biological neuron network nodes, and the aggregation result being an aggregation result obtained by aggregating the multiple node response results of the multiple biological neuron network nodes according to a set logic.
[0007] Optionally, before the generating a training task through the task management contract of the blockchain, the method further comprises: deploying the task management contract and a data storage contract on the blockchain, wherein the task management contract is used to publish and manage the corresponding training task, and the data storage contract is used to save the training results of the multiple neuron network nodes.
[0008] Optionally, any one of the plurality of biological neuron network nodes comprises a local controller, a stimulation controller, a microelectrode array, and a neuron culture unit, and the method further comprises: sequentially performing the following operations by the local controller, the stimulation controller, the microelectrode array, and the neuron culture unit: performing the following operations by the local controller: triggering an electrical stimulation command control logic in response to receiving the training task; receiving training data returned by the microelectrode array; integrating the training data, signal features, and training abstracts to generate response data; uploading the response data onto a blockchain; performing the following operations by the stimulation controller: generating preset current stimulation signals and preset voltage stimulation signals based on the received training task, and outputting voltage pulses and current pulses to the microelectrode array; performing the following operations by the microelectrode array: receiving stimulation signals of the stimulation controller, and performing electrical stimulation on neural tissue; real-time collecting training data of a neural network, the training data comprising discharge patterns and reaction timing; performing the following operations by the neuron culture unit: receiving electrical stimulation of the microelectrode array, and training based on the electrical stimulation.
[0009] Optionally, the training coordinator comprises a data collection module, a response aggregation module, a training evaluation module, a strategy generation module, a task publishing module, and a feedback incentive module, and the method further comprises: sequentially performing the following operations by the data collection module, the response aggregation module, the training evaluation module, the strategy generation module, the task publishing module, and the feedback incentive module: performing the following operations by the data collection module: listening to a blockchain data storage contract event, and reading node response data uploaded by a plurality of biological neuron network nodes from a blockchain; performing the following operations by the response aggregation module: performing aggregated analysis on the node response data according to a preset algorithm to obtain an aggregated result, and extracting global training features based on the aggregated result; performing the following operations by the training evaluation module: evaluate a current training state based on the aggregation result, to obtain an evaluation result, the current training state including: convergence degree, performance index; The strategy generation module performs the following operations: According to the evaluation result, dynamically adjust a plurality of training parameters, the plurality of training parameters at least including: stimulation frequency, intensity, and duration; The task publishing module performs the following operations: By calling the blockchain task management contract, publish a new training task and new training parameters; The feedback incentive module performs the following operations: Based on the node response data, evaluate the quality of the node response, to obtain an evaluation result; and based on the evaluation result, allocate corresponding on-chain incentive tokens.
[0010] Optionally, before the training task is generated by the blockchain task management contract, the method further comprises: Construct a training architecture based on blockchain multi-neuron network collaborative training, the training architecture including: a plurality of biological neuron network nodes, a blockchain capable of generating tokens, and a training coordinator, wherein any one of the plurality of biological neuron network nodes is configured with a corresponding stimulus generator, an electroencephalogram monitoring interface, and a local controller.
[0011] Optionally, after the training task parameters and the stimulation scheme are dynamically adjusted based on the evaluation result and the aggregation result, the method further comprises: Evaluate the response results of the plurality of biological neuron network nodes to obtain target response nodes meeting preset quality requirements; and allocate corresponding on-chain incentive tokens to the target response nodes.
[0012] Optionally, the method further comprises: In response to the training strategy, start training; After each round of training, each biological neuron network node submits a corresponding training digest; the training digest at least includes: a current node unique identifier, a current task unique identifier, a neural stimulation pattern determined by a stimulation sequence type of the current round, a delay from stimulation to first neural response, an average firing frequency per unit time, an entropy value of synaptic weight distribution change of neurons, a timestamp, a hash calculated from a potential waveform or an encoding sequence, and a signature generated in a trusted execution environment; The training coordinator sequentially performs the following operations based on the training digest: screening valid data; screening each biological neuron network node to obtain incentive nodes; and generating a next round of training strategy: Screening valid data is performed by: The signature verification is performed by verifying the matching degree between the signature and the node identity; The current task is checked based on a time window to determine whether the current task is within a valid period; The task is verified to determine whether the task matches the task identifier; The next round of training strategy is generated by sequentially performing the following operations: The stimulation parameters are optimized, the stimulating nodes are selected, and the next round of training strategy is encoded and published by calling the task management contract; The stimulation parameters are optimized by performing the following operations: based on the high-score nodes of the last round, the valid stimulation types and stimulation parameters are extracted to obtain the valid stimulation types and stimulation parameters, and the next round of stimulation sequence is generated based on the stimulation parameters.
[0013] In a second aspect, an embodiment of the present application provides a training device based on a training architecture of a block chain, the device comprising: A task management contract of a block chain in the training architecture, configured to generate a training task, the training task comprising training task parameters, the training task parameters comprising stimulation types and input sequences; A plurality of biological neuron network nodes in the training architecture, configured to perform neural training based on the received training task to generate node response results of the plurality of biological neuron network nodes; A training coordinator in the training architecture, configured to dynamically adjust training task parameters and stimulation schemes based on evaluation results and aggregation results, the evaluation results being evaluation results obtained by evaluating the training effects of the node response results of the plurality of biological neuron network nodes, and the aggregation results being aggregation results obtained by aggregating the plurality of node response results of the plurality of biological neuron network nodes according to a set logic.
[0014] In a third aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, when the computer program is executed in a computer, the computer program causes the computer to execute the method of the first aspect.
[0015] In a fourth aspect, an electronic device is provided, comprising a memory and a processor, the memory stores executable code, and the processor executes the executable code to implement the method of the first aspect.
[0016] In the embodiment of the present application, the training task is generated by the task management contract of the blockchain in the training architecture, the training task includes training task parameters, the training task parameters include: stimulus category and input sequence; the neural training is performed based on the received training task by the plurality of biological neuron network nodes in the training architecture, to generate node response results of the plurality of biological neuron network nodes; and the training task parameters and the stimulation scheme are dynamically adjusted based on the evaluation result and the aggregation result by the training coordinator in the training architecture, the evaluation result is an evaluation result obtained by evaluating the training effect of the node response results of the plurality of biological neuron network nodes, and the aggregation result is an aggregation result obtained by aggregating the plurality of node response results of the plurality of biological neuron network nodes according to the set logic. The training method provided by the embodiment of the present application not only can execute the neural training based on the received training task, to generate the node response results of the plurality of biological neuron network nodes; but also can dynamically adjust the training task parameters and the stimulation scheme based on the evaluation result and the aggregation result. BRIEF DESCRIPTION OF DRAWINGS
[0017] The exemplary embodiments of this application will be better understood with a reference to the accompanying drawings when read in conjunction with the following detailed description. The drawings provided herein are for illustrative purposes only and therefore should not be considered to narrow the scope of the application in any way. In the drawings:
[0018] Figure 1 a flow chart of the training method of the training architecture based on the blockchain according to an exemplary embodiment of the present application; Figure 2 a structural schematic diagram of the training system of the training architecture based on the blockchain; Figure 3 a structural schematic diagram of the BNN node; Figure 4 a structural schematic diagram of the training device 400 of the training architecture based on the blockchain according to an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0019] The exemplary embodiments of this application will be better understood with a reference to the accompanying drawings when read in conjunction with the following detailed description. The drawings provided herein are for illustrative purposes only and therefore should not be considered to narrow the scope of the application in any way. In the drawings:
[0020] It should be noted that the technical terms or scientific terms used in the present application should be understood as the general meaning understood by the skilled in the art, unless otherwise specified.
[0021] In addition, the terms "first" and "second" and the like are used to distinguish different objects, rather than to describe a particular order. Furthermore, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or apparatus that includes a list of steps or units is not limited to the listed steps or units, but can optionally further include other steps or units not listed, or can optionally further include other steps or units inherent to such processes, methods, products, or apparatuses.
[0022] Embodiments of the present application provide a training method and device of a training architecture based on a blockchain, a computer readable medium, and an electronic device, which are described below with reference to the accompanying drawings.
[0023] Please refer to Figure 1 which shows a flowchart of a training method of a training architecture based on a blockchain provided by some embodiments of the present application, as shown in Figure 1 The training method of the training architecture based on the blockchain provided by the embodiments of the present application can include the following steps: Step S101: generating a training task through a task management contract of a blockchain in the training architecture, the training task including training task parameters, the training task parameters including: a stimulus category and an input sequence.
[0024] In an example, before generating the training task through the task management contract of the blockchain, the training method of the training architecture based on the blockchain provided by the embodiments of the present application can further include the following steps: deploying a task management contract and a data storage contract on the blockchain, wherein the task management contract is used to publish and manage a corresponding training task, and the data storage contract is used to save the training results of the multi-neuron network nodes.
[0025] In an example, before generating the training task through the task management contract of the blockchain, the training method of the training architecture based on the blockchain provided by the embodiments of the present application can further include the following steps: constructing a training architecture of multi-neuron network collaborative training based on a blockchain, the training architecture including: a plurality of biological neuron network nodes, a blockchain capable of generating tokens, and a training coordinator, wherein any one of the plurality of biological neuron network nodes is configured with a corresponding stimulus generator, an electroencephalogram monitoring interface, and a local controller.
[0026] Step S102: executing neural training based on the received training task through the plurality of biological neuron network nodes in the training architecture, to generate node response results of the plurality of biological neuron network nodes.
[0027] In one example, any one of the multiple biological neuron network nodes includes: a local controller, a stimulation controller, a microelectrode array, and a neuron culture unit.
[0028] The training method based on the blockchain training architecture provided in this embodiment of the invention may further include the following steps: The following operations are performed sequentially through the local controller, stimulation controller, microelectrode array, and neuron culture unit: Perform the following operations through the local controller: In response to receiving a training task, the electrical stimulation command control logic is triggered. Receive training data returned by the microelectrode array; The training data, signal features, and training summary are integrated to generate response data; Upload the response data to the blockchain; Perform the following actions via the stimulus controller: Based on the received training task, a preset current stimulation signal and a preset voltage stimulation signal are generated; and voltage pulses and current pulses are output to the microelectrode array. Perform the following operations using a microelectrode array: It receives stimulation signals from the stimulation controller and provides electrical stimulation to nerve tissue; Real-time acquisition of neural network training data, including discharge patterns and reaction timing; Perform the following operations using the neuron culture unit: It receives electrical stimulation from a microelectrode array and performs training based on the electrical stimulation.
[0029] Step S103: The training task parameters and stimulation scheme are dynamically adjusted based on the evaluation results and aggregation results by the training coordinator in the training architecture. The evaluation results are obtained by evaluating the training effect of the node response results of multiple biological neuron network nodes. The aggregation results are obtained by aggregating the node response results of multiple biological neuron network nodes according to the set logic.
[0030] In one example, the training coordinator includes: a data collection module, a response aggregation module, a training evaluation module, a policy generation module, a task publishing module, and a feedback incentive module.
[0031] The training method based on the blockchain training architecture provided in this embodiment of the invention may further include the following steps: The following operations are performed sequentially through the data collection module, response aggregation module, training and evaluation module, policy generation module, task deployment module, and feedback and incentive module: Perform the following operations through the data collection module: Listen to blockchain data storage contract events and read node response data uploaded from multiple biological neural network nodes in the blockchain; Perform the following actions by responding to the aggregation module: The node response data is aggregated and analyzed according to a preset algorithm to obtain the aggregation result; and global training features are extracted based on the aggregation result. Perform the following operations using the training evaluation module: The current training state is evaluated based on the aggregation results, and the evaluation results are obtained. The current training state includes: convergence and performance indicators. Perform the following operations through the policy generation module: Based on the evaluation results, multiple training parameters are dynamically adjusted. These multiple training parameters include at least: stimulation frequency, intensity, and duration. Perform the following operations through the task publishing module: By calling the blockchain task management contract, new training tasks and new training parameters are published; Perform the following operations through the feedback incentive module: The quality of node responses is evaluated based on node response data to obtain evaluation results; and corresponding on-chain incentive tokens are allocated based on the evaluation results.
[0032] In one example, after dynamically adjusting the training task parameters and stimulus scheme based on the evaluation results and aggregation results, the training method of the blockchain-based training architecture provided in this embodiment of the invention may further include the following steps: The response results of multiple biological neuron network nodes are evaluated to obtain target response nodes that meet preset quality requirements; and corresponding on-chain incentive tokens are allocated to the target response nodes.
[0033] In one example, the training method based on the blockchain training architecture provided in this embodiment of the invention may further include the following steps: Initiate training in response to the training strategy; After each round of training, each biological neuron network node submits a corresponding training summary; the training summary includes at least: the current node's unique identifier, the current task's unique identifier, the neural stimulation pattern determined by the type of stimulus sequence in this round, the delay from stimulation to the first neural response, the average firing frequency per unit time, the entropy value of the change in neuronal synaptic weight distribution, the timestamp, the hash calculated from the potential waveform or encoded sequence, and the signature generated in the trusted execution environment. The training coordinator, based on the training summary, sequentially performs the following steps: filtering valid data; filtering each biological neuron network node to obtain activated nodes; and generating the training strategy for the next round. Filter valid data by performing the following steps: Signature verification is performed by verifying the match between the signature and the node's identity. Check whether the current task is within its validity period based on the time window; Verify that the task matches the task identifier; The next training strategy is generated by performing the following operations in sequence: The stimulation parameters are optimized, the incentive nodes are selected, and the training strategy for the next round is encoded and published by calling the task management contract; Specifically, the stimulation parameters are optimized by performing the following operations: based on the high-scoring nodes of the previous round, effective stimulation types and stimulation parameters are extracted to obtain effective stimulation types and stimulation parameters, so as to generate the stimulation sequence for the next round based on the stimulation parameters.
[0034] In a specific application scenario, the submitted training summary is as follows:
[0035] In practical applications, the evaluation scoring model can use the following formula: Formula (1); In the above formula (1), , indicating whether learning has occurred; response_latency_ms is the delay from stimulus to the first neural response, used to judge reaction speed and stimulus effectiveness; mean_spike_rate is the average firing rate per unit time, used to measure the activity level of neurons; coefficients α, β, and γ can be set according to task objectives (such as enhancing reaction speed, synaptic adjustment, etc.).
[0036] In a specific application scenario, after evaluating all nodes, the coordinator generates the next round of training strategy, including: Step a1: Optimize the stimulation parameters.
[0037] Based on the high-scoring nodes from the previous round, extract their most effective stimulus types and parameters, and use them to generate the stimulus sequence for the next round. If a stimulus leads to generally low potential and high surge, increase its probability of occurrence; if a stimulus causes a significant increase in synaptic entropy, it indicates that learning has occurred and is preferentially retained.
[0038] Step a2: Select the excitation node.
[0039] Select only a subset of nodes to participate in the incentive: Select the Top K nodes based on their scores. K can be set according to the needs of different application scenarios, and no specific restrictions are imposed here.
[0040] Step a3: Coding and releasing the new strategy.
[0041] The new strategy is coded and published by calling the task management contract.
[0042] like Figure 2 As shown, the training system based on the blockchain training architecture includes the following modules: Multiple biological neuron network nodes (BNN modules), each equipped with a stimulus generator, an EEG monitoring interface, and a local controller.
[0043] like Figure 3 The diagram shown is a schematic of the structure of a BNN node.
[0044] Each BNN node is essentially a composite system of experimentation and computation, and the node composition is as follows: Figure 3 As shown, it can be divided into four main modules: Local Controller: The local controller is typically an embedded device or a lightweight server used for blockchain interaction and control of experimental processes. It receives tasks by periodically polling or subscribing to blockchain events, triggering the electrical stimulation command control logic upon receiving a task. Simultaneously, it receives training data returned by the microelectrode array, analyzes signal characteristics, generates summaries, integrates this data into response data, and uploads all response data to the blockchain.
[0045] Stimulation controller: Essentially a circuit control module used to receive task instructions, generate preset current and voltage stimulation signals, and output voltage and current pulses to the microelectrode array.
[0046] Microelectrode arrays: Essentially, they are electrode arrays (miniature sensors) that serve as the physical interface for contacting nerve cells, closely attached to nerve tissue. They have two main functions: first, to receive stimulation signals from the stimulation controller and electrically stimulate the nerve tissue; and second, to collect training data such as the firing patterns and reaction timing of the neural network in real time.
[0047] Neuron culture unit: contains living neurons (such as rat neural stem cells) that receive electrical stimulation from a microelectrode array for training.
[0048] The training method based on the blockchain training architecture provided in this embodiment of the invention can effectively guarantee the data credibility of BNN nodes.
[0049] In practical applications, each BNN node autonomously generates, collects, and calculates training results before uploading them to the blockchain, which carries the risk of data falsification. The blockchain-based training architecture training method provided in this invention employs a trusted execution environment. The data transmission and computation of both the local controller and the stimulus controller are executed within this environment, ensuring the authenticity of stimuli and responses, thereby significantly improving training accuracy.
[0050] A trusted execution environment was chosen because the electrophysiological data output by biological neural networks (such as synaptic entropy, sequential firing, and noise distribution) is high-dimensional, floating-point, and unsuitable for direct conversion into ZKP (Zero Knowledge Proof) circuits. The ZKP generation process places excessive demands on the local controller computing power of BNN nodes, which is not conducive to deployment in biological experimental equipment.
[0051] The task management contract and data storage contract are deployed on the blockchain. The task management contract is used to publish and manage the corresponding training tasks, and the data storage contract is used to store the training results of the multi-neuron network nodes.
[0052] In practical applications, task management contracts are run for task scheduling, response summary recording, node performance evaluation, and reward distribution.
[0053] Train the coordinator to analyze task execution results and generate aggregation strategies.
[0054] The training coordinator is responsible for receiving neural response return data uploaded from multiple BNN nodes, performing training effect evaluation and response aggregation, and then dynamically adjusting training task parameters and stimulus schemes. All training transmission data is recorded within this module. The training coordinator includes the following modules: Data collection module: Monitors blockchain data storage contract events and reads response data uploaded by multiple BNN nodes from the blockchain. Response aggregation module: Performs aggregation analysis on node responses according to a preset algorithm to extract global training features.
[0055] Training evaluation module: Evaluates the current training status based on the aggregated results, such as convergence and performance metrics.
[0056] Strategy generation module: Dynamically adjusts training parameters such as stimulus frequency, intensity, and duration based on evaluation results.
[0057] Task publishing module: Calls the blockchain task management smart contract to publish new training tasks and parameters.
[0058] Feedback Incentive Module: This module allocates on-chain incentive tokens based on the quality of node responses, encouraging active participation. In practical application scenarios, the following methods are adopted: Figure 2 The training process of the training system shown is as follows: Step b1: The task management contract on the blockchain generates training task parameters (including stimulus types, input sequences, etc.). Step b2: After receiving the task, each biological neuron network node performs neural training and collects response data. Then, it extracts electrical activity indicators (such as response delay, average firing rate, synaptic change entropy, etc.), generates a training summary, and uploads it to the blockchain. Step b3: The training coordinator aggregates the response results of multiple BNN nodes according to the set logic and generates the guidance strategy for the next round of training; Step b4: The blockchain allocates on-chain token incentives to nodes with high-quality responses based on response quality assessment.
[0059] In practical applications, the incentive mechanism involves issuing tokens to nodes based on participation, response speed, and learning improvement.
[0060] It should be noted that blockchain, as a distributed ledger technology, has the characteristics of decentralization, immutability, and verifiability, making it naturally suitable as a coordination and recording platform among multiple heterogeneous nodes.
[0061] The training method provided in this invention not only performs neural training based on received training tasks to generate node response results for multiple biological neuron network nodes, but also dynamically adjusts training task parameters and stimulation schemes based on evaluation and aggregation results. Furthermore, the training method utilizes blockchain to achieve trusted task scheduling and response recording in multi-BNN collaborative training. Additionally, the training method effectively avoids privacy leaks and performance bias issues caused by centralized scheduling centers. Moreover, the training method supports neural networks trained under different physical conditions to participate in training together, enhancing the robustness of the training architecture. Furthermore, the training method does not require trust in the node operators; even if BNN nodes are run by different laboratories, as long as their trusted execution environment is trustworthy, their participation results can be accepted by the training architecture. Furthermore, the training method constructs on-chain trajectories for neural response data, which can be used for monitoring, interpretability research, and retraining traceability. Finally, the training method has good scalability and can be extended to biological distributed inference networks in the future.
[0062] In the above embodiments, a training method based on a blockchain-based training architecture is provided. Correspondingly, the present invention also provides a training apparatus based on a blockchain-based training architecture. The training apparatus based on a blockchain-based training architecture provided in the embodiments of the present invention can implement the above-described training method based on a blockchain-based training architecture. This training apparatus based on a blockchain-based training architecture can be implemented through software, hardware, or a combination of both. For example, the multi-version code processing apparatus may include integrated or separate functional modules or units to execute the corresponding steps in the above methods.
[0063] Please refer toFigure 4 This illustration shows a schematic diagram of a training apparatus based on a blockchain-based training architecture provided by some embodiments of the present invention. Since the apparatus embodiments are substantially similar to the method embodiments, the description is relatively simple; relevant details can be found in the description of the method embodiments. The apparatus embodiments described below are merely illustrative.
[0064] like Figure 4 As shown, the training device 400 based on the blockchain training architecture may include: The blockchain task management contract 401 in the training architecture is used to generate training tasks. The training tasks include training task parameters, which include: stimulus types and input sequences. Multiple biological neuron network nodes 402 in the training architecture are used to perform neural training based on the received training task to generate node response results of multiple biological neuron network nodes; The training coordinator 403 in the training architecture is used to dynamically adjust the training task parameters and stimulation scheme based on the evaluation results and the aggregation results. The evaluation results are obtained by evaluating the training effect of the node response results of multiple biological neuron network nodes, and the aggregation results are obtained by aggregating the node response results of multiple biological neuron network nodes according to the set logic.
[0065] In some embodiments of the present invention, the training device 400 based on the blockchain training architecture may further include: Deployment module (in) Figure 4 (Not shown in the image) is used to deploy a task management contract and a data storage contract on the blockchain before generating training tasks through the blockchain's task management contract. The task management contract is used to publish and manage the corresponding training tasks, and the data storage contract is used to store the training results of the multi-neuron network nodes.
[0066] In some embodiments of the present invention, the training device 400 based on the blockchain training architecture may further include: Any node in a multi-branch neuronal network includes: a local controller, a stimulation controller, a microelectrode array, and a neuron culture unit; First execution module (in) Figure 4 (Not shown in the image), used to perform the following operations sequentially through the local controller, stimulation controller, microelectrode array, and neuron culture unit: Perform the following operations through the local controller: In response to receiving a training task, the electrical stimulation command control logic is triggered. Receive training data returned by the microelectrode array; The training data, signal features, and training summary are integrated to generate response data; Upload the response data to the blockchain; Perform the following actions via the stimulus controller: Based on the received training task, a preset current stimulation signal and a preset voltage stimulation signal are generated; and voltage pulses and current pulses are output to the microelectrode array. Perform the following operations using a microelectrode array: It receives stimulation signals from the stimulation controller and provides electrical stimulation to nerve tissue; Real-time acquisition of neural network training data, including discharge patterns and reaction timing; Perform the following operations using the neuron culture unit: It receives electrical stimulation from a microelectrode array and performs training based on the electrical stimulation.
[0067] In some embodiments of the present invention, the training device 400 based on the blockchain training architecture may further include: The training coordinator includes: a data collection module, a response aggregation module, a training evaluation module, a policy generation module, a task publishing module, and a feedback and incentive module; The second execution module (in) Figure 4 (not shown in the image), used to perform the following operations sequentially through the data collection module, response aggregation module, training and evaluation module, policy generation module, task publishing module, and feedback and incentive module: Perform the following operations through the data collection module: Listen to blockchain data storage contract events and read node response data uploaded from multiple biological neural network nodes in the blockchain; Perform the following actions by responding to the aggregation module: The node response data is aggregated and analyzed according to a preset algorithm to obtain the aggregation result; and global training features are extracted based on the aggregation result. Perform the following operations using the training evaluation module: The current training state is evaluated based on the aggregation results, and the evaluation results are obtained. The current training state includes: convergence and performance indicators. Perform the following operations through the policy generation module: Based on the evaluation results, multiple training parameters are dynamically adjusted. These multiple training parameters include at least: stimulation frequency, intensity, and duration. Perform the following operations through the task publishing module: By calling the blockchain task management contract, new training tasks and new training parameters are published; Perform the following operations through the feedback incentive module: The quality of node responses is evaluated based on node response data to obtain evaluation results; and corresponding on-chain incentive tokens are allocated based on the evaluation results.
[0068] In some embodiments of the present invention, the training device 400 based on the blockchain training architecture may further include: Build modules (in) Figure 4 (Not shown in the image) is used to build a training framework for collaborative training of multi-neuronal networks based on blockchain before generating training tasks through blockchain task management contracts. The training framework includes: multiple biological neuron network nodes, a blockchain capable of generating tokens, and a training coordinator. Each of the multiple biological neuron network nodes is configured with a corresponding stimulus generator, EEG monitoring interface, and local controller.
[0069] In some embodiments of the present invention, the training device 400 based on the blockchain training architecture may further include: Evaluation module (in) Figure 4 (not shown in the text) is used to: evaluate the response results of multiple biological neuron network nodes after dynamically adjusting the training task parameters and stimulation scheme based on the evaluation results and aggregation results, and obtain the target response nodes that meet the preset quality requirements; Allocation module (in) Figure 4 (Not shown in the image), used for: allocating corresponding on-chain incentive tokens to the target response node.
[0070] In some embodiments of the present invention, the training device 400 based on the blockchain training architecture may further include: Startup module (in) Figure 4 (Not shown in the image) In response to the training strategy, training is initiated; Submit module (in) Figure 4 (not shown in the image) is used to allow each biological neuron network node to submit a corresponding training summary after each round of training. The training summary includes at least: the unique identifier of the current node, the unique identifier of the current task, the neural stimulation pattern determined by the type of stimulation sequence in this round, the delay from stimulation to the first neural response, the average firing frequency per unit time, the entropy value of the change in neuronal synaptic weight distribution, the timestamp, the hash calculated from the potential waveform or encoded sequence, and the signature generated in the trusted execution environment. The third execution module (in) Figure 4 (Not shown in the image) is used by the training coordinator to sequentially perform the following based on the training summary: filtering valid data; filtering each biological neuron network node to obtain activated nodes; and generating the training strategy for the next round: Filter valid data by performing the following steps: Signature verification is performed by verifying the match between the signature and the node's identity. Check whether the current task is within its validity period based on the time window; Verify that the task matches the task identifier; The next training strategy is generated by performing the following operations in sequence: The stimulation parameters are optimized, the incentive nodes are selected, and the training strategy for the next round is encoded and published by calling the task management contract; Specifically, the stimulation parameters are optimized by performing the following operations: based on the high-scoring nodes of the previous round, effective stimulation types and stimulation parameters are extracted to obtain effective stimulation types and stimulation parameters, so as to generate the stimulation sequence for the next round based on the stimulation parameters.
[0071] In some embodiments of the present invention, the training device 400 based on the blockchain training architecture provided in the present invention is based on the same inventive concept and has the same beneficial effects as the training method based on the blockchain training architecture provided in the foregoing embodiments of the present invention.
[0072] According to another embodiment, a computer-readable storage medium is also provided, on which a computer program is stored, which, when executed in a computer, causes the computer to perform a combination Figure 1 The method described.
[0073] According to another embodiment, an electronic device is also provided, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it implements a combination... Figure 1 The method described.
[0074] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.
Claims
1. A training method of a blockchain-based training framework, characterized by, The method comprises: generating a training task through a task management contract of a blockchain in a training framework, the training task comprising training task parameters, the training task parameters comprising: a stimulus category and an input sequence; performing neural training based on the received training task through a plurality of biological neuron network nodes in the training framework to generate node response results of the plurality of biological neuron network nodes; dynamically adjusting training task parameters and a stimulation scheme based on evaluation results and aggregation results, the evaluation results being evaluation results obtained by evaluating training effects of the node response results of the plurality of biological neuron network nodes, and the aggregation results being aggregation results obtained by aggregating the plurality of node response results of the plurality of biological neuron network nodes according to a set logic.
2. The training method of claim 1, wherein, Before the training task is generated through the task management contract of the blockchain, the method further comprises: deploying the task management contract and a data storage contract on the blockchain, wherein the task management contract is used to publish and manage corresponding training tasks, and the data storage contract is used to save training results of the plurality of neuron network nodes.
3. The training method of claim 1, wherein, Any one of the plurality of biological neuron network nodes comprises a local controller, a stimulation controller, a microelectrode array, and a neuron culture unit, and the method further comprises: sequentially performing the following operations through the local controller, the stimulation controller, the microelectrode array, and the neuron culture unit: performing the following operations through the local controller: triggering an electrical stimulation command control logic in response to receiving the training task; receiving training data returned by the microelectrode array; integrating the training data, signal features, and training abstracts to generate response data; uploading the response data to the blockchain; performing the following operations through the stimulation controller: generating preset current stimulation signals and preset voltage stimulation signals based on the received training task; and outputting voltage pulses and current pulses to the microelectrode array; performing the following operations through the microelectrode array: receiving stimulation signals of the stimulation controller and electrically stimulating neural tissues; real-time collecting training data of the neural network, the training data comprising: a discharge mode and a reaction timing; performing the following operations through the neuron culture unit: receiving electrical stimulation of the microelectrode array and training based on the electrical stimulation.
4. The training method of claim 1, wherein, The training coordinator comprises a data collection module, a response aggregation module, a training evaluation module, a strategy generation module, a task publishing module, and a feedback incentive module, and the method further comprises: sequentially performing the following operations through the data collection module, the response aggregation module, the training evaluation module, the strategy generation module, the task publishing module, and the feedback incentive module: performing the following operations through the data collection module: listening to a blockchain data storage contract event and reading node response data uploaded by the plurality of biological neuron network nodes from the blockchain; performing the following operations through the response aggregation module: aggregating and analyzing the node response data according to a preset algorithm to obtain an aggregation result; and extracting global training features based on the aggregation result; The training evaluation module is configured to perform the following operations: evaluate the current training state based on the aggregation result to obtain an evaluation result, the current training state including convergence degree and performance indicators; The strategy generation module is configured to perform the following operations: dynamically adjust a plurality of training parameters according to the evaluation result, the plurality of training parameters including at least stimulation frequency, intensity, and duration; The task publishing module is configured to perform the following operations: publish a new training task and new training parameters by calling a blockchain task management contract; The feedback incentive module is configured to perform the following operations: evaluate the quality of node responses based on the node response data to obtain an evaluation result; and distribute corresponding on-chain incentive tokens based on the evaluation result.
5. The training method of claim 1, wherein, Before the training task is generated by the task management contract of the blockchain, the method further includes: constructing a training architecture for collaborative training of a multi-neuron network based on a blockchain, the training architecture including a plurality of biological neuron network nodes, a blockchain capable of generating tokens, and a training coordinator, wherein any one of the plurality of biological neuron network nodes is configured with a corresponding stimulus generator, an electroencephalogram monitoring interface, and a local controller.
6. The training method of claim 1, wherein, After the training task parameters and the stimulation scheme are dynamically adjusted based on the evaluation result and the aggregation result, the method further includes: evaluate the response results of the plurality of biological neuron network nodes to obtain target response nodes that meet preset quality requirements; and distribute corresponding on-chain incentive tokens to the target response nodes.
7. The training method of claim 1, wherein, The method further includes: start training in response to a training strategy; After each round of training, each biological neuron network node submits a corresponding training digest, the training digest including at least a current node unique identifier, a current task unique identifier, a neural stimulation pattern determined by a stimulation sequence type of the current round, a delay from stimulation to first neural response, an average firing frequency per unit time, an entropy value of synaptic weight distribution changes of neurons, a timestamp, a hash calculated from a potential waveform or an encoding sequence, and a signature generated in a trusted execution environment; The training coordinator sequentially performs the following operations based on the training digest: screening valid data; screening each biological neuron network node to obtain incentive nodes; and generating a training strategy for the next round: valid data is screened by performing the following operations: signature verification is performed by verifying the matching degree between the signature and the node identity; it is checked whether the current task is within a valid period based on a time window; it is verified whether the task matches the task identifier; the training strategy for the next round is generated by sequentially performing the following operations: stimulation parameters are optimized, incentive nodes are selected, and the training strategy for the next round is encoded and published by calling the task management contract. The stimulation parameters are optimized by performing the following operations: based on the high-score nodes of the last round, extracting the effective stimulation types and stimulation parameters to obtain the effective stimulation types and stimulation parameters, and generating a next round of stimulation sequences based on the stimulation parameters. 8.A training device of a blockchain-based training architecture, characterized in that, The device comprises: A task management contract of a blockchain in the training architecture, configured to generate a training task, the training task comprising training task parameters, the training task parameters comprising: a stimulation category and an input sequence; A plurality of biological neuron network nodes in the training architecture, configured to perform neural training based on the received training task to generate node response results of the plurality of biological neuron network nodes; A training coordinator in the training architecture, configured to dynamically adjust the training task parameters and the stimulation scheme based on evaluation results and aggregation results, the evaluation results being evaluation results obtained by evaluating the training effects of the node response results of the plurality of biological neuron network nodes, and the aggregation results being aggregation results obtained by aggregating the plurality of node response results of the plurality of biological neuron network nodes according to a set logic.
9. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and when the computer program is executed in a computer, the computer program causes the computer to execute the method of any one of claims 1 to 7.
10. An electronic device, comprising: A device comprises a memory and a processor, the memory stores executable code, and the processor executes the executable code to implement the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Training parameter processing method and device based on block chain and storage medium
CN111858753A
Decentrainment self-adaptive cooperative training method and device based on block chain
CN114244835A
Decentralized AI training and trading platform and method
CN117408332A
Artificial intelligence model training method and system based on block chain
CN119892377A
Artist comprehensive ability evaluation and cultivation assistant system based on artificial intelligence
US20200250511A1