Semantic-based conflict arbitration method and device for distributed agents and node device

By performing semantic verification of the arbitration window and binary bytecode evidence storage on blockchain node devices, the problems of lack of trust in distributed agents and high replay overhead are solved, achieving efficient and accurate arbitration results and improving the performance of the blockchain network.

CN123178010APending Publication Date: 2026-11-27HANGZHOU HIGH-TECH ZONE (BINJIANG) INSTITUTE OF BLOCKCHAIN & DATA SECURITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611495903.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, when multiple distributed agents execute decisions involving huge sums of money or changes in on-chain state, there is a lack of trust, which may lead to nodes tampering with model weights or forging outputs, causing irreversible economic losses. Furthermore, full-node replay is costly and accurate replay is difficult to achieve.

Method used

By detecting arbitration requests on blockchain node devices, initiating an arbitration window, obtaining the original input and binary bytecode files of the challenged node, performing reference replay and semantic verification, determining the arbitration result, avoiding full node replay, and using binary bytecode evidence storage and semantic verification to distinguish between normal reasoning and malicious tampering.

Benefits of technology

It reduces arbitration costs, improves the objectivity and accuracy of arbitration results, resolves the inconsistency of replay benchmarks caused by differences in node inference configurations, increases blockchain network throughput, and reduces transaction costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178010A_ABST
    Figure CN123178010A_ABST
Patent Text Reader

Abstract

The application is suitable for the field of blockchain technology, and provides a semantic-based distributed agent conflict arbitration method, device and node equipment, which comprises the following steps: when an arbitration request is detected, a signature transaction associated with the arbitration request is determined on the chain, and an arbitration window is started; the signature transaction comprises an arbitration application node and a suspected node; after the arbitration window is started, the original input and the node submission output of the suspected node are obtained from a data availability layer, and the binary bytecode file corresponding to the suspected node is obtained from the chain; reference replay is performed based on the original input and the binary bytecode file off-chain to obtain the reference output of the suspected node; the reference output and the node submission output are subjected to semantic verification off-chain to determine an arbitration result. The application not only does not need full node replay, thereby reducing the cost, but also effectively solves the problem of inconsistent replay benchmarks caused by differences in reasoning configurations of nodes, thereby effectively improving the objectivity of the arbitration result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of blockchain technology, and in particular relates to a semantic-based distributed intelligent agent conflict arbitration method, device and node equipment. Background Technology

[0002] Currently, with the rapid development of artificial intelligence technology, Multi-Agent Systems (MAS) have become an important technological direction for solving complex tasks. They are being introduced into scenarios such as high-frequency trading in finance, DeFi risk control, automated supply chains, and DAO on-chain governance, completing complex tasks such as data collection, analysis, and decision-making through the collaborative work of multiple distributed agents. However, multiple distributed agents present a trust issue. For example, when multiple distributed agents are authorized to execute decisions involving huge sums of money or changes in on-chain state, nodes with control over computing power may profit by tampering with model weights, injecting malicious prompts, or forging output results, causing irreversible economic losses.

[0003] Current technologies typically involve having the blockchain's full node re-execute the AI ​​inference calculation and compare the state roots for consistency for verification. However, the full node replay in current technologies is costly, and accurate replay is difficult to achieve. Summary of the Invention

[0004] This application provides a semantic-based distributed intelligent agent conflict arbitration method, apparatus, and node device to solve the problems of high overhead and difficulty in achieving accurate replay in the prior art.

[0005] In a first aspect, embodiments of this application provide a semantic-based distributed intelligent agent conflict arbitration method, applied to a node device corresponding to any node in a blockchain. The blockchain includes multiple nodes, each node being configured with an intelligent agent. The method includes: Upon detecting an arbitration request, the signed transaction associated with the arbitration request is determined on-chain, and an arbitration window is initiated; the signed transaction includes the arbitration requesting node and the challenged node; After the arbitration window is activated, the original input and first signature output of the challenged node are obtained from the data availability layer, and the binary bytecode file corresponding to the challenged node is obtained from the chain. The binary bytecode file is obtained by binary compilation of the artificial intelligence model that executes the corresponding sub-task in the challenged node. The sub-tasks corresponding to each node are obtained by decomposing the user tasks received by the blockchain. Each signature output is obtained by the corresponding node executing the corresponding sub-task and then signing it. Off-chain, a reference replay is performed based on the original input and binary bytecode file to obtain the reference output of the questioned node; Semantic verification is performed off-chain on the reference output and the first signature output to determine the arbitration result.

[0006] Optionally, when retrieving the binary bytecode file corresponding to the questioned node from the chain, the model hash value that the questioned node has been registered with is read from the chain. The model hash value is obtained by hashing the binary bytecode file before executing the user task. Accordingly, reference replay is performed off-chain based on the original input and binary bytecode file to obtain the reference output of the questioned node, including: Perform a hash calculation on the binary bytecode file off-chain to obtain the current hash value; If the current hash value is the same as the model hash value, then a reference replay is performed off-chain based on the original input and binary bytecode file to obtain the reference output of the questioned node.

[0007] Optionally, semantic verification is performed off-chain on the reference output and the first signature output to determine the arbitration result, including: Off-chain semantic verification is performed on the reference output and the first signature output based on natural language reasoning to obtain the first verification result; In response to the first verification result being implicit, the arbitration result is determined to be that the questioned node is honest; If the first verification result is contradictory, the arbitration result shall be determined based on the first verification result.

[0008] Optionally, the arbitration result is determined based on the first verification result, including: In response to the contradiction in the first verification result, and the fact that both the verification node and the questioned node corresponding to the node device are operating honestly, the confidence scores of the verification node and the questioned node are obtained from the chain. If the confidence score of the verification node is greater than the confidence score of the questioned node, the arbitration result is determined to be that the questioned node is dishonest. If the confidence score of the validator node is lower than that of the node being challenged, the arbitration result is determined to be that the node being challenged is honest.

