IP Library Granted Patent US 12,572,403
Granted Patent B2
US 12,572,403 · App. 17/034,284 · Granted Mar 10, 2026

Automatically converting error logs having different format types into a standardized and labeled format having relevant natural language information

Inventors: Xin Zhou (Beijing, CN); Qi Cheng Li (Beijing, CN); Lijun Mei (Beijing, CN); Chuang Gan (Cambridge, MA); Hao Chen (Beijing, CN)
Assignee: International Business Machines Corporation
G06F11/0769G06F40/205G06F40/295
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,572,403
App. No.
17/034,284
Granted
Mar 10, 2026
Kind
B2
Abstract

Embodiments of the invention are directed to computer-implemented methods of labeling unlabeled electronic information. In a non-limiting embodiment of the invention, the computer-implemented method includes receiving, using a processor system, an unlabeled error log (EL) having an EL format. A set of unlabeled EL keywords are extracted from the unlabeled EL. For each unlabeled EL keyword, the processor system uses the unlabeled EL keyword to extract an electronic document (ED) sentence from an ED based on a determination that the ED sentence is relevant to the unlabeled EL keyword. One or more ED keywords are extracted from the ED sentence. A deep neural network of the processor system is used to predict an ED sentence label for the ED sentence, an ED keyword label for the ED keyword, and an EL keyword label for the unlabeled EL keyword.

Claims (68)

1 . A computer-implemented method of executing a predictive labeling pipeline of a processor system, the computer-implemented method comprising:

receiving, using the processor system and an input communications path, unlabeled error logs (ELs) during a runtime of software from which the unlabeled ELs are generated, the software comprising systems software and database management (DBM) software, the systems software configured to manage software operations of a computer that hosts the systems software, the DBM software configured to control data storage, retrieval and organization operations performed by a database;

wherein EL formats of the unlabeled ELs comprise:

systems software machine-generated codes created for communication between non-human electronic entities;

DBM software machine-generated codes created for communication between non-human electronic entities; and

text not in a sentence format;

wherein the predictive labeling pipeline comprises a plurality of interconnected modules including a keyword extraction module, a context-based search and prediction module, and a neural network prediction module, each implemented as executable code stored in memory and executed by the processor system;

placing, using the processor system, the unlabeled ELs into the predictive labeling pipeline; and

using the plurality of interconnected modules to apply, during the runtime of the software from which the unlabeled ELs are generated, multiple iterations of a set of pipeline operations to the predictive labeling pipeline, wherein the set of pipeline operations converts each of the unlabeled ELs to a labeled EL having a structured EL format;

wherein the set of pipeline operations include context-based search and prediction operations;

wherein the context-based search and prediction operations comprise, responsive to one or more keywords extracted using the keyword extraction module from one or more of the unlabeled ELs, using the context-based search and prediction module to search a plurality of electronic documents (EDs) in a plurality of locations and apply a keyphrase extraction and prediction algorithm to the plurality of EDs in the plurality of locations to select and extract one or more context-aware natural language (NL) description sentences that the keyphrase extraction and prediction algorithm predicts to provide context and descriptions of issues associated with one or more of the unlabeled ELs:

wherein the search-based pipeline operations further comprise using the context-based search and prediction module to apply a keyphrase extraction and prediction algorithm to the one or more context-aware NL description sentences to extract NL description sentence keywords from the one or more context-aware NL description sentences; and

wherein the set of pipeline operations converts each of the unlabeled ELs to an instance of the labeled EL having the structured EL format based at least in part on the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences.

2 . The computer-implemented method of claim 1 , wherein:

the set of pipeline operations include label prediction pipeline operations; and

the label prediction pipeline operations comprise using the neural network prediction module to apply a NL-based question and answer (Q&A) prediction algorithm to the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences to generate predicted labels for the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences.

3 . The computer-implemented method of claim 2 , wherein the NL-based Q&A prediction algorithm is trained using a training data set that includes multiple types of ELs that have been labeled at a level of detail that applies to multiple types of the software from which the unlabeled ELs are generated.

4 . The computer-implemented method of claim 2 , wherein the predicted labels comprise metadata that provides predicted answer information about an underlying performance issue that caused the software to generate an associated one of the unlabeled ELs.

5 . The computer-implemented method of claim 4 , wherein the set of pipeline operations converts each of the unlabeled ELs to an instance of the labeled EL having the structured EL format further based at least in part on the predicted labels.

6 . The computer-implemented method of claim 4 , wherein the set of pipeline operations converts each of the unlabeled ELs to an instance of the labeled EL having the structured EL format further based at least in part on populating user-selected fields of the structured EL format with the predicted labels.

7 . The computer-implemented method of claim 1 , wherein:

the context-based search and prediction module is configured to access the plurality of locations through one or more networks; and

