IP Library Granted Patent US 12,327,201
Granted Patent B2
US 12,327,201 · App. 17/289,947 · Granted Jun 10, 2025

Explainable artificial intelligence mechanism

Inventors: Hani Hagras (Colchester, GB); Gonzalo Ruiz Garcia (London, GB)
G06N5/045G06N5/048
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,327,201
App. No.
17/289,947
Granted
Jun 10, 2025
Kind
B2
Abstract

A method of determining and explaining an artificial intelligence, AI, system employing an opaque model from a local or global point of view, the method comprising the steps of providing an input and a corresponding output of the opaque model; sampling the opaque model around the input to generate training data samples; performing feature selection to determine dominant features generating a Type-2 Fuzzy Logic Model, FLM; training the Type-2 FLM with the training data samples; and inputting the input into the Type-2 FLM to provide an explanation of the output from the opaque model.

Claims (36)

1. A method of determining and explaining an existing artificial intelligence (AI) system, the existing AI system employing an opaque model from a local or global point of view, the method comprising the steps of:

providing an input and a corresponding output of the opaque model;

generating a Type-2 Fuzzy Logic Model (FLM), by training the Type-2 FLM with training data samples, wherein the data samples are synthetic or from the opaque model's evaluation; wherein generating the Type-2 FLM comprises:

generating a Restricted Universe of Rules (UoR);

pruning the UoR;

creating an initial set of rules; and

applying a pseudo-random search algorithm, to obtain a subset of rules from the initial set of rules;

and

inputting the input into the Type-2 FLM to provide an explanation of the output from the opaque model from a local or global point of view.

2. The method according to claim 1 , wherein the method further comprises, after the steps of providing an input and before the step of generating a Type-2 Fuzzy Logic Module (FLM), sampling the opaque model around the input to generate training data samples; and

performing feature selection to determine dominant features;

wherein the explanation of the output is from a local point of view.

3. The method according to claim 2 , further comprising the step of, after sampling the opaque model and before performing feature selection, inputting the training data samples into the opaque model to determine a score and/or classification output.

4. The method according to claim 2 , further comprising the step of computing a distance between the input and a data point comprised in the generated training data samples.

5. The method according to claim 4 , further comprising the step of generating, using the computed distance, a weight of the data point.

6. The method according to claim 2 , wherein sampling the opaque model comprises, for each sample:

S1: Setting a sample value z equal to the input x;

S2: Providing a randomly generated number N, wherein N is between 1 and Nf, the number of features to be changed;

S3: Shuffling each chosen feature randomly; and

repeating steps S1 to S3 for each sample.

7. The method according to claim 2 , wherein performing feature selection comprises using step-wise linear regression feature selection, to select dominant features.

8. The method according to claim 2 , further comprising the step of resampling by repeating the step of sampling the opaque model around the input, using the determined dominant features, to generate secondary training data samples.

9. The method according to claim 2 , wherein the Type-2 FLM is local.

10. The method according to claim 1 , wherein the Type-2 FLM is global and wherein the explanation of the output is from a global point of view.

11. A system for determining and explaining an existing artificial intelligence(AI) system, the existing AI system employing an opaque model from a local or global point of view, the system comprising a processor adapted to perform the steps of:

providing an input and a corresponding output of the opaque model;

generating a Type-2 Fuzzy Logic Model (FLM), by training the Type-2 FLM with training data samples wherein generating the Type-2 FLM comprises:

generating a Restricted Universe of Rules (UoR);

pruning the UoR;

creating an initial set of rules; and

applying a pseudo-random search algorithm, to obtain a subset of rules from the initial set of rules; and

inputting the input into the Type-2 FLM to provide an explanation of the output from the opaque model.

12. A method of determining and explaining an existing artificial intelligence (AI) system, the existing AI system employing an opaque model from a local or global point of view, the method comprising the steps of:

providing an input and a corresponding output of the opaque model;

generating a Type-2 Fuzzy Logic Model (FLM), by training the Type-2 FLM with training data samples, wherein the data samples are synthetic or from the opaque model's evaluation; and

inputting the input into the Type-2 FLM to provide an explanation of the output from the opaque model from a local or global point of view.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2021
From: LOGICAL GLUE LIMITED
To: TEMENOS HEADQUARTERS SA
Reel/Frame 056618/0821 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 17, 2021
From: HAGRAS, HANI; GARCIA, GONZALO RUIZ
To: LOGICAL GLUE LIMITED
Reel/Frame 056262/0530 →
Priority Claims (1)
GB 1817684 · Oct 30, 2018 · national
Continuity (1)
Related Publication 20220036221A1 · Feb 3, 2022
References Cited (6)
Chimatapu et al (“Interval Type-2 Fuzzy Logic Based Stacked Autoencoder Deep Neural Network for Generating Explainable AI Models in Workforce Optimization” 2018) (Year: 2018). [cited by examiner]
Ribeiro et al (“Why Should I Trust You?” Explaining the Predictions of Any Classifier, 2016) (Year: 2016). [cited by examiner]
Addison et al (“Stepwise Linear Regression for Dimensionality Reduction in Neural Network Modelling” 2004) (Year: 2004). [cited by examiner]
Peraza et al (“Interval type-2 fuzzy logic for dynamic parameter adaptation in the Harmony search algorithm” 2016) (Year: 2016). [cited by examiner]
Adadi et al (“Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI)” 2018) (Year: 2018). [cited by examiner]
Mencar et al (“Paving the way to explainable artificial intelligence with fuzzy modeling” Sep. 6-7, 2018) (Year: 2018). [cited by examiner]