Systems and methods for monitoring compliance of artificial intelligence models using an observer model

By employing an observer model with a probabilistic graphical model to analyze and explain the behavior of AI models, the complexity and opacity of these models are addressed, improving their compliance and transparency in real-world applications.

WO2025072095A1PCT designated stage expired Publication Date: 2025-04-03CITIBANK N A
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/US2024/048007
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-29
Filing Date
2024-09-23
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

Existing artificial intelligence models, particularly deep learning models, are complex and opaque, making it difficult to understand how they process data and make decisions, which hinders their compliance with rules and regulations in real-world applications.

Method used

The use of an observer model, specifically a probabilistic graphical model, to provide insights into how a given AI model processes and interprets data, and to determine the graphical characteristics of the model, allowing for validation against compliance requirements without affecting the model's runtime.

Benefits of technology

This approach enhances the transparency and compliance of AI models by providing meaningful explanations of their decisions and allowing for continuous monitoring and improvement of the models' performance and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2024048007_03042025_PF_FP_ABST
    Figure US2024048007_03042025_PF_FP_ABST
Patent Text Reader

Abstract

Systems and methods for uses and / or improvements to artificial intelligence applications. As one example, systems and methods for providing insights into how a given model processes and interprets data as well as the variables, parameters, and / or other determinations that are used to generate results using an observer model. The systems and methods may then compare the insights provided by the observer model to one or more criteria to validate the given model and / or its results against one or more rules, regulations, and / or other requirements, or to retrain the given model.
Need to check novelty before this filing date? Find Prior Art

Description

SYSTEMS AND METHODS FOR MONITORING COMPLIANCE OF ARTIFICIAL INTELLIGENCE MODELSUSING AN OBSERVER MODELCROSS-REFERENCE TO RELATED APPLICATION(S)

[0001] This application claims the benefit of priority of U.S. Patent Application No. 18 / 478,557, filed September 29, 2023. The content of the foregoing application is incorporated herein in its entirety by reference.BACKGROUND

[0002] Artificial intelligence, including, but not limited to, machine learning, deep learning, etc. (models of which are referred to collectively herein as “artificial intelligence models,” “machine learning models,” or simply “models”), has excited the imaginations of both the industry enthusiastic and the public at large. Broadly described, artificial intelligence refers to a wide- ranging branch of computer science concerned with building smart machines capable of performing tasks that typically require human intelligence. Key benefits of artificial intelligence are its ability to process data, find underlying patterns, and / or perform real-time determinations. Given these benefits, the imagined applications for this technology seem endless.

[0003] However, despite these benefits and despite the wide-ranging number of potential uses, practical implementations of artificial intelligence have been hindered by several technical problems. For example, many models, especially deep learning models, have complex architectures with numerous layers, parameters, and / or high-dimensionality. This complexity makes it difficult to understand how the model processes and transforms input data. To further complicate this issue, many models rely on non-linear functions, which means that small changes in input data can lead to significant changes in output predictions. This makes it challenging to predict how the model will behave in different scenarios. Finally, some models, such as deep neural networks, are often described as opaque “black boxes” because it would be extremely challenging for humans to interpret and understand how the model reasons and arrives at its decisions. In such models, the system may learn patterns and features from data, but it may not be clear which specific features are driving the predictions. This becomes more problematic as artificial intelligence gets more advanced. These technical problems present an inherent problem with attempting to use anartificial intelligence-based solution in applications in which the processes and decisions used to generate a recommendation must themselves conform to rules, regulations, and / or other requirements that they perform safely and predictably prior to, and during, real -world deployment. Providing comprehensive explainability at the human level can drive trade-offs with performance that potentially slow down or reduce Al system capabilities.SUMMARY

[0004] Systems and methods are described herein for novel uses and / or improvements to artificial intelligence applications. As one example, systems and methods are described herein for providing insights into how a given model processes and interprets data as well as the variables, parameters, and / or other determinations that are used to generate results using an observer model. The systems and methods may then compare the insights provided by the observer model to one or more criteria to validate the given model and / or its results against one or more rules, regulations, and / or other requirements.

[0005] In view of the aforementioned technical problems regarding artificial intelligence “black boxes,” existing systems have turned to explainable artificial intelligence (XAI). XAI refers to the set of techniques and methodologies used to make artificial intelligence and machine learning models more transparent and understandable to humans. XAI techniques typically involve performing a feature importance analysis in which an importance score is attributed to a feature or variable in the model by performing one or more permutations on a given feature (e.g., iteratively measuring how a model’s performance deteriorates as a value of a test feature is randomly shuffled during each iteration). However, conventional methods of XAI involve numerous technical limitations.

[0006] For example, while conventional XAI techniques may determine the importance of a given parameter (or other unknown characteristic) in a result, many models, such as deep neural networks, are highly complex and consist of millions or even billions of parameters. This complexity can make it challenging to provide meaningful and concise explanations (or importance values attributes to a given parameter) for their decisions as well as do so in a required amount of time and / or with a required allotment of computing resources. As such, there is a tradeoff between the performance of models (e.g., how complex, how many parameters may be used, speed of throughput, representation learning, etc.) and their explainability. While simpler modelsmay be more interpretable, these models may not achieve the same level of accuracy as more complex counterparts. Additionally, XAI techniques are post hoc, meaning they explain decisions after the fact and after a given model has been run. This is particularly problematic for complex models that may require hours or days to run as well as models that may be continuously run (e.g., based on streaming data inputs).

[0007] In view of the numerous technical limitations of conventional XAI, the systems and methods here represent a departure from the conventional permutation-based and feature-specific XAI methods discussed above. Instead, the systems and methods use an observer model to provide insights into how a given model processes and interprets data as well as the variables, parameters, and / or other determinations that are used to generate results (e.g., unknown characteristics of the given model). The observer model may comprise a probabilistic graphical model that indicates a probability that a given node, edge, and / or weight attributed thereto is used to determine results in the given model. Furthermore, the probabilistic graphical model is model-specific as opposed to feature-specific, meaning that the results from the probabilistic graphical model indicate probabilities that the given model has certain graphical characteristics (e.g., certain characteristics related to node, edge, and / or weight attributed thereto). As the given model is not feature-specific (i.e., does not rely on permutation involving a given feature to determine importance values of the given feature in generating a specific result), the probabilistic graphical model is not limited to ad hoc analyses. Instead, the probabilistic graphical model may generate one or more results that indicate a probability that the given model comprises one or more graphical characteristics. Since these graphical characteristics remain the same as various results are determined (e.g., different inputs may generate different outputs across the given model), the probabilistic graphical model does not affect, or depend on, the given model’s run-time, allowing for the given model to remain in use and / or continuously generate results.

[0008] Furthermore, the results of the probabilistic graphical model (e.g., probabilities that the given model has certain graphical characteristics) may be used to update and / or retrain the given model. That is, the system may determine the graphical characteristics using training data for a given model that may comprise known relationships, architecture attributes, and, in some cases, aggregations of information based on individual permutation-based and feature-specific results. By doing so, the probabilistic graphical model may determine whether a given model corresponds to a required graphical characteristic (or rule, regulation, and / or other requirement correspondingto the required graphical characteristic) as well as recommend adjustments to the given model to improve the probability that the given model has the required graphical characteristic.

[0009] In some aspects, the systems and methods described herein for monitoring compliance of artificial intelligence models use an observer model. For example, the system may receive a compliance requirement for a first model, wherein the first model comprises a plurality of unknown characteristics, and wherein the plurality of unknown characteristics is used to process inputs to the first model to generate outputs. The system may generate a second model corresponding to the first model, wherein the second model comprises a probabilistic graphical model corresponding to the first model, and wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics. The system may determine a first graphical characteristic of the graphical characteristics corresponding to the compliance requirement. The system may determine a first probability of the probabilities corresponding to the first graphical characteristic. The system may compare the first probability to a threshold probability to determine whether the first model corresponds to the compliance requirements. The system may generate for display, on a user interface, a recommendation based on comparing the first probability to the threshold probability.

