Sufficiency assessment of machine learning models through maximum deviation
Abstract
Techniques regarding determining sufficiency of one or more machine learning models are provided. For example, one or more embodiments described herein can comprise a system, which can comprise a memory that can store computer executable components. The system can also comprise a processor, operably coupled to the memory, and that can execute the computer executable components stored in memory. The computer executable components can comprise a measurement component that measures maximum deviation of a supervised learning model from a reference model over a certification set and an analysis component that determines sufficiency of the supervised learning model based at least in part on the maximum deviation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 49 · Forward citations: 0.
Claims (18 — 3 Independent, 15 Dependent)
- Claim 1Independent Claim
A system, comprising: a memory that stores computer executable components including a certification set of machine-readable inputs defining a bounded region of an input feature space over which model behavior is evaluated; and a processor, operably coupled to the memory, and that executes the computer executable components stored in the memory, wherein the computer executable components comprise: a measurement component that computationally evaluates, using the stored certification set, a maximum deviation of a supervised learning model from a reference model by exhaustively evaluating and provably bounding deviations over the certification set rather than by sampling or empirical validation; wherein the supervised learning model comprises a tree ensemble, and the measurement component employs one or more discrete optimization techniques to exploit composition in terms of trees to provide anytime bounds on the maximum deviation; wherein the measurement component constructs a representation of leaf regions of the tree ensemble, identifies candidate combinations of leaves drawn from respective trees whose feature-space regions are mutually compatible, computes a deviation associated with each candidate combination, and uses bounding techniques to prune candidate combinations to determine the maximum deviation; and an analysis component that determines sufficiency of the supervised learning model based at least in part on the maximum deviation satisfying a predefined certification criterion, and that outputs a machine-readable sufficiency notification that automatically governs retraining of the supervised learning model within a computing environment, and wherein the system thereby provides a pre-deployment computational certification of model reliability that is independent of training accuracy or test-set performance; wherein the system automatically controls deployment of the model into a computing environment as a function of the certification.
- Claim 2Depends on #1
The system of claim 1, wherein the certification set is a subset of an input space of the supervised learning model.
- Claim 3Depends on #1
The system of claim 1, wherein for a bipartite graph, with z nodes representing leaves l of/on one side and L G nodes representing leaves 0m of ƒ 0 on the other, the measurement component defines an edge set ε ={(l, m): l ∩ 0m ∩ ≠ Ø }; where | ε | ≤ L 0 L, where ƒ and ƒ 0 are decision trees with L and L 0 leaves respectively, and ε is a bipartite edge set of leaf intersections, the maximum deviation can be computed with | ε | evaluations as max x ∈ 𝒞 D (f (x), f 0 (x)) = max (l, m) ∈ ℰ D (y l, y 0 m).
- Claim 4Depends on #1
The system of claim 1, wherein the analysis component identifies inputs that lead to a deviation greater than a threshold value.
- Claim 5Depends on #1
The system of claim 1, wherein the analysis component for the supervised learning model ƒ, which is a function mapping an input feature space to an output space, determines sufficiency of the supervised learning model by determining its worst-case deviation from the reference model ƒ 0: wherein for a measure of deviation D: × ←, where + is the set of non-negative reals, and the certification set ⊆ over which the deviation is maximized, the analysis solves: max x ∈ 𝒞 D (f (x), f 0 (x)).
- Claim 6Depends on #1
The system of claim 1, wherein the analysis component determines if deviation of the supervised learning model from the reference model over the certification set exceeds a threshold value, and identifies a set of inputs with deviation greater than the threshold value.
- Claim 7Independent Claim
A computer-implemented method, comprising: measuring, by a processor, a maximum deviation metric of a supervised learning model from a reference model by exhaustively evaluating and provably bounding deviations over a certification set of machine-readable inputs stored in memory, the certification set defining a bounded subset of an input feature space over which model behavior is evaluated; wherein the supervised learning model comprises a tree ensemble, and the measurement component employs one or more discrete optimization techniques to exploit composition in terms of trees to provide anytime bounds on the maximum deviation; wherein the measurement component constructs a representation of leaf regions of the tree ensemble, identifies candidate combinations of leaves drawn from respective trees whose feature-space regions are mutually compatible, computes a deviation associated with each candidate combination, and uses bounding techniques to prune candidate combinations to determine the maximum deviation; and using the processor to determine sufficiency of the supervised learning model based at least in part on whether the maximum deviation metric satisfies a predefined certification criterion, and generating, by the processor, a machine-readable sufficiency notification that is consumed by an automated control process to selectively initiate retraining of the supervised learning model within a computing environment; wherein the method provides a pre-deployment computational certification of model reliability independently of training loss, validation accuracy, or empirical test-set performance of the supervised learning model; wherein the system automatically controls deployment of the model into a computing environment as a function of the certification.
- Claim 8Depends on #7
The computer-implemented method of claim 7, wherein the certification set is a subset of an input space of the supervised learning model.
- Claim 9Depends on #7
The computer-implemented method of claim 7, wherein for a bipartite graph, with L nodes representing leaves l of ƒ on one side and L 0 nodes representing leaves 0m of ƒ 0 on the other, the processor defines an edge set ε ={(l,m): l ∩ 0m ∩ ≠ Ø }; where | ε | ≤ L 0 L, where ƒ and ƒ 0 are decision trees with L and L 0 leaves respectively, and ε is a bipartite edge set of leaf intersections, computes the maximum deviation with | ε | evaluations as max x ∈ 𝒞 D (f (x), f 0 (x)) = max (l, m) ∈ ℰ D (y l, y 0 m).
- Claim 10Depends on #7
The computer-implemented method of claim 7, further comprising: identifying inputs that lead to deviation greater than a threshold.
- Claim 11Depends on #7
The computer-implemented method of claim 7, wherein the processor for the supervised learning model ƒ, which is a function mapping an input feature space to an output space, determines sufficiency of the supervised learning model by determining its worst-case deviation from the reference model ƒ 0: wherein for a measure of deviation D: × + where, is the set of non-negative reals, and the certification set ⊆ over which the deviation is maximized, the analysis solves: max x ∈ 𝒞 D (f (x), f 0 (x)).
- Claim 12Depends on #7
The computer-implemented method of claim 7, wherein the processor determines if deviation of the supervised learning model from the reference model over the certification set exceeds a threshold value, and identifies a set of inputs with deviation greater than the threshold value.
- Claim 13Independent Claim
A non-transitory computer program product for determining sufficiency of a supervised learning model, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to: measure a maximum deviation metric of the supervised learning model from a reference model by exhaustively evaluating and provably bounding deviations over a certification set of machine-readable inputs stored in memory, the certification set corresponding to a bounded subset of an input feature space over which model behavior is evaluated; wherein the supervised learning model comprises a tree ensemble, and the measurement component employs one or more discrete optimization techniques to exploit composition in terms of trees to provide anytime bounds on the maximum deviation; wherein the measurement component constructs a representation of leaf regions of the tree ensemble, identifies candidate combinations of leaves drawn from respective trees whose feature-space regions are mutually compatible, computes a deviation associated with each candidate combination, and uses bounding techniques to prune candidate combinations to determine the maximum deviation; and determine sufficiency of the supervised learning model based at least in part on whether the maximum deviation metric satisfies a predefined certification criterion, and generate a machine-readable sufficiency notification configured to be consumed by an automated model-governance process to selectively trigger retraining of the supervised learning model within a computing environment; wherein the program instructions implement a pre-deployment computational certification of model reliability independently of training loss, validation accuracy, or empirical test-set performance of the supervised learning model; wherein the system automatically controls deployment of the model into a computing environment as a function of the certification.
- Claim 14Depends on #13
The computer program product of claim 13, wherein the certification set is a subset of an input space of the supervised learning model.
- Claim 15Depends on #13
The computer program product of claim 13, wherein the program instructions further cause the processor to for a bipartite graph, with L nodes representing leaves L l of ƒ on one side and L 0 nodes representing leaves 0m of ƒ 0 on the other, define an edge set ε ={(l,m): ∩ 0m ∩ ≠ Ø }; where [ε] ≤ L 0 L, where ƒ and ƒ 0 are decision trees with L and L 0 leaves respectively, and ε is a bipartite edge set of leaf intersections, and compute the maximum deviation with [ε] evaluations as max x ∈ 𝒞 D (f (x), f 0 (x)) = max (l, m) ∈ ℰ D (y l, y 0 m).
- Claim 16Depends on #13
The computer program product of claim 13, wherein the program instructions further cause the processor to identify inputs that lead to a deviation greater than a threshold value.
- Claim 17Depends on #13
The computer program product of claim 13, wherein the program instructions further cause the processor to for the supervised learning model ƒ, which is a function mapping an input feature space to an output space, determine sufficiency of the supervised learning model by determining its worst-case deviation from the reference model ƒ 0: wherein for a measure of deviation D: × + where + is the set of non-negative reals, and the certification set ⊆ over which the deviation is maximized, the analysis solves: max x ∈ 𝒞 D (f (x), f 0 (x)).
- Claim 18Depends on #13
The computer program product of claim 13, wherein the program instructions further cause the processor to determine if deviation of the supervised learning model from the reference model over the certification set exceeds a threshold value, and identifies a set of inputs with deviation greater than the threshold value.
Technical Overview & Description
BACKGROUND The subject disclosure relates to assessing performance of artificial intelligence ( “ AI ” ) models, and more specifically, to determining sufficient performance of AI models based on maximum deviation from a reference model over a certification set. AI systems are already working alongside humans as trusted advisors in high-stakes decision-making applications such as mortgage lending and/or employment practices. However, AI systems can produce unexpected or unintended results and therefore assessing the sufficiency of performance of AI systems can be difficult due to the large number of possible inputs to AI systems. Accordingly, in these domains, sufficiency of respective models or accuracy is significant. SUMMARY The following presents a summary to provide a basic understanding of one or more embodiments of the invention. This summary is not intended to identify key or critical elements, or delineate any scope of the particular embodiments or any scope of the claims. Its sole purpose is to present concepts in a simplified form as a prelude to the more detailed description that is presented later. In one or more embodiments described herein, systems, computer-implemented methods, apparatuses and/or computer program products that can assess sufficiency of machine learning models are described. According to an embodiment, a system is provided. The system can comprise a memory that can store computer executable components. The system can also comprise a processor, operably coupled to the memory, and that can execute the computer executable components stored in the memory. The computer executable components can comprise a measurement component that measures maximum deviations of a supervised learning model from a reference model over a certification set and an analysis component that can determine sufficiency of the supervised learning model based at least in part on the maximum deviation. An advantage of such a system can be that the deployment of machine
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (49)
Non-Patent Literature (10)
- Chen et al,
- “
- Robustness Verification of Tree-based Models,
- ”
- 33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada (Year: 2019).
- Amodei, D. et al. |
- “
- Concrete problems in AI safety
- ”
- . arXiv:1606.06565v2 [cs.AI] Jul. 25, 2016, 29 pages.