IP Library Granted Patent US 12,248,752
Granted Patent B2
US 12,248,752 · App. 17/303,231 · Granted Mar 11, 2025

Primary topic identification in text data

Inventors: Nadiya Kochura (Bolton, MA); Fang Lu (Billerica, MA); Kelley Anders (East New Market, MD); Jonathan D. Dunne (Dungarvan, IE)
Assignee: International Business Machines Corporation
G06F40/30G06F40/194H04L51/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,248,752
App. No.
17/303,231
Granted
Mar 11, 2025
Kind
B2
Abstract

An approach for directing a chat agent for an online discussion is provided. A processor retrieves message data from a messaging program. A processor identifies at least one topic present in the message data. A processor, responsive to a determination that the at least one topic is a primary topic, updates the chat agent with the primary topic. A processor modifies message data based on the determined primary topic.

Claims (67)

1. A computer-implemented method for directing a chat agent for an online discussion, the method comprising:

retrieving message data and collaborative data from a messaging program;

identifying a plurality of topics present in the message data using topic modeling;

determining a respective topic distance for each of the plurality of the topics present in the message data, wherein the respective topic distance for each of the plurality of the topics is a geodesic distance between two or more messages directed towards a respective topic and a cosine similarity of the two or more messages;

determining a collaborative distance between two or more participants discussing a respective topic for each of the plurality of the topics, wherein the collaborative distance is based on a role assigned to at least one participant in the message data and a frequency of communication between the two or more participants;

analyzing each of the plurality of the topics to determine one or more likelihood probabilities that indicate whether a respective topic is a primary topic or a secondary topic based on the collaborative distances and the respective topic distances for each of the plurality of the topics;

combining each of the plurality of the topic's respective one or more likelihood probabilities to calculate a combined likelihood for each of the plurality of the topics;

comparing each of the plurality of the topic's combined likelihood to a determined threshold value to determine if a respective topic is a primary topic or a secondary topic; and

modifying the message data to designate each of the plurality of the topics as a primary topic or a secondary topic.

2. The computer-implemented method of claim 1 , wherein modifying message data further comprises:

highlighting, by one or more processors, text within the message data that is related to the primary topic.

3. The computer-implemented method of claim 1 , wherein modifying message data further comprises:

responding, by one or more processors, to a new message directed towards the primary topic.

4. The computer-implemented method of claim 1 , wherein modifying message data further comprises:

summarizing, by one or more processors, message data directed towards the primary topic.

5. The computer-implemented method of claim 1 , further comprising:

training the chat agent to assist in interacting with participants of the messaging program using previously determined primary topics and secondary topics;

determining content of each message in the message data; and

processing a participant-submitted question and the determined content of each of the messages through the trained chat agent to assist in an interaction between two or more participants of the online messaging program.

6. The computer-implemented method of claim 5 , further comprising:

processing each of the messages in the message data through the trained chat agent to summarize each of the messages.

7. A computer program product for directing a chat agent for an online discussion, the computer program product comprising:

one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising:

program instructions to retrieve message data and collaborative data from a messaging program;

program instructions to identify a plurality of topics present in the message data using topic modeling;

program instructions to determine a respective topic distance for each of the plurality of the topics present in the message data, wherein the respective topic distance for each of the plurality of the topics is a geodesic distance between two or more messages directed towards a respective topic and a cosine similarity of the two or more messages;

program instructions to determine a collaborative distance between two or more participants discussing a respective topic for each of the plurality of the topics, wherein the collaborative distance is based on a role assigned to at least one participant in the message data and a frequency of communication between the two or more participants;

program instructions to analyze each of the plurality of the topics to determine one or more likelihood probabilities that indicate whether a respective topic is a primary topic or a secondary topic based on the collaborative distances and the respective topic distances for each of the plurality of the topics;

program instructions to combine each of the plurality of the topic's respective one or more likelihood probabilities to calculate a combined likelihood for each of the plurality of the topics;

program instructions to compare each of the plurality of the topic's combined likelihood to a determined threshold value to determine if a respective topic is a primary topic or a secondary topic; and

program instructions to modify the message data to designate each of the plurality of the topics as a primary topic or a secondary topic.

8. The computer program product of claim 7 , wherein program instructions to modify message data further comprises:

program instructions to highlight text within the message data that is related to the primary topic.

9. The computer program product of claim 7 , wherein program instructions to modify message data further comprises:

program instructions to respond to a new message directed towards the primary topic.

10. The computer program product of claim 7 , wherein program instructions to modify message data further comprises:

program instructions to summarize message data directed towards the primary topic.

11. The computer program product of claim 7 , further comprising:

