Method and device for determining explanations associated with semantic classification of input data by a classification engine

The method transforms input data vectors into interpretable explanations using a dictionary of concepts and constraints, addressing the 'black box' issue of deep learning neural networks, enabling user-understandable explanations for critical applications.

WO2025252971A1PCT designated stage Publication Date: 2025-12-11THALES SA +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2025/065838
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-06
Filing Date
2025-06-06
Publication Date
2025-12-11

AI Technical Summary

Technical Problem

Existing machine learning algorithms, particularly deep learning neural networks, operate as 'black boxes', making their decision-making processes incomprehensible to human users, which is unacceptable for critical applications requiring quality and safety certification.

Method used

A method and device that transform input data vectors into interpretable explanations using a dictionary of concepts, applying constraints to ensure fidelity and interpretability, involving a sparse linear projection and neural networks to generate user-understandable explanations.

Benefits of technology

Provides interpretable explanations of semantic classifications by converting latent vectors into interpretable intermediate vectors, ensuring that the generated explanations are understandable to users while maintaining classification accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2025065838_11122025_PF_FP_ABST
    Figure EP2025065838_11122025_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a method for determining explanations associated with a semantic classification of input data by a semantic classification engine comprising a first module for transforming an input data vector into a latent vector, and a second module for predicting a classification result based on the latent vector, the method comprising the steps of: for each input data vector, calculating (36) a concept vector; determining (38) the parameters of an operator that makes it possible to change from the concept vector to an intermediate vector, under a first constraint of minimising loss of fidelity between the intermediate vector (VI) and the latent vector (VL) and a second constraint of minimising loss of interpretability; determining (40) a prediction function for a prediction result based on an intermediate vector under a third constraint of minimising loss of fidelity between the prediction and classification results.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] DESCRIPTION

[0002] Method and device for determining explanations associated with a semantic classification of input data by a classification engine

[0003] The present invention relates to a method for determining explanations associated with a semantic classification of input data by a classification engine.

[0004] It also relates to a device for determining explanations associated with a semantic classification of input data by a classification engine and an associated computer program.

[0005] The invention finds applications in the field of artificial intelligence, and more particularly in the field of explainability of results provided by computing engines, in particular semantic classification, trained by machine learning.

[0006] The invention also finds applications in the field of improving the reliability of machine learning-driven computing engines, for their application in highly critical fields, such as aeronautics and e-health.

[0007] The use of machine learning, by implementing artificial intelligence algorithms, is experiencing great growth, as it allows for the processing of very large volumes of data.

[0008] In particular, artificial intelligence has been used for the classification or segmentation of digital images, or for natural language processing. Artificial intelligence algorithms, and especially neural networks trained by machine learning, are proving particularly effective, notably for semantic classification tasks. Numerous applications are conceivable.

[0009] For example, in the field of autonomous or semi-autonomous vehicles, the automatic analysis of digital images obtained by onboard sensors is particularly useful, especially for automated collision avoidance. Of course, many other applications are conceivable.

[0010] However, artificial intelligence algorithms operate like a "black box," generally incomprehensible to human users. This is especially true for deep learning algorithms, which implement neural networks with a large number of hidden layers. The architecture of a neural network refers to the number of layers, the number of elements (or neurons) per layer, and the functions that connect the neurons.

[0011] For complex tasks, and in particular for applications in fields requiring quality and / or safety certification, such a black box type of operation is not acceptable.

[0012] There is a need for explainability, intelligible to users, of the results provided by machine learning-trained computing engines.

[0013] A concept of interpretability has also been introduced. A model is said to be "interpretable" if the internal mechanics of that model can be made understandable by a human, according to the article by Leilani H. Gilpin, David Bau, Ben Z. Yuan, Ayesha Bajwa, Michael Specter, and Lalana Kagal, "Explaining Explanations: An Overview of Interpretability of Machine Learning," published on May 31, 2018, in the International Conference on Data Science and Advanced Analytics.

[0014] Two categories of methods exist for explaining neural network computing engines. The first category involves methods that construct a simplified model of a neural network whose architecture is unknown. However, a simplified model necessarily follows a different logic and therefore cannot accurately represent a complex neural network. The second category includes methods that identify subsets of input data that have a significant influence on the neural network's decision-making. However, when the input data is image data, consisting of pixel matrices, subsets of this data are pixels or groups of pixels.

