Credit approval method, device, equipment, medium and program product

By using directed acyclic graphs and intelligent agent architecture, the problems of information forgetting and concurrent processing in credit approval of interactive conversational large language models are solved, realizing efficient and secure multi-dimensional risk assessment and concurrent processing, and possessing self-correction capabilities.

CN123160252APending Publication Date: 2026-11-24INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611054667.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-16
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing interactive conversational large language models are prone to forgetting key information when processing long texts, and cannot achieve multi-dimensional risk assessment and concurrent processing. They also cannot realistically simulate complex financial credit approval processes involving multiple concurrent, interleaved, or interdependent tasks.

Method used

It adopts a directed acyclic graph and agent architecture, configures agents through nodes in the directed acyclic graph to perform risk assessment, uses a large model for reasoning, and introduces parallel processing and visualization of directed acyclic graphs to support deep source tracing and error self-correction, thereby realizing multi-dimensional risk assessment and concurrent processing.

Benefits of technology

It enables efficient risk assessment of long texts, avoids information loss, supports multi-dimensional concurrent processing and visualization, improves the efficiency and security of credit approval, and has self-correcting capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160252A_ABST
    Figure CN123160252A_ABST
Patent Text Reader

Abstract

This application provides a credit approval method, apparatus, device, medium, and program product, relating to the field of artificial intelligence and applicable to the fintech field. The method includes: responding to a credit approval request initiated by a target object, obtaining a target directed acyclic graph (DAG), where each node in the DAG corresponds to a risk assessment in one dimension of the target business, and each node is configured with an agent to perform the risk assessment for that node; performing credit approval on the target object along each node in the DAG based on the target object's data, including: triggering the parallel execution of agents at nodes with an in-degree of zero; triggering the execution of agents at subsequent nodes when all agents at preceding nodes connected by directed edges pointing to the same subsequent node have completed their execution; obtaining a credit risk score after all agents at each node in the DAG have completed their execution; and determining the credit approval result for the target object based on the credit risk score.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence and can be used in the field of financial technology, and more specifically to a credit approval method, apparatus, device, medium and program product. Background Technology

[0002] In the field of financial credit review, massive amounts of unstructured text are typically processed, including but not limited to hundreds of pages of due diligence reports, detailed financial notes, industry macro research reports, and highly legally binding audit statements. Given the advantages of large language models in natural language processing, they are increasingly being used to assist or replace manual processing in business operations.

[0003] However, interactive conversational models suffer from the "forgetting" of key information when processing long texts, and cannot achieve concurrent processing of multi-dimensional risk assessments (such as capital structure, cash flow status, governance and management risks), nor can they realistically simulate complex approval processes involving multiple concurrent, interleaved, or interdependent tasks. Summary of the Invention

[0004] In view of the above problems, embodiments of this application provide a credit approval method, apparatus, device, medium, and program product.

[0005] A first aspect of this application provides a credit approval method. The method includes: in response to a target object initiating a credit approval request for a target business, obtaining a target directed acyclic graph (DAG) corresponding to the target business, where each node in the DAG corresponds to a risk assessment in one dimension of the target business, and directed edges between nodes correspond to computational dependencies and risk propagation directions between nodes, wherein each node is configured with an agent for performing the risk assessment of that node; and performing credit approval on the target object along each node in the DAG based on the target object's data, specifically including: triggering the parallel execution of agents at nodes with an in-degree of zero in the DAG; triggering the execution of agents at subsequent nodes when all agents at preceding nodes connected by directed edges pointing to the same subsequent node have completed their execution; obtaining a credit risk score based on the risk assessment results of each node after all agents at each node in the DAG have completed their execution; and determining the credit approval result for the target object based on the credit risk score. Each of the aforementioned agents is configured with a dedicated prompt word template, tool invocation permissions, and a large model invocation interface. The execution process of the agent includes: generating prompt words based on the prompt word template and first data input to the node configuring the agent, wherein the first data belongs to the target object's data; invoking a large model through the large model invocation interface; instructing the large model to perform inference using the prompt words, wherein during the inference process of the large model, tools are invoked according to the tool invocation instructions output by the large model and the tool invocation permissions are granted, and the processing results of the tools are fed back to the large model to assist in the inference; and acquiring and storing the inference result of the large model after the inference is completed, wherein the inference result belongs to the risk assessment result.

[0006] According to an embodiment of this application, the step of performing credit approval on the target object based on the target object's data along each node in the target directed acyclic graph further includes: classifying the inference results of the large model according to a preset risk category to obtain a classification result, wherein the preset risk category includes at least two categories: normal and abnormal; and outputting the classification result as a quantized output state of the node configuring the agent, wherein the quantized output state also belongs to the risk assessment result.

[0007] According to an embodiment of this application, the method further includes: displaying a visual interface of the target directed acyclic graph to an end user; monitoring the quantization output state of each node in the target directed acyclic graph; and, in response to the monitoring of the output of the quantization output state of any node, rendering the node in the visual interface according to the visual effect corresponding to the monitored quantization output state.

[0008] According to an embodiment of this application, the method further includes: triggering a deep source tracing operation when a user interaction operation on any second node in the target directed acyclic graph is received in the visual interface. The deep source tracing operation specifically includes: traversing the target directed acyclic graph in the opposite direction of the directed edges, starting from the second node; outputting all nodes whose quantized output states are abnormal according to the traversal order to obtain an abnormal node sequence; and obtaining risk root cause information based on the inference results of the large model invoked by the agents of each node in the abnormal node sequence.

[0009] According to an embodiment of this application, the prompt word template is configured to require the output of the large model to include index information of the evidence on which it is based. The process of obtaining risk root cause information based on the inference results of the large model invoked by the agents of each node in the abnormal node sequence includes: determining the initial node in the abnormal node sequence as the initial zero point; extracting target index information from the inference results of the large model invoked by the agent of the initial zero point; retrieving original documents from the database based on the target index information; and feeding back the original documents and the inference results of the large model invoked by the agent of the initial zero point to the end user.

[0010] According to an embodiment of this application, each of the intelligent agents is further configured with a local database retrieval range, wherein the execution process of the intelligent agent further includes: when the tool retrieves data from the database, matching the local database retrieval range with the text block index of the second data to be retrieved; if the match is successful, allowing the retrieval; if the match is unsuccessful, rejecting the retrieval; and after the tool successfully retrieves the second data, processing the second data to obtain the processing result, wherein the second data belongs to the data of the target object, and the second data is stored in the database as vectorized text blocks.

[0011] According to an embodiment of this application, the step of triggering the execution of the agent of the subsequent node after all the agents of the preceding nodes connected by each directed edge pointing to the same subsequent node have completed their execution further includes, before the execution of the agent of the subsequent node: compressing the inference results output by the large model called by the agent of the preceding node according to a preset structure to obtain a condensed summary, wherein the preset structure includes core conclusions, confidence coefficients and key data index information; recombining the condensed summaries corresponding to each of the preceding nodes pointing to the same subsequent node into a business state description body having the preset structure; and inputting the business state description body as a component of the first data to the subsequent node.

[0012] According to an embodiment of this application, the credit approval process for the target object along each node in the target directed acyclic graph further includes: when the large model invoked by the agent of the downstream node discovers an anomaly in the data transmitted by any upstream node during inference, generating an interruption anomaly signal and pausing the execution of the agent of the downstream node, the interruption anomaly signal including the abnormal target data content; determining the abnormal upstream node based on the matching of the target data content and the inference results of the large models invoked by the agents of all upstream nodes of the downstream node; and triggering the agent of the abnormal upstream node to roll back and re-execute.

[0013] According to embodiments of this application, the risk assessment for each dimension corresponding to each node in the target directed acyclic graph includes at least one of the following: macro-industry trend assessment, capital structure health assessment, and background investigation of core management personnel.