[0009] Optionally, before an arbitration request is detected, the method further includes: After all nodes have reached a consensus on collaboration, when a sampling verification request is detected, the upstream and downstream nodes associated with the edge to be verified are determined; the edge to be verified refers to at least one edge among the task edges that connect the various subtasks obtained by decomposing the user task based on the directed acyclic graph. Obtain the second signature output of each upstream and downstream node from the data availability layer; Off-chain semantic verification is performed on each second signature output based on natural language reasoning to obtain the second verification result; In response to the contradiction in the second verification result, an arbitration request is initiated on the chain.

[0010] Optionally, the edges to be verified are randomly selected from the task edges connecting each subtask based on a preset probability; the node devices are randomly determined from each node of the blockchain based on a verifiable random function, and there is no set relationship between the node devices and the upstream and downstream nodes.

[0011] Optionally, the blockchain locks the staked funds of each node when each node registers, so that any node can obtain the task reward corresponding to the set honest behavior when it performs the set honest behavior, and deduct a preset multiple of the staked funds when any node performs the set malicious behavior and is identified.

[0012] Secondly, embodiments of this application provide a semantic-based distributed intelligent agent conflict arbitration device, applied to a node device corresponding to any node in a blockchain. The blockchain includes multiple nodes, each node being configured with an intelligent agent. The device includes: The initiation unit is used to determine the signed transaction associated with the arbitration request on-chain and initiate the arbitration window when an arbitration request is detected; the signed transaction includes the arbitration requesting node and the challenged node; The first acquisition unit is used to obtain the original input and first signature output of the challenged node from the data availability layer after the arbitration window is started, and to obtain the binary bytecode file corresponding to the challenged node from the chain; the binary bytecode file is obtained by binary compilation of the artificial intelligence model that executes the corresponding sub-task in the challenged node; the sub-task corresponding to each node is obtained by task decomposition of the user task received by the blockchain; each signature output is obtained by the corresponding node executing the corresponding sub-task and signing it. The replay unit is used to perform reference replay off-chain based on the original input and binary bytecode file to obtain the reference output of the questioned node; The first verification unit is used to perform semantic verification on the reference output and the first signature output off-chain to determine the arbitration result.

[0013] Thirdly, embodiments of this application provide a node device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the semantic-based distributed intelligent agent conflict arbitration method as described in any of the first aspects above.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the semantic-based distributed intelligent agent conflict arbitration method as described in any one of the first aspects above.

[0015] Fifthly, embodiments of this application provide a computer program product that, when run on a node device, enables the node device to execute the semantic-based distributed intelligent agent conflict arbitration method described in any of the first aspects above.

[0016] The beneficial effects of the embodiments in this application compared with the prior art are: This application provides a semantic-based distributed intelligent agent conflict arbitration method applied to node devices in a blockchain. The blockchain includes multiple nodes, each equipped with an intelligent agent. Upon detecting an arbitration request, the agent determines the signature transaction associated with the arbitration request on the chain and initiates an arbitration window. The signature transaction includes the arbitration requesting node and the challenged node. After initiating the arbitration window, the agent obtains the original input and first signature output of the challenged node from the data availability layer and retrieves the corresponding binary bytecode file of the challenged node from the chain. The binary bytecode file is obtained by binary compiling the artificial intelligence model that executes the corresponding sub-tasks in the challenged node. The sub-tasks corresponding to each node are obtained by decomposing the user tasks received by the blockchain. Each signature output is obtained by the corresponding node executing the corresponding sub-task and then signing it. Off-chain, reference replay is performed based on the original input and binary bytecode file to obtain the reference output of the challenged node. Off-chain, semantic verification is performed on the reference output and the first signature output to determine the arbitration result. This application not only eliminates the need for full-node replay, reducing overhead, but also semantically determines output equivalence. For large models and inference-based intelligent agent output scenarios, it can distinguish between normal inference results with minor numerical deviations and maliciously tampered false results. Furthermore, pre-compiling the AI ​​model into binary bytecode and uploading it to the blockchain for permanent storage effectively solves the problem of inconsistent replay benchmarks caused by differences in inference configurations across nodes, effectively addressing the difficulty of achieving accurate replay and improving the objectivity of arbitration results. In addition, this application's on-chain functionality is only responsible for registering arbitration requests and storing results, avoiding the huge computational overhead of running AI models on the blockchain, increasing blockchain network throughput, and reducing transaction costs. Attached Figure Description

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

[0018] Figure 1 This is a flowchart illustrating the implementation of a semantic-based distributed intelligent agent conflict arbitration method provided in an embodiment of this application. Figure 2This is a schematic diagram of the process of model filing and node composition provided in one embodiment of this application; Figure 3 This is a schematic diagram illustrating the principle of economic game among various nodes in a blockchain according to an embodiment of this application; Figure 4 This is a schematic diagram of the consensus process for collaboration among various nodes provided in an embodiment of this application; Figure 5 This is a flowchart illustrating the implementation of a semantic-based distributed intelligent agent conflict arbitration method provided in another embodiment of this application; Figure 6 This is a flowchart illustrating the implementation of a semantic-based distributed intelligent agent conflict arbitration method provided in another embodiment of this application. Figure 7 This is a schematic diagram of the structure of a semantic-based distributed intelligent agent conflict arbitration device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of a node device provided in an embodiment of this application. Detailed Implementation