[0015] The interpretability of such data remains, in most cases, complicated for a user.

[0016] The aim of the invention is to overcome the drawbacks of known methods.

[0017] To this end, the invention relates to a method for determining explanations associated with a semantic classification of input data by a semantic classification engine trained by machine learning, the input data being provided in first-dimensional vector form, the classification engine implementing a first module for transforming an input data vector into a second-dimensional latent vector, and a second prediction module taking said latent vector as input to provide as output a classification result comprising at least one probability of the input data belonging to a semantic class, the method being implemented by at least one computing processor of an electronic computing device and comprising the acquisition of a dictionary of concepts of a given cardinality, a concept being consisting of a word or a set of words. This method includes a learning phase,comprising the following steps: for each input data vector of an input database, calculation of a vector called the conceptual vector, each component of said conceptual vector being calculated as a function of the input data vector and a concept from said concept dictionary; determination of the parameters of an operator enabling the conversion from the conceptual vector associated with said input data vector to an intermediate vector, subject to a first constraint minimizing the loss of fidelity between said intermediate vector and the latent vector associated with the same input data vector, and a second constraint minimizing the loss of interpretability; determination of a prediction function enabling the obtaining, from an intermediate vector associated with an input data vector, of a prediction result.under a third constraint of minimizing the loss of fidelity between said prediction result and the classification result obtained for said input data vector.

[0018] Advantageously, the process allows for the generation of an explanation in the form of an interpretable combination of concepts from the concept dictionary, using the operator and the prediction function on a conceptual vector, of the classification engine's output. Thanks to the applied constraints, the resulting explanation is interpretable by a user.

[0019] The method of determining explanations associated with a semantic classification of input data by a semantic classification engine trained by machine learning according to the invention may also have one or more of the characteristics below, taken independently or according to all technically conceivable combinations.

[0020] The process includes, in an operational phase, for a chosen input data vector, the steps of: calculating the conceptual vector associated with said data vector, applying the determined operator to said calculated conceptual vector, and then applying the determined prediction function, to obtain a combination of concepts associated with each probability of the input data belonging to a semantic class.

[0021] The calculation of said conceptual vector implements a pre-trained multi-modal matching model, said multi-modal matching model transforming each input data vector and each concept from the concept dictionary into image vectors of a predetermined dimension vector space, and a matching function, the matching function calculating a similarity score between the image vector of the input data vector and the image vector of each concept.

[0022] The matching function is a cosine similarity function.

[0023] The operator that allows going from a conceptual vector associated with an input data vector to an intermediate vector is formed by a sparse linear projection and a neural network having an auto-encoder architecture.

[0024] The sparse linear projection implements a regression weight matrix, the second constraint implements a minimization of a sum of the absolute values ​​of said regression weights.

[0025] The prediction function is a linear function.

[0026] The prediction function is implemented by a neural network.

[0027] The prediction function is implemented by a hierarchical model based on 2-additive Choquet integrals.

[0028] The invention also relates to a computer program comprising software instructions which, when executed by a computer, implement a method for determining explanations associated with a semantic classification of input data by a machine learning-trained semantic classification engine as defined above.

[0029] The invention also relates to a device for determining explanations associated with a semantic classification of input data by a semantic classification engine trained by machine learning, the input data being provided in first-dimensional vector form, the classification engine implementing a first module for transforming an input data vector into a second-dimensional latent vector, and a second prediction module taking said latent vector as input to provide as output a classification result comprising at least one probability of the input data belonging to a semantic class, the method being implemented by at least one computing processor of an electronic computing device and comprising the acquisition of a dictionary of concepts of a given cardinality,A concept being composed of a word or a set of words. This device includes a processor configured to execute: for each input data vector of an input database, a calculation module for a vector called the conceptual vector, each component of said conceptual vector being calculated as a function of the input data vector and a concept from said dictionary of concepts; a module for determining the parameters of an operator allowing the conversion from the conceptual vector associated with said input data vector to an intermediate vector, subject to a first constraint of minimizing the loss of fidelity between said intermediate vector and the latent vector associated with the same input data vector, and a second constraint of minimizing the loss of interpretability; a module for determining a prediction function allowing the obtaining, from an intermediate vector associated with an input data vector, of a prediction result.under a third constraint of minimizing the loss of fidelity between said prediction result and the classification result obtained for said input data vector.