[0014] A second aspect of this application provides a credit approval device, comprising: a graph data acquisition module and an approval module. The graph data acquisition module is used to acquire a target directed acyclic graph (DAG) corresponding to the target business in response to a credit approval request initiated by a target object for a target business. Each node in the target DAG corresponds to a risk assessment in one dimension of the target business, and the directed edges between nodes correspond to computational dependencies and risk transmission directions between nodes. Each node is configured with an agent for performing the risk assessment of that node. The approval module is used to perform credit approval on the target object based on its data, along each node in the target DAG.

[0015] The approval module includes a graph processing unit and an approval unit. The graph processing unit is used to: trigger the parallel execution of agents at nodes with an in-degree of zero in the target directed acyclic graph; trigger the execution of the agent at the subsequent node after all agents at the preceding nodes connected by directed edges pointing to the same subsequent node have completed their execution; and obtain a credit risk score based on the risk assessment results of each node after all agents at each node in the target directed acyclic graph have completed their execution. The approval unit is used to determine the credit approval result for the target object based on the credit risk score.

[0016] Each of the aforementioned agents is configured with a dedicated prompt word template, tool invocation permissions, and a large model invocation interface. The execution process of the agent includes: generating prompt words based on the prompt word template and first data input to the node configuring the agent, wherein the first data belongs to the target object's data; invoking a large model through the large model invocation interface; instructing the large model to perform inference using the prompt words, wherein during the inference process of the large model, tools are invoked according to the tool invocation instructions output by the large model and the tool invocation permissions are granted, and the processing results of the tools are fed back to the large model to assist in the inference; and acquiring and storing the inference results of the large model after the inference is completed, wherein the inference results belong to the risk assessment results.

[0017] According to a third aspect of this application, an electronic device is provided, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method described above.

[0018] According to a fourth aspect of this application, a computer-readable storage medium is also provided, on which a computer program or instructions are stored, wherein the computer program or instructions, when executed by a processor, implement the steps of the above-described method.

[0019] According to a fifth aspect of this application, a computer program product is also provided, including a computer program or instructions that, when executed by a processor, implement the steps of the above-described method. Attached Figure Description

[0020] The above-mentioned contents, other objects, features and advantages of this application will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0021] Figure 1 An example of a target directed acyclic graph is illustrated in the credit approval method applied to embodiments of this application;

[0022] Figure 2 The illustrations depict application scenarios of credit approval methods, apparatus, devices, media, and program products according to embodiments of this application.

[0023] Figure 3 A flowchart illustrating a credit approval method according to an embodiment of this application is shown schematically.

[0024] Figure 4 This schematically illustrates the execution flowchart of the agent at each node according to an embodiment of the present application;

[0025] Figure 5The diagram illustrates a data transmission processing flowchart between the front node and the back node in a credit approval method according to an embodiment of this application.

[0026] Figure 6 The flowchart illustrating the automatic rollback mechanism for anomalies in a credit approval method according to an embodiment of this application is shown in the illustration.

[0027] Figure 7 A supplementary flowchart illustrating a credit approval method according to an embodiment of this application is shown schematically;

[0028] Figure 8 A block diagram of a credit approval device according to an embodiment of this application is schematically shown; and

[0029] Figure 9 A block diagram schematically illustrates an electronic device suitable for implementing the credit approval method of the embodiments of this application. Detailed Implementation

[0030] The embodiments of this application will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of this application for ease of explanation. However, it will be apparent that one or more embodiments may be implemented without these specific details. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.

[0031] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0032] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0033] In the technical solution of this application, the user information (including but not limited to user personal information, user image information, user device information, such as location information) and data (including but not limited to data used for analysis, stored data, and displayed data) involved are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with relevant laws, regulations, and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entry points for users to choose to authorize or refuse.

[0034] In scenarios where personal information is used for automated decision-making, the methods, devices, and systems provided in this application all provide users with corresponding operation entry points for users to choose to agree to or reject the automated decision results; if the user chooses to reject, the process enters the expert decision-making process.

[0035] In one or more embodiments described herein, the term "large model" can refer to a deep learning model with a large number of model parameters, which can include hundreds of millions, tens of billions, hundreds of billions, trillions, or even tens of trillions of model parameters. A large model can also be called a foundational model or basic model. It is pre-trained using large-scale unlabeled corpora to produce a pre-trained model with hundreds of millions of parameters. Such models can adapt to a wide range of downstream tasks and have good generalization ability, such as large language models and multimodal pre-trained models. It should be understood that in practical applications, large models only require a small number of samples to fine-tune the pre-trained model before being applied to different tasks. Large models can be widely used in natural language processing, computer vision, and other fields. Specifically, they can be applied to computer vision tasks such as visual question answering, image captioning, and image generation, as well as natural language processing tasks such as text-based semantic classification, text summarization generation, and machine translation.

[0036] This application provides a loan approval method, apparatus, device, medium, and program product. According to this application, when conducting credit approval on a target object within a target business, the approval can be performed based on a target directed acyclic graph corresponding to the target business, wherein… Figure 1 An example illustrating a directed acyclic graph with a target. For example... Figure 1 As shown, the target directed acyclic graph includes nodes 1 to 10. Each node corresponds to a risk assessment in one dimension of the target business, and the directed edges between nodes correspond to computational dependencies and risk propagation directions between them. Each node is configured with an agent to perform the risk assessment for that node, and the risk assessment for that node can be performed through the agent of each node. For example, node 1 is configured with agent a1, node 2 is configured with agent a2, and so on.

[0037] In one embodiment, the risk assessment for each dimension corresponding to each node in the directed acyclic graph includes at least one of the following: macro-industry trend assessment, capital structure health assessment, and background investigation of core management personnel. For example, the risk assessment task for each dimension can be independently modeled as a microservice agent.

[0038] Each agent (a1 to a10) is configured with a dedicated prompt word template, tool invocation permissions, and a large model invocation interface. In some embodiments, a dedicated local database retrieval range is also configured. Each agent (a1 to a10) can generate prompt words based on its dedicated prompt word template and the first data input to the node (extracted from the output of the preceding node or user input). It then invokes the large model through the large model invocation interface, inputting the prompt words to the large model so that the large model can perceive the input task and plan the processing flow. One or more steps in this processing flow may include tool invocation instructions. During the execution of this processing flow, the agent can invoke tools according to its dedicated tool invocation permissions to perform corresponding processing operations based on these instructions, and feed back the processing results of the tools (such as various financial indicators, risk control indicators, etc.) to the large model. The large model can combine the tool processing results to perform inference to obtain inference results. After the large model inference is completed, the inference results can be acquired and stored as the node's risk assessment results or a component thereof.

[0039] After processing all nodes in the directed acyclic graph of the target, a credit risk score can be obtained based on the risk assessment results of each node, and then a credit approval result can be given.

[0040] This application's embodiments introduce a directed acyclic graph (DAG) into credit approval, which maintains strict acyclic dependencies when handling multi-source heterogeneous data fusion and high-order indicator derivation, preventing infinite recursive loops in the reasoning process. Furthermore, this application's embodiments support parallel processing of nodes with zero in-degree, enabling concurrent scheduling. In some embodiments, the target DAG can be visualized to the end user during the approval process, and approval progress and abnormal nodes can be displayed through node rendering. When a user clicks on an abnormal node on the visual interface, they can use that current abnormal node as a starting point to perform a reverse traversal along the target DAG for deep tracing, locating the risk transmission chain and root cause information leading to the current state of the current node. For example, after locating a specific node on the risk transmission chain, a search can be performed along the path of node-agent-large model inference result-inference citation information to locate the original data (such as documents, text blocks, paragraphs) causing the anomaly. This achieves white-box reasoning and interpretable tracing.