[0019] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0020] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0021] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0022] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0023] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0024] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0025] In practical applications, with the rapid development of artificial intelligence technology, Multi-Agent Systems (MAS) have become an important technological direction for solving complex tasks. They are being introduced into scenarios such as high-frequency trading in finance, DeFi risk control, automated supply chains, and DAO on-chain governance, where multiple distributed agents collaborate to complete complex tasks such as data collection, analysis, and decision-making. However, multiple distributed agents present a trust issue. For example, when multiple distributed agents are authorized to execute decisions involving large sums of money or changes in on-chain state, nodes with control over computing power may profit by tampering with model weights, injecting malicious prompts, or forging output results, causing irreversible economic losses.

[0026] Current technologies typically involve having the blockchain's full node re-execute the AI ​​inference calculation and compare the state roots for consistency for verification. However, the full node replay in current technologies is costly, and the contextual dependencies, environmental differences, and hardware floating-point uncertainties of AI inference make accurate replay difficult to achieve.

[0027] Therefore, this application provides a semantic-based distributed intelligent agent conflict arbitration method, which not only eliminates the need for full-node replay, reducing overhead, but also pre-compiles the AI ​​model into binary bytecode and uploads it to the blockchain for permanent storage. This effectively solves the problem of inconsistent replay benchmarks caused by differences in inference configurations of each node, and thus effectively solves the problem of difficulty in achieving accurate replay.

[0028] Please see Figure 1 , Figure 1 This is a flowchart illustrating the implementation of a semantic-based distributed intelligent agent conflict arbitration method according to an embodiment of this application. In this embodiment, the executing entity of the semantic-based distributed intelligent agent conflict arbitration method is a node device.

[0029] It should be noted that a blockchain can include multiple nodes, each node can correspond to a node device, and each node is equipped with an intelligent agent, each of which is used to execute corresponding tasks.

[0030] Each node is also equipped with the corresponding AI model required for the agent to perform the task.

[0031] Because the contextual dependence, environmental differences, and hardware floating-point uncertainty of AI inference make accurate replay difficult to achieve in actual engineering, in this embodiment of the application, each node in the blockchain can file its own AI model and register the node before executing any user task.

[0032] For example, please refer to Figure 2 , Figure 2 This is a schematic diagram illustrating the process of model registration and node composition provided in one embodiment of this application. For example... Figure 2 As shown, each node can compile its corresponding AI model off-chain into a binary (WebAssembly, WASM) bytecode file (with the extension model.wasm). Specifically, each binary bytecode file is compiled using the W3C WebAssembly standard and can include execution instructions for the network structure and serialized weights, uniquely determining model behavior across platforms. Then, each node can perform hash calculations on its corresponding binary bytecode file off-chain using a hash function to obtain its corresponding model hash value. Afterward, each node can register its corresponding model hash value on-chain and complete on-chain registration based on its node address and staked funds, i.e., node registration.

[0033] It should be noted that, Figure 2 The blue boxes in the diagram represent off-chain elements, while the red boxes represent on-chain elements.

[0034] Combination Figure 2 The model hash value H_model = Keccak-256(model.wasm) is where Keccak-256 represents the cryptographic hash function and model.wasm represents the binary bytecode file.

[0035] It should be noted that each node must be configured to deterministic inference mode (including fixed random seed and disabling dropout) when compiling the model to ensure that the pledged funds are locked when reproducible nodes register for reference replay, serving as collateral for subsequent economic games.

[0036] In one embodiment of this application, the blockchain locks the pledged funds of each node when each node registers, so that when any node performs a set honest behavior, it can obtain a task reward corresponding to the set honest behavior, and when any node performs a set malicious behavior and is identified, a preset multiple of the pledged funds will be deducted.

[0037] Among these, setting honest behavior includes, but is not limited to, honestly completing the inference work and sampling verification of the AI ​​model.

[0038] Malicious behaviors are defined, including but not limited to: falsifying output, refusing verification, and tampering with the model.

[0039] The preset multiplier can be determined according to actual needs, and there are no restrictions here.

[0040] In some possible embodiments, the preset multiplier can be 20 in order to increase the cost of wrongdoing.

[0041] For example, please refer to Figure 3 , Figure 3 This is a schematic diagram illustrating the principle of economic game theory among nodes in a blockchain, provided in one embodiment of this application. For example... Figure 3 As shown, each node locks its stake when registering on the chain; subsequently, any node can continuously receive task rewards when it completes the set honest behavior, which makes the node's stake safe and accumulates credit, thus improving its credit level; when any node performs the set malicious behavior and is identified (such as by sampling verification or arbitration confirmation), the node's stake is deducted according to a preset multiple and distributed to the validator (i.e., the verification node that sampled or arbitrated the node).

[0042] It should be noted that, Figure 3 The red box in the image is used to represent the chain.

[0043] like Figure 1 As shown, a semantic-based distributed agent conflict arbitration method provided in one embodiment of this application may include S101~S104, which are detailed below: In S101, upon detecting an arbitration request, the signed transaction associated with the arbitration request is determined on-chain, and the arbitration window is initiated.

[0044] In this embodiment of the application, after receiving a user task, the blockchain can decompose the user task through the scheduling node in the blockchain to obtain various subtasks that have sequential dependencies and / or parallel relationships.

[0045] In one implementation of this application, the blockchain can decompose the user's task based on a directed acyclic graph by scheduling nodes.

[0046] In practical applications, in a directed acyclic graph (DAG), it is impossible to start from a vertex and return to that vertex by following several edges.

[0047] It should be noted that the aforementioned scheduling node can be any node in the blockchain.

[0048] Subsequently, the scheduling node can use a Verifiable Random Function (VRF) to randomly assign each of the subtasks obtained from the above decomposition to various nodes in the blockchain.

[0049] In this embodiment, each node can complete its corresponding sub-task off-chain through its own configured intelligent agent. After completing its sub-task, each node can sign and submit the completed sub-task off-chain, and send its signature output to the Data Availability Layer (DA) in the blockchain for storage. After all nodes executing the corresponding sub-task have completed their signature submissions, the nodes can confirm the achievement of collaborative consensus on-chain.