[0030] The invention will become clearer upon reading the following description, given solely by way of non-limiting example, and made with reference to the drawings in which: Figure 1 is a schematic representation of an explanation determination system as proposed; Figure 2 is a schematic representation of a classification engine; Figure 3 is a flowchart of the main steps of a learning phase of an explanation determination process in one embodiment; Figure 4 illustrates an embodiment of the calculation of a conceptual vector; Figure 5 illustrates an embodiment of an operator for obtaining an intermediate vector associated with an input data vector; Figure 6 is a flowchart of the main steps of an operational phase of an explanation determination process in one embodiment.

[0031] Figure 1 schematically illustrates a system for determining explanations 2 of a semantic data classification engine 4, referred to simply as classification engine 4 hereafter.

[0032] The classification engine 4 is a classification engine that has been trained by machine learning from an input database 6, to classify each input data according to a plurality of predetermined semantic classes according to a task to be performed.

[0033] The input database 6 contains a large amount of data, such as images or vectors representing physical quantities. In what follows, we assume that the input data is provided in first-dimensional vector form, i.e., as vectors V E .

[0034] The machine learning-trained classification engine 4 is, for example, a semantic classification neural network, for example a convolutional neural network or a deep neural network.

[0035] As is known, a neural network consists of an ordered succession of layers of neurons, each of which takes its inputs from the outputs of the previous layer.

[0036] The classification engine 4 is divided into two modules, which are respectively a first module 8 for transforming an input data vector V E in a latent vector V L and a second prediction module 10 taking as input said latent vector V L to provide as output a classification result Y including at least one probability of the input data belonging to a semantic class.

[0037] In some embodiments, the classification result Y is a classification vector whose size is equal to the number of semantic classes, each component of the classification vector Y corresponding to a semantic class, and taking a value equal to a probability of the input data belonging to the corresponding semantic class.

[0038] The exact architecture of the neural network, and in particular the architecture of the first module 8 and the second module 10, that is to say the number of layers, the number of elements (or neurons) per layer, the functions linking the neurons, is considered unknown.

[0039] In one embodiment, the first module 8 includes all the layers of the neural network up to the penultimate layer, and the second module 10 includes the last layer of the neural network, which is a prediction layer of the classification engine 4.

[0040] A schematic representation of the classification engine is shown in Figure 2, where we see that starting from an initial image I, represented as an input vector V E of first dimension N1, the first modulus 8 allows obtaining a latent vector V L of second dimension N2 less than the first dimension N1, and the second module 10 allows obtaining a result Y in the form of a vector of probabilities of belonging to each class among a plurality of predetermined classes.

[0041] The latent vectors V L are represented in a space called latent space.

[0042] In the proposed system, it is assumed that the architecture and parameters characterizing the classification engine 4 are unknown, but that it is possible to access the latent space, or, in other words, to obtain, for an input data vector V E of first dimension N1 the latent vector V Lassociated second dimension N2, obtained by applying the first transformation module 8, as well as the decision result Y obtained by applying the second prediction module 10 from the latent vector V L .

[0043] The representation in the second-dimensional latent space N2 is not interpretable by a user, insofar as the latent vectors V L are obtained by combinations made by the underlying layers of the first module 8, from input numerical data which do not have an easily understandable meaning for a user.

[0044] The proposed system applies regardless of the architecture of the first transformation module 8, in particular the number of layers, the number of connections, and the weighting parameters applied in the weighted sums. Specifically, it applies to ResNet, LeNet, VGG, mobileNet, YOLO, and AlexNet neural networks, as well as transformer neural networks—this list is by no means exhaustive.

[0045] In addition, the explanation determination system 2 includes an explanation determination device 20, which is a programmable electronic device.

[0046] Device 20 includes or is configured to access a dictionary of concepts of a given cardinality, for example stored as a database 12.

[0047] The term concept here refers to a word or set of words, in natural language, that is intelligible to a human user.

