IP Library › Granted Patent US 12,265,837
Granted Patent B2
US 12,265,837 · App. 18/302,237 · Granted Apr 1, 2025

Machine learning to emulate software applications

Inventors: Nirmit V Desai (Yorktown Heights, NY); Jae-Wook Ahn (Nanuet, NY); Tova Roth (Woodmere, NY); Dinesh C. Verma (New Castle, NY); Douglas M. Freimuth (New York, NY); Seraphin Bernard Calo (Cortlandt Manor, NY); Anshu Kak (Englewood Cliffs, NJ); Steven A Waite (Racine, WI); Roger Hollander (Austin, TX)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F9/45508G06N3/02G06N3/08
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,265,837
App. No.
18/302,237
Granted
Apr 1, 2025
Kind
B2
Abstract

Methods and systems for emulating an application include generating a log template to match one or more patterns in a set of application logs collected from an original application. Semantic state representations are learned for the original application from the log template. A classifier is trained to predict a next action template based on a sequence of prior action templates. A regressor is trained to generate a parameter value for a template based on a sequence of prior action templates and a particular semantic state of the original application.

Claims (35)

1. A computer-implemented method for emulating an application, comprising:

generating a log template to match one or more patterns in a set of application logs collected from an original application;

learning semantic state representations for the original application from the log template;

training a classifier to predict a next action template based on a sequence of prior action templates;

training a regressor to generate a parameter value for a template based on a sequence of prior action templates and a particular semantic state of the original application; and

deploying the classifier, the regressor, and the log template to a remote computer system for execution to emulate the original application.

2. The computer-implemented method of claim 1 , wherein the classifier is a recurrent neural network model.

3. The computer-implemented method of claim 2 , wherein the recurrent neural network model is implemented as a long-short term memory (LSTM) model or a transformer model.

4. The computer-implemented method of claim 1 , further comprising collecting the set of application logs from the original application during operation of the original application.

5. The computer-implemented method of claim 4 , wherein the set of application logs include requests received by the original application, responses provided by the original application; and interactions between the original application and external systems.

6. The computer-implemented method of claim 1 , wherein generating the log template includes mining parameterized templates from the set of application logs to represent requests, responses, and interactions as an instance of one of the parameterized templates.

7. The computer-implemented method of claim 1 , wherein the semantic state of the original application is represented as a semantic vector.

8. The computer-implemented method of claim 1 , wherein deploying includes providing a wrapper application that is executable on the remote computer system to implement the trained classifier and the regressor.

9. The computer-implemented method of claim 1 , wherein the sequence of prior action templates includes a request template and one or more intermediate action templates that characterize a function of the original application.

10. A computer program product for emulating an application, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a hardware processor to cause the hardware processor to:

generate a log template to match patterns in a set of application logs collected from an original application;

learn semantic state representations for the original application from the log template;

train a classifier to predict a next action template based on a sequence of prior action templates;

train a regressor to generate a parameter value for a template based on a sequence of prior action templates and a particular semantic state of the original application; and

deploy the classifier, the regressor, and the log template to a remote computer system for execution to emulate the original application.

11. A system for emulating an application comprises:

a hardware processor; and

a memory that stores a computer program which, when executed by the hardware processor, causes the hardware processor to:

generate a log template to match patterns in a set of application logs collected from an original application;

learn semantic state representations for the original application from the log template;

train a classifier to predict a next action template based on a sequence of prior action templates;

train a regressor to generate a parameter value for a template based on a sequence of prior action templates and a particular semantic state of the original application; and

deploy the classifier, the regressor, and the log template to a remote computer system for execution to emulate the original application.

12. The system of claim 11 , wherein the classifier is a recurrent neural network model.

13. The system of claim 12 , wherein the recurrent neural network model is implemented as a long-short term memory (LSTM) model or a transformer model.

14. The system of claim 11 , wherein the computer program further causes the hardware processor to collect the set of application logs from the original application during operation of the original application.

15. The system of claim 14 , wherein the set of application logs include requests received by the original application, responses provided by the original application; and interactions between the original application and external systems.

16. The system of claim 11 , wherein the computer program further causes the hardware processor to mine parameterized templates from the set of application logs to represent requests, responses, and interactions as an instance of one of the parameterized templates.

17. The system of claim 11 , wherein the semantic state of the original application is represented as a semantic vector.

18. The system of claim 11 , wherein the sequence of prior action templates includes a request template and one or more intermediate action templates that characterize a function of the original application.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 18, 2023
From: DESAI, NIRMIT V; AHN, JAE-WOOK; ROTH, TOVA; VERNA, DINESH C.; FREIMUTH, DOUGLAS M.; CALO, SERAPHIN BERNARD; KAK, ANSHU; WAITE, STEVEN A; HOLLANDER, ROGER
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 063357/0665 →
Continuity (1)
Related Publication 20240354132A1 · Oct 24, 2024
References Cited (24)
US 6789182B1 · Brothers · 2004 [cited by examiner]
US 9021484B2 · Branch et al. · 2015 [cited by applicant]
US 10250471B2 · Hotta et al. · 2019 [cited by applicant]
US 10855707B2 · Zhang et al. · 2020 [cited by applicant]
US 11243834B1 · Mandal et al. · 2022 [cited by applicant]
US 11418571B1 · Singh et al. · 2022 [cited by applicant]
US 11467862B2 · Sharma et al. · 2022 [cited by applicant]
US 11494255B2 · Wang · 2022 [cited by applicant]
US 11513930B2 · Chan et al. · 2022 [cited by applicant]
US 11520681B2 · Yu et al. · 2022 [cited by applicant]
US 20200382612A1 · Zhao · 2020 [cited by examiner]
US 20210081437A1 · Maciolek et al. · 2021 [cited by applicant]
US 20220019935A1 · Ghatage et al. · 2022 [cited by applicant]
US 20220308981A1 · Zeigen et al. · 2022 [cited by applicant]
US 20240119090A1 · Gopalsamy · 2024 [cited by examiner]
WO WO2021145862A1 · 2021 [cited by examiner]
Aalst, “Process Mining: Overview and Opportunities”, ACM Trans. Manage. Inf. Syst. 3, 2, Article 7, Jul. 2012, pp. 1-17. [cited by applicant]
Chen et al., “BERT-Log: Anomaly Detection for System Logs Based on Pre-trained Language Model”, Applied Artificial Intelligence. Dec. 31, 2022, pp. 1-24. [cited by applicant]
Du et al., “DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning”, In Proceedings of the 2017 ACM SIGSAC conference on computer and communications security, Oct. 3, 20170, pp. 1285-1298. [cited by applicant]
Devlin et al., “RobustFill: Neural Program Learning under Noisy I/O”, Inl International conference on machine learning Jul. 17, 2017, pp. 990-998. [cited by applicant]
Luo et al., “Log Analytics in HPC: A Data-driven Reinforcement Learning Framework”, InIEEE INFOCOM 2020-IEEE Conference on Computer Communications Workshops (INFOCOM Wkshps), Jul. 6, 2020, pp. 550-555. [cited by applicant]
Lee et al., “LogGC: Garbage Collecting Audit Log”, InProceedings of the 2013 ACM SIGSAC conference on Computer & communications security, Nov. 4, 2013, pp. 1005-1016. [cited by applicant]
He et al., “Loghub: A Large Collection of System Log Datasets towards Automated Log Analytics”, arXiv:2008.06448v1 [cs.SE] Aug. 14, 2020, pp. 1-9. [cited by applicant]
Graves et al., “Hybrid computing using a neural network with dynamic external memory”, Nature. Oct. 27, 2016, pp. 471-491. [cited by applicant]