[0041] This application's embodiments, by introducing directed acyclic graphs and intelligent agents, can also achieve error self-correction in the credit approval process (such as automatic error rollback), demonstrating high intelligence. By configuring local database retrieval ranges within the intelligent agent to limit the data range accessible to the agent, database access permissions can also be restricted, enabling fine-grained database access and improving data security.

[0042] It should be noted that, Figure 1 The structure of the target directed acyclic graph is merely an example and does not constitute a limitation on this application. For instance, the fact that all nodes in the graph eventually converge to node 10 is only for illustration. This application does not require the target directed acyclic graph to eventually converge to a single node. The structure of the target directed acyclic graph is determined based on the credit approval requirements of the target business, and the structure is not limited to this.

[0043] Figure 2 The illustrations depict application scenarios of credit approval methods, apparatuses, devices, media, and program products according to embodiments of this application. For example... Figure 2 As shown, application scenario 200 according to an embodiment of this application may include a first terminal device 201, a second terminal device 202, a third terminal device 203, a network 204, and a server 205. The network 204 is a medium used to provide a communication link between the first terminal device 201, the second terminal device 202, the third terminal device 203, and the server 205. The network 204 may include various connection types, such as wired or wireless communication links or fiber optic cables. For example, a user can use the first terminal device 201, the second terminal device 202, and the third terminal device 203 to interact with the server 205 through the network 204 to receive or send information, etc.

[0044] The first terminal device 201, the second terminal device 202, and the third terminal device 203 can be electronic devices such as smartphones, wearable devices, personal computers, intelligent voice interaction devices, smart home appliances, intelligent vehicles, in-vehicle terminals, aircraft, unmanned vending terminals, and extended reality devices. Extended reality devices can include virtual reality devices, augmented reality devices, and mixed reality devices. A client application for the target application can be installed and run on the terminal devices. This target application can include, but is not limited to, financial transaction applications, payment applications, shopping applications, web browser applications, search applications, instant messaging tools, email clients, and social media platform software (these are just examples). Furthermore, this application embodiment does not limit the form of the target application, and it can include, but is not limited to, applications, mini-programs, etc., installed on the terminal devices, and can also be in the form of web pages.

[0045] Server 205 can be a server providing various services, such as analyzing and processing data such as user requests sent by users through the first terminal device 201, the second terminal device 202, and the third terminal device 203, and feeding back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services such as cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and basic cloud computing services such as big data. The server can be a backend server for the aforementioned target application, used to provide backend services to the client of the target application.

[0046] It should be noted that the credit approval method provided in this application embodiment can generally be executed by server 205. Accordingly, the credit approval device, equipment, medium, and program products provided in this application embodiment can generally be set in server 205.

[0047] The following will combine Figure 1 The example targets a directed acyclic graph and Figure 2 Application scenarios, through Figures 3-7 The credit approval method of this application embodiment will be described in detail.

[0048] Figure 3 A flowchart illustrating a credit approval method according to an embodiment of this application is shown schematically. Figure 3 As shown, the credit approval method may include steps S310 and S320.

[0049] First, in step S310, in response to the target object initiating a credit approval request for the target business, a target directed acyclic graph corresponding to the target business is obtained. Each node in the target directed acyclic graph corresponds to a risk assessment in one dimension of the target business, and the directed edges between nodes correspond to the computational dependencies and risk transmission directions between nodes. Each node is configured with an agent to perform the risk assessment of that node.

[0050] In step S320, based on the target object's data, credit approval is performed on the target object along each node in the target directed acyclic graph.

[0051] Specifically, step S320 includes steps S321 to S324.

[0052] In step S321, the agents of the target directed acyclic graph with zero in-degree are triggered to execute in parallel. When there are multiple nodes with zero in-degree (such as node 1, node 2, and node 3), the agents of these nodes with zero in-degree have no dependencies on each other in the business logic. Therefore, these agents of the nodes with zero in-degree can process in parallel, which allows a large amount of basic work in credit approval (such as basic fact verification) to be completed synchronously in a short time. Moreover, the parallel processing of these nodes with zero in-degree can simultaneously enable multiple unrelated branches (if any) to execute in parallel, thereby shortening the credit approval cycle.

[0053] In step S322, the execution of the agent of the preceding node is triggered after all the agents of the preceding nodes connected by the directed edges pointing to the same subsequent node have completed their execution. For example, the agent of node 4 needs to be started only after the agents of nodes 1 and 2 have completed their execution.

[0054] In step S323, after all agents at each node in the target directed acyclic graph have completed their execution, a credit risk score is obtained based on the risk assessment results of each node.

[0055] In one embodiment, the risk assessment results of each node can be quantified to obtain a risk score for the corresponding dimension. Then, the risk scores of each node are weighted according to a preset weight configuration to obtain a credit risk score. In another embodiment, the inference results output by the large model in the agents of each node can be extracted and compressed, then imported into the large model, and prompt words can be set to instruct the large model to provide a credit risk score. In yet another embodiment, features can be extracted from the inference results output by the large model in the agents of each node, and the extracted features can be concatenated and input into a trained risk scoring model to output a credit risk score. In yet another embodiment, if the target directed acyclic graph eventually converges to a node and the inference result of that node can be used as the final processing result of the entire credit approval process, the credit risk score can be obtained by processing the inference result of the final node, such as extracting indicators for calculation or directly extracting the credit risk score.

[0056] In step S324, based on the aforementioned credit risk score, the credit approval result for the target entity is determined, such as whether the approval is granted.

[0057] This application's embodiments can instantiate each risk analysis dimension or logical operation in the credit approval process (such as "macroeconomic industry trends," "construction period risks," "capital structure health," and "core management background checks") as an independent microservice-level AI agent. Each agent is configured with a proprietary set of prompt word templates, a specific local database retrieval scope, and strictly limited tool access permissions. For example, the agent responsible for "financial notes analysis" is granted permission to call an optical character recognition plugin to extract complex tables, while the agent responsible for "cash flow forecasting" is granted permission to call a Monte Carlo simulation algorithm plugin.

[0058] Furthermore, an advanced "memory engineering" architecture can be introduced. Each agent in this embodiment can operate based on an independent "memory unit." The memory unit serves as the smallest discretized, operable block of information in the system. It can contain not only text content but also metadata such as timestamps, confidence scores, related links, semantic context scope, and retrieval hints. It can be persisted after the agent's execution, allowing each agent to dynamically encode, store, retrieve, and synthesize experiential information during runtime. For example, when an agent at a higher-order downstream node executes, it can extract data from the persistent "memory unit" of the upstream node for computation. The memory unit facilitates multi-level dependency injection and context summary passing. In some embodiments, agents at various nodes in the target directed acyclic graph can call the same large model through their respective large model call interfaces (if computing power allows). Through the isolation provided by the "memory unit," multiple agents can achieve independence, data confidentiality, and least-access privileges for each node within an architecture sharing a large model base.

[0059] In one embodiment, the execution process of each agent can be as follows: Figure 4 As shown, steps S410 to S440 are included. Specifically, each agent is configured with its own prompt word template, tool access permissions, large model access interface, and local database retrieval scope.

[0060] In step S410, a prompt word is generated based on the prompt word template and the first data input to the node configuring the agent, wherein the first data is data belonging to the target object.

[0061] The first data of the input node can include data transmitted from the preceding node (such as the corresponding indicators that can be transmitted from the preceding node when the current node’s risk assessment depends on the risk assessment of the preceding node) or global data carried in the credit approval request that triggers the directed acyclic graph call to the target (such as basic information such as the identifier of the target object).

[0062] In step S420, the large model is invoked through the large model call interface, and the aforementioned prompt words are used to instruct the large model to perform task decomposition, process planning, and risk assessment reasoning.

[0063] Next, in step S430, the task breakdown and process planning output by the large model are executed step by step. If the large model outputs a tool call instruction during this process, the tool is called within the tool call permission scope according to the tool call instruction, and if the tool call is successful, the processing result of the tool is fed back to the large model to assist the large model's reasoning.