[0050] For example, please refer to Figure 4 , Figure 4 This is a schematic diagram illustrating the consensus process among various nodes provided in an embodiment of this application. For example... Figure 4 As shown, the scheduling node can decompose the user task based on the Directed Acyclic Graph (DAG), resulting in three subtasks: Subtask 1, Subtask 2, and Subtask 3. Then, the scheduling node can randomly assign these three subtasks to three nodes using Virtual Random Function (VRF). For example, node A executes Subtask 1, node B executes Subtask 2, and node C executes Subtask 3. After each node completes its subtask, it can commit its signature, sending its signature output to the Data Availability Layer (DA) in the blockchain for storage. Once all commits are complete, a consensus is reached.

[0051] The DA layer can also store the raw input of each node.

[0052] It should be noted that, Figure 4 The blue boxes in the diagram represent off-chain elements, while the red boxes represent on-chain elements.

[0053] In this embodiment of the application, after the above-mentioned collaborative consensus is completed, a node in the blockchain that has executed any of the sub-tasks obtained from the above-mentioned user task decomposition can actively initiate an arbitration request on the chain.

[0054] The arbitration request carries a signed transaction, which includes, but is not limited to, the arbitration request node and the node being challenged.

[0055] In this embodiment of the application, after detecting the above-mentioned arbitration request, the node device can extract the signed transaction from the arbitration request on the chain, that is, determine the signed transaction associated with the arbitration request and start the arbitration window.

[0056] In some possible embodiments, the blockchain's smart contract can identify the aforementioned node device via VRF.

[0057] It should be noted that the node where the node device is located is not the same node as the node that initiated the arbitration request. Furthermore, to ensure adversarial proceedings, the node where the node device is located has no established relationship with the node that initiated the arbitration request. Here, "established relationship" refers to a conflict of interest.

[0058] In this embodiment of the application, the arbitration window is used to characterize the arbitration process of the node device, that is, the time threshold for executing steps S102 to S104.

[0059] It should be understood that the node device needs to complete the off-chain reference replay and semantic verification within the arbitration window period, i.e., steps S102~S104. If the node device fails to complete the off-chain reference replay and semantic verification within the aforementioned arbitration window period, the preset arbitration rules will be executed. The preset arbitration rules can be set according to actual needs and are not restricted here.

[0060] In S102, after the arbitration window is started, the original input and first signature output of the challenged node are obtained from the data availability layer, and the binary bytecode file corresponding to the challenged node is obtained from the chain.

[0061] In this embodiment of the application, after the node device starts the arbitration window, it can obtain the original input and first signature output of the questioned node from the DA layer off-chain, and obtain the binary bytecode file corresponding to the questioned node from the chain.

[0062] The binary bytecode file is obtained by binary compilation of the artificial intelligence model that executes the corresponding subtask in the questioned node.

[0063] It should be noted that each signature output is obtained by the corresponding node executing its respective subtask and then signing it.

[0064] In S103, reference replay is performed off-chain based on the original input and binary bytecode file to obtain the reference output of the questioned node.

[0065] In this embodiment of the application, after obtaining the original input and the binary bytecode file corresponding to the questioned node, the node device can input the original input to the virtual machine off-chain, so that the virtual machine can perform reference replay of the original input based on the binary bytecode file corresponding to the questioned node, that is, perform the corresponding operation on the original input again, that is, reproduce the complete reasoning process of the subtask corresponding to the questioned node, thereby obtaining the reference output of the questioned node.

[0066] In one embodiment of this application, while retrieving the binary bytecode file corresponding to the questioned node from the blockchain, the node device can also read the registered model hash value of the questioned node from the blockchain. The model hash value is obtained by hashing the binary bytecode file before executing the user task.

[0067] Therefore, the node device can implement step S103 according to the following steps, as detailed below: Perform a hash calculation on the binary bytecode file off-chain to obtain the current hash value; If the current hash value is the same as the model hash value, then a reference replay is performed off-chain based on the original input and binary bytecode file to obtain the reference output of the questioned node.

[0068] In this embodiment, in order to verify that the model of the questioned node has not been swapped before performing reference replay and to improve the accuracy of determining the reference output, the node device can perform hash calculation on the binary bytecode file off-chain to obtain the current hash value, and compare the current hash value with the model hash value of the questioned node.

[0069] It should be noted that the node device can perform hash calculations on the binary bytecode file of the questioned node based on the hash function used during model registration.

[0070] In this embodiment, when the node device detects that the current hash value is the same as the model hash value, it indicates that the binary bytecode file corresponding to the questioned node does not have bytecode tampering, file corruption, or model version mismatch. Therefore, the node device can perform reference replay off-chain based on the original input and binary bytecode file to obtain the reference output of the questioned node.

[0071] In one embodiment of this application, when a node device detects that the current hash value is different from the model hash value, it indicates that the binary bytecode file corresponding to the questioned node has been tampered with, corrupted, or the model version is mismatched. Therefore, the node device can prevent the initiation of reference replay for the questioned node and output an abnormal event to indicate that the binary bytecode file corresponding to the questioned node has been tampered with, corrupted, or the model version is mismatched.

[0072] In conjunction with the above embodiments, this embodiment pre-calculates the binary bytecode generated by the compiled artificial intelligence model to obtain the model hash value before task execution and records it on the blockchain. During the arbitration process, the current hash value is recalculated after obtaining the binary bytecode. Reference replay is only initiated when the model hash value is the same as the current hash value. This mechanism can effectively improve the consistency between the model program used in arbitration replay and the running version of the challenged node, and minimize the distortion of reference output caused by bytecode tampering, file corruption, and model version mismatch.

[0073] In S104, semantic verification is performed off-chain on the reference output and the first signature output to determine the arbitration result.

