DSM: A specification mining tool using recurrent neural network based language model

Formal specifications are important but often unavailable. Furthermore, writing these specifications is time-consuming and requires skills from developers. In this work, we present Deep Specification Miner (DSM), an automated tool that applies deep learning to mine finite-state automaton (FSA) based...

Full description

Saved in:
Bibliographic Details
Main Authors: LE, Tien-Duy B., BAO, Lingfeng, LO, David
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2018
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/4301
https://ink.library.smu.edu.sg/context/sis_research/article/5304/viewcontent/fse18demo_id36_p.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-5304
record_format dspace
spelling sg-smu-ink.sis_research-53042019-06-06T09:08:41Z DSM: A specification mining tool using recurrent neural network based language model LE, Tien-Duy B. BAO, Lingfeng LO, David Formal specifications are important but often unavailable. Furthermore, writing these specifications is time-consuming and requires skills from developers. In this work, we present Deep Specification Miner (DSM), an automated tool that applies deep learning to mine finite-state automaton (FSA) based specifications. DSM accepts as input a set of execution traces to train a Recurrent Neural Network Language Model (RNNLM). From the input traces, DSM creates a Prefix Tree Acceptor (PTA) and leverages the inferred RNNLM to extract many features. These features are then forwarded to clustering algorithms for merging similar automata states in the PTA for assembling a number of FSAs. Next, our tool performs a model selection heuristic to approximate F-measure of FSAs, and outputs the one with the highest estimated F-measure. Noticeably, our implementation of DSM provides several options that allows users to optimize quality of resultant FSAs. Our video demonstration on the performance of DSM is publicly available at https://goo.gl/Ju4yFS. 2018-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/4301 info:doi/10.1145/3236024.3264597 https://ink.library.smu.edu.sg/context/sis_research/article/5304/viewcontent/fse18demo_id36_p.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Specification Mining Deep Learning Programming Languages and Compilers Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Specification Mining
Deep Learning
Programming Languages and Compilers
Software Engineering
spellingShingle Specification Mining
Deep Learning
Programming Languages and Compilers
Software Engineering
LE, Tien-Duy B.
BAO, Lingfeng
LO, David
DSM: A specification mining tool using recurrent neural network based language model
description Formal specifications are important but often unavailable. Furthermore, writing these specifications is time-consuming and requires skills from developers. In this work, we present Deep Specification Miner (DSM), an automated tool that applies deep learning to mine finite-state automaton (FSA) based specifications. DSM accepts as input a set of execution traces to train a Recurrent Neural Network Language Model (RNNLM). From the input traces, DSM creates a Prefix Tree Acceptor (PTA) and leverages the inferred RNNLM to extract many features. These features are then forwarded to clustering algorithms for merging similar automata states in the PTA for assembling a number of FSAs. Next, our tool performs a model selection heuristic to approximate F-measure of FSAs, and outputs the one with the highest estimated F-measure. Noticeably, our implementation of DSM provides several options that allows users to optimize quality of resultant FSAs. Our video demonstration on the performance of DSM is publicly available at https://goo.gl/Ju4yFS.
format text
author LE, Tien-Duy B.
BAO, Lingfeng
LO, David
author_facet LE, Tien-Duy B.
BAO, Lingfeng
LO, David
author_sort LE, Tien-Duy B.
title DSM: A specification mining tool using recurrent neural network based language model
title_short DSM: A specification mining tool using recurrent neural network based language model
title_full DSM: A specification mining tool using recurrent neural network based language model
title_fullStr DSM: A specification mining tool using recurrent neural network based language model
title_full_unstemmed DSM: A specification mining tool using recurrent neural network based language model
title_sort dsm: a specification mining tool using recurrent neural network based language model
publisher Institutional Knowledge at Singapore Management University
publishDate 2018
url https://ink.library.smu.edu.sg/sis_research/4301
https://ink.library.smu.edu.sg/context/sis_research/article/5304/viewcontent/fse18demo_id36_p.pdf
_version_ 1770574614267691008