# US 2022/0280088 A1 · Providing emotional care in a session

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

- Number: US 2022/0280088 A1
- Document ID: US20220280088A1
- Status: Published application
- Kind: A1
- Application number: 17/752,149
- Filed: 2022-05-24
- Published: 2022-09-08
- Earliest claimed: 2020-06-04
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Xianchao Wu; Daigo Hamura; Yongdong Wang
- Web page: https://patentgrep.com/patent/US20220280088A1

## CPC

- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- A61B 5/165: {Evaluating the state of mind, e.g. depression, anxiety}
- G06F 40/35: Discourse or dialogue representation
- G06F 40/56: Natural language generation
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06V 10/764: using classification, e.g. of video objects
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method and apparatus for providing emotional care in a session between a user and conversational agent. A first group of images comprising one or more images associated with the user may be received in the session. A user profile may be obtained. A first group of textual descriptions may be generated from the first group of images based at least on emotion information in the user profile. A first memory record may be created based at least on the first group of images and the first group of textual descriptions. A second group of images may be received in the session to generate a second group of textual descriptions from the second group of images based at least on the emotion information in the user profile. A second memory record may be created based at least on the second group of images and the second group of textual descriptions.

## Claims

### Claim 1

A method for providing emotional care in a session between a user and an electronic conversational agent, comprising:
receiving a first group of images in the session, the first group of images comprising one or more images associated with the user;
obtaining a user profile of the user;
generating a first group of textual descriptions from the first group of images based at least on emotion information in the user profile;
creating a first memory record based at least on the first group of images and the first group of textual descriptions;
receiving a second group of images in the session;
generating a second group of textual descriptions from the second group of images based at least on the emotion information in the user profile; and
creating a second memory record based at least on the second group of images and the second group of textual descriptions.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a question for inquiring relationship between the first memory record and the second memory record;
providing the question in the session;
receiving an answer indicating the relationship in the session; and
creating a joint memory record based at least on the first memory record, the second memory record and the relationship.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
providing a response in the session based on the first memory record.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
storing the first memory record in a memory record database, the memory record database including a plurality of memory records.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
receiving a message in the session;
retrieving a memory record associated with the message from the memory record database; and
providing a response in the session based on the retrieved memory record.

### Claim 6 (depends on 1)

The method of claim 1, wherein each of the first group of textual descriptions is generated through neural networks in a word-by-word approach.

### Claim 7 (depends on 6)

The method of claim 6, wherein during generating a textual description, a next word of the textual description is generated based on at least one of: emotion information in the user profile that is associated with a generated part of the textual description; and
emotion information obtained through performing emotion analysis on the generated part of the textual description.

### Claim 8 (depends on 7)

The method of claim 7, wherein the emotion information in the user profile comprises a plurality of emotion information items, and each emotion information item comprises at least one of: a topic of interest, opinion on the topic, and emotion category of the opinion.

### Claim 9 (depends on 6)

The method of claim 6, wherein during generating a textual description, a generated part of the textual description is semantically extended by at least one of: fact information in the user profile, and knowledge information in a knowledge graph.

### Claim 10 (depends on 9)

The method of claim 9, wherein the fact information in the user profile comprises a plurality of fact information items, and each fact information item comprises at least one of: a topic of interest, action, location and time.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
performing a psychological test or a cognitive test in the session.

### Claim 12 (depends on 11)

The method claim 11, wherein each of questions in the psychological test or the cognitive test is determined based on at least one of: an answer from the user to a previous question, and occurrence frequencies of topics in the user profile.

### Claim 13 (depends on 12)

The method claim 12, wherein each of questions in the psychological test or the cognitive test is determined based on mutex criteria.

### Claim 14 (depends on 11)

The method claim 11, wherein a test result of the psychological test or cognitive test is determined based on answers from the user and/or answers from at least one another user that is associated with the user.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
performing at least one of: an implicit psychological test and an explicit psychological test in the session;
notifying the user when an implicit psychological test is performed to obtain permission from the user to perform the implicit psychological test.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
notifying the user when an explicit psychological test is performed to obtain permission from the user to perform the explicit psychological test and providing the user with the alternative to perform the implicit psychological test if the user prefers the implicit psychological test over the explicit psychological test.

### Claim 17

An apparatus for providing emotional care in a session between a user and an electronic conversational agent, comprising:
one or more processors; and
a memory storing computer-executable instructions that, when executed, cause the one or more processors to:
receive a first group of images in the session, the first group of images comprising one or more images associated with the user;
obtain a user profile of the user;
generate a first group of textual descriptions from the first group of images based at least on emotion information in the user profile;
create a first memory record based at least on the first group of images and the first group of textual descriptions;
receive a second group of images in the session;
generate a second group of textual descriptions from the second group of images based at least on the emotion information in the user profile; and
create a second memory record based at least on the second group of images and the second group of textual descriptions.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein memory storing computer-executable instructions that, when executed, further cause the one or more processors to:
generate a question for inquiring relationship between the first memory record and the second memory record;
provide the question in the session;
receive an answer indicating the relationship in the session; and
create a joint memory record based at least on the first memory record, the second memory record and the relationship.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein memory storing computer-executable instructions that, when executed, further cause the one or more processors to:
perform at least one of: an implicit psychological test and an explicit psychological test in the session; and
notify the user when an implicit psychological test is performed to obtain permission from the user to perform the implicit psychological test.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein memory storing computer-executable instructions that, when executed, further cause the one or more processors to:
notify the user when an explicit psychological test is performed to obtain permission from the user to perform the explicit psychological test and provide the user with the alternative to perform the implicit psychological test if the user prefers the implicit psychological test over the explicit psychological test.