[0074] In this embodiment of the application, after obtaining the reference output, the node device can perform semantic verification on the reference output and the first signature output off-chain, that is, determine the semantic consistency between the reference output and the first signature output. When the reference output and the first signature output are semantically consistent, the arbitration result is determined to be that the node being challenged is honest. When the reference output and the first signature output are semantically inconsistent, the arbitration result is determined to be that the node being challenged is dishonest, that is, malicious.

[0075] In one implementation of this application, the node device can detect the semantic similarity between the reference output and the first signature output to achieve semantic verification of the reference output and the first signature output.

[0076] Specifically, the node device can convert the reference output and the first signature output into vectors based on the embedding, and calculate the cosine similarity between the vector corresponding to the reference output and the vector corresponding to the first signature output.

[0077] Cosine similarity measures the directional proximity of two vectors, with a numerical range of [-1, 1]. A cosine similarity close to 1 indicates that the two vectors are very similar semantically, a cosine similarity close to 0 indicates that they are not closely related, and a cosine similarity close to -1 indicates that they have opposite meanings.

[0078] In this embodiment, when the node device detects that the cosine similarity is less than or equal to the threshold, it indicates that the reference output and the first signature output are not closely related, that is, they are semantically dissimilar. Therefore, the node device can determine that the reference output and the first signature output are semantically inconsistent.

[0079] When a node device detects that the cosine similarity is greater than the threshold, it indicates that the reference output and the first signature output are semantically very similar. Therefore, the node device can determine that the reference output and the first signature output are semantically consistent.

[0080] In one embodiment of this application, the node device can specifically be implemented through, as follows: Figure 5Steps S201 to S203 implement step S104, as detailed below: In S201, semantic verification is performed on the reference output and the first signature output off-chain based on natural language reasoning to obtain the first verification result.

[0081] In this embodiment, the node device can perform semantic verification on the reference output and the first signature output off-chain based on natural language reasoning to obtain the first verification result.

[0082] In practical applications, Natural Language Inference (NLI) is a key task in the field of Natural Language Processing (NLP), which aims to determine whether there is an entailment, contradiction, or neutral semantic relationship between two sentences.

[0083] Specifically, the node device can use the reference output as a premise and the first signature output as a hypothesis, and then feed them into the natural language reasoning model deployed off-chain.

[0084] It should be noted that natural language reasoning models can be obtained based on existing natural language reasoning technologies.

[0085] In this embodiment, the natural language reasoning model can perform reasoning and output the first verification result.

[0086] The first verification result includes, but is not limited to: entailment, contradiction, and neutrality.

[0087] It should be noted that the implied premise (reference output) can reasonably lead to the hypothesis (first signature output), and the two are semantically consistent.

[0088] A contradiction refers to a conflict between the premises and assumptions, or a conflict between the core conclusions.

[0089] Neutrality means that the premise and the assumption have no implication relationship and no obvious semantic conflict, so it cannot be determined.

[0090] In one embodiment of this application, when the node device detects that the first verification result is implied, it may execute step S202.

[0091] In another embodiment of this application, when the node device detects that the first verification result is contradictory, it may execute step S203.

[0092] In another embodiment of this application, when the node device detects that the first verification result is neutral, it can activate a preset fallback mechanism, such as using the node credit score / collateral amount to make a ruling, in order to determine the final arbitration result.

[0093] In S202, in response to the first verification result being implied, the arbitration result is determined to be that the questioned node is honest.

[0094] In this embodiment, when the node device detects that the first verification result is implied, it indicates that the reference output and the first signature output are semantically substantially consistent. Therefore, the node device can determine that the arbitration result is that the questioned node is honest.

[0095] In S203, in response to the contradiction in the first verification result, the arbitration result is determined based on the first verification result.

[0096] In this embodiment, when the node device detects that the first verification result is contradictory, it indicates that the reference output and the first signature output semantically conflict and the core conclusions are contradictory. Therefore, the node device can determine that the arbitration result is that the questioned node is dishonest.

[0097] Combining steps S201-S203, this embodiment uses natural language reasoning to perform semantic verification on the reference output and the first signature output of the challenged node. Natural language reasoning can be used to identify implicit and contradictory logical relationships between the two outputs. When the first verification result is implicit, the challenged node is considered honest; when the result is contradictory, the challenged node is considered dishonest. Therefore, this embodiment can determine output consistency from a logical semantic level, distinguishing between literal differences arising from normal AI model reasoning and conclusion conflicts caused by malicious tampering, thus reducing the probability of arbitration misjudgment.

[0098] In another embodiment of this application, the node device may specifically implement step S203 according to the following steps, as detailed below: In response to the contradiction in the first verification result, and the fact that both the verification node and the questioned node corresponding to the node device are operating honestly, the confidence scores of the verification node and the questioned node are obtained from the chain. If the confidence score of the verification node is greater than the confidence score of the questioned node, the arbitration result is determined to be that the questioned node is dishonest. If the confidence score of the validator node is lower than that of the node being challenged, the arbitration result is determined to be that the node being challenged is honest.

[0099] In this embodiment, when the node device detects that the first verification result is contradictory, since there may be a situation where both parties are honest but output contradictory results, the node device can detect whether the verification node and the questioned node corresponding to the node device are operating honestly.

[0100] In some possible embodiments, when a node device detects that the original input and corresponding model hash value of the questioned node stored in the DA layer have not been tampered with, it can determine that the questioned node is operating honestly.

[0101] In other possible embodiments, a node device can determine that the verification node is operating honestly when it detects that the current hash value of the binary bytecode file of the reference replay executed by the verification node to which it belongs is the same as the model hash value corresponding to the questioned node, and the original input of the verification node executing the reference replay is consistent with the original input corresponding to the questioned node.