[0048] In one embodiment, the dictionary of concepts used is associated with an application domain; for example, it is a "business" dictionary of concepts containing terms known to experts in the field.

[0049] In another embodiment, the concept dictionary used is a generic dictionary, for example the set of nouns and adjectives of a given language, for example the set of nouns and adjectives of the English language from the "Contemporary American English (COCA) dataset".

[0050] Device 20 includes a module 14 for calculating a conceptual vector Vc from an input data vector taken from the input database 6, of third dimension N3, each component of the conceptual vector Vc being calculated as a function of the input data vector V E and a concept Cj from the dictionary of concepts.

[0051] In one embodiment, the third dimension N3 is equal to the cardinality of the concept dictionary. Preferably, each component vq of the concept vector Vc represents a similarity between a concept q and the input data vector V E An implementation of module 14 for calculating a conceptual vector Vc will be described in more detail below. Alternatively, the input vector V E is derived from an input database 6', which may be different from the database 6 used to train the classification engine but containing input data of the same type as database 6.

[0052] Device 20 also includes a module 16 for determining, preferably by machine learning, the parameters of an operator g() allowing passage from a conceptual vector associated with an input data vector to an intermediate vector V|.

[0053] Advantageously, the intermediate vector V, is of dimension equal to the second dimension N2, and the applied operator is chosen so that there is a bijection between the space of latent vectors and the space of intermediate vectors.

[0054] In other words, there exists an invertible map that uniquely obtains each element of the latent vector space from a single element of the intermediate vector space, and vice versa.

[0055] However, unlike the latent space, the space of intermediate vectors, obtained from the conceptual vectors, remains interpretable by a user.

[0056] To achieve this, the determination of the operator g() is performed under constraints, specifically a first constraint minimizing the loss of fidelity between the intermediate vector and the latent vector associated with the same input data vector, and a second constraint minimizing the loss of interpretability. Examples of implementing such constraints will be provided below.

[0057] Finally, device 20 includes a module 18 for determining a prediction function h() which allows obtaining, from the intermediate vector V, associated with an input data vector V E , a prediction result Y* close, according to a predefined measure, to the result Y of the classification engine 4 for the same input data vector V E .

[0058] System 2 then allows us to obtain, for an input data vector V E, an interpretable formula associating the classification result Y provided by the classification engine and the data vector V E as input to this classification engine.

[0059] The interpretable formula is obtained based on the combination of the operator g() and the prediction function h() on the conceptual vector Vc associated with V E :

[0060] [MATH 1]

[0061] Form(V l: ,Y) = h °gty c )

[0062] In other words, the proposed method allows calculation for each pair (V E ,Y) a combination of concepts from the concept dictionary. From this, it is possible to generate a user-interpretable explanation of the classification engine.

[0063] For example, when the operator g() and the prediction function h() are linear, a linear combination of components of the conceptual vector Vc is obtained, whose non-zero components are associated with concepts from the concept dictionary. This allows for weightings relative to the non-zero components of the conceptual vector, which are then easily interpretable by a user.

[0064] The explanation determination device 20, implemented as a programmable electronic device, includes one or more processors 22, an electronic memory unit 24, a communication interface 26 configured to communicate with remote servers according to a network communication protocol and a human-machine interface 28, these elements being configured to communicate with each other via an internal communication bus 25. The human-machine interface 28 includes in particular a display screen allowing generated explanations to be displayed to a user.

[0065] The computing processor 22 is configured to execute module 14 for calculating a conceptual vector, 16 for determining the parameters of an operator g() and 18 for determining a prediction function h() when the programmable electronic device 20 is powered on.

[0066] In one embodiment, modules 14, 16, 18 are each implemented as software instructions forming a computer program, which, when executed by a programmable electronic device, implements a method for determining explanations as described.

[0067] This computer program, also called a computer program product, is also capable of being stored on a computer-readable medium, not shown here. A computer-readable medium is, for example, a medium capable of storing electronic instructions and being connected to a bus of a computer system. Examples of such a readable medium include an optical disc, a magneto-optical disc, ROM, RAM, any type of non-volatile memory (e.g., FLASH or NVRAM), or a magnetic card. A computer program, comprising software instructions, is then stored on this readable medium.