[0010] Various other aspects, features, and advantages of the invention will be apparent through the detailed description of the invention and the drawings attached hereto. It is also to be understood that both the foregoing general description and the following detailed description are examples and are not restrictive of the scope of the invention. As used in the specification and in the claims, the singular forms of “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. In addition, as used in the specification and the claims, the term “or” means “and / or” unless the context clearly dictates otherwise. Additionally, as used in the specification, “a portion” refers to a part of, or the entirety of (i.e., the entire portion), a given item (e.g., data) unless the context clearly dictates otherwise.BRIEF DESCRIPTION OF THE DRAWINGS

[0011] FIG. 1 shows an illustrative diagram for monitoring compliance of artificial intelligence models using an observer model, in accordance with one or more embodiments.

[0012] FIG. 2 shows an illustrative diagram for determining unknown characteristics of a model, in accordance with one or more embodiments.

[0013] FIGS. 3A-B show illustrative components for a system used to monitor compliance of artificial intelligence models, in accordance with one or more embodiments.

[0014] FIG. 4 shows a flowchart of the steps involved in monitoring compliance of artificial intelligence models, in accordance with one or more embodiments.DETAILED DESCRIPTION OF THE DRAWINGS

[0015] In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It will be appreciated, however, by those having skill in the art that the embodiments of the invention may be practiced without these specific details or with an equivalent arrangement. In other cases, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the embodiments of the invention.

[0016] FIG. 1 shows an illustrative diagram for monitoring compliance of artificial intelligence models using an observer model, in accordance with one or more embodiments. For example, as described herein, an observer model may refer to a separate or secondary model that is designed to monitor and analyze the behavior of a primary model. The purpose of an observer model is to provide insights, detect anomalies, or assess the performance and reliability of the primary model. The observer model may be used in scenarios where transparency, interpretability, or trustworthiness of artificial intelligence systems is a concern.

[0017] The observer model can continuously monitor the performance of the primary artificial intelligence model during deployment. It can track metrics such as accuracy, precision, recall, or Fl score to ensure that the model is meeting its performance objectives. Additionally or alternatively, the observer model can be trained to identify anomalous behavior in the primary model’s predictions. This can include detecting outliers, unexpected patterns, or deviations from expected behavior. Additionally or alternatively, in cases where the primary model is a complex, black-box model, the observer model can be used to provide explanations for the primary model’s decisions. The observer model can analyze the primary model’s internal representations and generate human-interpretable explanations.

[0018] Additionally or alternatively, the observer model can assess the fairness and potential bias in the decisions made by the primary model. It can identify cases where the primary model’s predictions may be unfairly biased against certain groups. Additionally or alternatively, theobserver model can test the robustness of the primary model by subjecting it to adversarial attacks or variations in input data. The observer model can assess how well the primary model performs under different conditions. Additionally or alternatively, the observer model can detect concept drift or data distribution changes that may affect the performance of the primary model over time. When drift is detected, corrective actions can be taken. Additionally or alternatively, the observer model can, in security-sensitive applications, monitor the primary model for signs of malicious or adversarial behavior. The observer model can help detect and mitigate security threats.

[0019] Additionally or alternatively, the observer model can be part of a feedback loop that provides information for model retraining or fine-tuning. When the observer detects issues, this feedback can be used to improve the primary model. Additionally or alternatively, the observer model can generate real-time alerts or notifications when it detects significant deviations or issues with the primary artificial intelligence model. This enables timely intervention and maintenance. Additionally or alternatively, the observer model can assess the quality of the data being fed into the primary model. The observer model can identify data anomalies, missing values, or inconsistencies that may affect the primary model’s performance. Additionally or alternatively, the observer model can, in regulated industries, assist in demonstrating compliance with legal and ethical standards. The observer model can provide an additional layer of accountability for the primary model.

[0020] FIG. 1 shows user interface 100. As referred to herein, a “user interface” may comprise a human-computer interaction and communication in a device, and may include display screens, keyboards, a mouse, and the appearance of a desktop. For example, a user interface may comprise a way a user interacts with an application or a website.

[0021] As referred to herein, “content” should be understood to mean an electronically consumable user asset, such as Internet content (e.g., streaming content, downloadable content, Webcasts, etc.), video clips, audio, content information, pictures, rotating images, documents, playlists, websites, articles, books, electronic books, blogs, advertisements, chat sessions, social media content, applications, games, and / or any other media or multimedia and / or combination of the same. Content may be recorded, played, displayed, or accessed by user devices, but can also be part of a live performance. Furthermore, user-generated content may include content created and / or consumed by a user. For example, user-generated content may include content created by another but consumed and / or published by the user.

[0022] The system may monitor content generated by the user to generate user profile data. As referred to herein, “a user profile” and / or “user profile data” may comprise data actively and / or passively collected about a user. For example, the user profile data may comprise content generated by the user and a user characteristic for the user. A user profile may comprise content consumed and / or created by a user.

[0023] JSQ profile data may also include a user characteristic. As referred to herein, “a user characteristic” may include information about a user and / or information included in a directory of stored user settings, preferences, and information for the user. For example, a user profile may have the settings for the user’s installed programs and operating system. In some embodiments, the user profile may be a visual display of personal data associated with a specific user, or a customized desktop environment. In some embodiments, the user profile may be a digital representation of a person’s identity. The data in the user profile may be generated based on active or passive monitoring by the system.

[0024] As shown in FIG. 1, the system may process data of a first model to generate a result 108. In some embodiments, the data may comprise time-series data. As described herein, “time-series data” may include a sequence of data points that occur in successive order over some period of time. In some embodiments, time-series data may be contrasted with cross-sectional data, which captures a point in time. A time series can be taken on any variable that changes over time. The system may use a time series to track the variable (e.g., price) of an asset (e.g., security) over time. This tracking can occur over the short term, such as the price of a security on the hour over the course of a business day, or the long term, such as the price of a security at close on the last day of every month over the course of five years. The system may generate a time-series analysis. For example, a time-series analysis may be useful to see how a given asset, security, or economic variable changes over time. It can also be used to examine how the changes associated with the chosen data point compare to shifts in other variables over the same time period. For example, with regard to retail loss, the system may receive time-series data for the various sub-segments indicating daily values for theft, product returns, etc.

[0025] The system may receive, via a user interface, a first user request to perform a compliance test on a first model. As described herein, a compliance test may comprise a test on a model that is designed to evaluate whether the model and its associated processes adhere to a set of predefined compliance requirements, standards, and / or regulations. These tests are performed to ensure thatthe model meets ethical, legal, security, privacy, fairness, and / or other criteria that are relevant to its intended use. Compliance tests are essential for assessing whether a model is developed and deployed in a responsible and accountable manner.

[0026] The system may also receive, via the user interface, a compliance requirement, wherein the compliance requirement comprises a requirement for a threshold level of data security when processing user data through the first model. As referred to herein, a compliance requirement for models may refer to the set of rules, regulations, and / or standards that must be followed when developing, deploying, and using artificial intelligence systems. These requirements may be established to ensure that systems are ethical, fair, secure, and / or transparent. Compliance requirements can vary depending on the industry, application, and / or jurisdiction.

[0027] In some embodiments, the compliance requirements may relate to data privacy and security. For example, compliance with data privacy laws such as the General Data Protection Regulation (GDPR) in Europe or the Health Insurance Portability and Accountability Act (HIPAA) in the United States may require models to handle personal and sensitive data in a secure and privacy-preserving manner.

[0028] In some embodiments, the compliance requirements may relate to fairness and bias mitigation. For example, to prevent discrimination and bias in models, compliance may require thorough fairness assessments and mitigation strategies. This may involve ensuring that the model’s predictions are fair and equitable across different demographic groups.

