Resource information display method and device, equipment, medium and product
By displaying the full life cycle resource relationship map of the AI model, the complex problems of resource management and traceability in AI model applications are solved, and the efficiency and accuracy of model risk management are improved.
Patent Information
- Application Number
- CN202411320518.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-20
AI Technical Summary
AI models have model risks during application, and the existing technology has weak capabilities in resource management and traceability, resulting in incomplete and complex risk management.
Provide a resource information display method, which displays the relationship map of the AI model's full life cycle related resources on the page, including central nodes and associated nodes, to represent the reference relationship between resources, so as to facilitate viewing and managing model resources from a global perspective.
It improves the efficiency of model resources management and traceability, enhances the comprehensiveness, timeliness and accuracy of model risk management, and helps identify and evaluate model risks.
Smart Images

Figure CN119166707A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to technical fields such as resource management and risk management of artificial intelligence models. Background Art
[0002] With the delivery of AI (Artificial Intelligence) models in various industries, customers are applying AI models at an increasingly high level.
[0003] AI models may have model risks during their application, mainly including risks caused by problems with the model itself and risks generated during the use of the model, such as adverse consequences for decision-making based on incorrect model outputs or misuse of model outputs. At present, the management awareness and ability of relevant technologies for risks generated by AI models in applications are still relatively weak. At the same time, the risk management construction of AI models involves the overall planning and construction of systems, processes and functions. AI models involve a large number of different types of related resources at various stages of their life cycle. Resource management and traceability are complex, which is not conducive to effective model risk management. Summary of the invention
[0004] The present invention provides a resource information display method, device, equipment and storage medium.
[0005] According to one aspect of the present disclosure, a resource information display method is provided, comprising:
[0006] Receiving a relationship graph viewing operation for a target resource based on a preset page, wherein the target resource is a model resource in a preset resource library, and the preset resource library includes model resources of multiple preset resource types related to the full life cycle of each preset model in the preset model library;
[0007] The resource relationship graph corresponding to the target resource is displayed in the graph display page, wherein the resource relationship graph corresponding to the target resource includes multiple nodes and connections between nodes, the multiple nodes include a central node and associated nodes, the central node is used to represent the target resource, the associated node is used to represent the model resource in the preset resource library that has a reference relationship with the target resource, and the connections between nodes are used to represent the reference relationship.
[0008] According to another aspect of the present disclosure, there is provided a resource information display device, comprising:
[0009] A viewing operation receiving module, configured to receive a relationship graph viewing operation for a target resource based on a preset page, wherein the target resource is a model resource in a preset resource library, and the preset resource library includes model resources of multiple preset resource types related to the full life cycle of each preset model in the preset model library;
[0010] A graph display module is used to display a resource relationship graph corresponding to the target resource in a graph display page, wherein the resource relationship graph corresponding to the target resource includes multiple nodes and connections between nodes, the multiple nodes include a central node and associated nodes, the central node is used to represent the target resource, the associated node is used to represent a model resource in the preset resource library that has a reference relationship with the target resource, and the connections between nodes are used to represent the reference relationship.
[0011] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0012] at least one processor; and
[0013] a memory communicatively connected to the at least one processor; wherein,
[0014] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the embodiment of the present disclosure.
[0015] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the embodiment of the present disclosure.
[0016] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.
[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0019] Figure 1 is a flow chart of a resource information display method provided according to an embodiment of the present disclosure;
[0020] Figure 2is a flowchart of another resource information display method provided according to an embodiment of the present disclosure;
[0021] Figure 3 is a schematic diagram of an interface interaction provided according to an embodiment of the present disclosure;
[0022] Figure 4 is a flowchart of another resource information display method provided according to an embodiment of the present disclosure;
[0023] Figure 5 It is a structural schematic diagram of a resource information display device provided according to an embodiment of the present disclosure;
[0024] Figure 6 It is a block diagram of an electronic device used to implement the resource information display method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0026] Figure 1 This is a flowchart of a resource information display method provided according to an embodiment of the present disclosure. The embodiment of the present disclosure can be applied to the situation where information about resources related to the entire life cycle of an AI model is managed and displayed. The method can be executed by a resource information display device, which can be implemented in hardware and / or software and can be configured in an electronic device. The electronic device can be configured as a client of a model risk management platform for an AI model. Figure 1 , the method specifically includes the following:
[0027] S101, receiving a relationship graph viewing operation for a target resource based on a preset page, wherein the target resource is a model resource in a preset resource library, and the preset resource library includes model resources of multiple preset resource types related to the full life cycle of each preset model in the preset model library;
[0028] S102. Display a resource relationship graph corresponding to the target resource in a graph display page, wherein the resource relationship graph corresponding to the target resource includes a plurality of nodes and connections between nodes, the plurality of nodes include a central node and associated nodes, the central node is used to represent the target resource, the associated node is used to represent a model resource in the preset resource library that has a reference relationship with the target resource, and the connections between nodes are used to represent the reference relationship.
[0029] Among them, the page in the embodiment of the present disclosure can be an application page or a web page corresponding to a preset client, etc., and is not specifically limited. The preset client is a client running in an electronic device, which can be a preset application or a web client. The preset client can specifically be a client of the model risk management platform of the AI model. The model risk management platform can have model approval function, model risk verification function, model risk monitoring function, model resource management function, etc., and multiple functions can cooperate with each other to realize model risk management.
[0030] Exemplarily, the preset model library can be a model library of models managed in the model risk management platform, and the model can be an AI model, specifically a data analysis model, for example, a quantitative method or strategy constructed by analyzing and mining internal and external input data using algorithms such as machine learning or deep learning to provide data decision-making services. Any AI model in the preset model library can be at any stage in the entire life cycle. The entire life cycle of a model can be understood as all the stages that a model needs to go through from generation to discontinuation of use. In an optional implementation, the entire life cycle of the model can be divided into seven stages: demand, development, verification, release, deployment, operation, and offline, corresponding to the application types of the seven types of models, according to the application type of the model configured for the model in the model risk management platform. For models imported from the outside into the model risk management platform, the stages of the entire life cycle may be less than the above seven stages, such as excluding the demand and development stages.
[0031] In the disclosed embodiments, the relevant resources involved in each stage of the AI model's life cycle are referred to as model resources, which can also be understood as a type of asset. Therefore, model resources can also be referred to as model assets. The preset resource library can be understood as a resource library that centrally manages model resources. The preset resource library includes model resources of various preset resource types related to the full life cycle of each preset model in the preset model library. The specific division method of the type of model resources is not limited.
[0032] In an optional embodiment, the preset resource type includes at least one of the following: basic components, feature tables, basic models, application models, model deployment packages, and prediction services. Thus, the model resources involved in the AI model can be more comprehensively covered and more accurately classified, thereby improving the efficiency, comprehensiveness, and accuracy of model resource management. Among them, the basic components may be the basic components used in the model development process, for example, they may include at least one of the algorithm components, feature engineering components, data processing components, statistical analysis components, and time series components. The basic model may be a basic case model, and the application model may be obtained after the basic model is trained with a training set. The application model may be, for example, a model applied to a specific business field in a specified industry, for example, it may include intelligent decision-making services in the banking industry, and it may also include autonomous driving services in the automotive industry, and the application model may include a model trained according to an application in the model risk management platform, or a model trained by the user and imported into the model risk management platform. The feature table may include feature data in the training samples used for model training. The model deployment package may be a deployment package for deploying the application model as an open service. The prediction service may be a service deployed through a model deployment package, and an access interface may be provided to the outside.
[0033] In the related art, model resources adopt a decentralized management mode, that is, different types of model resources are managed independently or even not managed by the corresponding resource service side. For example, the data used for model training is stored in the data storage service, and the application model is managed in the model center. In addition, only certain management is performed for each stage of model development. The concept of model resources is limited to the model itself, and risk management of the entire process of model development is not achieved. In the entire life cycle of the model, different model resources have upstream and downstream relationships. The resource service side generally only records the upstream and downstream relationships (that is, the direct reference relationship or the direct reference relationship) between the model resources of the upper level (that is, the referenced model resource) or the lower level (that is, the referenced model resource) of the stored model resource. Each resource service side works independently and cannot view the relationship chain of model resources from a global perspective, nor can it contact some basic resources other than the model itself, resulting in complex management and traceability of upstream and downstream resources, prone to confusion, and difficult to track the change history of the model. After the model is used, it is also difficult to timely discover problems such as performance degradation of the model, and it is impossible to warn of performance problems.
[0034] In the embodiment of the present disclosure, the reference relationship may specifically include a reference relationship and a referenced relationship, and the upstream and downstream are distinguished by the reference relationship. For example, the basic model references the basic component, the basic component is the upstream resource of the basic model, and the basic model is the upstream resource of the basic component.
[0035] Exemplarily, the preset page may be a page related to the target resource in the preset client, such as a resource details page of the target resource, or a resource list page containing a resource identifier (such as a resource name) of the target resource. The target resource may be any model resource in the preset resource library. The specific input method for viewing the relationship graph of the target resource is not limited. For example, an entry to the graph display page is displayed in the resource details page, and the relationship graph viewing operation for the target resource may be a trigger operation for the entry to the graph display page, such as a click operation.
[0036] Optionally, the graph display page and the preset page can be the same page or different pages, and the graph display page can be a subpage of the preset page, such as a tab page. The resource relationship graph corresponding to the target resource is displayed in the graph display page. Among them, the resource relationship graph can be a graph used to display the reference relationship between resources, which can also be called a resource lineage graph. The reference relationship here can include direct reference relationships, and can also include direct reference relationships and indirect reference relationships. Assuming that model resource a references model resource b, and model resource b references model resource c, then model resource a and model resource b are in a direct reference relationship, while model resource a and model resource c are in an indirect reference relationship. Reflecting direct reference relationships and indirect reference relationships in the resource relationship graph can provide a more comprehensive understanding of the reference relationship chain between model resources, which is convenient for tracking and tracing. The resource relationship map includes multiple nodes and connections between nodes. The multiple nodes include a central node and at least one associated node. The central node is used to represent the model resource as a viewing perspective. The associated node is used to represent the model resource in the preset resource library that has a reference relationship with the model resource represented by the central node. The connection between nodes is used to represent the reference relationship. The resource relationship map can be displayed in a tree structure to improve readability. Optionally, the connection between nodes can include arrows, and the direction of the arrows is used to indicate the type of reference relationship. The type of reference relationship includes a reference relationship and a referenced relationship. In the resource relationship map corresponding to the target resource, the central node is used to represent the target resource, and the associated node is used to represent the model resource in the preset resource library that has a reference relationship with the target resource.
[0037] The resource information display method provided by the embodiment of the present disclosure receives a relationship graph viewing operation for a target resource based on a preset page. The target resource is a model resource in a preset resource library. The preset resource library includes model resources of multiple preset resource types related to the full life cycle of each preset model in the preset model library. The resource relationship graph corresponding to the target resource is displayed in the graph display page. The resource relationship graph includes multiple nodes and connections between nodes. The multiple nodes include a central node and an associated node. The central node is used to represent the target resource, and the associated node is used to represent the model resource in the preset resource library that has a reference relationship with the target resource. The connection between nodes is used to represent the reference relationship. By adopting the above technical solution, the model resources of multiple preset resource types related to the full life cycle of each preset model can be displayed in the page in the form of a relationship graph, and the model resources that have a reference relationship with the target resource currently required to be viewed, so as to facilitate the comprehensive viewing of resource relationships from a global perspective, improve viewing efficiency, and facilitate the management and traceability of model resources, which is conducive to comprehensive model risk management, systematic identification and assessment of model risks, and improve the comprehensiveness, timeliness and accuracy of model risk management.
[0038] In an optional implementation, the resource relationship map is determined based on resource relationship information; the resource relationship information is determined in the following manner: from the resource service side corresponding to different preset resource types, resource data of model resources related to the entire life cycle of each preset model in the preset model library is obtained, wherein the resource data includes direct reference relationship information corresponding to the model resources; and based on the resource data, reference relationships between model resources in the preset resource library are established to obtain resource relationship information. The advantage of such a setting is that the comprehensiveness and accuracy of resource relationship information can be guaranteed, thereby ensuring the accuracy of the resource relationship map.
[0039] Optionally, based on a sliding window mechanism, resource data of model resources related to the full life cycle of each preset model in the preset model library is obtained from resource service sides corresponding to different preset resource types. The advantage of this setting is that the timeliness and accuracy of resource relationship information can be further guaranteed.
[0040] Exemplarily, resource data can be acquired and resource relationship information can be generated through the server of the model risk management platform. The resource data includes the direct reference relationship information corresponding to the model resources, and the direct reference relationship information can include the identity information of the directly referenced resource or the directly referenced resource (such as resource identification, such as resource id or resource name, etc.). For example, the resource data of model resource a can include the resource identification of the model resource directly referenced by model resource a, and can also include the resource identification of the model resource that directly references model resource a. Optionally, the resource data can also include resource information corresponding to the model resources, such as resource name, resource type, calling method, creation time, creator, approval information, and number of references, etc., so that the server of the model risk management platform can manage the model resources in the preset resource library more comprehensively, and can also facilitate the display of resource information of model resources in the page of the preset client.
[0041] Exemplarily, the above resource data is obtained through a scheduled task based on a sliding window mechanism. The length of the sliding window is not limited, and the acquisition of resource data is triggered once every preset window length, and the newly added or modified resource data within the most recent preset window length is obtained each time. For example, the acquisition of resource data is triggered once every hour, and the newly added or modified resource data within the most recent hour is obtained each time. By perceiving the change of resource update or state through the update time, it is conducive to the monitoring of resource data of state-sensitive model resources such as prediction services.
[0042] Exemplarily, direct reference relationship information used to represent direct reference relationships is extracted from the acquired resource data, and reference relationships between different model resources are established based on the direct reference relationship information to obtain resource relationship information. The resource relationship information can specifically be information in the form of a relationship network, so as to clarify the origins and development of model resources and clearly depict resource relationships.
[0043] Optionally, the resource relationship graph corresponding to the target resource is determined in the following manner: recursively query all model resources directly referenced and indirectly referenced by the target resource in the resource relationship information, determine the first type of associated nodes (equivalent to the child nodes at all levels of the central node corresponding to the target resource) based on the query results, recursively query all model resources directly referenced and indirectly referenced by the target resource in the resource relationship information, determine the second type of associated nodes (equivalent to the parent nodes at all levels of the central node corresponding to the target resource) based on the query results, establish node-to-node connections between the central node, the first type of associated nodes, and the second type of associated nodes, and obtain the resource relationship graph corresponding to the target resource.
[0044] In an optional implementation, after displaying the resource relationship map corresponding to the target resource in the map display page, it also includes: in response to a first trigger operation on a first target node in the resource relationship map corresponding to the target resource, displaying resource details of the model resource corresponding to the first target node, wherein the detail items in the resource details corresponding to model resources of different preset resource types are different. The advantage of such a setting is that after displaying the resource relationship map, the resource details of the model resources represented by the nodes therein can be quickly viewed based on the resource relationship map, thereby improving the convenience and efficiency of viewing resource details.
[0045] Exemplarily, the first target node may be any node in the resource relationship graph corresponding to the target resource, and the first trigger operation may be, for example, a click operation or a double-click operation on the first target node. The resource details of the model resource corresponding to the first target node may be displayed in an associated display area of the display position where the first target node is located, and the associated display area may be, for example, an adjacent area of the display position where the first target node is located, such as the upper area or the right area, etc.; it may also be displayed in a preset area in the graph display page, specifically, a window component may be displayed in a preset area in the graph display page, and resource details may be displayed in the window component.
[0046] For example, the specific content of the resource details is not limited, and the detail items in the resource details corresponding to the model resources of different preset resource types are different. For example, the resource details of the basic model may include the basic model name, basic model id, modeling method, basic model description, and creator name, etc.; the resource details of the application model may include the application model name, application model id, number of citations, number of deployments, approval records, and evaluation reports (such as report content summary), etc.
[0047] In an optional implementation, after displaying the resource relationship map corresponding to the target resource in the map display page, it also includes: in response to a second trigger operation for a second target node in the resource relationship map corresponding to the target resource, the map display page switches from displaying the resource relationship map corresponding to the target resource to displaying the resource relationship map corresponding to the model resource corresponding to the second target node. The advantage of this setting is that after displaying the resource relationship map, the map viewing perspective can be quickly switched based on the resource relationship map, thereby improving the switching efficiency of the resource relationship maps corresponding to different model resources with reference relationships and the convenience of viewing the resource relationship map.
[0048] Exemplarily, the second target node may be any node except the central node in the resource relationship graph corresponding to the target resource, and the second trigger operation may be, for example, a click operation or a double-click operation on the second target node, or a trigger operation (such as a click operation) on a preset control associated with the second target node. The preset control associated with the second target node may be displayed after receiving the first trigger operation on the second target node, or after receiving the fourth trigger operation (such as right-clicking the mouse) on the second target node. In the resource relationship graph corresponding to the model resource corresponding to the second target node, the central node is used to represent the model resource corresponding to the second target node, and the associated node is used to represent the model resource in the preset resource library that has a reference relationship with the model resource corresponding to the second target node.
[0049] Figure 2 This is a flowchart of another resource information display method provided according to an embodiment of the present disclosure. This embodiment is optimized based on the optional solutions in the above embodiments, and optimizes the steps of viewing resource details and switching graphs based on resource relationship graphs, which can further improve the viewing efficiency of model resources. The method may include:
[0050] S201. Receive a relationship graph viewing operation for a target resource based on a preset page.
[0051] S202. Display the resource relationship map corresponding to the target resource in the map display page.
[0052] Figure 3 is a schematic diagram of an interface interaction provided according to an embodiment of the present disclosure, such as Figure 3 As shown, a resource relationship graph 302 corresponding to the target resource is displayed in the graph display page 301. Assuming that the target resource is a basic model, the largest dot in the resource relationship graph 302 represents the central node. The basic model represented by the central node directly references 3 basic components. The basic model is referenced by 3 application models, of which 2 application models are referenced by deployment packages, and 2 deployment packages are referenced by prediction services. Among them, the associated position of each node in the resource relationship graph 302 can display the name or ID of the model resource represented, etc., which is not shown in the figure.
[0053] S203: In response to a first trigger operation on a first target node in a resource relationship graph corresponding to a target resource, display resource details of a model resource corresponding to the first target node and a preset control associated with the first target node.
[0054] like Figure 3As shown, when a user clicks on the node representing a basic component in the lower right corner of the resource relationship map 302, the node is the first target node, and a window component is displayed in the map display page 301. The resource details 303 of the basic component corresponding to the first target node and the preset control 304 associated with the first target node are displayed in the window component.
[0055] Optionally, it may also include: in response to a first trigger operation on a first target node in a resource relationship graph corresponding to the target resource, changing the display state of the resource relationship graph corresponding to the target resource, wherein the resource relationship graph after the display state is changed includes a first type of node and a second type of node, the first type of node includes the first target node and nodes directly connected to the first target node, the second type of node includes nodes in the resource relationship graph other than the first type of node, and the display style of the first type of node is different from the display style of the second type of node. In this way, the model resources corresponding to the nodes that have a direct reference relationship with the selected node can be viewed more intuitively, improving the convenience of viewing model resources.
[0056] like Figure 3 As shown, after the user clicks on the node representing a basic component in the lower right corner of the resource relationship map 302, the node and the central node are directly connected, which is a first-type node, and the remaining nodes are second-type nodes. In the resource relationship map after the display status is changed, the display style of the first-type nodes remains unchanged, while the display style of the second-type nodes is changed to a semi-transparent display style, and the specific transparency is not limited.
[0057] S204. In response to a triggering operation of a preset control associated with the first target node, the resource relationship graph corresponding to the target resource is switched to the resource relationship graph corresponding to the model resource corresponding to the first target node in the graph display page.
[0058] like Figure 3 As shown, after the user clicks the preset control 304, the resource relationship graph 302 corresponding to the target resource is switched to the resource relationship graph 305 corresponding to the basic component represented by the first target node in the graph display page 301. In the resource relationship graph 305, the largest dot represents the central node. The basic component represented by the central node is referenced by three basic models, of which one basic model is referenced by three application models, two application models are referenced by deployment packages, and two deployment packages are referenced by prediction services.
[0059] The resource information display method provided by the embodiment of the present disclosure can display the model resources of multiple preset resource types related to the entire life cycle of each preset model in the form of a relationship graph on the page, and the model resources that have a reference relationship with the target resource currently to be viewed, so as to facilitate comprehensive viewing of resource relationships from a global perspective and improve viewing efficiency. After displaying the resource relationship graph, it also supports quick viewing of resource details of the model resources represented by the nodes therein and switching of the graph viewing perspective based on the resource relationship graph, thereby improving the convenience and efficiency of viewing information related to the model resource, further improving the comprehensiveness, timeliness and accuracy of model resource management and traceability, and improving the performance of the model risk management platform.
[0060] In an optional implementation, it also includes: displaying model resource overview information and / or model resource list corresponding to each preset resource type in the preset resource library on the resource display page; wherein the model resource overview information includes statistical information of model resources corresponding to the preset resource type; the model resource list includes resource information of each model resource corresponding to the preset resource type. The advantage of this setting is that model resource related information can be viewed from a richer dimension, further improving viewing efficiency, and improving the comprehensiveness, timeliness and accuracy of model risk management.
[0061] Figure 4 This is a flowchart of another resource information display method provided according to an embodiment of the present disclosure. This embodiment is optimized based on the optional solutions in the above embodiments, and adds relevant steps for importing new model resources, which can improve the flexibility and comprehensiveness of model resource management. The method may include:
[0062] S401. Displaying model resource overview information corresponding to each preset resource type in the preset resource library on a resource display page.
[0063] Exemplarily, a resource display page may include multiple tabs, each tab corresponding to a preset resource type, and the display of model resource overview information corresponding to different preset resource types is switched by triggering the tabs.
[0064] The model resource overview information includes statistical information of the model resources corresponding to the preset resource type, and the statistical items in the statistical information corresponding to different preset resource types may be different. Exemplarily, the statistical items may include the total number of model resources, the classified statistical number (e.g., there are many types of basic components, the statistical number of each type of basic components may be included; for example, the prediction service may be in different states, the statistical number of the prediction service in each state may be included), and the total number of citations, etc., and may also include ranking information and / or proportion information of the classified statistical number, etc.
[0065] S402: In response to a list viewing operation for a target preset resource type, a model resource list corresponding to the target preset resource type is displayed.
[0066] Exemplarily, the target preset resource type can be any preset resource type, and the list viewing operation for the target preset resource type can be, for example, a trigger operation for the statistical information of the target preset resource type, for example, the total number of clicks in the statistical information. Optionally, in the resource display page, the display of the model resource overview information corresponding to the target preset resource type is switched to the display of the model resource list corresponding to the target preset resource type. Among them, the model resource list includes the resource information of each model resource corresponding to the preset resource type, and the content contained in the resource information is not limited, and reference may be made to the relevant description above.
[0067] S403: In response to a relationship graph viewing operation for a target resource in the model resource list, a resource relationship graph corresponding to the target resource is displayed on a graph display page.
[0068] Exemplarily, the model resource list includes multiple resource information entries, each resource information entry corresponds to a model resource. This step can be, for example, in response to a trigger operation (such as a click operation) on a target resource in the model resource list, displaying a preset page, displaying a resource details page label and a relationship map page label in the preset page, wherein the details page label is in a selected state, displaying resource details of the target resource in the preset page, and in response to a trigger operation (such as a click operation) on the relationship map page label, the relationship map page label switches to a selected state, and displaying a resource relationship map corresponding to the target resource in the map display page (the label of the preset page).
[0069] S404: In response to a third trigger operation on a third target node in the resource relationship graph corresponding to the target resource, display a setting page for a newly added model resource.
[0070] Exemplarily, the third target node may be any node in the resource relationship graph corresponding to the target resource, and the third trigger operation may be, for example, a click operation, a double-click operation, or a right-click operation of the mouse on the first target node. For example, in response to a right-click operation of the mouse on the third target node, an operation option list is displayed, the operation option list includes a new resource option, and in response to a trigger operation on the new resource option, a setting page for the new model resource is displayed.
[0071] S405: Receive a setting operation for the newly added model resource based on the setting page.
[0072] Exemplarily, basic information and type of the newly added model resource can be set based on the setting page, that is, the setting operation includes a basic information setting operation and a type setting operation.
[0073] S406. Add the newly added model resource to the preset resource library according to the setting operation, and establish a reference relationship between the newly added model resource and the existing model resource, wherein the existing model resource includes the model resource represented by the third target node.
[0074] Exemplarily, the operation information corresponding to the setting operation can be sent to the server of the model risk management platform, and the server can add new model resources to the preset resource library according to the operation information, and establish a reference relationship between the new model resources and the existing model resources to update the resource relationship information. Subsequently, the associated node corresponding to the new model resource can be added to the resource relationship map corresponding to the target resource, as well as the node connection between the associated node and other nodes in the resource relationship map.
[0075] Exemplarily, the third target node represents a basic model, and after the user trains the basic model with his own training set, he obtains an application model, imports the application model into the model risk management platform as a new model resource, and establishes a reference relationship between the application model and the basic model used as the training basis.
[0076] The resource information display method provided by the embodiment of the present disclosure can display on the page the overview information of model resources of multiple preset resource types related to the entire life cycle of each preset model, a resource list, and model resources that have a reference relationship with the target resource currently to be viewed in the form of a relationship map, so as to facilitate comprehensive viewing of resource relationships from a global perspective and improve viewing efficiency. In addition, it supports users to import model resources independently and establish a reference relationship between the imported model resources and the existing model resources, so as to more comprehensively and flexibly manage and trace model resources from different sources, thereby facilitating comprehensive model risk management and further improving the comprehensiveness, timeliness and accuracy of model risk management.
[0077] Figure 5 This is a schematic diagram of the structure of a resource information display device provided according to an embodiment of the present disclosure. The embodiment of the present disclosure can be applied to the situation of managing and displaying information of related resources throughout the life cycle of an AI model. The device can be implemented in hardware and / or software and can be configured in an electronic device. Figure 5 , the resource information display device 500 comprises:
[0078] A viewing operation receiving module 501 is used to receive a relationship graph viewing operation for a target resource based on a preset page, wherein the target resource is a model resource in a preset resource library, and the preset resource library includes model resources of multiple preset resource types related to the full life cycle of each preset model in the preset model library;
[0079] The graph display module 502 is used to display the resource relationship graph corresponding to the target resource in the graph display page, wherein the resource relationship graph corresponding to the target resource includes multiple nodes and connections between nodes, the multiple nodes include a central node and associated nodes, the central node is used to represent the target resource, the associated node is used to represent the model resource in the preset resource library that has a reference relationship with the target resource, and the connection between nodes is used to represent the reference relationship.
[0080] The resource information display device provided by the embodiment of the present disclosure can display the model resources of multiple preset resource types related to the entire life cycle of each preset model in the form of a relationship map on the page, and the model resources that have a reference relationship with the target resource currently required to be viewed, so as to facilitate comprehensive viewing of resource relationships from a global perspective, improve viewing efficiency, facilitate management and traceability of model resources, and thus facilitate comprehensive model risk management, systematic identification and assessment of model risks, and improve the comprehensiveness, timeliness and accuracy of model risk management.
[0081] In an optional implementation, the resource relationship map is determined based on resource relationship information; the resource relationship information is determined in the following manner: based on a sliding window mechanism, resource data of model resources related to the entire life cycle of each preset model in the preset model library is obtained from resource service sides corresponding to different preset resource types, wherein the resource data includes direct reference relationship information corresponding to the model resources; a reference relationship between each model resource in the preset resource library is established based on the resource data to obtain resource relationship information.
[0082] In an optional embodiment, it also includes: a resource details display module, which is used to display the resource relationship map corresponding to the target resource in the map display page, and then, in response to a first trigger operation on the first target node in the resource relationship map corresponding to the target resource, display the resource details of the model resource corresponding to the first target node, wherein the detail items in the resource details corresponding to the model resources of different preset resource types are different.
[0083] In an optional embodiment, it also includes: a graph switching module, which is used to, after displaying the resource relationship graph corresponding to the target resource in the graph display page, switch from displaying the resource relationship graph corresponding to the target resource to displaying the resource relationship graph corresponding to the model resource corresponding to the second target node in the resource relationship graph corresponding to the target resource in the graph display page in response to a second trigger operation on the second target node in the resource relationship graph corresponding to the target resource.
[0084] In an optional implementation, it also includes:
[0085] A setting page display module is used to display a setting page of a newly added model resource in response to a third trigger operation on a third target node in the resource relationship graph corresponding to the target resource after displaying the resource relationship graph corresponding to the target resource in the graph display page;
[0086] A setting operation receiving module, used for receiving a setting operation for the newly added model resource based on the setting page;
[0087] A resource adding module is used to add the newly added model resource in the preset resource library according to the setting operation, and establish a reference relationship between the newly added model resource and the existing model resource, wherein the existing model resource includes the model resource represented by the third target node.
[0088] In an optional embodiment, it also includes: an information display module, which is used to display the model resource overview information and / or model resource list corresponding to each preset resource type in the preset resource library in the resource display page; wherein the model resource overview information includes statistical information of the model resources corresponding to the preset resource type; and the model resource list includes resource information of each model resource corresponding to the preset resource type.
[0089] In an optional implementation, a model risk management platform is applied to an artificial intelligence (AI) model; the preset resource types include at least one of the following: basic components, feature tables, basic models, application models, model deployment packages, and prediction services.
[0090] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0091] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0092] Figure 6A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0093] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0094] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0095] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the resource information display method. For example, in some embodiments, the resource information display method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the resource information display method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the resource information display method in any other appropriate manner (e.g., by means of firmware).
[0096] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0097] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0098] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0099] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0100] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0101] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services. The server may also be a server of a distributed system, or a server combined with a blockchain.
[0102] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, machine learning / deep learning technology, big data processing technology, knowledge graph technology, and other major directions.
[0103] Cloud computing refers to a technology system that uses network access to elastically scalable shared physical or virtual resource pools. Resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on demand and in a self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for technical applications such as artificial intelligence and blockchain, as well as model training.
[0104] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution provided by this disclosure can be achieved, and this document does not limit this.
[0105] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A resource information display method, comprising: Receiving a relationship graph viewing operation for a target resource based on a preset page, wherein the target resource is a model resource in a preset resource library, and the preset resource library includes model resources of multiple preset resource types related to the full life cycle of each preset model in the preset model library; The resource relationship graph corresponding to the target resource is displayed in the graph display page, wherein the resource relationship graph corresponding to the target resource includes multiple nodes and connections between nodes, the multiple nodes include a central node and associated nodes, the central node is used to represent the target resource, the associated node is used to represent the model resource in the preset resource library that has a reference relationship with the target resource, and the connections between nodes are used to represent the reference relationship.
2. The method according to claim 1, wherein: The resource relationship graph is determined according to the resource relationship information; the resource relationship information is determined in the following manner: Based on the sliding window mechanism, resource data of model resources related to the full life cycle of each preset model in the preset model library is obtained from the resource service sides corresponding to different preset resource types, wherein the resource data includes direct reference relationship information corresponding to the corresponding model resources; A reference relationship between each model resource in the preset resource library is established according to the resource data to obtain resource relationship information.
3. The method according to claim 1, after displaying the resource relationship map corresponding to the target resource in the map display page, further comprises: In response to a first trigger operation on a first target node in the resource relationship graph corresponding to the target resource, resource details of the model resource corresponding to the first target node are displayed, wherein the detail items in the resource details corresponding to model resources of different preset resource types are different.
4. The method according to claim 1, after displaying the resource relationship map corresponding to the target resource in the map display page, further comprises: In response to a second trigger operation on a second target node in the resource relationship graph corresponding to the target resource, the graph display page switches from displaying the resource relationship graph corresponding to the target resource to displaying the resource relationship graph corresponding to the model resource corresponding to the second target node.
5. The method according to claim 1, after displaying the resource relationship map corresponding to the target resource in the map display page, further comprises: In response to a third trigger operation on a third target node in the resource relationship graph corresponding to the target resource, displaying a setting page for a newly added model resource; Receiving a setting operation for the newly added model resource based on the setting page; According to the setting operation, the newly added model resource is added to the preset resource library, and a reference relationship between the newly added model resource and the existing model resource is established, wherein the existing model resource includes the model resource represented by the third target node.
6. The method according to claim 1, further comprising: Displaying model resource overview information and / or model resource lists corresponding to each preset resource type in the preset resource library on the resource display page; The model resource overview information includes statistical information of model resources corresponding to the preset resource type; and the model resource list includes resource information of each model resource corresponding to the preset resource type.
7. The method according to any one of claims 1 to 6 is applied to a model risk management platform of an artificial intelligence (AI) model; the preset resource types include at least one of the following: basic components, feature tables, basic models, application models, model deployment packages, and prediction services.
8. A resource information display device, comprising: A viewing operation receiving module, configured to receive a relationship graph viewing operation for a target resource based on a preset page, wherein the target resource is a model resource in a preset resource library, and the preset resource library includes model resources of multiple preset resource types related to the full life cycle of each preset model in the preset model library; A graph display module is used to display a resource relationship graph corresponding to the target resource in a graph display page, wherein the resource relationship graph corresponding to the target resource includes multiple nodes and connections between nodes, the multiple nodes include a central node and associated nodes, the central node is used to represent the target resource, the associated node is used to represent a model resource in the preset resource library that has a reference relationship with the target resource, and the connections between nodes are used to represent the reference relationship.
9. The device according to claim 8, wherein: The resource relationship graph is determined according to the resource relationship information; the resource relationship information is determined in the following manner: Based on the sliding window mechanism, resource data of model resources related to the full life cycle of each preset model in the preset model library is obtained from the resource service sides corresponding to different preset resource types, wherein the resource data includes direct reference relationship information corresponding to the corresponding model resources; A reference relationship between each model resource in the preset resource library is established according to the resource data to obtain resource relationship information.
10. The apparatus according to claim 8, further comprising: A resource details display module is used to display the resource relationship map corresponding to the target resource in the map display page, and then, in response to a first trigger operation on the first target node in the resource relationship map corresponding to the target resource, display the resource details of the model resource corresponding to the first target node, wherein the detail items in the resource details corresponding to the model resources of different preset resource types are different.
11. The apparatus according to claim 8, further comprising: A graph switching module is used to, after displaying the resource relationship graph corresponding to the target resource in the graph display page, switch in response to a second trigger operation on a second target node in the resource relationship graph corresponding to the target resource to displaying the resource relationship graph corresponding to the model resource corresponding to the second target node in the graph display page.
12. The apparatus according to claim 8, further comprising: A setting page display module is used to display a setting page of a newly added model resource in response to a third trigger operation on a third target node in the resource relationship graph corresponding to the target resource after displaying the resource relationship graph corresponding to the target resource in the graph display page; A setting operation receiving module, used for receiving a setting operation for the newly added model resource based on the setting page; A resource adding module is used to add the newly added model resource in the preset resource library according to the setting operation, and establish a reference relationship between the newly added model resource and the existing model resource, wherein the existing model resource includes the model resource represented by the third target node.
13. The apparatus according to claim 8, further comprising: An information display module, used to display model resource overview information and / or model resource lists corresponding to each preset resource type in the preset resource library on a resource display page; The model resource overview information includes statistical information of model resources corresponding to the preset resource type; and the model resource list includes resource information of each model resource corresponding to the preset resource type.
14. The device according to any one of claims 8-13 is applied to a model risk management platform of an artificial intelligence (AI) model; the preset resource types include at least one of the following: basic components, feature tables, basic models, application models, model deployment packages, and prediction services.
15. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.
17. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