[0068] Figure 3 is a flowchart of the main steps of a process for determining explanations associated with a semantic classification of input data by a semantic classification engine trained by machine learning, in a learning phase, according to one embodiment.

[0069] The process, in this learning step, uses an input database, in which the input data is provided as first-dimensional N1 input vectors.

[0070] The process applies to a given classification engine, previously trained to perform semantic classification of input data of the same type as those in the input database.

[0071] The process includes a step 30 of obtaining an input data vector V Efrom the input database, and a step 32 of applying the previously trained semantic classification engine, to obtain a latent vector V L associated with the input data vector V E and a classification result Y including at least one probability of the input data belonging to a semantic class among a plurality of semantic classes.

[0072] The elements {V E , V L , Y} are memorized (memorization step 34).

[0073] The process further includes a calculation 36, followed by a storage, of a conceptual vector Vc associated with the input data vector V E .

[0074] Calculation 36 is performed based on the previously recorded concept dictionary 12, this dictionary having a given cardinality Q.

[0075] For example, the dictionary of concepts is a large corpus such as the 3000 most common nouns and adjectives from the Contemporary American English (COCA) corpus dataset.

[0076] In one embodiment, computation 36 implements a pre-trained multi-modal matching model, for example the CLIP model (acronym for "Contrastive Language-Image Pretraining"), well known in the field of artificial intelligence.

[0077] In this embodiment, with reference to Figure 4, calculation step 36 includes a substep 42 for transforming the input data vector V E in an image vector E im (V E ) in a vector space of predetermined dimension N, and a substep 44 of transformation of each concept Cj of the dictionary of concepts into an image vector E(Cj) of the same dimension N.

[0078] Next, for each concept Cj, a similarity score is calculated, implementing a matching function.

[0079] For example, the matching function »(X,Y) is a cosine similarity function:

[0080] [MATH 2] where (X,Y) denotes the dot product between the vectors X and Y, and ||X|| denotes the L2 norm of the vector X.

[0081] Thus Vcj = i|j(E im (y £ ),.E(Cj) is the index component j of the conceptual vector Vc associated with the input data vector V E .

[0082] The conceptual vector thus formed is representative of a similarity between the input data vector and each concept Cj.

[0083] Returning to Figure 3, steps 30 to 36 are repeated for all input data vectors of the database.

[0084] The process then includes a step 38 of determining the parameters of an operator g() allowing the conversion from the conceptual vector Vc associated with an input data vector V E to an intermediate vector V h which is in a bijective relationship with the latent vector V L corresponding.

[0085] The intermediate vector has the same dimension as the latent vector, i.e., of second dimension N2.

[0086] [MATH 3]

[0087] 5(y c ) = v I

[0088] In one embodiment, step 38 implements machine learning for determining the parameters of the operator g().

[0089] The determination of the operator g() is carried out under constraints of fidelity and interpretability.

[0090] The fidelity constraint, also called the first fidelity loss minimization constraint, translates into the implementation of a minimization of a term representative of the loss of fidelity between the conceptual vector Vc(V E ) and the latent vector V L (V E ) associated with the same vector V E of input data, for the set of input data vectors.

[0091] [MATH 4]

[0092] Where TT is the term to be minimized, L fid () is a function for evaluating the loss of fidelity.

[0093] The interpretability constraint, also called the second interpretability loss minimization constraint, translates into minimizing a chosen interpretability loss term T2. A linear and parsimonious model, that is, one using the fewest possible inputs, is considered to be a model that respects an interpretability constraint.

[0094] For example, in one embodiment, schematically illustrated in Figure 5, the operator g() is formed by a sparse linear projection 48 and a neural network having an auto-encoder architecture 50.

[0095] A linear projection p() is defined by the general formula:

[0096] [MATH 5] p(X) = AX + b

[0097] Where A is a matrix and b a constant vector, matrix A being called the regression weight matrix.

[0098] A linear projection is said to be sparse when the matrix A is sparse, or in other words, the majority of the components of the matrix are equal to zero.

[0099] A neural network 50 having an auto-encoder architecture is formed of an encoder 52 and a decoder 54.

[0100] In the described embodiment, the encoder 52 performs coding towards a second-dimensional space N2, which is the dimension of the latent space of the classification engine.

[0101] In this embodiment, denoting e() the function applied by the encoder 52 and d() the function applied by the decoder 54, the fidelity function can be expressed as:

[0102] In this embodiment, the T2 term for loss of interpretability to be minimized is expressed as:

[0103] [MATH 7]

[0104] Where A is the projection matrix, A[i,j] is a component of the matrix and |x| is the absolute value of a real x.

[0105] According to one variant, the T2 term for loss of interpretability to be minimized is expressed as:

[0106] Minimizing the T2 term ensures that a minimum number of concepts are summed, thus improving interpretability. Therefore, in this embodiment, at step 38 of determining the operator g(), the regression weights of matrix A, or in other words the components of matrix A, and the components of vector b are determined by machine learning on the set of input data vectors.

[0107] Step 38 is followed by step 40 of determining a prediction function h() allowing to obtain, from an intermediate vector associated with an input data vector, a prediction result.

[0108] The determination 40 of the prediction function h() is also carried out under a third constraint minimizing the loss of prediction fidelity, and, optionally, under a fourth constraint minimizing the loss of interpretability.

[0109] The prediction function h() is expressed by the formula:

[0110] [MATH 9] h(y ; ) = h ° g ° py E ~) = Y * (y E )