[0064] Step S430 may include steps S431 to S434.

[0065] In step S431, the tool is invoked according to the tool invocation instructions output by the large model and the tool invocation permissions.

[0066] In step S432, when the invoked tool retrieves data from the database, it matches the local database retrieval range with the text block index of the second data to be retrieved. If a match is found, the retrieval is allowed; otherwise, the retrieval is rejected. The second data belongs to the target object's data and is stored in the database as vectorized text blocks.

[0067] In step S433, after the above tool successfully retrieves the second data from the database, it processes the second data to obtain the processing result.

[0068] In step S434, the processing results of the above tools are fed back to the large model to assist in reasoning.

[0069] Finally, in step S440, the inference results of the large model are obtained and stored after the large model inference is completed.

[0070] The second type of data also belongs to the target user's data. Specifically, when conducting credit approval for a target, the target usually needs to submit relevant documents (such as the original due diligence report, financial audit data, etc.). These documents can be segmented into text blocks and stored in a database after being quantified. When storing text blocks, corresponding text block indexes can be built to facilitate retrieval. In addition to identifying the storage address and other retrieval information of the text blocks, the text block index can also include text block metadata, such as document source, specific page number, paragraph, or user identifier.

[0071] In this embodiment, when the tool is invoked to perform corresponding processing operations, if the tool needs to retrieve data from the database, dynamic permission-aware filtering can be achieved by matching the local database retrieval scope configured in the agent with the text block index. Permission-aware filtering means that when an agent accesses the database through the tool, it verifies whether the agent has the corresponding permissions based on the agent's local database retrieval scope. If the agent does not have the permissions, its access will be denied. In this way, each agent can only extract and process the text block within its local database retrieval scope, effectively preventing data security issues caused by unauthorized access.

[0072] In related technologies, systems based on retrieval enhancement are too rudimentary in terms of data access control and security management. Most multi-user databases or vector storage systems can only provide tenant-level or document-level isolation. However, in real-world financial auditing scenarios, different roles of auditors (such as legal personnel, financial auditors, and business account managers) have different access permissions to different sections of the same due diligence report. In the absence of text block-level indexing and permission-aware filtering mechanisms, the intelligent agent acting as an information retrieval agent often possesses excessively high system privileges. If the agent is subjected to malicious prompt injection attacks or improper session management, it is highly susceptible to cross-permission leakage of sensitive data. Similarly, traditional role-based access control models are too rigid in dealing with dynamic retrieval needs and cannot ensure that every knowledge retrieval strictly adheres to the principle of least privilege. As can be seen from the embodiments of this application, the intelligent agent can be restricted to retrieving only within the scope of a local database by determining permissions at the text block level, thereby achieving fine-grained data security management.

[0073] Figure 5 This illustration schematically shows a data transmission processing flowchart between the front-end node and the back-end node in a credit approval method according to an embodiment of this application. Figure 5 As shown, the data transmission process between the preceding node and the following node in the target directed acyclic graph may include steps S501 to S503.

[0074] In step S501, the reasoning results output by the large model called by the agent of the preceding node are compressed according to the preset structure to obtain a condensed summary. The preset structure includes core conclusions, confidence coefficients, and key data index information.

[0075] In step S502, the condensed summaries corresponding to each preceding node pointing to the same subsequent node are recombined into a business status description body with the above-mentioned preset structure.

[0076] In step S503, the business status description body is input to the downstream node as part of the first data data.

[0077] In multi-agent systems, sharing critical information without causing context bloat is crucial. This application's embodiments abandon inefficient linear history propagation and instead employ a context propagation mode combining "summary handshake" and "dependency injection." This mode requires that when transmitting data between nodes, the inference results obtained by the preceding nodes are compressed into a condensed summary containing core conclusions, confidence coefficients, and key data source indexes. If a subsequent node has multiple preceding nodes, a lightweight intermediate state caching module can be activated to merge the condensed summaries from multiple preceding nodes again. This includes retaining duplicate information, selecting the data with higher confidence when the same data has different confidence levels, and reassembling it into a business state description containing core conclusions, confidence coefficients, and key data source indexes. This reassembly is then injected into the agent of the subsequent node. This business state description reduces information redundancy, eliminates discrepancies from different sources, and minimizes logical confusion for the agent of the subsequent node when processing contradictory information.

[0078] The credit approval mechanism in this application embodiment, which combines directed acyclic graphs and intelligent agents, can also realize error self-correction in the credit approval process (such as automatic error rollback), and has a high degree of intelligence. Figure 6 The diagram illustrates a process flow chart of an automatic rollback mechanism for anomalies in a credit approval method according to an embodiment of this application.

[0079] like Figure 6 As shown, according to this embodiment, when performing credit approval along the target directed acyclic graph in step S320, there is also an automatic rollback mechanism for abnormalities, which may specifically include steps S601 to S603.

[0080] In step S601, when the large model called by the agent of the downstream node discovers an anomaly in the data transmitted by any upstream node during the inference process, it generates an interruption anomaly signal and suspends the execution of the agent of the downstream node. The interruption anomaly signal includes the target data content that is abnormal.

[0081] In step S602, based on the matching of the target data content and the reasoning results of the large model invoked by the agents of all preceding nodes of the subsequent node, the abnormal preceding node is determined.

[0082] In step S603, the agent of the abnormal preceding node is triggered to roll back and re-execute.

[0083] This method of agent rollback and re-execution at abnormal preceding nodes, combined with the isolation of node computation processes in the target directed acyclic graph and data transmission in a specific form, ensures that the impact is limited to the path of the abnormal preceding node, without affecting other computation nodes on other paths. This local fault tolerance and self-correction capability endows the entire credit approval process with strong self-healing ability and system robustness when facing unpredictable abnormal data. It avoids the problem of large model systems based on linear dialogue history architectures propagating and amplifying errors in the process as the dialogue sequence continues.

[0084] The practical application of the methods of this application will be further described below in conjunction with the following embodiments (I) and (II).

[0085] Example 1

[0086] This embodiment illustrates an end-to-end concurrent processing and panoramic graph mapping workflow for complex credit approval for enterprises. It focuses on demonstrating and analyzing a complete automated credit risk approval workflow driven by a multi-agent architecture based on a directed acyclic graph. The application scenario is as follows: a commercial bank's credit approval center is conducting a comprehensive credit risk review and due diligence verification of a large infrastructure construction company (the target entity) with a total credit line of up to the first amount.

[0087] First, the system automatically accesses and constructs block-level vector indexes for massive amounts of heterogeneous data from multiple sources. It then receives the digital dossier submitted by the company. This data may include, for example, original due diligence reports hundreds of pages long with varying formatting, three consecutive years of continuous financial audit data containing complex pivot tables, and lengthy industry benchmarking research reports issued by third-party rating agencies.

[0088] To ensure no details are overlooked during subsequent review and tracing, an automated block vectorization pipeline is first initiated to segment the aforementioned digital dossier into text blocks and quantize them. This embodiment abandons the crude method of segmenting by a fixed number of characters, instead employing a context-aware, dynamic, recursive block segmentation strategy. Specifically, all uploaded documents can be iteratively stripped according to natural language paragraph and sentence delimiters, and the maximum capacity of a single text block can be limited to 512 tokens, with a 50-token inter-block overlap area set. This overlap area ensures that even if a complete statement is forcibly split in two, adjacent text blocks maintain their semantic logical coherence and integrity during large-scale model processing. While segmenting each text block, the built-in memory engineering management module extracts information such as the absolute path of the original document's filename, the specific page number, detailed paragraph-level numbering, and even the enterprise user's unique identifier, and packages this information into the text block's digital metadata, constructing it as part of the index information. Subsequently, a vectorization model can be invoked to convert these natural language text blocks into vectors, and these vectors, along with their associated metadata, can be injected and persistently stored in a distributed vector database that supports high-concurrency read and write operations. This process constructs an immutable, text-block-level retrieval network of interconnected data from the raw data submitted by the enterprise.