[0102] In this embodiment, when the node device detects that both the verification node and the questioned node are running honestly, it means that neither party has tampered with the program, the input has been tampered with, or the bytecode has been replaced. Both the verification node and the questioned node are executing their tasks according to the rules. However, there is still a semantic contradiction between the reference output and the first signature output of the questioned node. This indicates that the situation is one in which all parties are honest but the output semantics are conflicting. In other words, relying solely on NLI cannot lock in the objective truth. Therefore, the node device can obtain the confidence scores of the verification node and the questioned node from the chain for secondary adjudication.

[0103] It should be noted that the confidence score includes, but is not limited to: node credit score and collateral score.

[0104] The collateral score can be determined based on the size of the collateral; the larger the collateral, the higher the collateral score, and the smaller the collateral, the lower the collateral score.

[0105] Understandably, the higher the node's credit score or the higher its collateral score, the higher its corresponding confidence score; conversely, the lower the node's credit score or the lower its collateral score, the lower its corresponding confidence score.

[0106] In this embodiment, when a node device detects off-chain that the confidence score of the verification node is greater than the confidence score of the questioned node, it can determine that the arbitration result is that the questioned node is dishonest; when a node device detects that the confidence score of the verification node is less than the confidence score of the questioned node, it determines that the arbitration result is that the questioned node is honest.

[0107] In conjunction with the above embodiments, when the semantic verification results in a contradiction, the causes of the conflict are further distinguished. When both the verification node and the questioned node are operating honestly and the output conflict is caused by objective reasons, the confidence scores of each node pre-maintained on the chain are retrieved for comparison and adjudication. If the verification node has a higher confidence score, the questioned node is judged to be dishonest; otherwise, the questioned node is judged to be honest. It is evident that this embodiment can distinguish between malicious fraud conflicts and objective disagreement conflicts between honest nodes by constructing a hierarchical and progressive arbitration logic, and uses a confidence score reflecting the long-term operational reliability of nodes as the final adjudication basis, which is more reasonable than the staking amount adjudication method. It forms a complete mechanism of semantic logic-first judgment and credibility index-based final adjudication, which fully leverages the advantages of natural language reasoning in semantic consistency judgment, properly handles honest disagreement scenarios without clear objective truth values, effectively reduces arbitration misjudgments, and effectively ensures the stable operation of the distributed intelligent agent network.

[0108] In another embodiment of this application, when a node device determines that the node under investigation is honest, that is, the node under investigation has not acted maliciously or made any errors, the node device can reject the arbitration request on the chain and execute an economic ruling, that is, return the stake of the node that initiated the arbitration request to the node under investigation.

[0109] In another embodiment of this application, when a node device determines that the questioned node is dishonest, that is, the questioned node is acting maliciously, that is, the questioned node tampered with the execution result, or the model is running abnormally, or maliciously submitted false output, the node device can execute a penalty, that is, execute an economic ruling on the chain, confiscate the questioned node's pledged funds by a preset multiple, and provide economic compensation to the node that actively initiated the arbitration request.

[0110] As can be seen from the above, the semantic-based distributed intelligent agent conflict arbitration method provided in this application embodiment is applied to node devices in a blockchain. The blockchain includes multiple nodes, each of which is equipped with an intelligent agent. When an arbitration request is detected, the agent determines the signature transaction associated with the arbitration request on the chain and initiates an arbitration window. The signature transaction includes the arbitration requesting node and the challenged node. After initiating the arbitration window, the agent obtains the original input and first signature output of the challenged node from the data availability layer and obtains the corresponding binary bytecode file of the challenged node from the chain. The binary bytecode file is obtained by binary compiling the artificial intelligence model that executes the corresponding sub-tasks in the challenged node. The sub-tasks corresponding to each node are obtained by decomposing the user tasks received by the blockchain. Each signature output is obtained by the corresponding node executing the corresponding sub-task and then signing it. Reference replay is performed off-chain based on the original input and binary bytecode file to obtain the reference output of the challenged node. Semantic verification is performed off-chain on the reference output and the first signature output to determine the arbitration result. This application not only eliminates the need for full-node replay, reducing overhead, but also semantically determines output equivalence. For large models and inference-based intelligent agent output scenarios, it can distinguish between normal inference results with minor numerical deviations and maliciously tampered false results. Furthermore, pre-compiling the AI ​​model into binary bytecode and uploading it to the blockchain for permanent storage effectively solves the problem of inconsistent replay benchmarks caused by differences in inference configurations across nodes, effectively addressing the difficulty of achieving accurate replay and improving the objectivity of arbitration results. In addition, this application's on-chain functionality is only responsible for registering arbitration requests and storing results, avoiding the huge computational overhead of running AI models on the blockchain, increasing blockchain network throughput, and reducing transaction costs.

[0111] Please see Figure 6 , Figure 6 This is a flowchart illustrating the implementation of a semantic-based distributed intelligent agent conflict arbitration method provided in another embodiment of this application. Compared to... Figure 1 In a corresponding embodiment, before S101, this embodiment may also include S301~S303, as detailed below: In S301, after all nodes have reached a consensus on cooperation, when a sampling verification request is detected, the upstream and downstream nodes associated with the edge to be verified are determined.

[0112] In this embodiment, after all nodes have reached a consensus on cooperation, the blockchain's smart contract can select an edge to be verified based on a preset sampling probability and generate a sampling verification request based on the edge to be verified.

[0113] The preset sampling probability can be set according to actual needs, and there is no restriction here. For example, the preset sampling probability can be 5%.

[0114] The edge to be verified refers to at least one edge among the task edges connecting the various subtasks obtained by decomposing the user task based on the directed acyclic graph.

[0115] It should be noted that the edges to be verified are randomly selected from the task edges connecting the various subtasks based on a preset probability.