[0029] In some embodiments, the compliance requirements may relate to transparency and explainability. For example, some regulations mandate that artificial intelligence models provide explanations for their decisions, especially in critical domains like finance, healthcare, and legal. Compliance may involve using explainable artificial intelligence (XAI) techniques to make artificial intelligence models more transparent.

[0030] In some embodiments, the compliance requirements may relate to algorithmic accountability. For example, organizations may be required to establish accountability mechanisms for models, including documenting the development process, tracking model performance, and having procedures in place for addressing errors and biases.

[0031] In some embodiments, the compliance requirements may relate to accuracy and reliability. For example, models may be required to meet certain accuracy and reliability standards, especiallyin safety-critical applications. Compliance may involve rigorous testing, validation, and monitoring of model performance.

[0032] In some embodiments, the compliance requirements may relate to model versioning and auditing. For example, keeping track of model versions and maintaining an audit trail of model changes and updates may be required to ensure transparency and accountability. In some embodiments, the compliance requirements may relate to ethical considerations. For example, organizations may need to adhere to ethical guidelines and principles when developing and using models. This can include considerations related to the impact of the models on society, environment, and human rights.

[0033] In some embodiments, the compliance requirements may relate to legal and regulatory compliance. For example, compliance with industry-specific regulations, such as those in healthcare (e g., regulations of the U.S. Food and Drug Administration) or finance (e.g., regulations of the U.S. Securities and Exchange Commission), may be required to avoid legal and financial consequences. In some embodiments, the compliance requirements may relate to data governance. For example, the system may ensure the quality, integrity, and legality of the data used to train models as a compliance requirement. This involves data governance practices and data management procedures.

[0034] In some embodiments, the compliance requirements may relate to user consent and transparency. In some cases, compliance may require obtaining informed consent from users before collecting and processing their data. Transparency about data usage and artificial intelligence system capabilities is also essential. In some embodiments, the compliance requirements may relate to security. For example, models may be required to be developed and deployed with strong cybersecurity measures to prevent unauthorized access, tampering, or exploitation.

[0035] In some embodiments, the compliance requirements may relate to documentation and reporting. For example, organizations may be required to maintain detailed documentation of model development and deployment processes and report on model-related activities to regulatory authorities.

[0036] The system may generate for display, on user interface 100, a recommendation based on comparing the first probability to the threshold probability. For example, the system may generate recommendation 102. Recommendation 102 may indicate potential issues related to one or morecompliance requirements. The system may also allow a user to view additional information (e.g., information 104) related to the detected issue as well as perform additional functions (e.g., functions 106).

[0037] For example, the system may use an observer model that comprises a probabilistic graphical model that indicates a probability that a given node, edge, and / or weight attributed thereto is used to determine results in the given model. The probabilistic graphical model may be model-specific (e.g., trained specifically on the first model) as opposed to feature-specific, meaning that the results from the probabilistic graphical model indicate probabilities that the given model has certain graphical characteristics (e.g., certain characteristics related to node, edge, and / or weight attributed thereto). As the given model is not feature-specific (i.e., does not rely on permutation involving a given feature to determine importance values of the given feature in generating a specific result), the probabilistic graphical model is not limited to ad hoc analyses. Instead, the probabilistic graphical model may generate one or more results that indicate a probability that the given model comprises one or more graphical characteristics. Since these graphical characteristics remain the same as various results are determined (e.g., different inputs may generate different outputs across the given model), the probabilistic graphical model does not affect, or depend on, the given model’s run-time, allowing the given model to remain in use and / or continuously generate results.

[0038] The results of the probabilistic graphical model (e.g., probabilities that the given model has certain graphical characteristics) and / or any issues detected may be used to update and / or retrain the first model. That is, the system may determine the graphical characteristics using training data for a given model that may comprise known relationships, architecture attributes, and, in some cases, aggregations of information based on individual permutation-based and feature-specific results. By doing so, the probabilistic graphical model may determine whether a given model corresponds to a required graphical characteristic (or rule, regulation, and / or other requirement corresponding to the required graphical characteristic) as well as recommend adjustments to the given model to improve the probability that the given model has the required graphical characteristic.

[0039] FIG. 2 shows an illustrative diagram for determining unknown characteristics of a model, in accordance with one or more embodiments. For example, the first model may comprise a deep learning network (or other model) with a plurality of unknown characteristics, wherein theplurality of unknown characteristics is used to process inputs to the first model to generate outputs. For example, model 200 may comprise unknown feature 202, unknown connection 204, and / or unknown layer 206.

[0040] As described herein, the system may detect unknown characteristics of a model. For example, characteristics may include attributes, properties, and / or features that describe and / or affect the model’s behavior, capabilities, and / or performance. The specific characteristics of an artificial intelligence model can vary widely depending on its type, purpose, and complexity. For example, a model may include unknown characteristics such as variables, parameters, weights, layers, and / or other determinations (as well as characteristics therefor).

[0041] For example, unknown characteristics may include input variables (or features). Input variables may include independent variables, categorical variables, and / or numerical variables. Independent variables are the input features or attributes used to make predictions or decisions. They represent the information or data that the model takes as input. For example, in an image recognition model, the pixels of an image are independent variables. Categorical variables are discrete variables that represent categories or labels. Examples include product categories, gender, or city names. Numerical variables are continuous variables that represent quantities. They can include measurements such as temperature, age, or income. The system may read unknown characteristics and identifies the relevant variables for a domain being modeling, which become Bayesian network nodes. The system may identify the conditional dependencies between the nodes based on their logical relationships and unknown characteristics. These will form the edges between nodes. The system may define the state space for each variable (e.g., binary, discrete values, continuous values).

[0042] Unknown characteristics may also include output variables (or targets) such as dependent variables, categorical targets, and / or numerical targets. For example, dependent variables are the variables that the model aims to predict or estimate based on the input features. For example, in a weather forecasting model, the temperature for a future date is the dependent variable. Categorical targets are discrete output variables representing classes or categories. For instance, in a spam email classifier, the target variable is binary (spam or not spam). Numerical targets are continuous output variables that represent quantities. In a regression model predicting house prices, the target variable is a numerical value.

[0043] Unknown characteristics may include model parameters (e.g., learned variables) such as weights and biases as well as hyperparameters. The model parameters are weights and biases that are learned during the training process. These variables determine the relationships between input features and output predictions. They are adjusted iteratively to minimize the model’s prediction error. Hyperparameters are settings or configurations that are not learned from data but are set before training. Examples include learning rate, batch size, and the number of layers in a neural network.

[0044] Unknown characteristics may include hidden variables (e.g., latent variables). For example, in some models, there are hidden or latent variables that are not directly observed in the data but are inferred by the model. These are often used in probabilistic models and dimensionality reduction techniques like principal component analysis (PCA) or factor analysis. Latent variables may include state variables (e.g., for recurrent models). State variables may be, in recurrent neural networks (RNNs) and sequential models, state variables that capture the model’s internal state at a particular time step. These variables allow the model to maintain memory of previous inputs and computations.

[0045] Unknown characteristics may include control variables (e.g., for decision models). Control variables represent the actions or decisions to be taken based on input data. For example, in reinforcement learning, control variables specify which action to take in a particular state.

[0046] Unknown characteristics may include auxiliary variables. Auxiliary variables may be variables that may not directly contribute to the model’s primary task but are used to assist in training or regularizing the model. Examples include dropout masks in neural networks or auxiliary loss terms. In some embodiments, the system may generate simulation engine constructs for the Bayesian network by connecting nodes and their conditional dependent variables. The system may generate a white box simulation engine that parameterizes the Bayesian network by specifying the conditional probability table for each node. The system may generate simulation engine loads with unknown characteristics and utilize probabilistic inference using the Bayesian model to identify root cause

[0047] Unknown characteristics may include environment variables. For example, in robotics and control systems, these represent variables related to the physical or simulated environment in which the model operates. They can include sensor data, motor commands, or environmental parameters.