program instructions to train the chat agent to assist in interacting with participants of the messaging program using previously determined primary topics and secondary topics;

program instructions to determine content of each message in the message data; and

program instructions process a participant-submitted question and the determined content of each of the messages through the trained chat agent to assist in an interaction between two or more participants of the online messaging program.

12. The computer program product of claim 11 , further comprising:

program instructions to process each of the messages in the message data through the trained chat agent to summarize each of the messages.

13. A computer system for directing a chat agent for an online discussion, the computer system comprising:

one or more computer processors;

one or more computer readable storage media; and

program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:

program instructions to retrieve message data and collaborative data from a messaging program;

program instructions to identify a plurality of topics present in the message data using topic modeling;

program instructions to determine a respective topic distance for each of the plurality of the topics present in the message data, wherein the respective topic distance for each of the plurality of the topics is a geodesic distance between two or more messages directed towards a respective topic and a cosine similarity of the two or more messages;

program instructions to determine a collaborative distance between two or more participants discussing a respective topic for each of the plurality of the topics, wherein the collaborative distance is based on a role assigned to at least one participant in the message data and a frequency of communication between the two or more participants;

program instructions to analyze each of the plurality of the topics to determine one or more likelihood probabilities that indicate whether a respective topic is a primary topic or a secondary topic based on the collaborative distances and the respective topic distances for each of the plurality of the topics;

program instructions to combine each of the plurality of the topic's respective one or more likelihood probabilities to calculate a combined likelihood for each of the plurality of the topics;

program instructions to compare each of the plurality of the topic's combined likelihood to a determined threshold value to determine if a respective topic is a primary topic or a secondary topic; and

program instructions to modify the message data to designate each of the plurality of the topics as a primary topic or a secondary topic.

14. The computer system of claim 13 , wherein program instructions to modify message data further comprises:

program instructions to highlight text within the message data that is related to the primary topic.

15. The computer system of claim 13 , wherein program instructions to modify message data further comprises:

program instructions to respond to a new message directed towards the primary topic.

16. The computer system of claim 13 , wherein program instructions to modify message data further comprises:

program instructions to summarize message data directed towards the primary topic.

17. The computer system of claim 13 , further comprising:

program instructions to train the chat agent to assist in interacting with participants of the messaging program using previously determined primary topics and secondary topics;

program instructions to determine content of each message in the message data; and

program instructions process a participant-submitted question and the determined content of each of the messages through the trained chat agent to assist in an interaction between two or more participants of the online messaging program.

18. The computer system of claim 17 , further comprising:

program instructions to process each of the messages in the message data through the trained chat agent to summarize each of the messages.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 25, 2021
From: KOCHURA, NADIYA; LU, FANG; ANDERS, KELLEY; DUNNE, JONATHAN D.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 056336/0330 →
Continuity (1)
Related Publication 20220382986A1 · Dec 1, 2022
References Cited (21)
US 8930388B2 · Stefik · 2015 [cited by applicant]
US 9262531B2 · Ferren · 2016 [cited by applicant]
US 9489657B2 · Chudge · 2016 [cited by applicant]
US 10601753B2 · Draeger · 2020 [cited by applicant]
US 10977446B1 · Anaya · 2021 [cited by examiner]
US 20050144228A1 · Rokosz · 2005 [cited by examiner]
US 20120166179A1 · Tirumalachetty · 2012 [cited by examiner]
US 20150350139A1 · Speer · 2015 [cited by examiner]
US 20170032021A1 · Watanachote · 2017 [cited by applicant]
US 20170351385A1 · Ertmann · 2017 [cited by applicant]
US 20200057808A1 · Dunne · 2020 [cited by examiner]
US 20200293618A1 · Chhabra · 2020 [cited by examiner]
US 20210089623A1 · Guidotti · 2021 [cited by examiner]
US 20210240935A1 · Galitsky · 2021 [cited by examiner]
US 20210256534A1 · An · 2021 [cited by examiner]
US 20220351142A1 · McGarr · 2022 [cited by examiner]
EP 35438741A · 2019 [cited by applicant]
KR 1019583771A · 2018 [cited by applicant]
WO 2005098701A2 · 2005 [cited by applicant]
Vo-Trung, Hung. “Development of a Document Classification Method by Using Geodesic Distance to Calculate Similarity of Documents.” Eastern-European Journal of Enterprise Technologies, vol. 4, No. 2, 2020, pp. 25-32, doi… [cited by examiner]
Walkowiak, T., Gniewkowski, M., Distance measures for clustering of documents in a topic space. In Engr. in Dependability of Comp. Sys. and Ntwrk.: Proc. of the 14th Intl. Conf. on Dependability of Comp. Sys. DepCoS-REL… [cited by examiner]