the plurality of EDs is selected from the group consisting of a website posting, an article, and an operating manual.

8 . The computer-implemented method of claim 1 further comprising controlling, by a post-processing module, a topic and entity relation extraction module to use the labeled EL having the structured EL format as a guide to electronically search for and locate relevant EDs from which topic and entity relation information can be extracted.

9 . A computer system comprising:

a memory; and

a processor system communicatively coupled to the memory, wherein the processor system is configured to perform processor system operations that execute a predictive labeling pipeline, the processor system operations comprising:

receiving using the processor system and an input communications path unlabeled error logs (ELs) during a runtime of software from which the unlabeled ELs are generated, the software comprising systems software and database management (DBM) software, the systems software configured to manage software operations of a computer that hosts the systems software, the DBM software configured to control data storage, retrieval and organization operations performed by a database;

wherein EL formats of the unlabeled ELs comprise:

systems software machine-generated codes created for communication between non-human electronic entities;

DBM software machine-generated codes created for communication between non-human electronic entities; and

text not in a sentence format;

wherein the predictive labeling pipeline comprises a plurality of interconnected modules including a keyword extraction module, a context-based search and prediction module, and a neural network prediction module, each implemented as executable code stored in memory and executed by the processor system;

placing, using the processor system, the unlabeled ELs into the predictive labeling pipeline; and

using the plurality of interconnected modules to apply, during the runtime of the software from which the unlabeled ELs are generated, multiple iterations of a set of pipeline operations to the predictive labeling pipeline, wherein the set of pipeline operations converts each of the unlabeled ELs to a labeled EL having a structured EL format;

wherein the set of pipeline operations include context-based search and prediction operations;

wherein the context-based search and prediction operations comprise, responsive to one or more keywords extracted using the keyword extraction module from one or more of the unlabeled ELs, using the context-based search and prediction module to search a plurality of electronic documents (EDs) in a plurality of locations and apply a keyphrase extraction and prediction algorithm to the plurality of EDs in the plurality of locations to select and extract one or more context-aware natural language (NL) description sentences that the keyphrase extraction and prediction algorithm predicts to provide context and descriptions of issues associated with one or more of the unlabeled ELs:

wherein the search-based pipeline operations further comprise using the context-based search and prediction module to apply a keyphrase extraction and prediction algorithm to the one or more context-aware NL description sentences to extract NL description sentence keywords from the one or more context-aware NL description sentences; and

wherein the set of pipeline operations converts each of the unlabeled ELs to an instance of the labeled EL having the structured EL format based at least in part on the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences.

10 . The computer system of claim 9 , wherein:

the set of pipeline operations include label prediction pipeline operations; and

the label prediction pipeline operations comprise using the neural network prediction module to apply a NL-based question and answer (Q&A) prediction algorithm to the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences to generate predicted labels for the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences.

11 . The computer system of claim 10 , wherein the NL-based Q&A prediction algorithm is trained using a training data set that includes multiple types of ELs that have been labeled at a level of detail that applies to multiple types of the software from which the unlabeled ELs are generated.

12 . The computer system of claim 10 , wherein the predicted labels comprise metadata that provides predicted answer information about an underlying performance issue that caused the software to generate an associated one of the unlabeled ELs.

13 . The computer system of claim 12 , wherein the set of pipeline operations converts each of the unlabeled ELs to an instance of the labeled EL having the structured EL format further based at least in part on the predicted labels.

14 . The computer system of claim 12 , wherein the set of pipeline operations converts each of the unlabeled ELs to an instance of the labeled EL having the structured EL format further based at least in part on populating user-selected fields of the structured EL format with the predicted labels.

15 . The computer system of claim 9 , wherein:

the context-based search and prediction module is configured to access the plurality of locations through one or more networks; and

the plurality of EDs is selected from the group consisting of a website posting, an article, and an operating manual.

16 . The computer system of claim 9 , wherein the processor system operations further comprise controlling, by a post-processing module, a topic and entity relation extraction module to use the labeled EL having the structured EL format as a guide to electronically search for and locate relevant EDs from which topic and entity relation information can be extracted.

17 . A computer program product comprising a computer readable program stored on a computer readable storage medium, wherein the computer readable program when executed by a processor system causes the processor system to perform processor operations that execute a predictive labeling pipeline, the processor system operations comprising:

receiving using the processor system and an input communications path unlabeled error logs (ELs) during a runtime of software from which the unlabeled ELs are generated, the software comprising systems software and database management (DBM) software, the systems software configured to manage software operations of a computer that hosts the systems software, the DBM software configured to control data storage, retrieval and organization operations performed by a database;

wherein EL formats of the unlabeled ELs comprise: EL having the EL format comprises:

systems software machine-generated codes created for communication between non-human electronic entities;

DBM software machine-generated codes created for communication between non-human electronic entities; and

text not in a sentence format;