[0048] In some embodiments, the system may utilize unknown characteristics to create what-if user questions. The system may query users questions about the variables and user beliefs, making revisions to the Bayesian network components. The system may query users review and validate questions, which are used to retrain the AGI and update the Bayesian model and / or submit feedback to retrain the AGI and reformat the Bayesian model. The system may query users for review and validation of what-if scenarios.

[0049] As shown in FIG. 2, the system may generate a second model corresponding to the first model, wherein the second model comprises a probabilistic graphical model corresponding to the first model, and wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics.

[0050] As described herein, a probabilistic graphical model may be a model for representing and reasoning about uncertainty and probabilistic relationships in complex systems, including one or more models. The probabilistic graphical model may combine elements of probability theory and graph theory to represent and solve problems involving uncertain or interrelated variables. Probabilistic graphical models are commonly used in various fields, including machine learning, artificial intelligence, statistics, and data science.

[0051] In some embodiments, the probabilistic graphical model may comprise a Bayesian network or directed graphical model. In a Bayesian network, variables are represented as nodes, and probabilistic dependencies between variables are represented as directed edges (arcs) between nodes. Each node in the Bayesian network corresponds to a random variable, and the edges represent conditional dependencies between these variables. Specifically, an edge from node A to node B indicates that B depends probabilistically on A. Bayesian networks are used for modeling cause-and-effect relationships, making predictions, and performing probabilistic inference. Conditional probability tables (CPTs) associated with each node specify the conditional probability distribution of that node given its parent nodes. Bayesian networks are particularly useful for representing and reasoning about uncertainty and probabilistic relationships in domains such as healthcare diagnosis, fraud detection, and natural language processing.

[0052] In some embodiments, the probabilistic graphical model may comprise Markov random fields (MRFs) or undirected graphical models. In a Markov random field, variables are represented as nodes, and their relationships are represented as undirected edges (edges without arrows). Markov random fields are used to model joint probability distributions over a set of variables.They capture the concept of “Markov properties” or “conditional independence” between variables. Unlike Bayesian networks, Markov random fields do not specify causal relationships explicitly but focus on capturing the probability distribution of a set of variables. Factors, which are functions of subsets of variables, define the joint probability distribution over variables. These factors are associated with edges in the graph. Markov random fields are widely used in image analysis, computer vision, and spatial modeling, where spatial or contextual dependencies between variables are important.

[0053] As shown in FIG. 2, the system may determine a plurality of graphical characteristics (e.g., node 252, node 254, edge 256, output 258 of model 250) and / or probabilities therefor. As described herein, the system may determine probabilities for graphical characteristics corresponding to a plurality of unknown characteristics. A graphical characteristic may comprise any characteristic of a probabilistic graphical model that distinguishes the probabilistic graphical model from another probabilistic graphical model. The graphical characteristics may comprise a graphical representation. For example, Bayesian networks are represented as directed acyclic graphs (DAGs). In these graphs, nodes represent random variables, and directed edges (arrows) indicate probabilistic dependencies between the variables. The absence of cycles ensures that the model can be used for efficient probabilistic inference. The graphical characteristic may comprise a conditional independence. For example, the edges in a Bayesian network encode conditional independence relationships between variables. Specifically, an edge from node A to node B means that B depends probabilistically on A, but B is conditionally independent of all other variables given A and its parents.

[0054] The graphical characteristic may comprise nodes and CPTs. For example, each node in a Bayesian network is associated with a random variable and a CPT. The CPT specifies the conditional probability distribution of the node given its parents in the graph. It quantifies how the variable’s values depend on the values of its parents. The graphical characteristic may comprise modularity associated with a portion of the probabilistic graphical model. For example, Bayesian networks may be decomposed in complex joint probability distributions into smaller, more manageable conditional probabilities. This modularity simplifies the modeling process and allows for the efficient updating of probabilities as new evidence is observed. The graphical characteristic may comprise probabilistic reasoning associated with a portion of the probabilistic graphical model. For example, Bayesian networks are used for probabilistic reasoning and inference. Theyenable calculations of posterior probabilities, conditional probabilities, and predictions based on observed evidence or data. The graphical characteristic may comprise causality modeling associated with a portion of the probabilistic graphical model. For example, Bayesian networks are well-suited for modeling causal relationships between variables. The directed edges in the graph imply causal connections, making it possible to reason about cause and effect.

[0055] The graphical characteristic may comprise evidence or observations. For example, Bayesian networks can be updated with new evidence or observations. This updating process, known as Bayesian inference, allows the model to incorporate real-world data and adjust its probabilities accordingly. The graphical characteristic may comprise missing data, explanations for their predictions and decisions (e.g., a graphical structure of the model allows users to understand the relationships between variables and trace the reasoning process), and other information from various domains, including medical diagnosis, risk assessment, natural language processing, recommendation systems, etc.

[0056] In some embodiments, the system may use a Bayesian network to run in reverse to identify potential root causes and / or upstream factors that have influenced an event or observation. For example, the system may estimate the probability distribution of the variables in a network given evidence or observations. For example, the system may determine the most likely values of certain variables based on what the system knows (or what has been defined) about other variables in the network.

[0057] The system may start with a Bayesian network that represents the relationships between variables. The network may comprise nodes (representing variables) and edges (representing probabilistic dependencies). Each node has a conditional probability distribution that describes how it depends on its parent nodes. The system may set a node representing the event / observation as “evidence” with one-hundred percent probability. The system may also identify the variable(s) for which the system wants to perform reverse inference (e.g., variables whose values need to be determined based on the evidence). The system may also gather information or evidence about one or more variables in the network. This evidence can be in the form of observed data or known values for certain variables. For example, evidence may be provided in the form of conditional probabilities or likelihoods.

[0058] The system may then run the Bayesian inference to calculate the revised probabilities propagating backwards through the network. To run the Bayesian network in reverse, the systemmay need to perform probabilistic inference. This may include enumerating all possible values of the target variable(s) while taking into account the evidence and the conditional probabilities in the network. This may be computationally expensive for large networks, so the system may also eliminate variables from the network that are not relevant to the inference task, reducing the complexity of the computation.

[0059] The system may then identify nodes with increased posterior probabilities as possible contributors or causes for investigation. For example, after performing inference, the system may obtain the posterior probability distribution for the target variable(s). This distribution represents the likelihood of different values for the target variable(s) given the observed evidence. Notably, the further back in the network, the more indirect the potential influence of that node on the event. Accordingly, the system may run an iterative process at each level of nodes.

[0060] The system may then review the conditional probability tables to assess the relative strength of connections. For example, the system may use the posterior distribution to make inferences or predictions about the target variable(s). For example, the system find the most likely value (maximum a posteriori estimation) or compute credible intervals. The system may repeat the inference process to update your estimates of the target variable(s).

[0061] In some embodiments, the system may determine a first graphical characteristic of the graphical characteristics corresponding to the compliance requirement and / or a probability thereof. The system may represent probabilities in one or more manners. For example, in situations where all outcomes are equally likely, classical probability can be used. In real-world situations, probabilities are often estimated based on observed data. The relative frequency of an event occurring in a large number of trials can be used as an estimate of its probability. The system may use subjective probability, which is based on an individual’s personal judgment or belief about the likelihood of an event. It is often used when objective data is not available. For example, the system may use conditional probability to assess the likelihood of an event “E” occurring given that another event “F” has already occurred. The system may use Bayesian probability, which combines prior information or beliefs (prior probability) with observed evidence to update the probability (posterior probability) of an event using Bayes’ theorem.

[0062] In situations involving multiple events, the probability of a combination of events can be determined by applying principles of combinatorics. For example, the system may use these principles to calculate the probability of drawing a specific sequence of cards from a deck. Forcomplex problems or situations with uncertainty, Monte Carlo simulations can be used to estimate probabilities. Simulations involve generating random samples of data to approximate probabilities. In statistics and machine learning, various models, such as logistic regression or decision trees, can be used to model and estimate probabilities based on observed data and predictor variables.

