Patent ID: 11900070
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A computer program product for producing explainable rules via deep learning, 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 perform a method comprising:
receiving, utilizing the processor at a deep neural network (DNN) having a plurality of intermediate layers, a plurality of sentences each having an associated label;
training the DNN, utilizing the processor and the plurality of sentences and associated labels;
producing a linguistic expression (LE) utilizing the trained DNN and the processor, the LE having a word-based rule model that includes a plurality of human-readable conditions that are understandable by a human user,
wherein each condition within the LE is derived from one of a plurality of intermediate layers within the DNN;
outputting the LE in human-readable form for modification thereof by a human; receiving input from the human user specifying how to adjust at least one of the conditions of the word-based rule model;
modifying the at least one condition according to the user input;
selecting one of the sentences;
feeding the one of the sentences as input to the DNN for generating a predicted label for the one of the sentences;
computing an error corresponding to the predicted label compared with its correct label;
backpropagating the computed error to update conditions included in the linguistic expressions;
receiving an unlabeled sentence; and
applying the linguistic expression with the updated conditions to the unlabeled sentence for determining a label for the unlabeled sentence in response to determining that one or more conditions of the linguistic expression with the updated conditions is not met for the unlabeled sentence, assigning a label indicating that the condition is not met is assigned to the unlabeled sentence.