[0089] Next, based on business rules, the target directed acyclic graph (DAG) topology is parsed and intelligent agent tasks are concurrently assigned. Specifically, a preset graph topology configuration file matching the target business type (such as credit assessment of fixed assets for large enterprises) can be read, and the target DAG can be parsed from it. For example, this target DAG can contain twenty-five risk characteristic judgment nodes covering different dimensions. The topological structure of these twenty-five nodes can be scanned hierarchically using the built-in graph theory algorithm engine, and the in-degree value of each node can be calculated. Suppose that the in-degree values ​​of multiple nodes, such as "cross-validation of the background of the core management of the enterprise," "digital cleaning and extraction of the basic financial statements of the past three years," and "benchmarking of the macroeconomic fundamentals of the same industry," are found to be absolutely zero. In this case, instead of using the traditional serial queuing execution strategy, "network mode concurrent collaboration" can be activated, and the intelligent agents configured for these multiple nodes with an in-degree of zero can be activated simultaneously in the idle physical nodes of the computing cluster. Specifically, each agent can be assigned an independent computational thread pool and its own exclusive prompt word template (for example, for the agent asking "financial transaction record extraction," the prompt word strictly prohibits it from using external internet common sense to make any form of subjective qualitative judgment; it is only allowed to search for and compare specific values ​​in the financial statement footnotes in the vector library). Since these nodes with zero in-degree have no computational dependencies on each other, they can each carry out query and retrieval operations in the distributed database's direction space, enabling massive amounts of basic fact-checking work to be completed in a short time.

[0090] Next, state propagation based on mandatory index information and execution of global system-level constraints proceeds. After the concurrent processing of nodes with zero in-degree, the credit approval process enters a more complex state propagation stage along the target directed acyclic graph. Specifically, after each agent completes data aggregation and inference in its risk assessment task by calling the large model and tools, it can transform the inference results output by the large model into a structured lightweight payload package. To prevent severe business "illusions" in the large model due to context pollution during the propagation of states along the directed edges of the target directed acyclic graph, such as multi-level propagation (the input data of node 8 includes states transmitted from multiple upstream nodes), a strict global cue word hard constraint barrier can be applied at the underlying hardware level through the memory engineering control layer. For example, this constraint requires that: "All conclusions output by agents participating in the computation must and can only be accompanied by index information in an absolutely standardized format at the end; if the conclusion cannot be found with clear evidence in the currently loaded file block, it must be explicitly stated that it cannot be answered; the system is strictly prohibited from arbitrarily splicing references from different data sources to fabricate or stitch together a business statement that does not originally exist."