wherein the predictive labeling pipeline comprises a plurality of interconnected modules including a keyword extraction module, a context-based search and prediction module, and a neural network prediction module, each implemented as executable code stored in memory and executed by the processor system;

placing, using the processor system, the unlabeled ELs into the predictive labeling pipeline; and

using the plurality of interconnected modules to apply, during the runtime of the software from which the unlabeled ELs are generated, multiple iterations of a set of pipeline operations to the predictive labeling pipeline, wherein the set of pipeline operations converts each of the unlabeled ELs to a labeled EL having a structured EL format;

wherein the set of pipeline operations include context-based search and prediction operations;

wherein the context-based search and prediction operations comprise, responsive to one or more keywords extracted using the keyword extraction module from one or more of the unlabeled ELs, using the context-based search and prediction module to search a plurality of electronic documents (EDs) in a plurality of locations and apply a keyphrase extraction and prediction algorithm to the plurality of EDs in the plurality of locations to select and extract one or more context-aware natural language (NL) description sentences that the keyphrase extraction and prediction algorithm predicts to provide context and descriptions of issues associated with one or more of the unlabeled ELs:

wherein the search-based pipeline operations further comprise using the context-based search and prediction module to apply a keyphrase extraction and prediction algorithm to the one or more context-aware NL description sentences to extract NL description sentence keywords from the one or more context-aware NL description sentences; and

wherein the set of pipeline operations converts each of the unlabeled ELs to an instance of the labeled EL having the structured EL format based at least in part on the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences.

18 . The computer program product of claim 17 , wherein:

the set of pipeline operations include label prediction pipeline operations; and

the label prediction pipeline operations comprise using the neural network prediction module to apply a NL-based question and answer (Q&A) prediction algorithm to the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences to generate predicted labels for the one or more keywords extracted from one or more of the unlabeled ELs, the context-aware NL description sentences, and the one or more NL description sentence keywords extracted from the context-aware NL description sentences.

19 . The computer program product of claim 18 , wherein the NL-based Q&A prediction algorithm is trained using a training data set that includes multiple types of ELs that have been labeled at a level of detail that applies to multiple types of the software from which the unlabeled ELs are generated.

