# US 2021/0279563 A1 · Cognitive switching logic for multiple knowledge domains

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0279563 A1
- Document ID: US20210279563A1
- Status: Published application
- Kind: A1
- Application number: 16/808,877
- Filed: 2020-03-04
- Published: 2021-09-09
- Earliest claimed: 2020-03-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Nicolo' Sgobba; Erik Rueger; Guillermo Rodriguez de Vera Beltri
- Web page: https://patentgrep.com/patent/US20210279563A1

## CPC

- G06N 3/08: Learning methods
- G06F 40/30: Semantic analysis
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06N 3/092: Reinforcement learning
- G06F 2207/4824: Neural networks
- G06N 3/045: Combinations of networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method provides a set of predicted responses to a user. The method includes receiving a message from a user, the message having natural language information. The method includes processing, using cognitive switching logic (CSL), the natural language information and information from previous messages from the user. The method includes identifying, using CSL, a context of the natural language information based on the information from the previous messages. The method includes identifying, using CSL, at least one knowledge domain which contains a response to the message, based on the identified context and on user persona information. The method includes retrieving a response from each identified knowledge domain. The method further includes, in response to retrieving more than one response, transmitting feedback to CSL to refine identifying the at least one knowledge domain until only one response is retrieved. The method further includes presenting the one response to the user.

## Claims

### Claim 1

A method for providing a set of predicted responses to a user, the method comprising:
receiving a message from a user, the message having natural language information;
processing, using cognitive switching logic, the natural language information of the message and information from previous messages from the same user;
identifying, using the cognitive switching logic, a context of the natural language information of the message based on the information from the previous messages;
identifying, using the cognitive switching logic, at least one knowledge domain which contains a response to the message, based on the identified context and on user persona information;
retrieving a respective response from each identified knowledge domain;
in response to retrieving more than one respective response, transmitting feedback to the cognitive switching logic to refine identifying the at least one knowledge domain until only one response is retrieved; and
presenting the one response to the user.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving user feedback from the user based on the presented response; and
refining the cognitive switching logic based on the user feedback.

### Claim 3 (depends on 2)

The method of claim 2, wherein refining the cognitive switching logic based on the user feedback includes modifying the identification of the context of the natural language information.

### Claim 4 (depends on 2)

The method of claim 2, wherein the cognitive switching logic uses a neural network to identify the at least one knowledge domain which contains a response to the message.

### Claim 5 (depends on 4)

The method of claim 4, wherein the neural network is trained with an initial set of natural language processing information for the at least one knowledge domain.

### Claim 6 (depends on 5)

The method of claim 5, wherein the neural network is retrained based on at least one of the user feedback and the user persona information.

### Claim 7 (depends on 4)

The method of claim 4, wherein:
in response to receiving user feedback indicating that the presented response is incorrect, the cognitive switching logic generates a penalizing factor to be utilized by the neural network.

### Claim 8

A computerized system for providing a set of predicted responses to a user by performing a method, the method comprising:
receiving a message from a user, the message having natural language information;
processing, using cognitive switching logic, the natural language information of the message and information from previous messages from the same user;
identifying, using the cognitive switching logic, a context of the natural language information of the message based on the information from the previous messages;
identifying, using the cognitive switching logic, at least one knowledge domain which contains a response to the message, based on the identified context and on user persona information;
retrieving a respective response from each identified knowledge domain;
in response to retrieving more than one respective response, transmitting feedback to the cognitive switching logic to refine identifying the at least one knowledge domain until only one response is retrieved; and
presenting the one response to the user.

### Claim 9 (depends on 8)

The computerized system of claim 8, the method further comprising:
receiving user feedback from the user based on the presented response; and
refining the cognitive switching logic based on the user feedback.

### Claim 10 (depends on 9)

The computerized system of claim 9, wherein refining the cognitive switching logic based on the user feedback includes modifying the identification of the context of the natural language information.

### Claim 11 (depends on 9)

The computerized system of claim 9, wherein the cognitive switching logic uses a neural network to identify the at least one knowledge domain which contains a response to the message.

### Claim 12 (depends on 11)

The computerized system of claim 11, wherein the neural network is trained with an initial set of natural language processing information for the at least one knowledge domain.

### Claim 13 (depends on 12)

The computerized system of claim 12, wherein the neural network is retrained based on at least one of the user feedback and the user persona information.

### Claim 14 (depends on 11)

The computerized system of claim 11, wherein:
in response to receiving user feedback indicating that the presented response is incorrect, the cognitive switching logic generates a penalizing factor to be utilized by the neural network.

### Claim 15

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions being executable by a computer system to cause the computer system to perform a method for providing a set of predicted responses to a user, the method comprising:
receiving a message from a user, the message having natural language information;
processing, using cognitive switching logic, the natural language information of the message and information from previous messages from the same user;
identifying, using the cognitive switching logic, a context of the natural language information of the message based on the information from the previous messages;
identifying, using the cognitive switching logic, at least one knowledge domain which contains a response to the message, based on the identified context and on user persona information;
retrieving a respective response from each identified knowledge domain;
in response to retrieving more than one respective response, transmitting feedback to the cognitive switching logic to refine identifying the at least one knowledge domain until only one response is retrieved; and
presenting the one response to the user.

### Claim 16 (depends on 15)

The computer program product of claim 15, the method further comprising:
receiving user feedback from the user based on the presented response; and
refining the cognitive switching logic based on the user feedback.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein refining the cognitive switching logic based on the user feedback includes modifying the identification of the context of the natural language information.

### Claim 18 (depends on 16)

The computer program product of claim 16, wherein the cognitive switching logic uses a neural network to identify the at least one knowledge domain which contains a response to the message.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein:
the neural network is trained with an initial set of natural language processing information for the at least one knowledge domain; and
the neural network is retrained based on at least one of the user feedback and the user persona information.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein:
in response to receiving user feedback indicating that the presented response is incorrect, the cognitive switching logic generates a penalizing factor to be utilized by the neural network.