[0116] In one embodiment of this application, the node device can be randomly determined by the various nodes of the blockchain based on a verifiable random function, and the node device has no set relationship with the upstream and downstream nodes.

[0117] In this embodiment, after detecting the above-mentioned sampling verification request, the node device can extract the edge to be verified from the sampling verification request and determine the upstream and downstream nodes associated with the edge to be verified based on the edge to be verified.

[0118] Among them, upstream and downstream nodes refer to the upstream and downstream nodes in the blockchain that are associated with the aforementioned edge to be verified.

[0119] In S302, the second signature outputs of the upstream and downstream nodes are obtained from the data availability layer.

[0120] In this embodiment, after determining the upstream and downstream nodes, the node device can obtain the second signature outputs of the upstream and downstream nodes respectively from the data availability layer off-chain.

[0121] In S303, semantic verification is performed on each second signature output off-chain based on natural language reasoning to obtain the second verification result.

[0122] It should be noted that, in practical applications, the subtasks of upstream and downstream nodes usually have strong business dependencies. Therefore, under normal and compliant execution scenarios, the output semantics of upstream and downstream nodes should match each other, be logically consistent, and present an implicit relationship.

[0123] Based on this, in this embodiment, the node device can perform cross-node and cross-task semantic association verification on the second signature outputs of upstream and downstream nodes based on natural language reasoning off-chain, so as to verify the logical connection, conclusion consistency and business matching of the second signature outputs of upstream and downstream nodes, so as to obtain the final second verification result.

[0124] The second verification result includes, but is not limited to, implications, neutrality, and contradictions.

[0125] In one embodiment of this application, when the node device detects that the second verification result is contradictory, it may execute step S304.

[0126] In another embodiment of this application, when the node device detects that the second verification result is implied or neutral, it indicates that the second signature outputs of the upstream and downstream nodes are semantically consistent, cooperative and compliant, and there is no execution anomaly. Therefore, the node device does not trigger arbitration and can formally solidify and make effective the task results obtained by the upstream and downstream nodes in executing their respective sub-tasks.

[0127] In S304, in response to a contradiction in the second verification result, an arbitration request is initiated on-chain.

[0128] In this embodiment, when a node device detects a contradiction in the second verification result, it indicates that there is a substantial semantic conflict in the second signature outputs of the upstream and downstream nodes. In other words, there is an anomaly in the collaborative execution of the task. Therefore, the node device can initiate an arbitration request on the chain at this time.

[0129] It should be noted that since the node where the node device is located at this time is the arbitration requesting node that actively initiated the arbitration request, the node devices of other nodes that do not have a set relationship with the arbitration requesting node can subsequently execute steps S101 to S104 to achieve conflict arbitration.

[0130] As can be seen from the above, the semantic-based distributed agent conflict arbitration method provided in this embodiment, before detecting arbitration requests, after reaching a consensus on task collaboration among all nodes, locates the corresponding upstream and downstream nodes by sampling the edges to be verified obtained from the DAG task decomposition, obtains the corresponding signature output, and completes cross-node semantic verification through off-chain natural language reasoning; when the verification result is semantically contradictory, it actively initiates an arbitration request on-chain. It is evident that this embodiment can overcome the limitations of traditional passive arbitration, relying on the topological dependency of DAG tasks to realize the logical verification of associated tasks, effectively identifying hidden execution anomalies in multi-node collaboration, avoiding the misjudgment defects of traditional exact matching by relying on semantic verification, effectively correcting the problem of false consensus in distributed tasks, and constructing an agent task conflict prevention and control system with proactive inspection, timely error correction, and closed-loop governance. Without increasing excessive system overhead, it improves the accuracy and security of distributed agent task execution.

[0131] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0132] Corresponding to the semantic-based distributed agent conflict arbitration method described in the above embodiments, Figure 7 This diagram illustrates a semantic-based distributed intelligent agent conflict arbitration device according to an embodiment of this application. For ease of explanation, only the parts relevant to the embodiment of this application are shown. (Refer to...) Figure 7The semantic-based distributed intelligent agent conflict arbitration device 400 includes: a startup unit 41, a first acquisition unit 42, a replay unit 43, and a first verification unit 44. Wherein: The initiation unit 41 is used to determine the signature transaction associated with the arbitration request on the chain and initiate the arbitration window when an arbitration request is detected; the signature transaction includes the arbitration requesting node and the challenged node.

[0133] The first acquisition unit 42 is used to acquire the original input and first signature output of the challenged node from the data availability layer after the arbitration window is started, and to acquire the binary bytecode file corresponding to the challenged node from the chain; the binary bytecode file is obtained by binary compilation of the artificial intelligence model that executes the corresponding sub-task in the challenged node; the sub-tasks corresponding to each node are obtained by task decomposition of the user tasks received by the blockchain; each signature output is obtained by signing after the corresponding node executes the corresponding sub-task.

[0134] The replay unit 43 is used to perform reference replay off-chain based on the original input and binary bytecode file to obtain the reference output of the questioned node.

[0135] The first verification unit 44 is used to perform semantic verification on the reference output and the first signature output off-chain to determine the arbitration result.

[0136] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0137] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0138] Figure 8 This is a schematic diagram of the structure of a node device provided in one embodiment of this application. Figure 8As shown, the node device 5 in this embodiment includes: at least one processor 50 ( Figure 8 (Only one is shown in the diagram), memory 51, and computer program 52 stored in the memory 51 and executable on the at least one processor 50, wherein the processor 50 executes the computer program 52 to implement the steps in any of the above embodiments of the semantic-based distributed agent conflict arbitration method.

[0139] The node device 5 may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will understand that... Figure 8 This is merely an example of node device 5 and does not constitute a limitation on node device 5. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0140] The processor 50 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0141] In some embodiments, the memory 51 may be an internal storage unit of the node device 5, such as the RAM of the node device 5. In other embodiments, the memory 51 may be an external storage device of the node device 5, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the node device 5. Furthermore, the memory 51 may include both internal and external storage units of the node device 5. The memory 51 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 51 can also be used to temporarily store data that has been output or will be output.