20 . The computer program product of claim 17 , wherein the processor system operations further comprise controlling, by a post-processing module, a topic and entity relation extraction module to use the labeled EL having the structured EL format as a guide to electronically search for and locate relevant EDs from which topic and entity relation information can be extracted.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 28, 2020
From: ZHOU, XIN; LI, QI CHENG; MEI, LIJUN; GAN, CHUANG; CHEN, HAO
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 053900/0819 →
Continuity (1)
Related Publication 20220101115A1 · Mar 31, 2022
References Cited (77)
US 5463768A · Cuddihy · 1995 [cited by examiner]
US 8010528B2 · Nastacio · 2011 [cited by examiner]
US 8161325B2 · Calman · 2012 [cited by examiner]
US 8527811B2 · Gilbert · 2013 [cited by examiner]
US 9092314B2 · Roy · 2015 [cited by examiner]
US 9183072B1 · Makuch · 2015 [cited by examiner]
US 10303533B1 · Panov et al. · 2019 [cited by applicant]
US 10332012B2 · Reddy · 2019 [cited by examiner]
US 10452700B1 · Truong · 2019 [cited by examiner]
US 10587555B2 · Machol · 2020 [cited by examiner]
US 10614085B2 · Chakra · 2020 [cited by examiner]
US 10614398B2 · Chakra · 2020 [cited by examiner]
US 10649836B2 · Panigrahi · 2020 [cited by examiner]
US 10678621B2 · Thompson · 2020 [cited by examiner]
US 10684910B2 · Chau · 2020 [cited by examiner]
US 10694056B1 · Thommandru · 2020 [cited by examiner]
US 10776577B2 · Sharma · 2020 [cited by examiner]
US 10949765B2 · Duraisamy Soundrapandian · 2021 [cited by examiner]
US 11113137B2 · Gaida · 2021 [cited by examiner]
US 11176015B2 · Rallapalli · 2021 [cited by examiner]
US 11249833B2 · Singh · 2022 [cited by examiner]
US 11263207B2 · Sylos · 2022 [cited by examiner]
US 11354221B2 · Rodgers · 2022 [cited by examiner]
US 11366713B2 · Honnappa · 2022 [cited by examiner]
US 11379538B1 · McClusky · 2022 [cited by examiner]
US 11392651B1 · McClusky · 2022 [cited by examiner]
US 11436531B2 · Li · 2022 [cited by examiner]
US 11475882B1 · Lin · 2022 [cited by examiner]
US 11645136B2 · Hanzawa · 2023 [cited by examiner]
US 11663176B2 · Sriharsha · 2023 [cited by examiner]
US 11762916B1 · McClusky · 2023 [cited by examiner]
US 11853149B2 · Shah · 2023 [cited by examiner]
US 20070005344A1 · Sandor · 2007 [cited by examiner]
US 20070192265A1 · Chopin · 2007 [cited by examiner]
US 20070283194A1 · Villella et al. · 2007 [cited by applicant]
US 20090222436A1 · Nastacio · 2009 [cited by examiner]
US 20110296243A1 · Calman · 2011 [cited by examiner]
US 20110296244A1 · Fu et al. · 2011 [cited by applicant]
US 20120066547A1 · Gilbert · 2012 [cited by examiner]
US 20140173350A1 · Roy · 2014 [cited by examiner]
US 20150025875A1 · Perrone · 2015 [cited by applicant]
US 20160117211A1 · Makuch · 2016 [cited by examiner]
US 20170063762A1 · Machol · 2017 [cited by examiner]
US 20170103329A1 · Reddy · 2017 [cited by examiner]
US 20170344413A1 · Chakra · 2017 [cited by examiner]
US 20170344926A1 · Chakra · 2017 [cited by examiner]
US 20180075363A1 · Duraisamy Soundrapandian · 2018 [cited by examiner]
US 20190005018A1 · Sharma · 2019 [cited by examiner]
US 20190102243A1 · Thompson · 2019 [cited by examiner]
US 20190317850A1 · Chau · 2019 [cited by examiner]
US 20190347149A1 · Panigrahi · 2019 [cited by examiner]
US 20200073738A1 · Gaida · 2020 [cited by examiner]
US 20200117734A1 · Sylos · 2020 [cited by examiner]
US 20200327008A1 · Singh · 2020 [cited by examiner]
US 20200349529A1 · Wang · 2020 [cited by examiner]
US 20210142212A1 · Li · 2021 [cited by examiner]
US 20210157665A1 · Rallapalli · 2021 [cited by examiner]
US 20210174253A1 · Moore · 2021 [cited by examiner]
US 20210303440A1 · Rodgers · 2021 [cited by examiner]
US 20210311918A1 · Cheng · 2021 [cited by examiner]
US 20210326197A1 · Honnappa · 2021 [cited by examiner]
US 20210342209A1 · Kishore · 2021 [cited by examiner]
US 20220035775A1 · Sriharsha · 2022 [cited by examiner]
US 20220083320A1 · Balinsky · 2022 [cited by examiner]
US 20220358162A1 · Venugopala Reddy · 2022 [cited by examiner]
US 20230064638A1 · Hanzawa · 2023 [cited by examiner]
US 20230084422A1 · Shah · 2023 [cited by examiner]
CN 105653444B · 2018 [cited by applicant]
Hartmann, Bjorn et al. “HyperSource: bridging the gap between source and code-related web sites” (pp. 421-422), May 7, 2011, Association for Computing Machinery. <https://doi.org/10.1145/1978942.1979263> (Year: 2011). [cited by examiner]
Cordeiro, Joel et al. “Context-based recommendation to support problem solving in software development” (pp. 85-89), Jul. 9, 2012, IEEE. <https://doi.org/10.1109/RSSE.2012.6233418> (Year: 2012). [cited by examiner]
de Souza, Lucas B. L. et al. “Ranking crowd knowledge to assist software development” (pp. 72-82), Jun. 2, 2014, Association for Computing Machinery. <https://doi.org/10.1145/2597008.2597146> (Year: 2014). [cited by examiner]
Rahman, Mohammed et al. “Towards a context-aware IDE-based meta search engine for recommendation about programming errors and exceptions” (pp. 194-203), Feb. 27, 2014, IEEE. <https://doi.org/10.1109/CSMR-WCRE.2014.67471… [cited by examiner]
Gao, Qing et al. “Fixing Recurring Crash Bugs via Analyzing Q&A Sites” (pp. 307-318), Jan. 7, 2016, IEEE. <https://doi.org/10.1109/ASE.2015.81> (Year: 2016). [cited by examiner]
Treude, Christoph et al. “Augmenting API documentation with insights from stack overflow” (pp. 392-403), May 14, 2016, Association for Computing Machinery. <https://doi.org/10.1145/2884781.2884800> (Year: 2016). [cited by examiner]
Ponzanelli, Luca et al. “Supporting Software Developers with a Holistic Recommender System” (pp. 94-105), Jul. 20, 2017, IEEE. <https://doi.org/10.1109/ICSE.2017.17> (Year: 2017). [cited by examiner]
Du et al., “DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning.” Proceedings of the 2017 Acm Sigsac Conference on Computer and Communications Security. ACM, 2017 (14 pages). [cited by applicant]
Siddiqi et al., “Keyword and Keyphrase Extraction Techniques: A Literature Review,” International Journal of Computer Applications 109.2 (2015), pp. 18-23. [cited by applicant]