[0063] In some embodiments, the probability (or training data used to train a model to determine a probability) may be based on historical data. Historical data and records can be analyzed to estimate probabilities. For example, historical weather data can be used to estimate the probability of rainfall on a specific date.

[0064] In some embodiments, the system may compare the first probability to a threshold probability to determine whether the first model corresponds to the compliance requirements. The system may generate for display, on a user interface, a recommendation based on comparing the first probability to the threshold probability. Threshold probabilities may be used in models, particularly in classification and decision-making tasks, to make binary decisions or predictions. These thresholds may determine whether a model’s output should be classified as one class (positive) or another class (negative) based on the predicted probabilities or scores generated by the model.

[0065] Vo example, in binary classification tasks, the model may predict whether an instance belongs to one of two classes: positive (e.g., “spam”) or negative (e.g., “not spam”). The model generates a probability or score for each instance, indicating the likelihood that it belongs to the positive class. This probability can range from 0 to 1. A threshold probability is chosen to determine the classification. If the predicted probability exceeds the threshold, the instance is classified as positive; otherwise, it is classified as negative.

[0066] The threshold can be set at different values between 0 and 1, depending on the desired trade-off between true positives and false positives. Increasing the threshold tends to result in fewer false positives but more false negatives, while decreasing the threshold has the opposite effect. The threshold can be determined through various methods, such as domain expertise, costsensitive analysis, or optimization based on the specific application.

[0067] In some embodiments, the system may use a receiver operating characteristic (ROC) curve. The ROC curve is a graphical representation that helps in threshold selection. It plots the true positive rate (sensitivity) against the false positive rate (1 -specificity) at different threshold values.The threshold that provides the desired balance between true positives and false positives can be chosen based on the ROC curve.

[0068] Another consideration in threshold selection is the trade-off between precision and recall. Lowering the threshold tends to increase recall (the proportion of true positives identified) but may reduce precision (the proportion of true positives among positive predictions). In some applications, the choice of the threshold may depend on the specific requirements and consequences of false positives and false negatives. For example, in medical diagnosis, a higher threshold might be chosen to avoid false positives. In cases of class imbalance (where one class is much less frequent than the other), threshold adjustment can be used to address the imbalance. By selecting a threshold that balances precision and recall, the model can give more weight to the minority class.

[0069] In some embodiments, the system may perform Fl score optimization. The Fl score, which is the harmonic mean of precision and recall, can be used as a criterion for threshold optimization. Maximizing the Fl score helps find an optimal threshold for the given problem. In some cases, models may produce probabilities that are not well-calibrated, meaning that the predicted probabilities do not accurately reflect the true likelihood of events. Threshold calibration techniques can be used to improve the reliability of threshold-based decisions.

[0070] FIGS. 3A-B show illustrative components for a system used to monitor compliance of artificial intelligence models, in accordance with one or more embodiments. As shown in FIG. 3 A, system 300 may include model 302a, which may be a machine learning model, an artificial intelligence model, etc. Model 302a may take inputs 304a and provide outputs 306a. The inputs may include multiple datasets, such as a training dataset and a test dataset. Each of the plurality of datasets (e.g., inputs 304a) may include data subsets related to user data, predicted forecasts and / or errors, and / or actual forecasts and / or errors. In some embodiments, outputs 306a may be fed back to model 302a as input to train model 302a (e.g., alone or in conjunction with user indications of the accuracy of outputs 306a, labels associated with the inputs, or other reference feedback information). For example, the system may receive a first labeled feature input, wherein the first labeled feature input is labeled with a known prediction for the first labeled feature input. The system may then train the first model to classify the first labeled feature input with the known prediction (e.g., a probability of a graphical characteristic).

[0071] In a variety of embodiments, model 302a may update its configurations (e.g., weights, biases, or other parameters) based on the assessment of its prediction (e.g., outputs 306a) and reference feedback information (e.g., user indication of accuracy, reference labels, or other information). In a variety of embodiments, where model 302a is a neural network, connection weights may be adjusted to reconcile differences between the neural network’s prediction and reference feedback. In a further use case, one or more neurons (or nodes) of the neural network may require that their respective errors be sent backward through the neural network to facilitate the update process (e.g., backpropagation of error). Updates to the connection weights may, for example, be reflective of the magnitude of error propagated backward after a forward pass has been completed. In this way, for example, the model 302a may be trained to generate better predictions.

[0072] In some embodiments, the model (e.g., model 302a) may automatically perform actions based on outputs (e.g., outputs 306a). In some embodiments, the model (e.g., model 302a) may not perform any actions. The output of the model (e.g., model 302a) may be used to determine a probability of a graphical characteristic.

[0073] The system may generate simulation engine runs scenarios utilizing Bayesian model and generate prediction of scenario outcome. The system may read and retrain with results of scenarios, root cause analysis, and user reviews and validation. The system may generate simulation engine read real time updates of event data and provide alerts when potential outcomes exceed programmed parameters. The system may provide suggested dynamic changes to programmed parameters as event data is input. The system may aid users to test new parameters by running scenarios with real or synthetic data across the Whitebox simulation engine. The models may be continuously retrained and Bayesian networks updated and refreshed by means of data provided by Enterprise databases connected dynamically to a storage system read by the simulation engine and AGI that is designed for high-throughput ingestion, low latency reads, and scalability across large distributed data clusters.

[0074] FIG. 3B shows illustrative components for a system used to monitor compliance of artificial intelligence models, in accordance with one or more embodiments. For example, FIG. 3B may show illustrative components for an observer model. As shown in FIG. 3B, system 310 may include mobile device 322 and mobile device 324. While shown as smartphones in FIG. 3B, it should be noted that mobile device 322 and mobile device 324 may be any computing device,including, but not limited to, a laptop computer, a tablet computer, a hand-held computer, and other computer equipment (e.g., a server), including “smart,” wireless, wearable, and / or mobile devices. System 310 may also include cloud components. For example, cloud components may be implemented as a cloud computing system, and may feature one or more component devices. It should be noted that, while one or more operations are described herein as being performed by particular components of system 310, these operations may, in some embodiments, be performed by other components of system 310. As an example, while one or more operations are described herein as being performed by components of mobile device 322, these operations may, in some embodiments, be performed by cloud components. In some embodiments, the various computers and systems described herein may include one or more computing devices that are programmed to perform the described functions. Additionally, or alternatively, multiple users may interact with system 310 and / or one or more components of system 310.

[0075] With respect to the components of mobile device 322 and mobile device 324, each of these devices may receive content and data via input / output (I / O) paths. Each of these devices may also include processors and / or control circuitry to send and receive commands, requests, and other suitable data using the I / O paths. The control circuitry may comprise any suitable processing, storage, and / or I / O circuitry. Each of these devices may also include a user input interface and / or user output interface (e.g., a display) for use in receiving and displaying data. For example, as shown in FIG. 3B, both mobile device 322 and mobile device 324 include a display upon which to display data.

[0076] Additionally, as mobile device 322 and mobile device 324 are shown as touchscreen smartphones, these displays also act as user input interfaces. It should be noted that in some embodiments, the devices may have neither user input interfaces nor displays, and may instead receive and display content using another device (e.g., a dedicated display device such as a computer screen, and / or a dedicated input device such as a remote control, mouse, voice input, etc.). Additionally, the devices in system 310 may run an application (or another suitable program). / / 77 / Each of these devices may also include electronic storages. The electronic storages may include non-transitory storage media that electronically stores information. The electronic storage media of the electronic storages may include one or both of (i) system storage that is provided integrally (e.g., substantially non-removable) with servers or client devices, or (ii) removable storage that is removably connectable to the servers or client devices via, for example, a port (e.g.,a USB port, a firewire port, etc.) or a drive (e.g., a disk drive, etc.). The electronic storages may include one or more of optically readable storage media (e.g., optical disks, etc.), magnetically readable storage media (e.g., magnetic tape, magnetic hard drive, floppy drive, etc.), electrical charge-based storage media (e.g., EEPROM, RAM, etc.), solid-state storage media (e.g., flash drive, etc.), and / or other electronically readable storage media. The electronic storages may include one or more virtual storage resources (e.g., cloud storage, a virtual private network, and / or other virtual storage resources). The electronic storages may store software algorithms, information determined by the processors, information obtained from servers, information obtained from client devices, or other information that enables the functionality as described herein.