[0142] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0143] This application provides a computer program product that, when run on a node device, enables the node device to implement the steps described in the above-described method embodiments.

[0144] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a node device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0145] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0146] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A semantic-based distributed agent conflict arbitration method, characterized in that, The method is applied to a node device corresponding to any node in a blockchain, wherein the blockchain includes multiple nodes, each node is equipped with an intelligent agent, and the method includes: Upon detecting an arbitration request, the signed transaction associated with the arbitration request is determined on-chain, and an arbitration window is initiated; the signed transaction includes the arbitration requesting node and the challenged node; After the arbitration window is activated, the original input and first signature output of the challenged node are obtained from the data availability layer, and the binary bytecode file corresponding to the challenged node is obtained from the blockchain. The binary bytecode file is obtained by binary compilation of the artificial intelligence model that executes the corresponding sub-tasks in the challenged node. The sub-tasks corresponding to each node are obtained by decomposing the user tasks received by the blockchain. Each signature output is obtained by signing after the corresponding node executes the corresponding sub-task. Off-chain, a reference replay is performed based on the original input and the binary bytecode file to obtain the reference output of the questioned node; Semantic verification is performed off-chain on the reference output and the first signature output to determine the arbitration result.

2. The semantic-based distributed agent conflict arbitration method as described in claim 1, characterized in that, When retrieving the binary bytecode file corresponding to the questioned node from the chain, the model hash value that the questioned node has been registered is read from the chain. The model hash value is obtained by hashing the binary bytecode file before executing the user task. Accordingly, the step of performing reference replay off-chain based on the original input and the binary bytecode file to obtain the reference output of the questioned node includes: The binary bytecode file is hashed off-chain to obtain the current hash value; If the current hash value is the same as the model hash value, then a reference replay is performed off-chain based on the original input and the binary bytecode file to obtain the reference output of the questioned node.

3. The semantic-based distributed agent conflict arbitration method as described in claim 1, characterized in that, The step of performing semantic verification on the reference output and the first signature output off-chain to determine the arbitration result includes: Semantic verification of the reference output and the first signature output is performed off-chain based on natural language reasoning to obtain the first verification result; In response to the first verification result being implied, the arbitration result is determined to be that the questioned node is honest; In response to the contradiction in the first verification result, the arbitration result is determined based on the first verification result.

4. The semantic-based distributed agent conflict arbitration method as described in claim 3, characterized in that, Determining the arbitration result based on the first verification result includes: In response to the contradiction in the first verification result, and the fact that both the verification node and the questioned node corresponding to the node device are operating honestly, the confidence scores of the verification node and the questioned node are obtained from the chain. In response to the fact that the confidence score of the verification node is greater than the confidence score of the questioned node, the arbitration result is determined to be that the questioned node is dishonest; In response to the fact that the confidence score of the verification node is less than the confidence score of the questioned node, the arbitration result is determined to be that the questioned node is honest.

5. The semantic-based distributed agent conflict arbitration method as described in claim 1, characterized in that, Before detecting the arbitration request, the method further includes: After all the nodes have reached a consensus on cooperation, when a sampling verification request is detected, the upstream and downstream nodes associated with the edge to be verified are determined; the edge to be verified refers to at least one edge among the task edges connecting the subtasks obtained by decomposing the user task based on a directed acyclic graph. Obtain the second signature output of each of the upstream and downstream nodes from the data availability layer; Off-chain semantic verification is performed on each of the second signature outputs based on natural language reasoning to obtain the second verification result; In response to the contradiction in the second verification result, the arbitration request is initiated on the chain.

6. The semantic-based distributed agent conflict arbitration method as described in claim 5, characterized in that, The edge to be verified is randomly selected from the task edges connecting the subtasks based on a preset probability; the node device is randomly determined from the nodes of the blockchain based on a verifiable random function, and the node device has no set relationship with the upstream and downstream nodes.

7. The semantic-based distributed agent conflict arbitration method as described in any one of claims 1-5, characterized in that, The blockchain locks the pledged funds of each node when each node registers, so that when any node performs a set honest behavior, it can obtain a task reward corresponding to the set honest behavior, and when any node performs a set malicious behavior and is identified, it can deduct a preset multiple of the pledged funds.

8. A semantic-based distributed intelligent agent conflict arbitration device, characterized in that, A node device applicable to any node in a blockchain, wherein the blockchain comprises multiple nodes, each node being configured with an intelligent agent, the device comprising: The initiation unit is used to determine the signature transaction associated with the arbitration request on the chain and initiate the arbitration window when an arbitration request is detected; the signature transaction includes the arbitration requesting node and the challenged node; The first acquisition unit is used to, after activating the arbitration window, acquire the original input and first signature output of the challenged node from the data availability layer, and acquire the binary bytecode file corresponding to the challenged node from the blockchain; the binary bytecode file is obtained by binary compilation of the artificial intelligence model that executes the corresponding sub-tasks in the challenged node; the sub-tasks corresponding to each node are obtained by task decomposition of the user tasks received by the blockchain; each signature output is obtained by signing after the corresponding node executes the corresponding sub-task; The replay unit is used to perform reference replay off-chain based on the original input and the binary bytecode file to obtain the reference output of the questioned node; The first verification unit is used to perform semantic verification on the reference output and the first signature output off-chain to determine the arbitration result.

9. A node device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the semantic-based distributed agent conflict arbitration method as described in any one of claims 1 to 7.

10. A computer program product, characterized in that, It includes a computer program that, when run, implements the semantic-based distributed agent conflict arbitration method as described in any one of claims 1 to 7.