# US 2025/0156462 A1 · Method and apparatus for determining information

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

- Number: US 2025/0156462 A1
- Document ID: US20250156462A1
- Status: Published application
- Kind: A1
- Application number: 18/839,388
- Filed: 2023-01-31
- Published: 2025-05-15
- Earliest claimed: 2022-02-17
- Assignees: Beijing Wodong Tianjun Information Technology Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
- Applicants: Beijing Wodong Tianjun Information Technology Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
- Inventors: Hainan ZHANG; Yanyan ZOU; Hongshen CHEN; Zhuoye DING; Bo LONG
- Web page: https://patentgrep.com/patent/US20250156462A1

## CPC

- G06F 16/3344: {using natural language analysis}
- G06F 16/3347: {using vector based model}
- G06F 16/33295: {in dialogue systems}
- G06F 40/30: Semantic analysis
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed are a method and apparatus for determining information. An implementation includes: acquiring whole preceding text information and a plurality of pieces of candidate reply information for replying to the whole preceding text information; for each of the plurality of pieces of candidate reply information, determining total difference information between the piece of candidate reply information and candidate reply information in the plurality of pieces of candidate reply information other than the piece of candidate reply information; determining consistency information between the total difference information and the whole preceding text information as first consistency information between the candidate reply information and the whole preceding text information; and according to the first consistency information corresponding to each piece of candidate reply information, determining target reply information from the plurality of pieces of candidate reply information.

## Claims

### Claim 1

A method for determining information, the method comprising:
acquiring whole preceding text information and a plurality pieces of candidate reply information for replying to the whole preceding text information;
determining, for each piece of candidate reply information in the plurality pieces of candidate reply information, total difference information between the piece of candidate reply information and other candidate reply information in the plurality pieces of candidate reply information other than the piece of candidate reply information;
determining consistency information between the total difference information and the whole preceding text information as first consistency information between the piece of candidate reply information and the whole preceding text information; and
determining target reply information from the plurality pieces of candidate reply information, based on first consistency information corresponding to each piece of candidate reply information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining, for each piece of candidate reply information in the plurality pieces of candidate reply information, the total difference information between the piece of candidate reply information and other candidate reply information in the plurality pieces of candidate reply information other than the piece of candidate reply information, comprises:
acquiring word vectors of each piece of candidate reply information;
for each piece of candidate reply information, determining, based on a similarity between word vectors of the piece of candidate reply information and word vectors of each piece of the other candidate reply information, difference information between the piece of candidate reply information and each piece of the other candidate reply information; and
determining difference information between the piece of candidate reply information and all of the other candidate reply information as the total difference information between the piece of candidate reply information and the other candidate reply information.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the determining the consistency information between the total difference information and the whole preceding text information as the first consistency information between the piece of candidate reply information and the whole preceding text information, comprises:
acquiring word vectors of the whole preceding text information; and
determining consistency information between the total difference information and the word vectors of the whole preceding text information as the first consistency information between the piece of candidate reply information and the whole preceding text information.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the method further comprises:
determining consistency information between the total difference information and target preceding text information as second consistency information between the piece of candidate reply information and the target preceding text information, wherein the target preceding text information is information in the whole preceding text information that belongs to a same interlocutor as the piece of candidate reply information; and
the determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information corresponding to each piece of candidate reply information, comprises:
determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information and the second consistency information corresponding to each piece of candidate reply information.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the total difference information is determined based on a similarity between word vectors of the piece of candidate reply information and word vectors of the other candidate reply information of the plurality pieces of candidate reply information other than the piece of candidate reply information;
the determining the consistency information between the total difference information and the target preceding text information as the second consistency information between the piece of candidate reply information and the target preceding text information, comprises:
acquiring word vectors of the target preceding text information; and
determining consistency information between the total difference information and the word vectors of the target preceding text information as the second consistency information between the piece of candidate reply information and the target preceding text information.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information and the second consistency information corresponding to each piece of candidate reply information, comprises:
for each piece of candidate reply information, determining a score of the piece of candidate reply information, on basis of the first consistency information corresponding to the piece of candidate reply information, the second consistency information corresponding to the piece of candidate reply information, and third consistency information between semantics of the piece of candidate reply information and semantics of the whole preceding text information; and
determining the target reply information from the plurality pieces of candidate reply information, based on a score of each piece of candidate reply information.

### Claim 7

An apparatus for determining information, the apparatus comprising:
at least one processor; and
a memory storing instructions which, when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:
acquiring whole preceding text information and a plurality pieces of candidate reply information for replying to the whole preceding text information;
determining, for each piece of candidate reply information in the plurality pieces of candidate reply information, total difference information between the piece of candidate reply information and other candidate reply information in the plurality pieces of candidate reply information other than the piece of candidate reply information;
determining consistency information between the total difference information and the whole preceding text information as first consistency information between the piece of candidate reply information and the whole preceding text information; and
determining target reply information from the plurality pieces of candidate reply information, based on first consistency information corresponding to each piece of candidate reply information.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the determining, for each piece of candidate reply information in the plurality pieces of candidate reply information, the total difference information between the piece of candidate reply information and other candidate reply information in the plurality pieces of candidate reply information other than the piece of candidate reply information, comprises:
acquiring word vectors of each piece of candidate reply information;
determining, for each piece of candidate reply information, based on a similarity between word vectors of the piece of candidate reply information and word vectors of each piece of the other candidate reply information, difference information between the piece of candidate reply information and each piece of the other candidate reply information; and
determining difference information between the piece of candidate reply information and all of the other candidate reply information as the total difference information between the piece of candidate reply information and the other candidate reply information.