[0078] FIG. 3B also includes communication paths 328, 330, and 332. Communication paths 328, 330, and 332 may include the Internet, a mobile phone network, a mobile voice or data network (e g., a 5G or LTE network), a cable network, a public switched telephone network, or other types of communications networks or combinations of communications networks. Communication paths 328, 330, and 332 may separately or together include one or more communication paths, such as a satellite path, a fiber-optic path, a cable path, a path that supports Internet communications (e.g., IPTV), free-space connections (e.g., for broadcast or other wireless signals), or any other suitable wired or wireless communication path or combination of such paths. The computing devices may include additional communication paths linking a plurality of hardware, software, and / or firmware components operating together. For example, the computing devices may be implemented by a cloud of computing platforms operating together as the computing devices.

[0079] System 310 also includes API layer 350. API layer 350 may allow the system to generate summaries across different devices. In some embodiments, API layer 350 may be implemented on mobile device 322 or mobile device 324. Alternatively or additionally, API layer 350 may reside on one or more of cloud components API layer 350 (which may be a REST or Web services API layer) may provide a decoupled interface to data and / or functionality of one or more applications. API layer 350 may provide a common, language-agnostic way of interacting with an application. Web services APIs offer a well-defined contract, called WSDL, that describes the services in terms of its operations and the data types used to exchange information. REST APIs do not typically have this contract; instead, they are documented with client libraries for most common languages, including Ruby, Java, PHP, and JavaScript. SOAP Web services have traditionally been adoptedin the enterprise for publishing internal services, as well as for exchanging information with partners in B2B transactions.

[0080] API layer 350 may use various architectural arrangements. For example, system 310 may be partially based on API layer 350, such that there is strong adoption of SOAP and RESTful Web services, using resources like Service Repository and Developer Portal, but with low governance, standardization, and separation of concerns. Alternatively, system 310 may be fully based on API layer 350, such that separation of concerns between layers like API layer 350, services, and applications are in place.

[0081] In some embodiments, the system architecture may use a microservice approach. Such systems may use two types of layers: front-end layer and back-end layer, where microservices reside. In this kind of architecture, the role of the API layer 350 may provide integration between front-end and back-end layers. In such cases, API layer 350 may use RESTful APIs (exposition to front-end or even communication between microservices). API layer 350 may use AMQP (e.g., Kafka, RabbitMQ, etc.). API layer 350 may use incipient usage of new communications protocols such as gRPC, Thrift, etc.

[0082] In some embodiments, the system architecture may use an open API approach. In such cases, API layer 350 may use commercial or open source API platforms and their modules. API layer 350 may use a developer portal. API layer 350 may use strong security constraints applying WAF and DDoS protection, and API layer 350 may use RESTful APIs as standard for external integration.

[0083] As shown in FIG. 3B, in some embodiments, model 302b may be trained by taking inputs 304b and provide outputs 306b. Model 302b may include an artificial neural network. In such embodiments, model 302b may include an input layer and one or more hidden layers. Each neural unit of model 302b may be connected with many other neural units of model 302b. Such connections can be enforcing or inhibitory in their effect on the activation state of connected neural units. In some embodiments, each individual neural unit may have a summation function that combines the values of all of its inputs. In some embodiments, each connection (or the neural unit itself) may have a threshold function such that the signal must surpass it before it propagates to other neural units. Model 302b may be self-learning and trained, rather than explicitly programmed, and can perform significantly better in certain areas of problem solving, as compared to traditional computer programs. During training, an output layer of model 302b may correspondto a classification of model 302b, and an input known to correspond to that classification may be input into an input layer of model 302b during training. During testing, an input without a known classification may be input into the input layer, and a determined classification may be output.

[0084] In some embodiments, model 302b may include multiple layers (e.g., where a signal path traverses from front layers to back layers). In some embodiments, backpropagation techniques may be utilized by model 302b where forward stimulation is used to reset weights on the “front” neural units. In some embodiments, stimulation and inhibition for model 302b may be more free- flowing, with connections interacting in a more chaotic and complex fashion. During testing, an output layer of model 302b may indicate whether or not a given input corresponds to a classification of model 302b (e.g., a probability of a graphical characteristic).

[0085] Model 302b is shown as a convolutional neural network. A convolutional neural network consists of an input layer (e.g., input 304b), hidden layers, and an output layer (e.g., output 306b). As shown in FIG. 3B, the middle layers are called hidden because their inputs and outputs are masked by the activation function and final convolution. In a convolutional neural network, the hidden layers include layers that perform convolutions. Model 302b may comprise convolutional layers that convolve the input and pass its result to the next layer. Model 302b includes local and / or global pooling layers along with traditional convolutional layers. Pooling layers reduce the dimensions of data by combining the outputs of neuron clusters at one layer into a single neuron in the next layer. Also as shown, model 302b may comprise fully connected layers that connect every neuron in one layer to every neuron in another layer.

[0086] FIG. 4 shows a flowchart of the steps involved in monitoring compliance of artificial intelligence models, in accordance with one or more embodiments. For example, the system may use process 400 (e.g., as implemented on one or more system components described above) in order to monitor data security compliance of artificial intelligence models using an observer model. In some examples, the system may be used for Anti-Money Laundering, Fraud detection (e.g., credit card fraud), Operational risk management, and / or FRB Comprehensive Capital Analysis and Review (CCAR) and Dodd-Frank Act stress test exercises.

[0087] At step 402, process 400 (e.g., using one or more components described above) receives a compliance requirement. For example, the system may receive a compliance requirement for a first model, wherein the first model comprises a plurality of unknown characteristics, and whereinthe plurality of unknown characteristics is used to process inputs to the first model to generate outputs.

[0088] At step 404, process 400 (e.g., using one or more components described above) generates a probabilistic graphical model. For example, the system may generate a second model corresponding to the first model, wherein the second model comprises a probabilistic graphical model corresponding to the first model, and wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics. To train the probabilistic graphical model, the system may receive training data, wherein the training data is based on inputs to the first model, outputs from the first model, and known characteristics of the first model. For example, the system may train itself to determine probabilities and / or graphical characteristics for the second model that mirror, represent, and / or mimic the results for the first model.

[0089] In some embodiments, the system may determine the graphical characteristics using training data for a given model that may comprise known relationships, architecture attributes, and, in some cases, aggregations of information based on individual permutation-based and feature-specific results. For example, the system may receive Shapley values corresponding to features in the first model. The system may determine the graphical characteristics using training data for a given model that may comprise known relationships, architecture attributes, and, in some cases, aggregations of information based on individual permutation-based and feature-specific results. To compute Shapley values, the system considers all possible permutations (orderings) of the features and calculates the marginal contribution of each feature when added to the coalition of features that came before it. The system may perform this process for all possible orderings, and the contributions are averaged across all permutations.

[0090] In some embodiments, the system may receive training data, wherein the training data comprises results of a recursive feature elimination performed on the first model. The system may train the second model based on the results. For example, recursive feature elimination is an iterative method whereby features are ranked based on their importance, and the least important features are removed one by one until a desired number of features is reached.

[0091] In some embodiments, the system may receive training data, wherein the training data comprises results of least absolute shrinkage and selection operators performed on the first model. The system may train the second model based on the results. For example, least absolute shrinkageand selection operators is a linear regression technique that introduces LI regularization. As a result, some features are shrunk to zero, effectively selecting the most important ones.