[0111] In one embodiment, the prediction function h() is a linear function.

[0112] Linearity ensures the associated interpretability insofar as, as indicated above, the linear model is parsimonious.

[0113] The third constraint for minimizing prediction fidelity loss implements the minimization of a term T3 representing the difference between the classification result Y and the prediction result Y* for each input data vector:

[0114] [MATH 10]

[0115] Depending on the embodiment, minimizing the loss of interpretability must also be respected. Similar to the implementation of the second constraint on minimizing the loss of interpretability, in one embodiment, the number of parameters of the applied linear model must be minimized.

[0116] In some variations, step 40, which determines the prediction function h(), implements a hierarchical Choquet model and explains such a model using a generalization of Shapley values ​​as described in US patent 11,195,110 B2, "Method for explaining a score," by Hélia Pouyllau, Christophe Labreuche, and Bénédicte Goujon. For example, the prediction function is a hierarchical model based on 2-additive Choquet integrals.

[0117] In another variant, the prediction function h() is implemented as a neural network. Figure 6 is a flowchart of the main steps in a process for determining explanations during an operational phase of use.

[0118] The process includes a step 60 of providing an input data vector V Er of first dimension N1, and a calculation 62 of a conceptual vector V cr partner.

[0119] The process then includes a step 64 of applying the previously determined operator g(), to obtain an associated intermediate vector, and then a step 66 of applying the previously determined prediction function h() to obtain a combination of concepts associated with each probability of the input data belonging to a semantic class.

[0120] The process then includes a step 68 of calculation and display of an associated explanation.

[0121] The calculation of an explanation depends in particular on the prediction function h() used.

[0122] In the case of a linear function h(), the weights applied to the components of the conceptual vector provide explanations that a user can interpret. In this case, the non-zero weights and their associated concepts are displayed.

[0123] Alternatively, it is possible to use any other method of explaining a linear model, for example the method of prime implicants.

[0124] When the function h() is a hierarchical Choquet model, an explanation using Shapley or Winter values ​​is computed, according to the method described in US patent 11 195 110 B2.

[0125] In the case where the h() function is implemented by a neural network, it is possible to use structural gates which are boolean variables associated with meta-concepts.

[0126] In the case where h is a neural network, interpretability is ensured through the use of structural gates in the form of a matrix G.

[0127] If h: R d ->R p then G e {0,i} {d x is defined such that:

[0128] [MATH 11]

[0129] Vi < d;hi x) = Vi(x QG[i,:])

[0130] Where v is any neural network, and the operation O denotes the term-by-term multiplication between the components of x and each term of the matrix G.

[0131] Advantageously, the described process makes it possible to generate explanations interpretable by a user from a dictionary of concepts.

Claims