### Claim 9 (depends on 7)

The apparatus according to claim 7, wherein determining the consistency information between the total difference information and the whole preceding text information as the first consistency information between the piece of candidate reply information and the whole preceding text information, comprises:
acquiring word vectors of the whole preceding text information; and
determining consistency information between the total difference information and the word vectors of the whole preceding text information as the first consistency information between the piece of candidate reply information and the whole preceding text information.

### Claim 10 (depends on 7)

The apparatus according to claim 7, wherein the operations further comprise:
determining consistency information between the total difference information and target preceding text information as second consistency information between the piece of candidate reply information and the target preceding text information, wherein the target preceding text information is information in the whole preceding text information that belongs to a same interlocutor as the piece of candidate reply information; and
determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information corresponding to each piece of candidate reply information, comprises:
determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information and the second consistency information corresponding to each piece of candidate reply information.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the total difference information is determined based on a similarity between word vectors of the piece of candidate reply information and word vectors of the other candidate reply information of the plurality pieces of candidate reply information other than the piece of candidate reply information, and the determining the consistency information between the total difference information and the target preceding text information as the second consistency information between the piece of candidate reply information and the target preceding text information, comprises:
acquiring word vectors of the target preceding text information; and
determining consistency information between the total difference information and the word vectors of the target preceding text information as the second consistency information between the piece of candidate reply information and the target preceding text information.

### Claim 12 (depends on 10)

The apparatus according to claim 10, wherein the determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information and the second consistency information corresponding to each piece of candidate reply information, comprises:
determining, for each piece of candidate reply information, a score of the piece of candidate reply information, on basis of the first consistency information corresponding to the piece of candidate reply information, the second consistency information corresponding to the piece of candidate reply information, and third consistency information between semantics of the piece of candidate reply information and semantics of the whole preceding text information; and
determining the target reply information from the plurality pieces of candidate reply information, based on a score of each piece of candidate reply information.

### Claim 13

(canceled)

### Claim 14

A non-transitory computer readable storage medium, storing a computer instruction thereon, wherein the computer instruction is used to cause the computer to perform operations, the operations comprising:
acquiring whole preceding text information and a plurality pieces of candidate reply information for replying to the whole preceding text information;
determining, for each piece of candidate reply information in the plurality pieces of candidate reply information, total difference information between the piece of candidate reply information and other candidate reply information in the plurality pieces of candidate reply information other than the piece of candidate reply information;
determining consistency information between the total difference information and the whole preceding text information as first consistency information between the piece of candidate reply information and the whole preceding text information; and
determining target reply information from the plurality pieces of candidate reply information, based on first consistency information corresponding to each piece of candidate reply information.

### Claim 15

(canceled)

### Claim 16 (depends on 13)

The non-transitory computer readable storage medium according to claim 13, wherein the determining, for each piece of candidate reply information in the plurality pieces of candidate reply information, the total difference information between the piece of candidate reply information and other candidate reply information in the plurality pieces of candidate reply information other than the piece of candidate reply information, comprises:
acquiring word vectors of each piece of candidate reply information;
for each piece of candidate reply information, determining, based on a similarity between word vectors of the piece of candidate reply information and word vectors of each piece of the other candidate reply information, difference information between the piece of candidate reply information and each piece of the other candidate reply information; and
determining difference information between the piece of candidate reply information and all of the other candidate reply information as the total difference information between the piece of candidate reply information and the other candidate reply information.

### Claim 17 (depends on 14)

The non-transitory computer readable storage medium according to claim 14, wherein the determining the consistency information between the total difference information and the whole preceding text information as the first consistency information between the piece of candidate reply information and the whole preceding text information, comprises:
acquiring word vectors of the whole preceding text information; and
determining consistency information between the total difference information and the word vectors of the whole preceding text information as the first consistency information between the piece of candidate reply information and the whole preceding text information.

### Claim 18 (depends on 13)

The non-transitory computer readable storage medium according to claim 13, wherein the operations further comprise:
determining consistency information between the total difference information and target preceding text information as second consistency information between the piece of candidate reply information and the target preceding text information, wherein the target preceding text information is information in the whole preceding text information that belongs to a same interlocutor as the piece of candidate reply information; and
the determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information corresponding to each piece of candidate reply information, comprises:
determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information and the second consistency information corresponding to each piece of candidate reply information.

### Claim 19 (depends on 16)

The non-transitory computer readable storage medium according to claim 16, wherein the total difference information is determined based on a similarity between word vectors of the piece of candidate reply information and word vectors of the other candidate reply information of the plurality pieces of candidate reply information other than the piece of candidate reply information;
the determining the consistency information between the total difference information and the target preceding text information as the second consistency information between the piece of candidate reply information and the target preceding text information, comprises:
acquiring word vectors of the target preceding text information; and
determining consistency information between the total difference information and the word vectors of the target preceding text information as the second consistency information between the piece of candidate reply information and the target preceding text information.

### Claim 20 (depends on 16)

The non-transitory computer readable storage medium according to claim 16, wherein the determining the target reply information from the plurality pieces of candidate reply information, based on the first consistency information and the second consistency information corresponding to each piece of candidate reply information, comprises:
for each piece of candidate reply information, determining a score of the piece of candidate reply information, on basis of the first consistency information corresponding to the piece of candidate reply information, the second consistency information corresponding to the piece of candidate reply information, and third consistency information between semantics of the piece of candidate reply information and semantics of the whole preceding text information; and
determining the target reply information from the plurality pieces of candidate reply information, based on a score of each piece of candidate reply information.