[0092] In some embodiments, the system may receive training data, wherein the training data comprises permutation importance values for features in the first model. The system may aggregate the permutation importance values to generate an aggregated set. The system may train the second model based on the aggregated set. For example, the importance of a feature is calculated by measuring how much the model’s performance (e.g., accuracy, Fl score) deteriorates when the values of that feature are randomly shuffled. If a feature is crucial for the model’s predictions, shuffling the feature’s values will result in a significant drop in performance.

[0093] In some embodiments, the system may receive training data, wherein the training data comprises principal component analysis values for features in the first model. The system may aggregate the principal component analysis values to generate an aggregated set. The system may train the second model based on the aggregated set. For example, principal component analysis can be used to reduce the dimensionality of the data and identify the principal components (combinations of features) that explain the most variance in the dataset.

[0094] At step 406, process 400 (e.g., using one or more components described above) determines a graphical characteristic for the compliance requirement. For example, the system may determine a first graphical characteristic of the graphical characteristics corresponding to the compliance requirement.

[0095] In some embodiments, the system may determine similarities between graphical characteristics and compliance requirements. For example, the system may input the first compliance requirement into a database listing graphical characteristics that correspond to compliance requirements. The system may then receive an output from the database indicating that the compliance requirement corresponds to the first graphical characteristic. In some embodiments, the database may be populated based on historical data and / or data received from one or more third parties.

