This disclosure relates generally to the machine learning field, and more specifically to new and useful systems and methods for machine learning model development and management.
Machine learning models undergo a life cycle comprising steps such as: data preparation, model development, model testing, business analysis and risk assessment/verification, compliance analysis, production deployment, and production operations/monitoring.
There is a need in the machine learning field for new and useful systems for storing, updating, managing and using machine learning model metadata and statistics across the machine learning model lifecycle. There is a further need for automated tools that operate on machine learning model metadata and statistics to automate cumbersome, manual, time-consuming, and error-prone steps of the model development and verification process. Tools are also needed to generate the required model risk management documentation and analysis artifacts.
This disclosure relates generally to the machine learning field, and more specifically to new and useful systems and methods for machine learning model development, automated model documentation, machine learning model operationalization and deployment, and run-time/operational monitoring of machine learning models, by using a knowledge graph that stores structured representations of development and validation data, the modeling process, and the resulting model, which enables new and useful systems and methods for modeling tools to reason about the model and modeling process, automate steps in the modeling process, produce automated model analyses, documentation and monitoring tools, and to substantially automate the Model Risk Management framework described in OCC Bulletin 2011-12, Supervisory Guidance on Model Risk Management.
The disclosure herein provides new and useful systems for automatically generating declarative, structured, and machine-readable descriptions of models, features, and analyses which can be used to automate common modeler tasks and to automatically create model governance and model risk management documentation throughout the modeling life cycle. The disclosure herein further provides new and useful systems for automating substantial portions of model safety analysis, including, for example, analysis of variable and feature safety (
The disclosure herein provides new and useful systems for storing model metadata so that the disclosed systems can automatically monitor models based on metadata created during model development and deployment. Modelers build machine learning models to perform a specific business objective, and models are built with constraints and assumptions. For example, a modeler will present training data to a machine learning algorithm such as a neural network to train a model to predict an outcome based on input data. The training data may be comprised of multiple data fields, and each data field may be a numeric or a categorical variable or other variable type. Each data field within the training data has a distribution—for example, there may be more low-income applicants in the training dataset than high-income applicants. It is often expected that the model will be presented with input data drawn from the same distribution when it begins operating in production to make predictions. In this way, the modeling process creates expectations about model operation in production. The input data distributions comprise useful metadata that can be used by a machine learning model execution engine to monitor for anomalous values when the model is operationalized and receives new data in production. For example, if a model was trained on data that had more low-income than high-income applicants, and after the model is released, it receives more high-income than low-income applicants, an intelligent model execution engine might raise an alert that the model is receiving a different character of applicants than it was created to process. Likewise, a model can be observed to create a distribution of scores when it is validated. For example, if the model produced mostly high scores during validation, and after the model is released, it mostly produces low scores for new applicants, an intelligent model monitoring system could raise an alert that the model is producing unexpected outputs. The present disclosure provides new and useful methods for enabling model risk monitoring by leveraging a knowledge graph and automated model explainability tools that allow the modeling infrastructure to detect and explain anomalies.
In a similar way, performance projections are produced to understand the financial or operational results of running a machine learning model in production. A model may be used in a variety of business contexts, including, without limitation: credit underwriting, marketing automation, automated trading, automated radiology and medical diagnosis, call center quality monitoring, interactive voice response, video labeling, transaction monitoring for fraud, inventory projection, reserve projection and other applications. Effective model development process requires the expected operational impact of using a machine learning model in a given business application be determined before a model is put into production. This analysis is often manual, time consuming, error-prone and laborious, requiring significant effort. Moreover, the information created in the analysis is often only available in the form of reports and charts that are not accessible to systems and machinery. The present disclosure teaches how a machine learning modeling and analysis tools can be constructed to capture structured information about model performance projection and analysis and how a system can be constructed to use these metadata to power new and useful production model monitoring systems.
For example, in a credit underwriting application of a machine learning model, it is useful to examine: whether input variables are consistently available across segments, whether input variables are too highly correlated with the target, and whether input variables contain significant anomalies in their distributions over time and across training and validation datasets. The same analysis is conducted with respect to engineered features that are computable functions of the input data. This process establishes the distribution of the input data and features used in a model. It creates expectations about the input data which can be stored as metadata associated with a modeling project. This metadata can then be used to automatically generate model risk management documentation, and it can also be used to monitor a model in use in production. If a model receives inputs that do not appear to be drawn from a distributions that are similar to those observed during model creation, the model server can raise an alert. Other modeling steps and analysis steps may similarly be recorded and used in later steps for documentation and for monitoring.
The foregoing examples illustrate how modelers and the businesses that employ them have expectations about model performance and operating characteristics (input requirements, distributions of input variables, feature distributions, score distributions, business outcomes, etc.) based on analysis performed during the model development process and based on the model validation process used to determine whether a model is suitable for production use, whatever the business application.
The present disclosure reduces to practice systems and methods to store the analysis and metadata generated during model build and evaluation processes, and associate this metadata with models as they are published into production, enabling intelligent cloud applications that know how a model is intended to behave and therefore can monitor for anomalies in the model's operation, such as: unexpected input data, and unexpected output scores and generate new and useful insights into model safety in production. The present disclosure describes automated systems and methods for monitoring production model operations based on the expectations generated during the modeling process and recorded in a knowledge graph as structured metadata.
The present disclosure reduces to practice systems and methods to record steps in input variable distribution analysis, feature engineering, model train and tune, model stability over time, model comparison, champion/challenger analysis, compliance analysis, including, without limitation, fair lending analysis required to comply with the Equal Credit Opportunity Act of 1974 (15 U.S.C. § 1691 et seq.), sensitivity analysis, partial dependence plots, economic impact analysis, and substantial modeler decision points and analyses. The present disclosure reduces to practice systems and methods for automatically generating documentation from stored metadata, including documentation of the form of charts, graphs, visualizations, tables, and natural language narrative descriptions enabling a credit risk modeler with ordinary skill in the art to understand and reproduce the model.
The disclosed automated documentation capabilities combined with model monitoring functionality capabilities described herein, comprise new and useful systems and methods that can be used to help businesses substantially comply with OCC Bulletin 2011-12, Supervisory Guidance on Model Risk Management, which is incorporated herein by reference.
The following description of embodiments is not intended to limit the disclosure to these embodiments, but rather to enable any person skilled in the art to make and use the embodiments disclosed herein.
Systems and methods for enriching modeling tools and infrastructure with descriptive metadata and semantics are provided.
Some embodiments disclosed herein provide libraries and tools that allow an operator to perform modeling and analysis tasks that record data in a knowledge graph, including tasks such as allowing an operator to flag unreliable variables and features, for instance: features that are largely missing, extremely low variance, or that have large shifts in distribution over time; flagging of features that lead to disparities in approval rate between protected classes and a baseline; blindspot analysis, including comparison of distributions of each feature in the population that would be newly approved by the model with the distributions of the same feature within the population of applicants that would have been approved by both the old model and the new model; adverse action analysis, including analysis of the frequency and distribution of adverse actions within various populations defined by the model comparison; disparate impact analysis, including identification of protected class status, comparison of approval rates between protected classes, determination of which features contribute to disparity, and a quantification of a feature's contribution to the approval rate disparity as well as their contribution to the economics of the model; and other analysis, without limitation.
In some embodiments the foregoing analyses are automated. For example, a modeling system can automate the analysis of which input variables are safe to use for modeling.
In some embodiments a modeling system is comprised of a model development environment which allows an operator to input and execute instructions in a programming language such as R, python or other functional or von Neumann language, communicatively coupled via a network to a knowledge graph server which is comprised of an application programming interface and storage engine such as an RDBMS, NOSQL, or filer wrapped with web services comprised of a web server and application layer that enables the modeling system. In some embodiments the operator can cause the modeling system to create, read, update, delete, and query the knowledge graph by invoking analysis functions which further invoke API calls to the knowledge graph server to create labeled nodes and edges, identify a node or an edge via a unique identifier, and return subgraphs containing metadata and relationships based on an input query transmitted via the network to the knowledge graph API. In some embodiments, the knowledge graph is comprised of nodes, and each node contains keys and values, each key is a string or symbol, each value a symbol, string, numeric, vector, or associative array. In some embodiments, the knowledge graph is comprised of edges relating at least two nodes, and in some embodiments the edges contain keys and values, each key a string or symbol, each value a symbol, string, numeric, vector, or associative array. In some embodiments the knowledge graph is represented as a series of JSON objects. In some embodiments, the knowledge graph server implements REST-based web services. In some embodiments, the knowledge graph server contains nodes and edges comprised of JSON structures stored in a data store accessed based on a hierarchical path. In some embodiments the API implements data operations such as: copy node, copy subgraph, subgraph versioning, batch processing, and function evaluation. In some embodiments the API implements user- and group-level access control, and is integrated with enterprise directory and authentication services. In other embodiments the knowledge graph server is communicatively coupled with a distributed storage and processing system such as HDFS and Hadoop or Spark, which may be invoked for processing of knowledge graph data and population of the knowledge graph with outputs from batch or real-time processing work resulting from the invocation. In some embodiments, the knowledge graph provides APIs for registering a function and evaluating the function on data stored in the knowledge graph. First: an operator creates a function, such as, for example, by creating an implementation of median in a programming language such as R or Python; next, the operator registers the function with the knowledge graph via an API that specifies the function's input requirements (in this case, a vector of numerics) and outputs (in this case, a numeric value); next the operator issues a command to execute the function by specifying the input variable bindings by referring to a node in the knowledge graph (e.g., and specific column in a data set such as the training data set) and output destination in the knowledge graph (e.g., by specifying a node by unique identifier) and calling a library function which further invokes the API; next the knowledge graph server retrieves the specified input data (in this case the specific column in the training data set), returns the input data to the user's modeling environment, causes the modeling environment to execute the specified function, and stores the output in the specified location back in the specified location in the knowledge graph while simultaneously displaying the output to the operator. In this way the knowledge graph may monitor the execution of registered functions and capture intermediate inputs and outputs.
In other embodiments, a modeling system contains a model development environment which is augmented with a library of methods for registering functions with a knowledge graph such that the functions are automatically analyzed through introspection and code annotation such that the required inputs and expected outputs are recorded automatically in the knowledge graph. In other embodiments, modeling code is transmitted to the knowledge graph so that it execution may be easily reproduced at a later time. In other embodiments, a location, version or tag and path to a source file in a suitable source control system such as github, subversion, cvs, Microsoft® SourceSafe™ or the like are transmitted and stored. In this way, the modeling code may be incorporated into the knowledge graph for future debugging of model anomalies and to provide additional model documentation and reproducibility. In some embodiments the input variable analysis code, feature engineering code, model build history, including, model selection, training and validation data sets, model tuning parameters (hyperparameters), the tuning method, the validation results, statistical analysis, business and economic impact analysis, model comparison, model stability analysis, swap-set analysis, champion-challenger analysis and compliance analysis code and results are stored in the knowledge graph.
In some embodiments, the knowledge graph automates regeneration of a model and documentation based on an operator request to the modeling environment by first: accessing the modeling metadata, datasets, and code used at each stage of the modeling process; second: gathering the associated data sets and code and re-running the code on the data to generate intermediate results and documentation outputs at each stage of the modeling process based on metadata stored in the knowledge graph, and storing these intermediate results in the knowledge graph; third: retraining the models and automatically tuning and verifying them, producing complete model files and ensemble scoring functions, in addition to model evaluation and model risk management documentation; fourth: automatically generating and packaging model files, ensembling routines, API glue code and model monitoring artifacts including distributions, input and score models and thresholds; fifth: publishing model and model monitoring artifacts to an API to a model server communicatively coupled with the modeling environment via a computer network; finally: verifying the published model produces the expected results by accessing validation input rows and outputs based on metadata stored in the knowledge graph, issuing API requests with input rows to the published API, comparing model invocation outputs with the outputs retrieved from model validation stage based on metadata stored in the knowledge graph.
In this way, a credit risk model or other predictive model, without limitation, may be re-created automatically from the data and code stored in a knowledge graph, and associated model risk management documentation may be produced, enabling organizations to comply with the Model Risk Management framework described in OCC Bulletin 2011-12, Supervisory Guidance on Model Risk Management or other model governance processes, requiring such steps as: model reproduction, testing and verification, documentation, and monitoring, without limitation.
Some embodiments disclosed herein provide automatic generation of model risk management documentation, such as, for example, data dictionary documentation, feature generation documentation, variable and feature safety documentation, variable and feature coverage documentation, modeling methods and optimization approach documentation, model stability analysis documentation, and fair lending documentation. In one embodiment, the system produces automated documentation by: first, allowing a user to select which documentation is to be generated by interacting with an operator device such as a model development and analysis environment which provides an operator interface such as R, python, or graphical tools; second, retrieving a template for model documentation (model documentation template, e.g., as shown in
In some embodiments, the model risk management documentation is generated based on metadata stored in the knowledge graph. In one embodiment, the model risk management documentation is comprised of a feature selection process. A modeling system allows an operator to analyze input variables available for modeling by executing automated analysis functions via a von Neumann language or functional language such as R or Python. The analysis functions may be augmented with knowledge graph calls such that the inputs, analysis methods (e.g., Kolmogorov-Smirnov test, median, quantiles, PSI score, autoencoder distribution analysis) and outputs (e.g., variable stability metric, coverage metric, and other descriptive statistics, without limitation) are automatically transmitted via API to a knowledge graph for storage.
In some embodiments, the knowledge graph contains datasets, experiments, functions, function invocation history, and other metadata such as: user information, dates and times, statistics, names, and code snippets. In one embodiment the metadata includes tags or labels which allow the operator to refer to a specific invocation. In one embodiment the knowledge graph server is comprised of a web server and a relational database such as mysql, consisting of several tables as described above. In another embodiment the knowledge graph stores locations of datasets in an associated data store such as HDFS, GlusterFS, NFS, Oracle RDBMS, mySQL, Microsoft SQL Server, IBM DB2, Amazon S3, or other data store, without limitation.
In some embodiments, the foregoing features are provided by a modeling system (e.g., 101 of
In some embodiments, the modeling system includes an application programming interface (API) (e.g., 110 of
In some embodiments, the repository (e.g., 102 of
In some embodiments, the repository stores facts about a model (e.g., a model used by a machine-learning module 127 of
In some embodiments, the repository stores information about the distribution of input variables, features, model scores, and score explanations as derived from analysis of training, test and hold-out data and the running of the model on such data sets. In some embodiments score explanations are computed using a decomposition such as a method described in U.S. Provisional Patent Application No. 62/641,176, filed 9 Mar. 2018, entitled “SYSTEMS AND METHODS FOR PROVIDING MACHINE LEARNING MODEL EXPLAINABILITY INFORMATION BY USING DECOMPOSITION”, by Douglas C. Merrill et al. In some embodiments score explanations are computed using a decomposition such as a method described in U.S. Provisional Patent Application No. 62/806,603 (“SYSTEMS AND METHODS FOR DECOMPOSITION OF DIFFERENTIABLE AND NON-DIFFERENTIABLE MODELS”), filed 15 Feb. 2019. In some embodiments score explanations are computed using a method described in U.S. Provisional Patent Application No. 62/820,147 (“SYSTEMS AND METHODS FOR MODEL FAIRNESS”), filed 18 Mar. 2019. In other embodiments, the repository stores information about the distribution of input variables, features, model scores and score explanations as derived from operating the model in production. In some embodiments tools are provided that automatically compare the distribution of input variables, features, model scores and score explanations as derived from operating the model in production, with the same distributions derived from analysis of training, test and hold-out data and the running of the model on each of these data sets while the model was still in development. In some embodiments the comparing step produces a numeric score representing how close the development and production distributions match. In some embodiments the comparing step is based on the population stability index, given by the following equation:
In other embodiments the comparing step is based on the use of autoencoders. In one embodiment, an autoencoder is trained based on the model's training data. The MSE (mean squared error) for the autoencoder on the validation data is computed. The same encoder is used on input data observed in production. The input data will be reconstructed by the autoencoder, and for each instance, the mean squared error (MSE) between actual value and reconstruction is calculated. If the MSE exceeds a threshold, for example, a threshold based on the validation MSE computed during model construction, an alert may be raised.
In some embodiments, the comparing step is used to produce a numeric score representing the similarity of the production data to the data observed in training. In other embodiments the comparing step is communicatively coupled with an alerting system via a computer network. In one embodiment, the alerting system sends emails, SMS messages, and other forms of alerts to operators based on the numeric score, in order to alert the operator that the model may be encountering data or behaving in ways that are unsafe. In one embodiment, a dashboard of anomalous model inputs and scores is presented to an operator so they can inspect the outliers and take action to retrain the model or ignore the alerts and add the anomalous data to the baseline data for the modeling system. In one embodiment, each addition to baseline data is tracked in a knowledge graph so that the history of modifications may be preserved and rolled back, should the operator choose to undo past modifications. In this way an intelligent monitoring system may be constructed that learns from human judgment as alerts are cleared or actioned.
In some embodiments, at least one modeling tool module (e.g., of 120) is a modeling node that specifies a transformation, defines input data used by the transformation, and output data generated by applying the transformation to the input data. In this way, the history of transformations used to generate intermediate data may be tracked and organized.
In some embodiments, the modeling system API (e.g., 110) provides an interface for programmatically adding modeling tool modules (modeling nodes) (e.g., 120), removing modeling tool modules, modifying modeling tool modules, executing modeling tool modules, getting information about a modeling tool module, reading data from the modeling repository, and writing data to the modeling tool repository.
In some embodiments, when executed, each modeling tool module 120 is constructed to read data from the modeling system repository (e.g., 102) and write data to the modeling system repository. In some embodiments, each modeling tool module (e.g., a module of 120 of
By virtue of each modeling tool module writing meta-data to the modeling system repository that can be used to generate model risk management documentation during module execution, model risk management documentation can be automatically generated by using the modeling system API to prepare, build, explain, and monitor a machine-learning model (e.g., a model of a machine-learning module 127). In some embodiments, the modeling system API can be accessed and used a user interface (e.g., 101), a robot (e.g., 104), a domain specific language parser (e.g., 103), a programming library (e.g., a Python library, an R library, and the like) (e.g., 105), a virtual machine (e.g., a Java virtual machine, a Web Assembly virtual machine), a programming language interpreter, a Microsoft Azure machine-learning system, and the like.
In some embodiments, modeling tool modules include: modeling workflow modules (e.g., 121), data set modules (e.g., 122), data format conversion modules (e.g., 123), data input modules (e.g., 124), data output module (e.g., 124), data transformation modules (e.g., 125), feature selection modules (e.g., 126), machine learning modules (e.g., 127), statistical function modules (e.g., 128), and MRM (Model Risk Management) modules (e.g., 129).
In some embodiments, input modules (e.g., 124) include machine executable instructions that, when executed by a processing unit (e.g., 399), control the modeling system to access input data sets form an input data source. In some embodiments, output modules (e.g., 124) include machine executable instructions that, when executed by a processing unit (e.g., 399), control the modeling system to provide output data sets to one of a system and a module that is constructed to consume an output of a workflow associated with the output module.
In some embodiments, data transformation modules (e.g., 125) include filter modules, sample modules, and split modules.
In some embodiments, machine learning modules (e.g., 127) include model initialization modules (e.g., for one or more machine learning algorithms), model training modules, model scoring modules, and model evaluation modules. In some embodiments, model evaluation modules include model comparison and champion/challenger analysis modules. In some embodiments, model evaluation modules include feature importance and partial dependence plots modules. In some embodiments, model evaluation modules include model stability analysis modules. In some embodiments, model evaluation modules include reason code generation modules. In some embodiments, model evaluation modules include segment comparisons and analysis modules. In some embodiments, model evaluation modules include disparate impact evaluation modules. In some embodiments, model evaluation modules include adverse action modules.
In some embodiments, feature engineering modules (e.g., 126) are constructed to write descriptions of generated features to a knowledge graph of the modeling tool repository (e.g., as a knowledge graph node). In some embodiments, a disparate impact evaluation module is constructed to record in the knowledge graph of the modeling tool repository whether a variable is safe from a fair lending perspective.
In some embodiments, the knowledge graph of the modeling tool repository is constructed to point to code and data tables.
In some embodiments, the API 110 of the modeling system 101 is used to generate a modeling workflow (e.g., workflow 401 of
In some embodiments, modules are coupled to each other via the API 110 of the system lot. In some embodiments, modules are coupled to each other via an API that is internal to the modeling system 101.
In some embodiments, each modeling workflow is represented by a modeling tool module (e.g., a module of workflow modules 121) that is accessible via the API 110 of the modeling system.
In some embodiments, the knowledge graph of the repository 102 is constructed to store references (or pointers) to code and data tables used by a module included in the modules 120. For example, the knowledge graph includes knowledge graph nodes that can store references to scoring functions, feature engineering functions, pointers to training data, pointers to validation data for a module (e.g., a workflow module 121), and this stored information can be used for generating artifacts like PDPs that can be included in MRM (Model Risk Management) documentation.
In some embodiments, the knowledge graph of the repository 102 is constructed to store the following for a modeling workflow: variable provenance, feature provenance, submodels selection, ensembling methods, parameter tuning history, feature contributions, disparate impact analysis, stability over time, feature contributions, economic impact analysis, swap-set analysis, blind spot analysis, fair lending analysis, and measured model performance during development.
In some embodiments, the modules 120 of
In some embodiments, MRM modules 129 includes a data dictionary stability analysis module, a modeling method and optimization module, a pre-launch model safety and compliance module, a model safety and compliance in production module.
In some embodiments, MRM modules include a feature stability over time module (e.g., a module corresponding to knowledge graph node 620 of
In some embodiments, MRM modules include a MRM documentation module (e.g., a module corresponding to the knowledge graph node 802 of
In some embodiments, the “pre-launch model safety and compliance” module includes machine-readable program instructions (e.g., stored in the storage medium 305 shown in
In some embodiments, modifying a data set module 122 via the API 110 includes at least one of adding a variable and removing a variable, and adding a natural language description for a variable.
In some embodiments, modifying a feature set module 126 via the API 110 includes at least one of adding a feature and removing a feature, and adding a natural language description for a feature. In some embodiments, the API includes documenting the input data used to generate a feature.
In some embodiments, the system 101 includes a module for automated analysis of stability over time. In some embodiments, the system 101 includes a module for rank ordering of variables by stability.
In some embodiments, the system 101 includes an MRM module for automated generation of a data dictionary that includes a table and an associated narrative. In some embodiments, the system 101 includes an MRM module for automated generation of a model stability over time chart and associated narrative. In some embodiments the MRM report is generated using templates that include a static text and graphics and a dynamic text and graphics, wherein the dynamic text and graphics includes references to stored data representing numeric values, charts, data tables and the like, related to the analysis step being described. In some embodiments the MRM report is generated by using a templating language such as: ASP.NET, PHP, R Markdown, LaTeX, Smarty, Elixir, Mustache, Jade, Kid, Django, Twig, web2py, or any templating language without limitation.
In some embodiments, the system 101 includes a module for automated distribution analysis. In some embodiments, the system 101 includes a module for automated MRM documentation. In some embodiments, the system 101 includes a module for automated model publishing. In some embodiments, the system lot includes a module for automated adverse action mapping and verification. In some embodiments, the system 101 includes a module for automated model monitoring.
Knowledge Graph
In some embodiments, the repository 102 stores a knowledge graph which contains information about modules (modeling nodes), attributes, and labeled edges describing model variables, the model, a machine-readable representation of the model's computational graph, modeling methods used, training and test data, attributes of training and test data including date (and time) ranges and provenance, feature engineering methods, test descriptions including results, hyperparameters, AUC charts, hold out sets, swap-set analysis, economic impact analysis, approval rate analysis, loss projection analysis, ensembling method, data source and provenance, data ranges, a machine-readable description of feature engineering methods, partial dependence plots, or decompositions. In some embodiments model metadata includes a mapping between decompositions, feature contributions and adverse action reason codes. In some embodiments the adverse action mapping is a computable function based on a decomposition of a model score into input variable contributions. In some embodiments the decomposition is based on a Shapley value or an integrated gradient or suitable decomposition method that is implementation invariant and that accurately explains the model score. In some embodiments model metadata is stored on a filesystem in a suitable format such as JSON, YAML or feather, python serialized object, CSV, or in database.
In some embodiments modeling tools (e.g., modules 120) are provided to an operator (e.g., via the API 110) to perform decompositions. In some embodiments modeling tools (e.g., modules 120) collect metadata from the operator (e.g., via the API 110) that is associated with a decomposition. In some embodiments, the decomposition is comprised of a feature name and a numeric value. In some embodiments the sum of the values equals the model's score for a given applicant. In some embodiments the decomposition is computed with respect to a baseline population. In some embodiments, the metadata collected from the operator includes the decomposition, the model or ensemble and metadata, including feature descriptions, source variables and provenance, feature distributions over time, training data, statistics, symbols, natural language descriptions and templates, and other metadata, without limitation.
In some embodiments, model metadata based on decompositions is used to automatically generate model risk management (MRM) and other compliance artifacts and documentation (e.g., the MRM document of
In some embodiments model metadata based on decompositions is used to automatically generate model risk management documentation in relation to the ongoing health of models operating in production. In some embodiments, a monitoring method includes first computing the distribution of decompositions of a model's score in batch, live testing, or production within a given timeframe in the past, and comparing the past distributions with the distribution of decompositions of a model's score with a more recent timeframe. In some embodiments the comparing step includes computing a PSI score, Komolgorov-Smirnov test, or other suitable statistic. In other embodiments the comparing step includes computing influence functions.
In some embodiments, decompositions and model metadata are used in modeling tools (e.g., modules 120) that provide a workflow to prepare adverse action mappings and to generate adverse action notices based on model scores, in batch and at decision-time. In some embodiments the adverse action mapping is comprised of a first relation between a model feature, sign, and a reason code, and a second relation between a reason code and a natural language reason. In other embodiments, the adverse action mapping is a computable function of the decomposition and a set of tunable parameters. In some embodiments the adverse action mapping is computed based on a gradient. In some embodiments the gradient is computed based on a partial dependence plot. In some embodiments the partial dependence plots are stored and retrieved from a knowledge graph as described herein.
In some embodiments, the API 110 includes API resources for adding modeling tool modules (e.g., resource 111), removing modeling tool modules (e.g., resource 112), modifying modeling tool modules (e.g., resource 113), accessing information (e.g., configuration, properties, execution metadata) about modeling tool modules (e.g., resource 114), and executing modeling tool modules (e.g., resource 115). In some embodiments, each API resource is a method exposed by an object. In some embodiments, each API resource is a request handler module that is constructed to process requests directed to a URI of the API resource, and provide a response to each request. In some embodiments, each URI is accessible via an HTTP interface, and each resource is accessed by providing HTTP GET (and/or POST requests) that specify the URI of a particular resource. In some embodiments, each URI is accessible via a RESTful interface.
In some embodiments, the modeling system includes a plurality of modeling tool modules 120 that are accessible via the API 110. In some embodiments, each API resource is constructed to process requests that specify a particular modeling tool module (e.g., a module of modules 120) by accessing the specified API. For example, the execute API resource is constructed to process module execution API requests that specify a module to be executed by executing the module (via an API request, a remote procedure call, a local procedure call, and the like). In some embodiments, the add API resource is constructed to process module generation API requests that specify properties of a module to be generated by storing module configuration (and related metadata) for the new module in the repository 102 (e.g., as one or more nodes of knowledge graph), and adding the new module to a list of models included in modules 120. In some embodiments, the add API resource is constructed to process module generation API requests that specify properties of a new workflow module to be generated by storing module configuration (and related metadata) for the new module in the repository 102 (e.g., as one or more nodes of knowledge graph), and adding the new workflow module to a list of models included in modules 120, wherein the configuration for the workflow module specifies the modules used by the new workflow module, and the interconnections between each module. For example, the add API resource is constructed to process a new workflow module generation API request to generate the workflow module 401 of
In some embodiments, modules 120 includes one or more workflow module 121, data set module 122, conversion module 123, input/output module 124, transformation module 125, feature module 126, machine learning module 127, statistical module 128, and MRM (Model Risk Management) module 129. In some embodiments, at least one module of 120 is generated by the system lot (e.g., a core module). In some embodiments, at least one module of 120 is generated by a user of the system 101 (e.g., a custom module).
In some embodiments, the system 101 includes a modeling tool module repository 102 that includes at least one knowledge graph. In some embodiments, the system 101 includes a modeling tool module repository 102 that includes at least one knowledge graph for each modeling workflow module. In some embodiments, each knowledge graph is a data structure that identifies graph nodes and graph edges that connect graph nodes.
Data Modules
In some embodiments, the knowledge graph of the repository 102 stores the following information for each data set module (e.g., 122 shown in
Feature Modules
In some embodiments, the knowledge graph of the repository 102 stores the following information for each feature set module (e.g., 126 shown in
Methods
In some embodiments, the method is performed by a modeling system that includes an API (e.g., 110 shown in
In some embodiments, S210 includes generating a workflow that includes a model risk management (MRM) module (e.g., 129 shown in
In some embodiments, S210 includes generating a workflow that includes a model evaluation module (e.g., 127 shown in
In some embodiments, S210 includes generating a workflow that includes a model monitoring module (e.g., 130 shown in
In some embodiments, S210 includes: the modeling system generating a first modeling workflow (e.g.,
In some embodiments, S210 includes generating at least a first model scoring module (e.g., 426 of
In some embodiments, configuration information and metadata for the first model scoring module includes structured information about model performance projection and analysis for the model of the first model scoring module.
In some embodiments, configuration information and metadata for the first model scoring module includes at least one of information indicating whether values of at least one input variable (or feature) are consistently available across segments, information indicating whether input variables are too highly correlated with the target, and information indicating whether input variables contain significant anomalies in the distributions of their values over time and across training and validation datasets.
In some embodiments, configuration information and metadata for the first model scoring module includes at least one of information indicating whether values for engineered features are consistently available across segments, information indicating whether engineered features are too highly correlated with the target, and information indicating whether engineered features contain significant anomalies in the distributions their values over time and across training and validation datasets.
In some embodiments, configuration information and metadata for the first model scoring module includes distributions of values of input data sets used in the model of the first model scoring module. In some embodiments, configuration information and metadata for the first model scoring module includes distributions of values of engineered features used in the model of the first model scoring module.
In some embodiments, configuration information and metadata for the first model scoring module includes information of the model of the first model scoring model that indicate at least one of: input requirements of the model, distributions of input variables of the model, feature distributions of the model, score distributions of the model, and business outcomes of the model.
Generating a Modeling Workflow
In some embodiments, S210 includes: receiving at least one workflow API request received via an API (e.g., 110), and processing each workflow API request to generate the workflow. In some embodiments, each workflow API request is a request to add a module (e.g., 122-130) to the workflow. In some embodiments, each workflow API request is a request to generate a module (e.g., 122-130) to be added to the workflow. In some embodiments, generating a module of the workflow includes: storing configuration information and metadata for the module in the repository 102. In some embodiments, the repository 102 includes a knowledge graph (as described herein), and generating a module includes generating a node in the knowledge graph, wherein the knowledge graph node includes metadata specifying a transformation (or process) performed by the module, a definition of input data used by the module, and a definition of output data generated by the module. In some embodiments, the knowledge graph stores information about edges connecting nodes in the knowledge graph, wherein each node represents a module of the workflow. In some embodiments, the knowledge graph stores information about modules (nodes), attributes, and labeled edges describing model variables, transformations, and outputs.
In some embodiments, each API request to generate a module specifies a transformation (or process) performed by the module, a definition of input data used by the module, and a definition of output data generated by the module. In some embodiments, each API request to generate a module specifies a module template that identifies a transformation (or process) performed by the module, a definition of input data used by the module, and a definition of output data generated by the module. In some embodiments, each API request to generate a module specifies a module template that identifies a transformation (or process) performed by the module, a definition of input data used by the module, and a definition of output data generated by the module, and the API request also specifies configuration for the module. In some embodiments, an API request to generate a module specifies at least one module coupled to an input of the module to be generated. In some embodiments, an API request to generate a module specifies at least one module coupled to an output of the module to be generated.
In some embodiments, generating the workflow (S210) includes receiving at least one API request that specifies at least one coupling between an input of a first module of the workflow and an output of a second module of the workflow. In some embodiments, an input of a first model is coupled to an output of a second model by storing meta-data in the knowledge graph node for the first module that specifies an API resource of the output of the second model.
In some embodiments, after processing each workflow generation API request by the modeling system 101, the knowledge graph of the repository 102 stores a graph of nodes representing the workflow, wherein each node of the graph of the workflow represents a module of the workflow, and wherein each edge of the graph represents a coupling between an input of a first module of the workflow and an output of a second module of the workflow.
In some embodiments, execution of model transformations is carried out via execution plans generated based on metadata stored in the knowledge graph.
Workflow Execution
In some embodiments, S220 includes executing a module of the workflow. In some embodiments, S220 includes: executing a module of the workflow responsive to an execute API request received by the API 110; and the modeling system 101 updating the knowledge graph of the workflow in the repository 102 to include metadata generated during execution of the module.
In some embodiments, the module of the execute API request is a module that is a root of the knowledge graph of the workflow. In some embodiments, the module of the execute API request is a module that is a leaf of the knowledge graph of the workflow. In some embodiments, the module of the execute API request is a module that is a node of the knowledge graph of the workflow that is neither a root node nor a leaf node.
In some embodiments, executing the module specified by the execute API request includes ingesting data specified by the input data definition of the module, processing the ingested data by using the transformation defined for the module to produce output data that confirms to the output data definition of the module. In some embodiments, the input data definition specifies a data source (e.g., a root data source or an output of another module of the first modeling workflow) for the data to be ingested by the module.
In some embodiments, metadata generated during execution of a module includes at least one of: labeled nodes and edges describing model variables, the model, a machine-readable representation of the model's computational graph, modeling methods used, training and test data, attributes of training and test data including date (and time) ranges and provenance, feature engineering methods, test descriptions including results, hyperparameters, AUC charts, hold out sets, swap-set analysis, economic impact analysis, approval rate analysis, loss projection analysis, ensembling method, data source and provenance, data ranges, a machine-readable description of feature engineering methods, partial dependence plots, or decompositions.
Execution of a Training Module
In some embodiments, executing a training module includes ingesting data specified by the input data definition of the module, generating features from the input data, training the model specified by the configuration for the training module by using the ingested data to generate a trained model in accordance with the output data definition for the training module.
In some embodiments, metadata generated during execution of the training module (and stored in the knowledge graph) includes at least one of: labeled nodes and edges describing trained model features and input variables, the trained model, a machine-readable representation of the trained model's computational graph, modeling methods used, training data, attributes of training data including date (and time) ranges and provenance, feature engineering methods, hyperparameters, AUC charts, hold out sets, swap-set analysis, economic impact analysis, approval rate analysis, loss projection analysis, ensembling method, data source and provenance, data ranges, a machine-readable description of feature engineering methods, partial dependence plots, and decompositions.
Execution of a Feature Set Module
In some embodiments, executing a feature set module includes ingesting data specified by the input data definition of the module, generating at least one feature by processing the ingested data using at least one feature generation method. In some embodiments, executing a feature set module includes ingesting data specified by the input data definition of the module and generating a plurality of features, wherein each feature is generated by processing ingested data by using a feature generation method. In some embodiments, the feature set module generates a feature by ingesting data for a single variable of the ingested data. In some embodiments, the feature set module generates a feature by ingesting data for a plurality of variables of the ingested data. In some embodiments, feature generation methods include: a copy method that treats a variable of ingested data as a feature, statistical methods that generate features by performing statistical transformations on ingested data such as: mean, median, principal component analysis, and the like, machine-learning methods that generate features by applying a machine-learning model to ingested data such as: autoencoders, Latent Dirichlet Allocation, including supervised and unsupervised methods, and arithmetic methods that generate features by performing arithmetic transformations on ingested data.
In some embodiments, metadata generated during execution of the feature set module (and stored in the knowledge graph) includes at least one of: start date (and time) of generation of the feature set, end date (and time) of generation of the feature set, an identifier of a feature generator used to generate the feature set, each data set used to generate the feature set, information for each feature generated for the feature set. In some embodiments, for each feature of the feature set, metadata generated during execution of the feature set module (and stored in the knowledge graph) includes at least one of: feature name, data type, provenance, min value, max value, median value, and feature generation method.
Execution of a Data Set Module (Data Source Module)
In some embodiments, executing a data set module includes ingesting data specified by the input data definition of the module, generating at least one variable by processing the ingested data using at least one variable generation method. In some embodiments, executing a data set module includes ingesting data specified by the input data definition of the module and generating a plurality of variables, wherein each variable is generated by processing ingested data by using a variable generation method. In some embodiments, the data set module generates a variable by ingesting data for a single field of raw data of the ingested data. In some embodiments, the data set module generates a variable by ingesting data for a plurality of raw data fields of the ingested data. In some embodiments, the data set module generates a variable by first computing at least one statistic across at least one specified range of input data and then comparing or combining a variable or plurality of variables in at least one input row with a statistic. In some embodiments, variable generation methods include: a copy method that treats a field of ingested raw data as a variable, a conversion method that converts a field of raw data into a variable format, and the like.
In some embodiments, metadata generated during execution of the data set module (and stored in the knowledge graph) includes at least one of: start date (and time) of generation of the data set, end date (and time) of generation of the data set, an identifier of a variable generator used to generate the variable set, each raw data set used to generate the data set, information for each variable generated for the data set. In some embodiments, for each variable of the data set, metadata generated during execution of the data set module (and stored in the knowledge graph) includes at least one of: variable name, data type, provenance, min value, max value, and median value.
Execution of a Data Split Module
In some embodiments, executing a data split module includes ingesting data specified by the input data definition of the module, generating a training data set and a validation data set by splitting the ingested data in accordance with data set configuration. In some embodiments, data set configuration specifies a percentage of rows of the ingested data to be used as training data. In some embodiments, data set configuration specifies selection process for selecting rows of the ingested data to be assigned to the training data set.
In some embodiments, metadata generated during execution of the data split module (and stored in the knowledge graph) includes at least one of: start date (and time) of generation of the training data set, end date (and time) of generation of the training data set, start date (and time) of generation of the validation data set, end date (and time) of generation of the validation data set, and data set splitting configuration to generate the training data set and the validation data set from the ingested data.
Execution of a Scoring Module
In some embodiments, executing a scoring module includes ingesting data specified by the input data definition of the module, scoring the model specified by the configuration for the scoring module by using the ingested data to generate model scores in accordance with the output data definition for the scoring module.
In some embodiments, metadata generated during execution of the scoring module (and stored in the knowledge graph) includes at least one of: labeled nodes and edges describing scoring model variables, time of execution, duration of execution, the generated scores, sub-model scores variable values, and feature values, information about the scoring model, and information about the input data set used by the scoring model.
Execution of an Evaluation Module
In some embodiments, executing an evaluation module includes ingesting data specified by the input data definition of the module, evaluating the model specified by the configuration for the evaluation module by using the ingested data to generate model evaluations in accordance with the output data definition for the evaluation module.
In some embodiments, model evaluation modules include disparate impact evaluation modules. In some embodiments, executing a disparate impact module includes ingesting data specified by the input data definition of the module, evaluating the model specified by the configuration for the disparate impact module by using the ingested data to generate approval rate differences and information identifying any prohibited variables (and features) used by the model that might result in violations of disparate impact regulations and laws. In some embodiments, executing the disparate impact module includes performing a method for generating disparate impact information as described in U.S. application Ser. No. 16/052,293 (“SYSTEMS AND METHODS FOR PROVIDING MACHINE LEARNING MODEL DISPARATE IMPACT INFORMATION”), filed 1 Aug. 2018, Ser. No. 16/297,099 (“SYSTEMS AND METHODS FOR PROVIDING MACHINE LEARNING MODEL EVALUATION BY USING DECOMPOSITION”), filed 8 Mar. 2019, 62/682,714 (“SYSTEMS AND METHODS FOR DECOMPOSITION OF TREE AND DIFFERENTIABLE MODELS”), filed 8 Jun. 2018, and 62/806,603 (“SYSTEMS AND METHODS FOR DECOMPOSITION OF DIFFERENTIABLE AND NON-DIFFERENTIABLE MODELS”), filed 15 Feb. 2019, the contents of each of which are incorporated by reference herein. In some embodiments, metadata generated during execution of the disparate impact module (and stored in the knowledge graph) includes at least one of: a list of variables (and features) used by a model being evaluated by the disparate impact module, a comparison of approval rate or other outcome disaggregated by at least one population segment, variable contribution to disparity in the outcome between segments, variable contribution to the economic outcome of the model, variables identified as possible proxies for a protected class, and a business purpose for at least one identified proxy variable (or feature). In some embodiments, data ingested by the disparate impact module includes: scores generated by the model being evaluated, and respective input data sets, and information about the model being evaluated. In some embodiments, the information about the model includes business rules such as a credit policy.
In some embodiments, model evaluation modules include adverse action evaluation modules. In some embodiments, executing an adverse action module includes ingesting data specified by the input data definition of the module, evaluating a score generated by the model specified by the configuration for the adverse action module for a given input data set by using the ingested data to generate a list of variables and features that were most impactful in determining the score. In some embodiments, the configuration for the adverse action module includes a credit policy. In some embodiments, executing the adverse action module includes performing a method for generating model score explanation information as described in U.S. application Ser. No. 15/970,626 (“SYSTEMS AND METHODS FOR PROVIDING MACHINE LEARNING MODEL EXPLAINABILITY INFORMATION”), filed 3 May 2018, Ser. No. 16/297,099 (“SYSTEMS AND METHODS FOR PROVIDING MACHINE LEARNING MODEL EVALUATION BY USING DECOMPOSITION”), filed 8 Mar. 2019, 62/682,714 (“SYSTEMS AND METHODS FOR DECOMPOSITION OF TREE AND DIFFERENTIABLE MODELS”), filed 8 Jun. 2018, and 62/806,603 (“SYSTEMS AND METHODS FOR DECOMPOSITION OF DIFFERENTIABLE AND NON-DIFFERENTIABLE MODELS”), filed 15 Feb. 2019, the contents of each of which are incorporated by reference herein In some embodiments, metadata generated during execution of the adverse action module (and stored in the knowledge graph) includes at least one of: a list of variables (and features) used by a model being evaluated by the adverse action module that were impactful for the score being evaluated; and a textual explanation for each variable (and feature) (or group of variable, group of features, or group of variables and features) deemed to be impactful. In some embodiments, data ingested by the adverse action module includes: scores generated by the model being evaluated, and respective input data sets, and information about the model being evaluated. In some embodiments, information about the model being evaluated includes a credit policy.
In some embodiments, model evaluation modules include fairness evaluation modules. In some embodiments, executing a fairness module includes ingesting data specified by the input data definition of the module, evaluating the model specified by the configuration for the fairness module by using the ingested data. In some embodiments, executing the disparate impact module includes performing a method for determining and/or improving model fairness as described in U.S. Application No. 62/820,147 (“SYSTEMS AND METHODS FOR MODEL FAIRNESS”), filed 18 Mar. 2019, the contents of which is incorporated by reference herein.
In some embodiments, metadata generated during execution of the fairness module (and stored in the knowledge graph) includes at least one of: a list of variables (and features) used by a model being evaluated by the fairness module, a comparison of approval rate or other outcome disaggregated by at least one population segment, variable contribution to disparity in the outcome between segments, variable contribution to the economic outcome of the model, variables identified as possible proxies for a protected class, and a business purpose for at least one identified proxy variable (or feature). In some embodiments, data ingested by the fairness module includes: scores generated by the model being evaluated, and respective input data sets, and information about the model being evaluated. In some embodiments, the information about the model includes business rules such as a credit policy.
Generating a MRM Module
In some embodiments, S210 includes generating a MRM module. In some embodiments, the modeling system (e.g., 110) generates the MRM module in response to receiving an API request to generate the MRM module; the modeling system processes the API request to generate the MRM module. In some embodiments, generating a an MRM module includes storing configuration information and metadata for the module in the repository 102. In some embodiments, the repository 102 includes a knowledge graph (as described herein), and generating a MRM module includes generating a node in the knowledge graph, wherein the node includes metadata specifying a transformation (or process) performed by the MRM module, a definition of input data used by the module, and a definition of output data generated by the module.
In some embodiments, each API request to generate an MRM module specifies a transformation (or process) performed by the module, a definition of input data used by the module (e.g., module outputs, data of knowledge graph nodes, and the like), and a definition of output data generated by the module. In some embodiments, each API request to generate an MRM module specifies a module template that identifies a transformation (or process) performed by the module, a definition of input data used by the module, and a definition of output data generated by the module. In some embodiments, each API request to generate an MRM module specifies a module template that identifies a transformation (or process) performed by the module, a definition of input data used by the module, and a definition of output data generated by the module, and the API request also specifies configuration for the module. In some embodiments, an API request to generate an MRM module specifies at least one module coupled to an input of the MRM module to be generated. In some embodiments, an API request to generate an MRM module specifies at least one module coupled to an output of the MRM module to be generated.
In some embodiments, an API request to generate an MRM module specifies at least one knowledge graph node (of the repository 102) coupled to an input of the MRM module to be generated. In some embodiments, an API request to generate an MRM module specifies at least one knowledge graph node (of the repository 102) coupled to an output of the MRM module to be generated.
In some embodiments, after processing the MRM module generation API request by the modeling system 101, the knowledge graph of the repository 102 stores a node representing the generated MRM module.
In some embodiments, MRM modules (e.g., 129 of
Executing an MRM Module
In some embodiments, S221 (executing the MRM module) includes the modeling system executing the MRM module responsive to an execute API request. In some embodiments, S221 includes ingesting data specified by the input data definition of the MRM module, and generating MRM information by using the ingested data in accordance with the output data definition for the MRM module. In some embodiments, the MRM module input data definition (specified by the generated workflow and recorded in the knowledge graph) identifies at least one node of the knowledge graph of the repository 102 (e.g., node 531, 532 of
In some embodiments, metadata generated during execution of the MRM module (and stored in the knowledge graph) includes generated MRM documentation. In some embodiments, metadata generated during execution of the MRM module (and stored in the knowledge graph) includes generated MRM documentation, information about ingested data, and information about a story template used by the MRM module to generate the MRM documentation, and a time of MRM document generation.
In some embodiments, S221 (executing the MRM module) includes at least one of: generating a distribution of values of at least one data field of training input data sets used to train a model of the workflow (generated at S210) (S1110 shown in
In some embodiments, the modeling system stores each distribution generated for the workflow in the knowledge graph for the workflow, in association with the node representing the MRM module. In some embodiments, at least one variable distribution is represented as a median value of the corresponding variable (pass through feature, engineered feature). In some embodiments, at least one score distribution is represented as a median score. In some embodiments, at least one variable distribution is represented as a vector that includes a distribution value for each value of the variable, each distribution value indicating a percentage of data sets having the corresponding variable value. In some embodiments, at least one score distribution is represented as a vector that includes a distribution value for each score value of the associated model, each distribution value indicating a percentage of scores having the corresponding score value.
In some embodiments, S221 includes: identifying all variables being used by a model of the workflow (S1101). In some embodiments, S1101 includes identifying the variables by using a knowledge graph generated at S210 for the workflow. In some embodiments, S1101 includes accessing a node (of the knowledge graph) that represents a feature set module (e.g., 532 shown in
In some embodiments, S221 includes retrieving data sets (S1102). In some embodiments, S1102 includes: the modeling system retrieving at least one of training input data sets, validation input data sets, production input data sets, and hold-out input data sets). In some embodiments, S1102 includes retrieving the data sets by using the knowledge graph (which includes information, e.g., queries, used to retrieve training, validation, and hold out evaluation data, from an associated data file, database, or data store, as applicable). In some embodiments, S1102 includes accessing at least one node (of the knowledge graph) representing a data set module (e.g., 531 shown in
In some embodiments, S221 includes retrieving models scores of the at least one model of the workflow (S1103). In some embodiments, S1103 includes retrieving the data sets by using the knowledge graph (which includes information, e.g., queries, used to retrieve model scores, from an associated data file, database, or data store, as applicable). In some embodiments, S1103 includes accessing at least one node (of the knowledge graph) that records information for scores generated by at least one model of the workflow. In some embodiments, the knowledge graph identifies the node as an input of the MRM module. In some embodiments, S1103 includes accessing a single node. In some embodiments, S1103 includes accessing a plurality of nodes to access the model scores.
In some embodiments, S221 includes: generating MRM information. In some embodiments, generating MRM information includes generating distribution comparison information (S1160).
In some embodiments, S221 includes: generating feature stability information for at least one feature. In some embodiments, generating feature stability information includes generating distribution comparison information (S1160). In some embodiments, feature stability information indicates whether a feature is stable between a first group (subset) of input data sets (e.g., training data sets) and a second group (subset) of input data sets (e.g., validation data sets). In some embodiments, the modeling system determines stability of a feature based on comparison information generated at S1160, as described herein.
In some embodiments, S221 includes: generating feature safety information for at least one feature. In some embodiments, generating feature safety information includes generating distribution comparison information (S1160). In some embodiments, feature safety information indicates whether a shift in distribution of values of a variable (feature) (e.g., as measured by a PSI) between a first group of input data sets (e.g., production data sets within a first sample time period) and a second group of input data sets (e.g, production data sets within a second sample time period) exceeds a threshold value. In some embodiments, the modeling system determines safety of a feature based on comparison information generated at S1160, as described herein.
In some embodiments, S221 includes: generating distribution comparison information (S1160). In some embodiments, the modeling system stores the generated distribution comparison information in the knowledge graph in association with the node representing the MRM module. In some embodiments, S1160 includes: comparing a first distribution with a second distribution. In some embodiments, the modeling system compares the first and second distributions by computing a population stability index.
In some embodiments, the first distribution and the second distribution are represented as a vector that includes a distribution value for each value of the variable, each distribution value indicating a percentage of data sets having the corresponding variable value. In some embodiments, the modeling system compares the first and second distributions for a variable by computing a population stability index (PSI) for each variable value υ (e.g., PSI(υi)), and summing the PSIs for each variable value as shown in Equations 1 and 2.
PSI(υi)=(DV1−DV2)*In(DV1/DV2) [Equation 1]
PSI=sum(PSI(υ1), . . . ,PSI(υn)) [Equation 2]
wherein DV1 is the distribution value of the first distribution and DV2 is the distribution value of the first distribution. In some embodiments, variable values of the variable are binned, and a PSI is computed for each bin, and the PSIs for each bin are summed, as shown in Equations 1 and 2. In some embodiments, binning includes transforming each numeric variable value into a categorical value, and re-grouping and consolidating the categorical values into bins. For example, ages of people can be grouped (binned) into a smaller number of age intervals.
In some embodiments, the modeling system compares the first and second distributions for a variable by computing a median variable value for the first distribution, computing a median value for the second distribution, and determining a difference between the median variable value for the first distribution and the median value for the second distribution.
In some embodiments, the modeling system compares the first and second distributions for a non-numeric variable by performing a Chi-Squared process.
In some embodiments, S1160 is performed by a feature stability module (e.g., corresponding to the knowledge graph node shown in 620 of
In some embodiments, the modeling system compares the first and second distributions by performing steps of the Kolmogorov-Smirnov test.
In some embodiments, the modeling system compares the first and second distributions by computing a median of the first distribution, computing a median of the second distribution, and comparing the two medians.
In some embodiments, the modeling system compares the first and second distributions by computing quantiles of the first distribution, computing quantiles of the second distribution, and comparing the quantiles of the first distribution with quantiles of the second distribution.
In some embodiments, the first distribution is a distribution of values of a variable across training input data sets (e.g., generated at S1110) and the second distribution is a distribution of values of the variable across validation input data sets (e.g., generated at S1120). In some embodiments, the first distribution is a distribution of values of a variable across training input data sets (e.g., generated at S1110) and the second distribution is a distribution of values of the variable across production input data sets (e.g., generated at S1130). In some embodiments, the first distribution is a distribution of values of a variable across validation input data sets (e.g., generated at S1120) and the second distribution is a distribution of values of the variable across production input data sets (e.g., generated at S1130). In some embodiments, the first distribution is a distribution of values of a variable across validation input data sets (e.g., generated at S1120) and the second distribution is a distribution of values of the variable across hold-out input data sets. In some embodiments, the first distribution is a distribution of values of a variable across training input data sets (e.g., generated at S1110) and the second distribution is a distribution of values of the variable across hold-out input data sets. In some embodiments, the first distribution is a distribution of values of a variable across hold-out input data sets and the second distribution is a distribution of values of the variable across production input data sets. In some embodiments, the first distribution is a distribution of values of a variable across production input data sets of a first time period and the second distribution is a distribution of values of the variable across production input data sets of a second time period. In some embodiments, the first distribution is a distribution of values of a variable across training input data sets of a first time period and the second distribution is a distribution of values of the variable across training input data sets of a second time period.
In some embodiments, S1130 includes continuously generating distributions of a variable of production input data sets over time at periodic intervals, and S1160 includes tracking distribution of the variable of the production input data sets over time. In some embodiments, S1130 includes continuously generating a median value for distributions of a variable of production input data sets over time, and S1160 includes tracking the median values of the variable of the production input data sets over time.
In some embodiments, S1160 includes: for at least one variable used by a model of the workflow, training an autoencoder neural network (as described herein) on training input data sets used by the model; processing the validation input data sets by using the trained autoencoder to generate reconstructed validation input data sets; computing a validation MSE (mean squared error), or other suitable metric, for the trained autoencoder between the validation input data sets and the reconstructed validation input data sets; processing production input data sets by using the trained autoencoder to generate reconstructed production input data sets; computing a production MSE for the trained autoencoder between the production input data sets and the reconstructed production input data sets; generating the comparison information by comparing the validation MSE with the production MSE.
In some embodiments, the comparison information generated at S1160 is a numeric score that represents the similarity of production data to data observed in model training of the associated model of the workflow.
In some embodiments, S221 includes: generating MRM documentation (S1170). In some embodiments, S221 includes: generating MRM documentation (S1170) based on generated distribution comparison information (e.g., generated at S1160). In some embodiments, the modeling system generates the MRM documentation in accordance with a story template (e.g., 803 shown in
In some embodiments, generating MRM documentation (S1170) includes: generating feature safety information for at least one feature. In some embodiments, the MRM document (e.g., shown in
In some embodiments, the story template 803 includes instructions for computing a PSI value for each feature. In some embodiments, the story template 803 includes instructions for computing a maximum PSI value for each feature. In some embodiments, the story template 803 includes instructions for accessing a PSI threshold value for each feature. In some embodiments, the MRM module executes the story template at periodic intervals, and records the computed PSI values at each interval in the feature set node 532. In some embodiments, the story template 803 includes instructions for: computing a current PSI value for each feature during execution of the story template, retrieving for each feature (e.g., from the feature set node 532) a previously computed PSI value, comparing the current PSI value with the previously computed PSI value for each feature, and adding the result of the comparison to the MRM documentation (e.g., the document shown in
In some embodiments, the MRM module computes PSI values for each feature identified in the node 532 at periodic intervals, and stores the computed PSI values for each feature in the feature set node 532.
In some embodiments, the MRM module generates comparison information for each feature identified in the node 532 at periodic intervals (S1160), and stores the comparison information for each feature in the feature set node 532. In some embodiments, the MRM module generates a MRM document that includes at least one of the following for at least one feature identified by the feature set node 532: name of the feature, provenance of the feature, method for the feature, comparison information for at least one of the periodic intervals, and information identifying a shift in distribution.
In some embodiments, a monitoring module (e.g., 130) uses the comparison information to generate an alert (e.g, at S223). In some embodiments, the monitoring module accesses the comparison information form the knowledge graph.
In some embodiments, S221 includes: the modeling system (e.g., 101) retrieving the list of all variables being used for modeling from the knowledge graph generated at S210 for the workflow. Retrieving the list of variables from the knowledge graph can include accessing a node representing a feature set module (e.g., 532 shown in
In some embodiments, during generation of a distribution (e.g., S1110, S1120, S1130, S1140, and S1150) the modeling system retrieves the datasets relevant to generating the distribution from the knowledge graph of the workflow. Retrieving the relevant data sets from the knowledge graph can include accessing a node representing a data set module (e.g., 531 shown in
With respect to distributions of variable values, in some embodiments, the following is recorded in the knowledge graph of the workflow in association with a comparison generated for each variable: the comparison method used to compare the distributions, a quantification of the difference, and the timeframe in which the difference occurred.
With respect to distributions of model scores, in some embodiments, the following is recorded in the knowledge graph of the workflow in association with each set of production input data: the comparison method used to compare the distributions, a quantification of the difference, and the timeframe in which the difference occurred.
In some embodiments, the comparison information (generated at S1160) is stored in a knowledge graph or structured database where inputs, transformations, outputs and metadata related to the comparisons may be stored and associated with each other via labeled edges. In this way, the knowledge graph enables an operator to retrieve a rich, machine-readable description of the full chain of history related to an anomalous result as identified by the comparison information: anomaly detection output is stored in the knowledge graph where it is related to the specific feature and dataset and thresholds/methods used to produce it; the features are mapped to functions used to construct the features from raw input data; and the raw input data is mapped to datasets and databases where the data was retrieved. A model's feature importance and economic impact analysis may also be stored in relation to the anomaly detection output. These machine-readable relations enable new and useful automated analysis and reporting: a query to the knowledge graph may now answer if a detected anomaly matters (is this feature important to the model and what is the economic impact of the anomaly) and how to fix it (it came from this feature which is comprised of these other inputs that come from these data stores using this function to combine them).
In some embodiments, S221 includes ingesting first data of a first set of knowledge graph nodes for a first modeling workflow, ingesting second data of a second set of knowledge graph nodes for a second modeling workflow, and generating MRM documentation by performing comparisons of the first data and the second data. In some embodiments, the first data includes data generated during execution of the first modeling workflow, and the second data includes data generated during execution of the second modeling workflow.
In some embodiments, the generated MRM documentation includes at least one of fair lending documentation, model comparison information, sensitivity analysis information, feature importance information, unexpected input data information, unexpected score information, an adverse action reason code mapping, variable safety analysis information, model performance over time information, economic analysis information, and segment analysis information. In some embodiments, the generated MRM documentation includes variables, engineered features, and features selected to be used in the model of the associated workflow. In some embodiments, the MRM documentation is generated based on a user-configurable template. In some embodiments, the user-configurable template includes static content and dynamic content generated based on data stored in a data store (e.g., the knowledge graph, another data store, etc.).
Modeler Task Module
In some embodiments, the modules 120 includes a modeler task module that performs a modeling task when executed. In some embodiments, module task modules are constructed to ingest data from at least one node of the knowledge graph of the repository 102 and generate output by performing a modeler task.
Executing a Monitoring Module
In some embodiments, S223 (executing a model monitoring module) includes using the comparison information (generated at S1160, and stored in the knowledge graph) to generate an alert. In some embodiments, a monitoring module (e.g., 130) accesses the comparison information form the knowledge graph. In some embodiments, S223 includes: generating an alert if the comparison information satisfies an alert condition.
In some embodiments, S240 includes: the modeling system providing the generated alert to an external system. In some embodiments, the alert is one or more of an alert email and an alert text message. In some embodiments, other alert mechanisms are used to provide the generated alert to the external system.
In some embodiments, S223 includes using the comparison information (generated at S1160) that is stored in the knowledge graph to monitor operation of a model of the workflow in a production environment to identify anomalies in the model's operation. In some embodiments, monitored anomalies include one or more of: unexpected input data, and unexpected output scores.
In some embodiments, S223 includes: identifying unexpected input data in production input data sets in response to detecting a change in distribution of values for a feature, based on comparison information stored in the knowledge graph for the feature. In some embodiments, in a case where a large shift in median value for a variable of production input data is detected, as indicated by a comparison of median values for the variable computed over time, an alert is generated to indicate likelihood of an anomaly in input data.
In some embodiments, S223 includes: detecting unexpected input data during processing of the workflow. In some embodiments, detecting unexpected input data during processing of the workflow includes: during execution of the model scoring module (of the workflow) by the modeling system, and for each feature of production data sets used by the model scoring module: automatically comparing a production distribution of feature values with a reference distribution of feature values for the feature, and in a case where results of a comparison satisfy an alert condition, providing an alert to an external system that indicates detection of unexpected input data. In some embodiments, detecting unexpected input data includes identifying each feature by accessing a knowledge graph node of a feature set module of the knowledge graph. In some embodiments, the modeling system generates each production distribution of feature values and generates each reference distribution of feature values, and stores each production distribution of feature values and each reference distribution of feature values in the knowledge graph in association with the model scoring module. In some embodiments, each production distribution is a distribution of feature values within a first subset of production data sets used by the model scoring module, and each reference distribution is a distribution of feature values within a second subset of production data sets used by the model scoring module. In some embodiments, each reference distribution is a distribution of feature values within a validation data set used to validate the model scoring module. In some embodiments, each reference distribution is a distribution of feature values within a training data set used to train the model scoring module.
In some embodiments, S223 includes: identifying unexpected model scores for production input data sets in response to detecting a change in distribution of model scores values for the model, based on comparison information stored in the knowledge graph for the model. In some embodiments, in a case where a large shift in median value for model score values of the model for production input data is detected, as indicated by a comparison of median values for the model scores computed over time, an alert is generated to indicate likelihood of an anomaly in model scores.
In some embodiments, S223 includes: detecting unexpected scores during processing of the workflow. In some embodiments, detecting unexpected scores during processing of the workflow includes: during execution of a model scoring module (of the workflow) by the modeling system, automatically comparing a production distribution of scores with a reference distribution of scores, and in a case where results of the comparison satisfy an alert condition, providing an alert to an external system that indicates detection of an unexpected score. In some embodiments, the modeling system generates the production distribution of scores and generates the reference distribution of scores, and stores the production distribution of scores and the reference distribution of scores in the knowledge graph in association with the model scoring module. In some embodiments, the reference distribution of scores is a distribution of scores generated by the model scoring module for a validation data set. In some embodiments, the production distribution of scores is a distribution of scores generated by the model scoring module for a first subset of production input data sets, wherein the reference distribution of scores is a distribution of scores generated by the model scoring module for a second subset of production input data sets.
By virtue of the foregoing, the modeling system generates insights into model safety in production, based on the expectations generated during the modeling process and recorded in a knowledge graph as structured metadata.
In some embodiments, the system of
In some embodiments, the bus 301 interfaces with the processors (301A-N), the main memory (322) (e.g., a random access memory (RAM)), a read only memory (ROM) (305), a processor-readable storage medium (305), and a network device (311). In some embodiments, bus 301 interfaces with at least one of a display device and a user input device.
In some embodiments, the processors include one or more of an ARM processor, an X86 processor, a GPU (Graphics Processing Unit), and the like. In some embodiments, at least one of the processors includes at least one arithmetic logic unit (ALU) that supports a SIMD (Single Instruction Multiple Data) system that provides native support for multiply and accumulate operations.
In some embodiments, at least one of a central processing unit (processor), a GPU, and a multi-processor unit (MPU) is included.
In some embodiments, the processors and the main memory form a processing unit 399. In some embodiments, the processing unit includes one or more processors communicatively coupled to one or more of a RAM, ROM, and machine-readable storage medium; the one or more processors of the processing unit receive instructions stored by the one or more of a RAM, ROM, and machine-readable storage medium via a bus; and the one or more processors execute the received instructions. In some embodiments, the processing unit is an ASIC (Application-Specific Integrated Circuit). In some embodiments, the processing unit is a SoC (System-on-Chip).
In some embodiments, the processing unit includes at least one arithmetic logic unit (ALU) that supports a SIMD (Single Instruction Multiple Data) system that provides native support for multiply and accumulate operations. In some embodiments the processing unit is a Central Processing Unit such as an Intel Xeon processor. In other embodiments, the processing unit includes a Graphical Processing Unit such as NVIDIA Tesla.
The network adapter device provides one or more wired or wireless interfaces for exchanging data and commands. Such wired and wireless interfaces include, for example, a universal serial bus (USB) interface, Bluetooth interface, Wi-Fi interface, Ethernet interface, near field communication (NFC) interface, and the like.
Machine-executable instructions in software programs (such as an operating system 312, application programs 3134, and device drivers 314) are loaded into the memory (of the processing unit) from the processor-readable storage medium, the ROM or any other storage location. During execution of these software programs, the respective machine-executable instructions are accessed by at least one of processors (of the processing unit) via the bus, and then executed by at least one of processors. Data used by the software programs are also stored in the memory, and such data is accessed by at least one of processors during execution of the machine-executable instructions of the software programs. The processor-readable storage medium is one of (or a combination of two or more of) a hard drive, a flash drive, a DVD, a CD, an optical disk, a floppy disk, a flash storage, a solid state drive, a ROM, an EEPROM, an electronic circuit, a semiconductor memory device, and the like. The processor-readable storage medium includes machine-executable instructions (and related data) for an operating system 312, software programs 313, device drivers 314, the API 110, the modules 120, and the repository 102.
The systems and methods of some embodiments and variations thereof can be embodied and/or implemented at least in part as a machine configured to receive a computer-readable medium storing computer-readable instructions. The instructions are preferably executed by computer-executable components. The computer-readable medium can be stored on any suitable computer-readable media such as RAMs, ROMs, flash memory, EEPROMs, optical devices (CD or DVD), hard drives, floppy drives, or any suitable device. The computer-executable component is preferably a general or application specific processor, but any suitable dedicated hardware or hardware/firmware combination device can alternatively or additionally execute the instructions.
As a person skilled in the art will recognize from the previous detailed description and from the figures and claims, modifications and changes can be made to the embodiments disclosed herein without departing from the scope defined in the claims.
This application claims the benefit of U.S. Provisional Application No. 62/666,991 filed 4 May 2018, which is incorporated in its entirety by this reference.
Number | Name | Date | Kind |
---|---|---|---|
525413 | Gates | Sep 1894 | A |
5745654 | Titan | Apr 1998 | A |
5999938 | Bliss et al. | Dec 1999 | A |
6034314 | Koike | Mar 2000 | A |
6877656 | Jaros et al. | Apr 2005 | B1 |
7035811 | Gorenstein | Apr 2006 | B2 |
7280980 | Hoadley et al. | Oct 2007 | B1 |
7467116 | Wang | Dec 2008 | B2 |
7499919 | Meyerzon et al. | Mar 2009 | B2 |
7542993 | Satterfield et al. | Jun 2009 | B2 |
7610257 | Abrahams | Oct 2009 | B1 |
7711635 | Steele et al. | May 2010 | B2 |
7765151 | Williams et al. | Jul 2010 | B1 |
7813945 | Bonissone et al. | Oct 2010 | B2 |
7873535 | Umblijs et al. | Jan 2011 | B2 |
7873570 | Cagan et al. | Jan 2011 | B2 |
7921359 | Friebel | Apr 2011 | B2 |
7941363 | Tanaka et al. | May 2011 | B2 |
7941425 | Sahu et al. | May 2011 | B2 |
7970676 | Feinstein | Jun 2011 | B2 |
7987177 | Beyer et al. | Jul 2011 | B2 |
7996392 | Liao et al. | Aug 2011 | B2 |
8078524 | Crawford et al. | Dec 2011 | B2 |
8086523 | Palmer | Dec 2011 | B1 |
8166000 | Labrie et al. | Apr 2012 | B2 |
8200511 | Zizzamia et al. | Jun 2012 | B2 |
8219500 | Galbreath et al. | Jul 2012 | B2 |
8280805 | Abrahams | Oct 2012 | B1 |
8335741 | Kornegay et al. | Dec 2012 | B2 |
8442886 | Haggerty et al. | May 2013 | B1 |
8452699 | Crooks | May 2013 | B2 |
8515842 | Papadimitriou | Aug 2013 | B2 |
8554756 | Gemmell et al. | Oct 2013 | B2 |
8560436 | Lau et al. | Oct 2013 | B2 |
8600966 | Kravcik | Dec 2013 | B2 |
8626645 | Lazerson | Jan 2014 | B1 |
8645417 | Groeneveld et al. | Feb 2014 | B2 |
8660943 | Chirehdast | Feb 2014 | B1 |
8694401 | Stewart | Apr 2014 | B2 |
8744946 | Shelton | Jun 2014 | B2 |
8799150 | Annappindi | Aug 2014 | B2 |
9047392 | Wilkes et al. | Jun 2015 | B2 |
9268850 | El-Charif et al. | Feb 2016 | B2 |
9405835 | Wheeler et al. | Aug 2016 | B2 |
9501749 | Narsky | Nov 2016 | B1 |
9639805 | Feller | May 2017 | B1 |
9686863 | Chung et al. | Jun 2017 | B2 |
10121115 | Chrapko | Nov 2018 | B2 |
10581887 | Dinerstein | Mar 2020 | B1 |
10684598 | Alanqar et al. | Jun 2020 | B1 |
10719301 | Dasgupta et al. | Jul 2020 | B1 |
10824959 | Chatterjee | Nov 2020 | B1 |
10977558 | Herbster | Apr 2021 | B2 |
11296971 | Jain | Apr 2022 | B1 |
20020038277 | Yuan | Mar 2002 | A1 |
20020091650 | Ellis | Jul 2002 | A1 |
20020138414 | Pitman | Sep 2002 | A1 |
20020178113 | Clifford et al. | Nov 2002 | A1 |
20030009369 | Gorenstein | Jan 2003 | A1 |
20030033242 | Lynch et al. | Feb 2003 | A1 |
20030033587 | Ferguson et al. | Feb 2003 | A1 |
20030046223 | Crawford et al. | Mar 2003 | A1 |
20030101080 | Zizzamia et al. | May 2003 | A1 |
20030147558 | Loui et al. | Aug 2003 | A1 |
20030176931 | Pednault | Sep 2003 | A1 |
20040068509 | Garden et al. | Apr 2004 | A1 |
20040107161 | Tanaka et al. | Jun 2004 | A1 |
20040199456 | Flint et al. | Oct 2004 | A1 |
20050055296 | Hattersley et al. | Mar 2005 | A1 |
20050114279 | Scarborough et al. | May 2005 | A1 |
20050234762 | Pinto | Oct 2005 | A1 |
20050278246 | Friedman et al. | Dec 2005 | A1 |
20060047613 | Labreuche | Mar 2006 | A1 |
20060083214 | Grim. III | Apr 2006 | A1 |
20060106570 | Feldman | May 2006 | A1 |
20060112039 | Wang | May 2006 | A1 |
20060167654 | Keinan et al. | Jul 2006 | A1 |
20060200396 | Satterfield et al. | Sep 2006 | A1 |
20060218067 | Steele | Sep 2006 | A1 |
20070005313 | Sevastyanov | Jan 2007 | A1 |
20070011175 | Langseth | Jan 2007 | A1 |
20070016542 | Rosauer et al. | Jan 2007 | A1 |
20070050286 | Abrahams | Mar 2007 | A1 |
20070055619 | Abrahams et al. | Mar 2007 | A1 |
20070067284 | Meyerzon et al. | Mar 2007 | A1 |
20070106550 | Umblijs et al. | May 2007 | A1 |
20070112668 | Celano et al. | May 2007 | A1 |
20070124236 | Grichnik et al. | May 2007 | A1 |
20070288338 | Hoadley et al. | Dec 2007 | A1 |
20080133402 | Kurian et al. | Jun 2008 | A1 |
20080208820 | Usey et al. | Aug 2008 | A1 |
20080222061 | Soetjahja | Sep 2008 | A1 |
20080306893 | Saidi et al. | Dec 2008 | A1 |
20080307006 | Lee | Dec 2008 | A1 |
20090006283 | Abrie et al. | Jan 2009 | A1 |
20090006356 | Liao et al. | Jan 2009 | A1 |
20090015433 | James | Jan 2009 | A1 |
20090024517 | Crooks | Jan 2009 | A1 |
20090030888 | Sahu et al. | Jan 2009 | A1 |
20090037308 | Feinstein | Feb 2009 | A1 |
20090192980 | Beyer et al. | Jul 2009 | A1 |
20090216748 | Kravcik | Aug 2009 | A1 |
20090254572 | Redlich et al. | Oct 2009 | A1 |
20090299911 | Abrahams | Dec 2009 | A1 |
20090319521 | Groeneveld et al. | Dec 2009 | A1 |
20100005018 | Tidwell | Jan 2010 | A1 |
20100010878 | Pinto et al. | Jan 2010 | A1 |
20100010935 | Shelton | Jan 2010 | A1 |
20100082476 | Bowman | Apr 2010 | A1 |
20100257459 | Galbreath et al. | Oct 2010 | A1 |
20100325067 | Cagan et al. | Dec 2010 | A1 |
20110071969 | Doctor et al. | Mar 2011 | A1 |
20110078073 | Annappindi | Mar 2011 | A1 |
20110112957 | Ingram et al. | May 2011 | A1 |
20110161263 | Lee | Jun 2011 | A1 |
20110173116 | Yan | Jul 2011 | A1 |
20110178902 | Imrey | Jul 2011 | A1 |
20110184941 | El-Charif et al. | Jul 2011 | A1 |
20110320423 | Gemmell et al. | Dec 2011 | A1 |
20120053951 | Kowalchuk et al. | Mar 2012 | A1 |
20120059819 | Wheeler et al. | Mar 2012 | A1 |
20120066106 | Papadimitriou | Mar 2012 | A1 |
20120066116 | Kornegay et al. | Mar 2012 | A1 |
20120072029 | Persaud et al. | Mar 2012 | A1 |
20120082476 | Ito et al. | Apr 2012 | A1 |
20120239613 | Danciu | Sep 2012 | A1 |
20130091050 | Merrill | Apr 2013 | A1 |
20130103569 | Gopinathan | Apr 2013 | A1 |
20130138553 | Nikankin et al. | May 2013 | A1 |
20130185189 | Stewart | Jul 2013 | A1 |
20140012794 | Dillon et al. | Jan 2014 | A1 |
20140014047 | Garcia et al. | Jan 2014 | A1 |
20140025872 | Flynn | Jan 2014 | A1 |
20140052604 | Stewart | Feb 2014 | A9 |
20140081832 | Merrill et al. | Mar 2014 | A1 |
20140108665 | Arora | Apr 2014 | A1 |
20140122355 | Hardtke et al. | May 2014 | A1 |
20140149177 | Frank et al. | May 2014 | A1 |
20140172886 | Wilkes et al. | Jun 2014 | A1 |
20140180790 | Boal | Jun 2014 | A1 |
20140181267 | Wadkins | Jun 2014 | A1 |
20140310661 | Frederickson et al. | Oct 2014 | A1 |
20140310681 | Poozhiyil | Oct 2014 | A1 |
20150019912 | Darling et al. | Jan 2015 | A1 |
20150056229 | Nandy et al. | Feb 2015 | A1 |
20150081602 | Talley et al. | Mar 2015 | A1 |
20150161098 | Granshaw | Jun 2015 | A1 |
20150213361 | Gamon | Jul 2015 | A1 |
20150317337 | Edgar | Nov 2015 | A1 |
20150347485 | Cai | Dec 2015 | A1 |
20150379428 | Dirac et al. | Dec 2015 | A1 |
20160042292 | Caplan | Feb 2016 | A1 |
20160088723 | Chung et al. | Mar 2016 | A1 |
20160110353 | Merrill et al. | Apr 2016 | A1 |
20160132787 | Drevo et al. | May 2016 | A1 |
20160300252 | Frank et al. | Oct 2016 | A1 |
20160371238 | Heavenrich | Dec 2016 | A1 |
20170061326 | Talathi et al. | Mar 2017 | A1 |
20170109657 | Marcu | Apr 2017 | A1 |
20170124464 | Crabtree et al. | May 2017 | A1 |
20170140518 | Liang et al. | May 2017 | A1 |
20170220633 | Porath | Aug 2017 | A1 |
20170222960 | Agarwal et al. | Aug 2017 | A1 |
20170316311 | Pilly | Nov 2017 | A1 |
20170330058 | Silberman et al. | Nov 2017 | A1 |
20180018578 | Yoshizumi | Jan 2018 | A1 |
20180025273 | Jordan | Jan 2018 | A1 |
20180060738 | Achin | Mar 2018 | A1 |
20180068219 | Turner et al. | Mar 2018 | A1 |
20180268262 | Osada | Sep 2018 | A1 |
20180293712 | Vogels et al. | Oct 2018 | A1 |
20180322406 | Merrill et al. | Nov 2018 | A1 |
20180349986 | Fidanza | Dec 2018 | A1 |
20190042887 | Nguyen | Feb 2019 | A1 |
20190043070 | Merrill et al. | Feb 2019 | A1 |
20190114704 | Way | Apr 2019 | A1 |
20190228006 | Tormasov et al. | Jul 2019 | A1 |
20190244122 | Li | Aug 2019 | A1 |
20190279111 | Merrill et al. | Sep 2019 | A1 |
20190287025 | Perez | Sep 2019 | A1 |
20190303404 | Amer | Oct 2019 | A1 |
20190311298 | Kopp et al. | Oct 2019 | A1 |
20190318202 | Zhao | Oct 2019 | A1 |
20190318421 | Lyonnet | Oct 2019 | A1 |
20190325514 | Hong | Oct 2019 | A1 |
20190340518 | Merrill | Nov 2019 | A1 |
20190340684 | Belanger et al. | Nov 2019 | A1 |
20190354806 | Chhabra | Nov 2019 | A1 |
20190354853 | Zoldi | Nov 2019 | A1 |
20190378210 | Merrill et al. | Dec 2019 | A1 |
20200005136 | Spryn | Jan 2020 | A1 |
20200012917 | Pham et al. | Jan 2020 | A1 |
20200082299 | Vasconcelos | Mar 2020 | A1 |
20200160177 | Durand | May 2020 | A1 |
20200175586 | McKenna | Jun 2020 | A1 |
20200183047 | Denli et al. | Jun 2020 | A1 |
20200231466 | Lu | Jul 2020 | A1 |
20200242492 | Goel | Jul 2020 | A1 |
20200257927 | Nomi | Aug 2020 | A1 |
20200257961 | Hua et al. | Aug 2020 | A1 |
20210019603 | Friedman | Jan 2021 | A1 |
20210133631 | Prendki | May 2021 | A1 |
20210209688 | Krishnamurthy | Jul 2021 | A1 |
20210224605 | Zhang | Jul 2021 | A1 |
20210256392 | Chen | Aug 2021 | A1 |
20210281491 | Yelahanka Raghuprasad | Sep 2021 | A1 |
20210406815 | Mimassi | Dec 2021 | A1 |
20220019741 | Roy | Jan 2022 | A1 |
20220122171 | Hubard | Apr 2022 | A1 |
20220188519 | Briody | Jun 2022 | A1 |
20220188568 | Singh | Jun 2022 | A1 |
20220191332 | Ahmadi | Jun 2022 | A1 |
Number | Date | Country |
---|---|---|
2014014047 | Jan 2014 | WO |
2014055238 | Apr 2014 | WO |
2014121019 | Aug 2014 | WO |
2014184381 | Nov 2014 | WO |
2015056229 | Apr 2015 | WO |
2015081160 | Jun 2015 | WO |
2019028179 | Feb 2019 | WO |
Entry |
---|
Bean, D.M., Wu, H., Iqbal, E., Dzahini, O., Ibrahim, Z.M., Broadbent, M., Stewart, R. and Dobson, R.J., 2017. Knowledge graph prediction of unknown adverse drug reactions and validation in electronic health records. Scientific reports, 7(1), pp. 1-11. |
Zhao, Q., Li, Q. and Wen, J., 2018. Construction and application research of knowledge graph in aviation risk field. In MATEC Web of Conferences (vol. 151, p. 05003). EDP Sciences. |
Min, W., Tang, Z., Zhu, M., Dai, Y., Wei, Y. and Zhang, R., Jan. 2018, Behavior language processing with graph based feature generation for fraud detection in online lending. In Proceedings of workshop on misinformation and misbehavior mining on the web. |
Office Action (Non-Final Rejection) dated Mar. 2, 2022 for U.S. Appl. No. 16/434,731 (pp. 1-6). |
“International Search Report and Written Opinion of the ISA, dated Aug. 23, 2019, for application No. PCT/US19/036049.” |
Strumbelj, Eric , et al., “An Efficient Explanation of Individual Classifications using Game Theory”, Journal of Machine Learning Research 11 (2010) 1-18. |
International Search Report and Written Opinion of the ISA for application No. PCT/20/23370 dated Jun. 18, 2020. |
“International Search Report and Written Opinion of the ISA, dated Sep. 16, 2019, for application No. PCT/US19/029148.” |
“ZestFinance releases new software tool to reduce bias in AI-powered credit scoring models: New fairness filter can put 170,000 more minority families into homes”, Mar. 19, 2019, PR Newswire. |
Nesiba, Reynold F., “The Color of Credit: Mortgage Discrimination, Research Methodology, and Fair-Lending Enforcement”, Journal of Economic Issues, 37 (3), 813-815, 2003. |
Johnson, Kristen , et al., “Artificial Intelligence, Machine Learning, and Bias in Finance: Toward Responsible Innovation”, Fordham Law Review, Volume ** , Issue 2, Article 5, 2019, pp. 499-529. |
Lippert, John , “ZestFinance Issues small, high-rate loans, uses big data to weed out deadbeats”, The Washington Post, Oct. 12, 2014. |
Tonk, Stijn , “Towards fairness in ML with adversarial networks”, http://godatadriven.com/, Apr. 27, 2019. |
Abadi, Martin , et al., “TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems”, Preliminary White Paper, Nov. 9, 2015. |
Chen, Tianqi , et al., “XGBoost: A Scalable Tree Boosting System”, KDD '16, Aug. 13-17, 2016, San Francisco, CA, USA. |
Cortes, Corinna , et al., “Support-Vector Networks”, AT&T Labs-Research, USA, Journal Machine Learning, vol. 20, Issue 3, Sep. 1995. |
Friedman, Jerome H., “Greedy Function Approximation: A Gradient Boosting Machine”, IMS 1999 Reitz Lecture, Feb. 24, 1999. |
Garcia-Pedradas, Nicolas , et al., “Nonlinear Boosting Projections for Ensemble Contruction”, Journal of Machine Learning Research 8 (2007) 1-33. |
Geurts, Pierre , et al., “Extremely randomized trees”, Springer Science + Business Media, Inc., pub. online Mar. 2, 2006. |
Merrill, John W. L. , et al., “Generalized Integrated Gradients: A practical method for explaining diverse ensembles”, Journal of Machine Learning Research Under Review (2019). |
Merrill, Douglas C, et al., “Systems and Methods for Decomposition of Non-Differentiable and Differentiable Models”, U.S. Appl. No. 16/434,731, filed Jun. 7, 2019. |
Merrill, Douglas C, et al., “Systems and Methods for Enriching Modeling Tools and Infrastructure with Semantics”, U.S. Appl. No. 16/394,651, filed Apr. 25, 2019. |
Rumelhart, David E., et al., “Learning representations by back-propagating errors”, Nature vol. 323, Oct. 9, 1986. |
Shapley, L. S. , “A Value For n-Person Games”, P-295, The Rand Corporation,Mar. 18, 1952. |
Wolpert, David H., “Stacked Generalization”, Original contribution: Stacked generalization. Neural Netw., 5(2):241 {259, Feb. 1992. |
Ward, et al., “An exploration of the influence of path choice in game-theoretic attribuution algorithms,” Journal of Machine Learning Research Under Review (2020), 21 pages. |
“International Search Report and Written Opinion of the ISA, dated Jul. 5, 2019, for application No. PCT/US19/021381.” |
Breiman, Leo , et al., “Random Forests”, Machine Learning, 45, 5-32, 2001. |
Kamkar, Sean Javad, “Mesh Adaption Strategies for Vortex-Dominated Flows”, Standard University, Feb. 2011. |
Louppe, Gilles , et al., “Learning to Pivot with Adversarial Networks”, 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, https://papers.nips.cc/paper/6699-learning-to-pivot-with-adversarial-networks.pdf. |
Lundberg, Scott M., et al., “A Unified Approach to Interpreting Model Predictions”, 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, Nov. 25, 2017. |
Lundberg, Scott M., et al., “Consistent Individualized Feature Attribution for Tree Ensembles”, University of Washington, Mar. 7, 2019. |
Modarres, Ceena , et al., “Towards Explainable Deep Learning for Credit Lending: A Case Study”, arXiv: 1811.06471v2 [cs.LG], Nov. 30, 2018. |
Richardson, L. F. , “The approximate arithmetical solution by finite differences of physical problems including differential equations, with an application to the stresses in a masonry dam”, Philosophical Transactions of the Royal Society A. 210 (459-470): 307-357. doi:10.1098/rsta.1911.0009, Nov. 2, 1909. |
Richardson, L. F. , “The deferred approach to the limit”, Philosophical Transactions of the Royal Society A. 226 (636-646): 299-349. doi:10.1098/rsta.1927.0008, Oct. 14, 1926. |
Tonk, Stijn , “Towards fairness in ML with adversarial networks”, https://blog.godatadriven.com/fairness-in-ml, Apr. 27, 2019. |
Boris Sharchilev et al: “Finding Influential Training Samples for Gradient Boosted Decision Trees”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853, Feb. 19, 2018 (Feb. 19, 2018), XP081223129, 10 pages. |
European Extended Search Report issued in EP19764112.9, dated Jun. 27, 2022, 11 pages. |
European Extended Search Report issued in EP19764112.9, dated Mar. 24, 2022, 14 pages. |
Kang et al., “A novel credit scoring framework for auto loan using an imbalanced-learning-based reject inference”. 2019 IEEE Conference on Computational Intelligence for Financial Engineering & Economics (CIFEr). May 4-5, 2019. DOI: 10.1109/CIFEr 2019.8759110, 8 pages (Year: 2019). |
Marco Ancona et al: “Towards better understanding of gradient-based attribution methods for Deep Neural Networks”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853, Mar. 7, 2018 (Mar. 7, 2018), XP081506780, 16 pages. |
Mukund Sundararajan et al: “Axiomatic Attribution for Deep Networks”, arxiv.org, Cornell University Ibrary, 201 Olin Library Cornell University Ithaca, NY 14853, Mar. 4, 2017 (Mar. 4, 2017), XP080754192, 10 pages. |
Office Action (Non-Final Rejection) dated May 24, 2022 for U.S. Appl. No. 16/688,789 (pp. 1-17). |
Office Action (Non-Final Rejection) dated Jun. 24, 2022 for U.S. Appl. No. 17/385,452 (pp. 1-14). |
Wikipedia entry on “Autoencoder”. https://en.wikipedia.org/wiki/Autoencoder Downloaded Jun. 15, 2022 (Year: 2022). |
Office Action (Final Rejection) dated Aug. 16, 2022 for U.S. Appl. No. 15/977,105 (pp. 1-17). |
Office Action (Non-Final Rejection) dated Aug. 1, 2022 for U.S. Appl. No. 16/052,293 (pp. 1-15). |
Office Action (Non-Final Rejection) dated Sep. 15, 2022 for U.S. Appl. No. 17/535,511 (pp. 1-11). |
Office Action (Non-Final Rejection) dated Sep. 22, 2022 for U.S. Appl. No. 17/223,698 (pp. 1-8). |
Dong Yue et al, “Threaded ensembles of autoencoders for stream learning : Neural Networks for Stream Learning”, Computational Intelligence, vol. 34, No. 1, doi:10.1111/coin.12146, ISSN 0824-7935, (Feb. 1, 2018), pp. 261-281, URL: https://api.wiley.com/onlinelibrary/tdm/v1/articles/10.1111%2Fcoin.12146, XP055925516 (Absract). |
European Extended Search Report issued in EP19796824.1, dated Jun. 13, 2022, 9 pages. |
International Preliminary Report on Patentability in International Appln. No. PCT/US2019/029148, dated Nov. 19, 2020, 6 pages. |
Li, Hongxiang, et al. “A novel method for credit scoring based on feature transformation and ensemble model.” PeerJ Computer Science 7 (2021): e579. 19 pages. |
Office Action (Final Rejection) dated Dec. 7, 2022 for U.S. Appl. No. 16/688,789 (pp. 1-24). |
Office Action (Non-Final Rejection) dated Oct. 28, 2022 for U.S. Appl. No. 17/389,789 (pp. 1-19). |
Office Action (Non-Final Rejection) dated Dec. 8, 2022 for U.S. Appl. No. 17/147,025 (pp. 1-20). |
Wei Min et al, “Behavior Language Processing with Graph based Feature Generation for Fraud Detection in Online Lending Behavior Language Processing with Graph based Feature Generation for Fraud Detection in Online Lending”, Proceedings of WSDM workshop on Misinformation and Misbehavior Mining on the Web, (Jan. 1, 2018), URL: https://web.archive.org/web/20180329125033if_/http://snap.stanford.edu:80/mis2/files/MIS2_paper_26.pdf, (Aug. 7, 2019), XP055611538, 8 pages. |
Extended European Search Report in related EP Application No. EP23154444.6, dated Mar. 16, 2023 (8 pages). |
Gehrlein, William et al., A two-stage least cost credit scoring model, 1997, Annals of Operations Research, pp. 159-171. |
International Search Report and Written Opinion for International Application No. PCT/US18/030966, dated Jul. 20, 2018. |
“International Search Report and the Written Opinion for Application No. PCT/US18/44874, dated Oct. 10, 2018”, dated Oct. 10, 2018. |
Saabas, Ando , “Diving into data, A blog on machine learning, data mining and visualization, Interpreting random forests”, http://blog.datadive.net/interpreting-random-forests/ (spec), Oct. 19, 2014. |
Sundararajan, Mukund , et al., “Axiomatic Attribution for Deep Networks”, Proceeding of the 34th International Conference on Machine Learning, Sydney, Australia, PMLR 70, Jun. 13, 2017. |
Saabas, Ando , “Diving into data, A blog on machine learning, data mining and visualization, Random forest interpretation with scikit-learn”, http://blog.datadive.net/random-forest-interpretation-with-scikit-learn/ (spec), Aug. 12, 2015. |
Saabas, Ando , “Diving into data, A blog on machine learning, data mining and visualization, Random forest interpretation—conditional feature contributions”, http://blog.datadive.net/random-forest-interpretation-conditional-feature-contributions/ (spec), Oct. 26, 2016. |
Bit Array, Wikipedia Search, May 5, 2021 at https://en.wikipedia.org/wiki/Bit_array. |
Genetic algorithm, Wikipedia Search, May 5, 2021 at https://en.wikipedia.org/wiki/Gentic_algorithm. |
International Search Report and the Written Opinion, Application No. PCT/US14/014047, dated May 5, 2014. |
“Feature Selection” from Wikipedia and obtained in the Wayback machine at URL “https://en.wikipedia.org/wiki/Feature_selection” for Feb. 25, 2021. |
“On the Convergence of Generalized Hill Climbing Algorithms” by A.W. Johnson et al. copyright 2002, Elsevier Science B.V., Discrete Applied Mathematics (Year: 2002). |
“Feature Selection”, Wikipedia and obtained in the Wayback machine at URL http://en.wikipedia.org/wiki/Feature_selection, Sep. 1, 2011. |
Bittencourt, H.R. et al., “Feature Selection by Using Classification and Regression Trees (CART)”, dated Aug. 23, 2004. |
Chen, Jiahao, Fair lending needs explainable models for responsible recommendation Proceedings of the Second Workshop on Responsible Recommendation, 2018 (Year: 2018). |
Data Bias and Algorithmic Discrimination University of Montreal, 2017 (Year: 2017). |
Demaine, Erik D., et al., “Correlation clustering in general weighted graphs”, Theorectical Computer Science 361 2006)172-187. |
Gates, Susan Wharton et al., 4/3 Automated Underwriting: Friend or Foe to Low-Mod Households and Neighborhoods? Building Assets, Building Credit, Symposium, Nov. 2003 (Year: 2003). |
International Preliminary Report on Patentability dated Aug. 4, 2015 in corresponding PCT Application No. PCT/US2014/014047. |
International Preliminary Report on Patentability issued in PCT/US2013/060208, dated Mar. 24, 2015, 8 pages. |
International Search Report and Written Opinion for application No. PCT/US20/062271 dated Feb. 26, 2021. |
International Search Report and Written Opinion issued in PCT/US2020/062235, dated Mar. 10, 2021, 8 pages. |
International Search Report and Written Opinion issued in PCT/US2020/062271, dated Feb. 26, 2021, 8 pages. |
International Search Report dated May 5, 2014 in corresponding PCT Application No. PCT/US2014/014047. |
International Search Report issued in PCT/US2013/060208, dated Jan. 7, 2014, 2 pages. |
Ivanov, Alexei, et al., “Kolmogorov-Smirnov test for feature selection in emotion recognition from speech”, IEEE International Conference on acoustics, speech and signal processing (ICASSP), 2012, pp. 5125-5128. |
Mondarres, Ceena et al., Towards Explainable Deep Learning for Credit Lending: A Case Study Proc. Workshop Challenges Opportunities AI Financial Services: Impact Fairness Explainability Accuracy Privacy (NIPS), 2018 ( Year: 2018). |
Office Action (Final Rejection) dated Nov. 18, 2021 for U.S. Appl. No. 16/052,293 (pp. 1-18). |
Office Action (Final Rejection) dated Dec. 7, 2021 for U.S. Appl. No. 16/109,545 (pp. 1-17). |
Office Action (Non-Final Rejection) dated Dec. 16, 2021 for U.S. Appl. No. 15/977,105 (pp. 1-19). |
Office Action (Notice of Allowance and Fees Due (PTOL-85)) dated Nov. 19, 2021 for U.S. Appl. No. 16/292,844 (pp. 1-8). |
Ribeiro, Marco Tulio et al., Why Should | Trust You?—Explaining Predictions of Any Classifier ACM, 2016 (Year: 2016). |
Strobl, Carolin , et al., “Conditional Variable Importance for Random Forests”, BMC Bioinformatics 2008, 9:307, published Jul. 11, 2008. |
Tuv, Eugene , et al., “Feature Selection with Ensembles, Artificial Variables, and Redundancy Elimination”, Journal of Machine Learning Research, pp. 1341-1366, Jul. 2009. |
Wattenber, Martin et al., Attacking discrimination with smarter machine learning Google Research, 2016 (Year: 2016). |
Zhang, et al., 2018. “Mitigating Unwanted Biases with Adversarial Learning,” In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society (AIES '18). Association for Computing Machinery, New York, NY, USA, 335-340. |
Zhao, Zheng , et al., “On Similarity Preserving Feature Selection”, IEEE Transactions on Knowledge and Data Engineering 25,2011, pp. 619-632. |
International Search Report and Written Opinion for application No. PCT/US20/062235, dated Mar. 10, 2021. |
Number | Date | Country | |
---|---|---|---|
20190340518 A1 | Nov 2019 | US |
Number | Date | Country | |
---|---|---|---|
62666991 | May 2018 | US |