[0091] For example, after the "Financial Flow Extraction" node (let's say node 1) finishes processing, a directed edge between node 1 and node 4 is discovered using a graph algorithm. This can trigger the wake-up procedure of node 4 (e.g., "Asset Capital Structure Health Analysis"). During memory swapping, it's not necessary to input all the hundreds of pages of financial reports read by node 1 into the memory context of node 4. Instead, a context dependency injection mechanism can be activated, injecting only the compressed execution digest of the final inference result from the large model in node 1, along with its confidence parameters, into the working memory space of node 4. This refined context passing not only avoids the problem of easily exhausting the token context window capacity but also allows the agents of subsequent nodes to better perform deep fusion and induction of multi-dimensional abstract features in a clean environment free from information noise interference, ultimately converging and deducing the credit risk score of the entire enterprise under the first-amount credit application.

[0092] Example (II)

[0093] This embodiment illustrates conflict disambiguation and lossless rollback technology for memory inheritance of multiple parent nodes in a financial scenario.

[0094] In the lending operations of large commercial banks, the assessment result of an advanced macroeconomic risk indicator often relies intricately on multiple or even dozens of independent primary characteristic indicators. This embodiment focuses on how, when faced with such complex calculations, this application embodiment maintains the robustness of the entire approval process through multi-parent node memory inheritance and an exception handling rollback mechanism.

[0095] First, multi-path context integration and intelligent disambiguation processing. Taking node 10 in the credit approval process (e.g., "Comprehensive assessment of the enterprise's debt risk and independent debt repayment ability for construction projects") as an example, according to the target-directed acyclic graph, node 10 must wait for the completion of three independent nodes: node 7 ("Recent cash flow performance of main business operations"), node 8 ("Book value and actual realization discount of the enterprise's fixed assets"), and node 9 ("Penetrating analysis of the guarantee capacity of external related enterprises") before it can start. When the operation states of nodes 7, 8, and 9 are all indicated as complete in the global state machine, the agent of node 10 will be awakened. At this time, facing complex reasoning summary inputs from three directions, in order to prevent the agent of node 10 from generating logical confusion when using a large model to process contradictory information, a lightweight intermediate state cache processing module can be activated. This intermediate state cache processing module can perform context compaction operations, including but not limited to: extracting the core quantitative indicators output by the three preceding nodes (e.g., the cash flow coverage ratio coefficient of 0.95 output by node 7 and the asset liquidity discount ratio of 1.15 output by node 9) and their associated confidence levels, and then dynamically reorganizing these discrete input values ​​into a unified, clear, and structured business state description. This business state description, which has eliminated the divergence format, is then injected into node 10 as the calculation base parameters.

[0096] Secondly, local lossless state rollback and recalculation are performed based on the isolation characteristics of the topology graph. Assume that when the agent of node 10 performs deep cross-analysis, it discovers an anomalous value in the data inherited from node 9 that violates common financial sense (for example, the system finds that in some extremely blurry scanned document segments, due to recognition errors, the confidence parameter of the guarantee amount is marked as an extremely low risk score by the underlying network). In this embodiment, when the agent a10 of node 10 discovers this extremely low confidence anomalous input during the large model inference process, it can notify node 10 to generate an interruption anomaly signal to trigger a hardware interrupt in the system, and can change the status label of node 10 to "suspended and waiting for processing". After the core scheduling engine for credit approval captures this interruption anomaly signal, it can initiate path tracing based on the specific anomalous value (such as the confidence parameter of the guarantee amount) in the data matrix of the underlying graph structure (including the inference results of nodes 7, 8, and 9, as well as upstream nodes) according to the computational dependency relationship indicated by the directed edges in the target-priority acyclic graph (assuming that the source node generating the anomalous data is located as node 9). At this point, the credit approval process can be rolled back and recalculated without interrupting the operation of other branches (if any) running in parallel in the directed flowchart of the target, by intervening in and interfering with the operating parameters of agent a9 at node 9. For example, the approximation threshold in the search conditions of agent a9 when performing database retrieval can be relaxed, or the large model engine called by agent a9 can be switched from a low-parameter lightweight model to a large model with a larger number of parameters and stronger reasoning capabilities. Subsequently, an instruction to re-execute data retrieval and calculation can be issued to node 9 to trigger agent a9 at node 9 to re-execute.

[0097] According to one embodiment of this application, during the credit approval process of verifying the target directed acyclic graph, a global topology state machine can be set up to manage and record the quantized output state of each node in the target directed acyclic graph. The quantized output state of each node represents the classification result obtained by classifying the inference results of the large model according to preset risk categories. The preset risk categories include at least two types: normal and abnormal. The quantized output state facilitates users' qualitative identification of the risk assessment results of each node. For example, the global topology state machine extracts the values ​​of core indicators from the inference results obtained from each node using a preset multi-dimensional vector threshold evaluation function, and discretizes the continuous indicator values ​​according to a built-in threshold range, mapping them to three states (normal, warning, and high risk). The quantized output state of the node can be labeled with specific colors (e.g., green for normal, yellow for warning, and red for high risk) and displayed to the user, thus visualizing the credit approval process. Correspondingly, based on the visualization, further user interaction can also be supported. One embodiment can be referred to... Figure 7 As shown.

[0098] Figure 7 A supplementary flowchart illustrating a credit approval method according to an embodiment of this application is shown schematically. Figure 7 As shown, the credit approval method according to this embodiment may include steps S710 to S740 in addition to the aforementioned steps S310 and S320.

[0099] In step S710, a visual interface of the target directed acyclic graph is displayed to the end user.

[0100] In step S720, the quantization output state of each node in the target directed acyclic graph is monitored.

[0101] In step S730, in response to the output of the quantization output state of any node being monitored, the node is rendered in the visual interface according to the visual effect corresponding to the monitored quantization output state.

[0102] In step S740, when a user interaction operation is received in the visual interface for any second node in the target directed acyclic graph, a deep tracing operation is triggered.

[0103] The deep source tracing operation specifically includes: starting from the second node, traversing in the opposite direction of the directed edges in the target directed acyclic graph; outputting all nodes whose quantized output states are abnormal according to the traversal order, obtaining a sequence of abnormal nodes; and obtaining the root cause information of the risk based on the inference results of the large model called by the agents of each node in the sequence of abnormal nodes. Based on the architecture of the directed acyclic graph, the risk transmission chain can be found, facilitating rapid location of the root cause of the problem.

[0104] For example, the inference results obtained from each node in the abnormal node sequence can be provided to a pre-set large model, and the large model can be instructed to mine and analyze the risk root cause information by using pre-set prompts for risk root cause analysis.

[0105] Alternatively, in another example, the initial node in the abnormal node sequence can be identified as the initial zero point; then, target index information can be extracted from the inference results of the large model called by the agent at the initial zero point through a cross-mapping mechanism; the original document can be retrieved from the database based on the target index information; and the original document and the inference results of the large model called by the agent at the initial zero point can be fed back to the end user.

[0106] A major obstacle to the application of artificial intelligence in the financial field is the "black box" phenomenon of its intermediate reasoning process. The tracing systems in related technologies often rely on simple lexical similarity matching, generally lacking a text block-level tracing mapping mechanism. When the final conclusion deviates or compliance audits are required, reviewers have to manually search for evidence again in massive amounts of original documents, completely negating the efficiency gains brought by artificial intelligence. This application's embodiment, after locating the initial zero point, can extract target index information from the reasoning results of the initial zero point, and then directly penetrate to the database based on the target index information. It then maps and matches the index information with the original text block data, and displays the results to the end user upon successful matching. This two-way verification and text block-level granular display method directly pushes the decision-making basis of the large model reasoning process to the user, achieving transparent white-boxing and rigorous tracing of the large model reasoning process.

[0107] The following example, in conjunction with Embodiment (III), provides a detailed illustration of the logic behind the visualized risk penetration and in-depth tracing of this application's embodiments.

[0108] Example (3)

[0109] This embodiment can realize visualized and structured risk penetration and in-depth tracing in credit review. The focus is on solving the problem of "insufficient interpretability" in the actual application of products using artificial intelligence models in the financial field. That is, how to transform the judgment conclusions of the intelligent agent into conclusions that credit approval personnel or compliance review personnel can understand and be convincing.

[0110] First, the approval process along the target directed acyclic graph (DAG) is visualized in real-time for end users. Specifically, the target DAG is displayed to the user, and the processing status of each node (such as successful, pending processing, exception encountered, suspended) is shown through visual effects such as color and status, thus displaying the progress of the approval process in real time. The background calculation status of each node can be parsed by the front-end logic and transformed into visual indicators on the user interface. For example, if the background calculates that a company exceeds the preset danger threshold (assuming it exceeds 0.85) in the risk assessment of "inventory backlog impairment risk", the status of that node can be determined as high-risk, and the corresponding node will be rendered with a red pulse alarm animation on the visualization interface. At the same time, the links pointing to the high-risk node can also be dynamically drawn on the visual interface based on the edge set of the graph. In this way, through the panoramic presentation of data flow, the structured risk penetration process that led to the alarm is visualized to the user.

[0111] Next, deep tracing can be performed through reverse graph traversal, and after determining the initial zero point, it can be mapped back to the original document using the index identifier of the text block. Suppose that when a business reviewer sees a high-risk node with a red alert, and wants to verify the underlying judgment basis, they can click on the high-risk node on the user interface and trigger a deep tracing operation. Specifically, the front end can send a deep tracing request to the back end server, which can carry the unique identifier of the high-risk node. After receiving the deep tracing request, the back end server can allocate computing resources and start the reverse depth-first search traversal algorithm calculation module in the target directed acyclic graph structure model in the background memory. Since the transmission factors causing credit risk at high-level nodes are often multi-source and involve extremely deep data nesting, deep tracing uses the high-risk node as the starting point and performs a refined backtracking by reversing all directed edges directly pointing to that node. In some embodiments, the weight of each directed edge in the risk transmission can also be calculated during the reverse traversal. Finally, the entire link connected to the high-risk node is extracted. Furthermore, it is possible to extract the inference results or condensed summaries corresponding to the nodes that initially exhibited anomalies (such as those in the state of warning) in the entire chain, and then extract the index information from the inference results or condensed summaries.

[0112] Next, the conclusions and evidence can be rendered and displayed on the user terminal. After completing the above-mentioned deep tracing and locating the index information of the evidence cited in the reasoning, the corresponding text blocks can be retrieved from the distributed database according to the index information, and displayed to the user in a dual-window mode with left and right split-screen rendering. For example, on the left side of the interface, the reasoning results of the agents of high-risk nodes or the reasoning results of high-risk nodes and their predecessor agents with risk transmission relationships can be listed, which are the deep logic analysis conclusion texts; on the right side of the interface, the evidence text on which the abnormal conclusions in the reasoning results of the nodes on the left are based can be displayed. This two-way mechanism connecting the "large model reasoning results" and "physical evidence" enables the method of this application embodiment to not only have deep decision-making and cross-validation capabilities, but also to have source tracing and investigation capabilities, satisfying interpretability and evidence preservation capabilities.

[0113] Table 1 below visually illustrates the specific technical implementation steps of the block-level source mapping mechanism in the deep source tracing operation of this application embodiments and its direct contribution to white-box interpretability:

[0114] Table 1

[0115]

[0116] The credit approval method of this application has achieved breakthroughs in system architecture evolution, computational logic modeling, and deep interpretability of data application. Its technical effects can be summarized in the following core dimensions:

[0117] First, it enables high-throughput concurrent engineering. By innovatively adopting a multi-agent architecture based on directed acyclic graph topology, the complex and intertwined credit analysis tasks are physically and logically decoupled at the system's underlying layer. This architecture allows massive feature extraction and analysis tasks to be dynamically distributed to asynchronous, non-blocking, multi-threaded computing clusters for concurrent execution. According to actual measurements, the implementation of this architecture not only completely eliminates response latency caused by congestion of a single model node, but also achieves a significant leap in the overall input / output data throughput and concurrent processing efficiency of the system, thereby shortening the credit case approval cycle.

[0118] Second, the credit approval process is constructed as a directed acyclic graph (DAG), creating a highly scalable risk topology state calculation model. In past financial information system development, the business logic of risk transmission was typically hard-coded into a set of conditional statements within the underlying code. This rigid approach meant that any minor business policy adjustment or change in regulatory compliance requirements necessitated a massive software engineering refactoring process. This application's implementation departs from simple coding of specific business rules, instead abstracting the complex risk factor transmission paths at a deeper level into a DAG calculation model and node state machine with general mathematical properties. This design architecture is scalable. For example, when a financial institution needs to adjust its internal credit approval architecture or faces new regulatory indicators, business analysts only need to modify the node attributes and directed edge connections of the DAG in a high-level visual configuration interface, and the system can automatically compile and reshape the entire risk assessment operation network. This technology, which completely separates business logic configuration from the underlying algorithm engine, not only significantly reduces the operation and maintenance costs and iteration cycle of credit approval, but also, due to the unique acyclic property and multi-parent node fusion characteristics of directed acyclic graphs, fundamentally ensures the data consistency and logical rigor of multiple composite financial indicators during convergence calculation.

[0119] Third, the system systematically achieves white-boxing of deep reasoning in large models and reverse traceability at the text block level. Due to the inherent black-box nature of deep neural network models, the lack of solid evidence to support the output of artificial intelligence has long been a core bottleneck hindering its widespread deployment in highly rigorous industries such as finance and the judiciary. To address this issue, this application's embodiments creatively propose and implement a complete deep traceability mechanism combining forward topology computation with reverse graph traversal. This mechanism, through strict cue word constraints, forces all participating agents to embed immutable index information into each logical conclusion they generate. Combined with the block-level data hierarchy graph and vector cross-index network built at the system's underlying layer, this mechanism enables extremely complex abstract risk assessments to be reverse-traced and mapped to specific locations in the original data, such as specific page numbers or even line numbers in due diligence reports. This largely solves the technical problems of fabrication and unexplainable output commonly found in artificial intelligence models, and provides a hard data support chain for the final business decisions generated by the system, enhancing the trust and willingness of professional reviewers and external auditing institutions to adopt the system's automatic assessment results.

[0120] Fourth, a fine-grained data security defense line with permission awareness is constructed at the underlying layer of multi-agent interaction. In existing enterprise-level retrieval enhancement generation systems, due to the inability to achieve information filtering at the text block level, agents are easily turned into backdoors for rampant privilege abuse, triggering serious compliance crises. This application's embodiment constructs a text block index containing detailed document sources and user affiliation identifiers, and builds a block-level genealogical control flow based on the text block index. This ensures that security filtering occurs not only in the initial stage of data querying but also when each agent executes vector retrieval. Because security attributes are structurally bound to the text blocks themselves, even if the system experiences unexpected state interactions due to complex calling logic, the underlying engine can forcibly intercept any data fragments that do not match the local database retrieval scope of the current agent. Thus, within the shared large-scale model computing architecture, text block-level data confidentiality control and information security isolation are achieved.

[0121] Based on the above-described credit approval method, embodiments of this application also provide a credit approval device. The following will combine... Figure 8 The device is described in detail.

[0122] Figure 8 A block diagram of a credit approval device 800 according to an embodiment of this application is shown schematically. Figure 8 As shown, the credit approval device 800 may include a graph data acquisition module 810 and an approval module 820.

[0123] The graph data acquisition module 810 is used to respond to a credit approval request initiated by a target object for a target business, and to acquire a target directed acyclic graph corresponding to the target business. Each node in the target directed acyclic graph corresponds to a risk assessment in one dimension of the target business, and the directed edges between nodes correspond to the computational dependencies and risk transmission directions between nodes. Each node is configured with an agent to perform the risk assessment for that node. In one embodiment, the graph data acquisition module 810 can execute step S310 as described above, which will not be repeated here.

[0124] The approval module 820 is used to perform credit approval on the target object based on the target object's data, along each node in the target directed acyclic graph. In one embodiment, the approval module 820 can execute step S320 as described above, which will not be repeated here.

[0125] The approval module 820 includes a graph processing unit 821 and an approval unit 822.

[0126] The graph processing unit 821 is used to: trigger the parallel execution of agents of nodes with an in-degree of zero in the target directed acyclic graph; trigger the execution of agents of the subsequent nodes after all the agents of the preceding nodes connected by each directed edge pointing to the same subsequent node have completed their execution; and obtain a credit risk score after all the agents of the nodes in the target directed acyclic graph have completed their execution. In one embodiment, the graph processing unit 821 can execute steps S321 to S323 as described above, which will not be repeated here.

[0127] The approval unit 822 is used to determine the credit approval result for the target object based on the credit risk score. In one embodiment, the approval unit 822 may perform step S324 as described above.

[0128] Each agent is configured with its own prompt word template, tool access permissions, and large model access interface. The execution process of the agents can be referred to in the previous text. Figure 4 A detailed introduction is not required here.

[0129] For example, the credit approval device 800 may also include a visualization module and a deep traceability module.

[0130] The visualization module is used to display a visual interface of the target directed acyclic graph to the end user; to monitor the quantization output state of each node in the target directed acyclic graph; and to render the node in the visual interface according to the visual effect corresponding to the monitored quantization output state in response to the monitored output state of any node. In one embodiment, the visualization module can execute steps S710 to S730 as described above, as detailed above.

[0131] The deep source tracing module can be used to trigger a deep source tracing operation when a user interaction operation is received on any second node in the target directed acyclic graph in the visual interface. The deep source tracing operation specifically includes: traversing the target directed acyclic graph in the opposite direction of the directed edges, starting from the second node; outputting all nodes whose quantized output states are abnormal according to the traversal order, obtaining an abnormal node sequence; and obtaining risk root cause information based on the inference results of the large model called by the agents of each node in the abnormal node sequence. In one embodiment, the deep source tracing module can execute step S740 as described above, as detailed in the preceding description.

[0132] According to embodiments of this application, any multiple modules among the graph data acquisition module 810, approval module 820, visualization module, and deep traceability module can be merged into one module, or any one of these modules can be split into multiple modules. Alternatively, at least some of the functions of one or more of these modules can be combined with at least some of the functions of other modules and implemented in one module. According to embodiments of this application, at least one of the graph data acquisition module 810, approval module 820, visualization module, and deep traceability module can be at least partially implemented as a hardware circuit, such as a field-programmable gate array, programmable logic array, system-on-a-chip, system-on-a-substrate, system-on-package, application-specific integrated circuit, or any other reasonable means of integrating or packaging the circuit, or implemented in software, hardware, or firmware, or in any appropriate combination of any of these three implementation methods. Alternatively, at least one of the graph data acquisition module 810, approval module 820, visualization module, and deep traceability module can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0133] Figure 9 A block diagram schematically illustrates an electronic device suitable for implementing the credit approval method of the embodiments of this application.