[0096] In some embodiments, the system may train a second model while continuing to use the first model. To do so, the system may generate a snapshot of the first model and train the second model on the snapshot. A “snapshot” of a model may refer to a saved state or representation of the model at a specific point in time. This snapshot includes the model’s architecture, learnedparameters (weights and biases), hyperparameters, and any other relevant information needed to re-create and use the model exactly as it was at the time of the snapshot.[0097 / \n some embodiments, the system may train the second model on known and unknown characteristics of the first model. For example, while the second model may be generated based on unknown characteristics, the system may also use any known characteristics to improve the performance of the first model. For example, a known characteristic may include the model’s architecture, which defines its structure and layers (e.g., neural network layers in a deep learning model), and the values of its learned parameters (weights and biases). Additionally or alternatively, the system may comprise hyperparameters. Hyperparameters are settings and configurations that are not learned from the data but are set before or during the training process. Examples include learning rates, batch sizes, dropout rates, and the number of layers in a neural network. These hyperparameters are typically saved in the snapshot to reproduce the training conditions.

[0098] In some embodiments, the system may train the second model on known and unknown characteristics of the first model. For example, while the second model may be generated based on unknown characteristics, the system may also use any known characteristics to improve the performance of the first model. For example, a known characteristic may comprise information about the model’s training history (e.g., which may be included in the snapshot). This can include training loss, validation loss, accuracy, and other metrics recorded during the training process. This information helps users understand how the model performed during training.

[0099] In some embodiments, the system may train the second model based on the differences in versions of the first model. For example, the system may receive a first version of the first model. The system may receive a second version of the first model. The system may determine a difference between the first version and the second version. The system may train the second model based on the difference. For example, by saving (and analyzing) the model state at different points in time, the system can track changes, compare model versions, and reproduce results.

[0100] In some embodiments, the system may train the second model based on a previous version of the second model. For example, the system may use transfer learning to limit the time required to train a model. For example, in transfer learning, pre-trained models are used as a starting point for training new models on related tasks. For example, snapshots of pre-trained models are used to initialize the new models, saving time and resources.

[0101] At step 408, process 400 (e.g., using one or more components described above) determines a probability for the graphical characteristic. For example, the system may determine a first probability of the probabilities corresponding to the first graphical characteristic. In some embodiments, the probability (or training data used to train a model to determine a probability) may be based on historical data. Historical data and records can be analyzed to estimate probabilities. For example, historical weather data can be used to estimate the probability of rainfall on a specific date.

[0102] At step 410, process 400 (e g., using one or more components described above) compares the probability to a threshold probability. For example, the system may compare the first probability to a threshold probability to determine whether the first model corresponds to the compliance requirements.

[0103] In some embodiments, the system may determine that multiple graphical characteristics correspond to a given compliance requirement. In such cases, the system may determine a second graphical characteristic of the graphical characteristics corresponding to the compliance requirement. The system may determine a second probability of the probabilities corresponding to the first graphical characteristic. The system may aggregate the first probability and the second probability to generate an aggregated probability. The system may compare the aggregated probability to the threshold probability.

[0104] At step 412, process 400 (e.g., using one or more components described above) determines a recommendation. For example, the system may generate for display, on a user interface, a recommendation based on comparing the first probability to the threshold probability.

[0105] It is contemplated that the steps or descriptions of FIG. 4 may be used with any other embodiment of this disclosure. In addition, the steps and descriptions described in relation to FIG. 4 may be done in alternative orders or in parallel to further the purposes of this disclosure. For example, each of these steps may be performed in any order, in parallel, or simultaneously to reduce lag or increase the speed of the system or method. Furthermore, it should be noted that any of the components, devices, or equipment discussed in relation to the figures above could be used to perform one or more of the steps in FIG. 4.

[0106] The above-described embodiments of the present disclosure are presented for purposes of illustration and not of limitation, and the present disclosure is limited only by the claims which follow. Furthermore, it should be noted that the features and limitations described in any oneembodiment may be applied to any embodiment herein, and flowcharts or examples relating to one embodiment may be combined with any other embodiment in a suitable manner, done in different orders, or done in parallel. In addition, the systems and methods described herein may be performed in real time. It should also be noted that the systems and / or methods described above may be applied to, or used in accordance with, other systems and / or methods.

[0107] The present techniques will be better understood with reference to the following enumerated embodiments:1. A method for monitoring compliance of artificial intelligence models using an observer model.2. The method of the preceding embodiment, further comprising: receiving a compliance requirement for a first model, wherein the first model comprises a plurality of unknown characteristics, and wherein the plurality of unknown characteristics is used to process inputs to the first model to generate outputs; generating a second model corresponding to the first model, wherein the second model comprises a probabilistic graphical model corresponding to the first model, and wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics; determining a first graphical characteristic of the graphical characteristics corresponding to the compliance requirement; determining a first probability of the probabilities corresponding to the first graphical characteristic; comparing the first probability to a threshold probability to determine whether the first model corresponds to the compliance requirement; and generating for display, on a user interface, a recommendation based on comparing the first probability to the threshold probability.3. The method of any one of the preceding embodiments, wherein determining the first graphical characteristic of the graphical characteristics corresponding to the compliance requirement further comprises: inputting the first compliance requirement into a database listing graphical characteristics that correspond to compliance requirements; and receiving an output from the database indicating that the compliance requirement corresponds to the first graphical characteristic.4. The method of any one of the preceding embodiments, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data is based on inputs to the first model, outputs from the first model, and known characteristics of the firstmodel; and training the second model based on the training data.5. The method of any one of the preceding embodiments, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises Shapley values for features in the first model; aggregating the Shapley values to generate an aggregated set; and training the second model based on the aggregated set.6. The method of any one of the preceding embodiments, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises results of a recursive feature elimination performed on the first model; and training the second model based on the results.7. The method of any one of the preceding embodiments, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises results of least absolute shrinkage and selection operators on the first model; and training the second model based on the results.8. The method of any one of the preceding embodiments, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises permutation importance values for features in the first model; aggregating the permutation importance values to generate an aggregated set; and training the second model based on the aggregated set.9. The method of any one of the preceding embodiments, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises principal component analysis values for features in the first model; aggregating the principal component analysis values to generate an aggregated set; and training the second model based on the aggregated set.10. The method of any one of the preceding embodiments, wherein comparing the first probability to the threshold probability to determine whether the first model corresponds to the compliance requirement further comprises: determining a second graphical characteristic of thegraphical characteristics corresponding to the compliance requirement; determining a second probability of the probabilities corresponding to the first graphical characteristic; aggregating the first probability and the second probability to generate an aggregated probability; and comparing the aggregated probability to the threshold probability.11. The method of any one of the preceding embodiments,, wherein generating the second model corresponding to the first model further comprises: generating a snapshot of the first model; and training the second model based on the snapshot of the first model.12. The method of any one of the preceding embodiments, wherein generating the second model corresponding to the first model further comprises: receiving a known characteristic of the first model; and training the second model based on the known characteristic of the first model.13. The method of any one of the preceding embodiments, wherein generating the second model corresponding to the first model further comprises: receiving a training history of the first model; and training the second model based on the training history of the first model.14. The method of any one of the preceding embodiments, wherein generating the second model corresponding to the first model further comprises: receiving a first version of the first model; receiving a second version of the first model; determining a difference between the first model and the second model; and training the second model based on the difference.15. The method of any one of the preceding embodiments, wherein generating the second model corresponding to the first model further comprises: receiving a previous version of the second model; receiving a current version of the first model; and training the second model based on the previous version of the second model and the current version of the first model.16. A tangible, non-transitory, computer-readable medium storing instructions that, when executed by a data processing apparatus, cause the data processing apparatus to perform operations comprising those of any of embodiments 1-15.17. A system comprising one or more processors; and memory storing instructions that, when executed by the processors, cause the processors to effectuate operations comprising those of any of embodiments 1-15.18. A system comprising means for performing any of embodiments 1-15.

Claims

WHAT IS CLAIMED IS:

1. A system for monitoring data security compliance of artificial intelligence models using an observer model, the system comprising: one or more processors; and one or more non-transitory, computer-readable media comprising instructions that, when executed by the one or more processors, cause operations comprising: receiving, via a user interface, a first user request to perform a compliance test on a first model, wherein the first model comprises a deep learning network with a plurality of unknown characteristics, and wherein the plurality of unknown characteristics is used to process inputs to the first model to generate outputs; receiving, via the user interface, a compliance requirement, wherein the compliance requirement comprises a requirement for a threshold level of data security when processing user data through the first model; generating a second model corresponding to the first model, wherein the second model comprises a probabilistic graphical model corresponding to the first model, and wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics; determining a first graphical characteristic of the graphical characteristics corresponding to the compliance requirement; determining a first probability of the probabilities corresponding to the first graphical characteristic; comparing the first probability to a threshold probability to determine whether the first model corresponds to the compliance requirement; and generating for display, on a user interface, a recommendation based on comparing the first probability to the threshold probability.

2. A method for monitoring compliance of artificial intelligence models using an observer model, the method comprising: receiving a compliance requirement for a first model, wherein the first model comprises a plurality of unknown characteristics, and wherein the plurality of unknown characteristics is usedto process inputs to the first model to generate outputs; generating a second model corresponding to the first model, wherein the second model comprises a probabilistic graphical model corresponding to the first model, and wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics; determining a first graphical characteristic of the graphical characteristics corresponding to the compliance requirement; determining a first probability of the probabilities corresponding to the first graphical characteristic; comparing the first probability to a threshold probability to determine whether the first model corresponds to the compliance requirement; and generating for display, on a user interface, a recommendation based on comparing the first probability to the threshold probability.

3. The method of claim 2, wherein determining the first graphical characteristic of the graphical characteristics corresponding to the compliance requirement further comprises: inputting the first compliance requirement into a database listing graphical characteristics that correspond to compliance requirements; and receiving an output from the database indicating that the compliance requirement corresponds to the first graphical characteristic.

4. The method of claim 2, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data is based on inputs to the first model, outputs from the first model, and known characteristics of the first model; and training the second model based on the training data.

5. The method of claim 2, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by:receiving training data, wherein the training data comprises Shapley values for features in the first model; aggregating the Shapley values to generate an aggregated set; and training the second model based on the aggregated set.

6. The method of claim 2, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises results of a recursive feature elimination performed on the first model; and training the second model based on the results.

7. The method of claim 2, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises results of least absolute shrinkage and selection operators on the first model; and training the second model based on the results.

8. The method of claim 2, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises permutation importance values for features in the first model; aggregating the permutation importance values to generate an aggregated set; and training the second model based on the aggregated set.

9. The method of claim 2, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises principal component analysisvalues for features in the first model; aggregating the principal component analysis values to generate an aggregated set; and training the second model based on the aggregated set.

10. The method of claim 2, wherein comparing the first probability to the threshold probability to determine whether the first model corresponds to the compliance requirement further comprises: determining a second graphical characteristic of the graphical characteristics corresponding to the compliance requirement; determining a second probability of the probabilities corresponding to the first graphical characteristic; aggregating the first probability and the second probability to generate an aggregated probability; and comparing the aggregated probability to the threshold probability.

11. The method of claim 2, wherein generating the second model corresponding to the first model further comprises: generating a snapshot of the first model; and training the second model based on the snapshot of the first model.

12. The method of claim 2, wherein generating the second model corresponding to the first model further comprises: receiving a known characteristic of the first model; and training the second model based on the known characteristic of the first model.

13. The method of claim 2, wherein generating the second model corresponding to the first model further comprises: receiving a training history of the first model; and training the second model based on the training history of the first model.

14. The method of claim 2, wherein generating the second model corresponding to the first model further comprises:receiving a first version of the first model; receiving a second version of the first model; determining a difference between the first version and the second version; and training the second model based on the difference.

15. The method of claim 2, wherein generating the second model corresponding to the first model further comprises: receiving a previous version of the second model; receiving a current version of the first model; and training the second model based on the previous version of the second model and the current version of the first model.

16. A non-transitory, computer-readable medium, comprising instructions that, when executed by one or more processors, cause operations comprising: receiving a compliance requirement for a first model, wherein the first model comprises a plurality of unknown characteristics, and wherein the plurality of unknown characteristics is used to process inputs to the first model to generate outputs; generating a second model corresponding to the first model, wherein the second model comprises a probabilistic graphical model corresponding to the first model, and wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics; determining a first graphical characteristic of the graphical characteristics corresponding to the compliance requirement; determining a first probability of the probabilities corresponding to the first graphical characteristic; comparing the first probability to a threshold probability to determine whether the first model corresponds to the compliance requirement; and generating for display, on a user interface, a recommendation based on comparing the first probability to the threshold probability.

17. The non-transitory, computer-readable medium of claim 16, wherein determining the first graphical characteristic of the graphical characteristics corresponding to the compliance requirement further comprises: inputting the first compliance requirement into a database listing graphical characteristics that correspond to compliance requirements; and receiving an output from the database indicating that the compliance requirement corresponds to the first graphical characteristic.

18. The non-transitory, computer-readable medium of claim 16, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data is based on inputs to the first model, outputs from the first model, and known characteristics of the first model; and training the second model based on the training data.

19. The non-transitory, computer-readable medium of claim 16, wherein the probabilistic graphical model is trained to determine probabilities for graphical characteristics corresponding to the plurality of unknown characteristics by: receiving training data, wherein the training data comprises Shapley values for features in the first model; aggregating the Shapley values to generate an aggregated set; and training the second model based on the aggregated set.

20. The non-transitory, computer-readable medium of claim 16, wherein generating the second model corresponding to the first model further comprises: receiving a previous version of the second model; receiving a current version of the first model; and training the second model based on the previous version of the second model and the current version of the first model.

Citation Information

Patent Citations

  • Artificial intelligence based system and method for controlling virtual agent task flow

    US11416755B2

  • Generating test cases for a software application and identifying issues with the software application as a part of test case generation

    US20210397542A1

  • Performance based system configuration as preprocessing for system peformance simulation

    US20220283784A1

  • Training of multiple parts of a model to identify behavior to person prediction

    US20220368989A1