DEMANDS 1. A method for determining explanations associated with a semantic classification of input data by a machine learning-trained semantic classification engine (4), the input data being provided in first-dimensional vector form, the classification engine (4) implementing a first module (8) for transforming an input data vector into a second-dimensional latent vector, and a second prediction module (10) taking said latent vector as input to provide as output a classification result comprising at least one probability of the input data belonging to a semantic class, the method being implemented by at least one computing processor (22) of an electronic computing device (20) and comprising an acquisition of a dictionary of concepts of given cardinality, a concept being consisting of a word or a set of words,the process being characterized in that it comprises a learning phase, including steps of: for each input data vector (V, E ) of an input database (6'), calculation (36) of a vector called the conceptual vector (Vc), each component of said conceptual vector being calculated as a function of the input data vector and a concept from said concept dictionary, determination (38) of the parameters of an operator (g()) allowing passage from the conceptual vector (Vc) associated with said input data vector (V E ) to an intermediate vector, subject to a first constraint minimizing the loss of fidelity between said intermediate vector (V|) and the latent vector (V L) associated with the same input data vector and a second constraint minimizing loss of interpretability; determination (40) of a prediction function (h()) allowing to obtain, from an intermediate vector associated with an input data vector, a prediction result, under a third constraint minimizing loss of fidelity between said prediction result and the classification result obtained for said input data vector.

2. Method according to claim 1, comprising, in an operational phase, for a chosen input data vector, the steps of: calculation (62) of the conceptual vector associated with said data vector, application (64, 66) of the determined operator to said calculated conceptual vector, and then of the determined prediction function, to obtain a combination of concepts associated with each probability of the input data belonging to a semantic class.

3. A method according to any one of claims 1 or 2, wherein the calculation (36) of said conceptual vector implements a pre-trained multi-modal matching model, said multi-modal matching model transforming each input data vector and each concept from the concept dictionary into image vectors of a predetermined dimension vector space, and a matching function, the matching function calculating a similarity score between the image vector of the input data vector and the image vector of each concept.

4. A method according to claim 3, wherein the matching function is a cosine similarity function.

5. A method according to any one of claims 1 to 4, wherein the operator (g()) for going from a conceptual vector associated with an input data vector to an intermediate vector is formed by a sparse linear projection (48) and a neural network (50) having an auto-encoder architecture.

6. Method according to claim 5, wherein the sparse linear projection (48) implements a regression weight matrix, the second constraint implements a minimization of a sum of the absolute values ​​of said regression weights.

7. A method according to any one of claims 1 to 6, wherein said prediction function is a linear function.

8. A method according to any one of claims 1 to 6, wherein the prediction function is implemented by a neural network.

9. A method according to any one of claims 1 to 6, wherein the prediction function is implemented by a hierarchical model based on 2-additive Choquet integrals.

10. Computer program comprising software instructions which, when executed by a programmable electronic device, implement a method for determining explanations associated with a semantic classification of input data by a semantic classification engine trained by machine learning according to claims 1 to 9.

11. A device for determining explanations associated with a semantic classification of input data by a machine learning-trained semantic classification engine, the input data being provided in first-dimensional vector form, the classification engine implementing a first module for transforming an input data vector into a second-dimensional latent vector, and a second prediction module taking said latent vector as input to provide as output a classification result with at least one probability of belonging of input data to a semantic class, the process being implemented by at least one computing processor of an electronic computing device and comprising an acquisition of a dictionary of concepts of given cardinality, a concept being made up of a word or a set of words, the device being characterized in that it comprises a processor configured to execute: for each input data vector of an input database, a module (14) for calculating a vector called the conceptual vector, each component of said conceptual vector being calculated as a function of the input data vector and a concept of said dictionary of concepts, a module (16) for determining the parameters of an operator allowing passage from the conceptual vector associated with said input data vector to an intermediate vector,under a first constraint of minimizing loss of fidelity between said intermediate vector and the latent vector associated with the same input data vector and a second constraint of minimizing loss of interpretability; a module (18) for determining a prediction function enabling the obtaining, from an intermediate vector associated with an input data vector, of a prediction result, under a third constraint of minimizing loss of fidelity between said prediction result and the classification result obtained for said input data vector.

Citation Information

Patent Citations

  • Method of explaining a score

    US11195110B2

  • Surrogate hierarchical machine-learning model to provide concept explanations for a machine-learning classifier

    US20230031512A1