[0134] like Figure 9 As shown, an electronic device 1200 according to an embodiment of this application includes a processor 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory 1202 or a program loaded from a storage portion 1208 into a random access memory 1203. The processor 1201 may include, for example, a general-purpose microprocessor, an instruction set processor and / or an associated chipset and / or a dedicated microprocessor. The processor 1201 may also include onboard memory for caching purposes. The processor 1201 may include a single processing unit or multiple processing units for executing different steps of the method flow according to an embodiment of this application.

[0135] Random access memory 1203 stores various programs and data required for the operation of electronic device 1200. Processor 1201, read-only memory 1202, and random access memory 1203 are interconnected via bus 1204. Processor 1201 executes various steps of the method flow according to embodiments of this application by executing programs in read-only memory 1202 and / or random access memory 1203. It should be noted that programs may also be stored in one or more memories other than read-only memory 1202 and random access memory 1203. Processor 1201 may also execute various steps of the method flow according to embodiments of this application by executing programs stored in one or more memories.

[0136] According to embodiments of this application, the electronic device 1200 may further include an input / output interface 1205, which is also connected to the bus 1204. The electronic device 1200 may also include one or more of the following components connected to the input / output interface 1205: an input section 1206 including a keyboard, mouse, etc.; an output section 1207 including a cathode ray tube, liquid crystal display, etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card, such as a local area network card, modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the input / output interface 1205 as needed. A removable medium 1211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1210 as needed so that computer programs read from it can be installed into the storage section 1208 as needed.

[0137] Embodiments of this application also provide a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of this application.

[0138] According to embodiments of this application, the computer-readable storage medium can be a non-volatile computer-readable storage medium, such as including but not limited to: portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof. In embodiments of this application, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this application, the computer-readable storage medium may include the read-only memory 1202, and / or random access memory 1203, and / or one or more memories other than read-only memory 1202 and random access memory 1203 described above.

[0139] Embodiments of this application also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the methods provided in the embodiments of this application.

[0140] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 1209, and / or installed from the removable medium 1211. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0141] In embodiments of this application, the computer program can be downloaded and installed from a network via communication section 1209, and / or installed from removable medium 1211. When the computer program is executed by processor 1201, it performs the functions defined in the system of this application embodiment. According to embodiments of this application, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0142] According to embodiments of this application, program code for executing the computer programs provided in the embodiments of this application can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0143] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0144] Those skilled in the art will understand that the features described in the various embodiments of this application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this application. In particular, the features described in the various embodiments of this application can be combined and / or combined in various ways without departing from the spirit and teachings of this application. All such combinations and / or combinations fall within the scope of this application.

Claims

1. A credit approval method, comprising: In response to a target object initiating a target service, a target directed acyclic graph corresponding to the target service is obtained. Each node in the target directed acyclic graph corresponds to a risk assessment in one dimension of the target service. The directed edges between nodes correspond to the computational dependencies and risk propagation directions between nodes. Each node is configured with an agent for performing the risk assessment of that node. as well as Based on the data of the target object, credit approval is performed on the target object along each node of the target directed acyclic graph, specifically including: Trigger agents at nodes with an in-degree of zero in the target directed acyclic graph to execute in parallel; When the agents of the preceding nodes connected by each directed edge pointing to the same following node have all completed their execution, the agent of the following node is triggered to execute. After all agents at each node in the target directed acyclic graph have completed their executions, a credit risk score is obtained based on the risk assessment results of each node; and Based on the credit risk score, the credit approval result for the target individual is determined; Each of the aforementioned agents is configured with a unique prompt word template, tool access permissions, and a large model access interface. The execution process of the aforementioned agents includes: A prompt word is generated based on the prompt word template and the first data input to the node configuring the agent, wherein the first data is data belonging to the target object. The large model is invoked through the large model invocation interface; The prompt words are used to instruct the large model to perform inference, wherein, during the inference process of the large model, tools are invoked according to the tool invocation instructions output by the large model and the tool invocation permissions are granted, and the processing results of the tools are fed back to the large model to assist in the inference; and After the large model inference is completed, the inference result of the large model is acquired and stored, wherein the inference result belongs to the risk assessment result.

2. The method according to claim 1, wherein, The process of credit approval for the target object based on its data, along each node in the target directed acyclic graph, further includes: The inference results of the large model are classified according to preset risk categories to obtain classification results. The preset risk categories include at least two types: normal and abnormal. The classification result is output as the quantized output state of the node configuring the agent, and the quantized output state also belongs to the risk assessment result.

3. The method according to claim 2, wherein, The method further includes: A visual interface is provided to the end user to display the target directed acyclic graph; Monitor the quantized output state of each node in the target directed acyclic graph; In response to the output of the quantized output state of any node, the node is rendered in the visual interface according to the visual effect corresponding to the quantized output state.

4. The method according to claim 3, wherein, The method further includes: When a user interaction operation is received in the visual interface for any second node in the target directed acyclic graph, a deep tracing operation is triggered. The deep tracing operation specifically includes: Starting from the second node, traverse in the opposite direction of the directed edges in the target directed acyclic graph. Output all nodes whose quantized output states are abnormal according to the traversal order to obtain the abnormal node sequence; Based on the reasoning results of the large model invoked by the agents of each node in the abnormal node sequence, the root cause information of the risk is obtained.

5. The method according to claim 4, wherein, The prompt word template is set to require the output of the large model to include index information of the evidence on which it is based. The risk root cause information obtained from the inference results of the large model called by the agent based on each node in the abnormal node sequence includes: The first node in the abnormal node sequence is determined as the initial zero point; Extract target index information from the inference results of the large model invoked by the agent at the initial zero point; Retrieve original documents from the database based on the target index information; and The inference results of the large model invoked by the agent at the initial zero point, based on the original data document, are fed back to the end user.

6. The method according to claim 1, wherein, Each of the aforementioned agents is also configured with a local database retrieval scope, wherein the execution process of the agent further includes: When the tool retrieves data from the database, it matches the local database retrieval range with the text block index of the second data to be retrieved; if a match is found, the retrieval is allowed; if a match is not found, the retrieval is rejected. After the tool successfully retrieves the second data, it processes the second data to obtain the processing result, wherein the second data belongs to the data of the target object, and the second data is stored in the database as vectorized text blocks.

7. The method according to claim 1, wherein, The step of triggering the execution of the agent of the subsequent node after all the agents of the preceding nodes connected by each directed edge pointing to the same subsequent node have completed their execution also includes the following step: before the execution of the agent of the subsequent node. The reasoning results of the large model called by the agent of the preceding node are compressed according to a preset structure to obtain a condensed summary. The preset structure includes core conclusions, confidence coefficients, and key data index information. The condensed summaries corresponding to each of the preceding nodes pointing to the same subsequent node are recombined into a business status description body with the preset structure. The business status description is included as a component of the first data and input to the subsequent node.

8. The method according to claim 7, wherein, The credit approval process for the target object along each node of the target directed acyclic graph also includes: When the large model invoked by the agent of the rear node discovers an anomaly in the data transmitted by any front node during the inference process, it generates an interruption anomaly signal and suspends the execution of the agent of the rear node. The interruption anomaly signal includes the target data content that is abnormal. Based on the matching of the target data content and the reasoning results of the large model invoked by the agents of all the preceding nodes of the following node, the abnormal preceding node is determined. This triggers the rollback and re-execution of the agent in the abnormal preceding node.

9. The method according to claim 1, wherein, The risk assessment for each node in the directed acyclic graph of the target includes at least one of the following dimensions: Macroeconomic industry trend assessment, capital structure health assessment, and background investigation of core management personnel.

10. A credit approval device, comprising: The graph data acquisition module is used to respond to a credit approval request initiated by a target object for a target business, and to acquire a target directed acyclic graph corresponding to the target business. Each node in the target directed acyclic graph corresponds to a risk assessment in one dimension of the target business, and the directed edges between nodes correspond to the computational dependencies and risk transmission directions between nodes. Each node is configured with an agent for performing the risk assessment of that node. as well as The approval module is used to perform credit approval on the target object based on the target object's data and along each node in the target directed acyclic graph. The approval module includes: The graph processing unit is configured to: trigger the parallel execution of agents at nodes with an in-degree of zero in the target directed acyclic graph; trigger the execution of the agent at the subsequent node after all agents at the preceding nodes connected by directed edges pointing to the same subsequent node have completed their execution; and obtain a credit risk score based on the risk assessment results of each node after all agents at each node in the target directed acyclic graph have completed their execution; and An approval unit is used to determine the credit approval result for the target object based on the credit risk score; Each of the aforementioned agents is configured with a unique prompt word template, tool access permissions, and a large model access interface. The execution process of the aforementioned agents includes: A prompt word is generated based on the prompt word template and the first data input to the node configuring the agent, wherein the first data is data belonging to the target object. The large model is invoked through the large model invocation interface; The prompt words are used to instruct the large model to perform inference, wherein, during the inference process of the large model, tools are invoked according to the tool invocation instructions output by the large model and the tool invocation permissions are granted, and the processing results of the tools are fed back to the large model to assist in the inference; and After the large model inference is completed, the inference result of the large model is acquired and stored, wherein the inference result belongs to the risk assessment result.

11. An electronic device, comprising: One or more processors; Memory, used to store one or more computer programs. The one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program or instructions stored thereon, wherein, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 9.

13. A computer program product comprising a computer program or instructions, wherein, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 9.