Accurate Generation of Trigger-Action Programs with Domain-Adapted Seq2Seq Learning
Speaker (s):

Imam Nur Bani Yusuf
PhD Candidate
School of Computing and Information Systems
Singapore Management University
|
|
Date:
Time:
Venue:
|
|
4 May 2022, Wednesday
10:00am - 10:30am
This is a virtual seminar. Please register by 2 May, the zoom link will be sent out on the following day to those who have registered.
We look forward to seeing you at this research seminar.

|
|
About the Talk
Trigger-action programming allows end users to write event-driven rules to automate smart devices and internet services. Users can create a trigger-action program (TAP) by specifying triggers and actions from a set of predefined functions along with suitable data fields for the functions. Many trigger-action programming platforms have emerged as the popularity grows, e.g., IFTTT, Microsoft Power Automate, and Samsung SmartThings. Despite their simplicity, composing trigger-action programs (TAPs) can still be challenging for end users due to the domain knowledge needed and enormous search space of many combinations of triggers and actions. We propose RecipeGen, a new deep learning-based approach that leverages Transformer sequence-to-sequence (seq2seq) architecture to generate TAPs on the fine-grained field-level granularity from natural language descriptions. Our approach adapts autoencoding pre-trained models to warm-start the encoder in the seq2seq model to boost the generation performance. We have evaluated RecipeGen on real-world datasets from the IFTTT platform against the prior state-of-the-art approach on the TAP generation task. Our empirical evaluation shows that the overall improvement against the prior best results ranges from 9.5%-26.5%. Our results also show that adopting a pre-trained autoencoding model boosts the MRR@3 further by 2.8%-10.8%. Further, in the field-level generation setting, RecipeGen achieves 0.591 and 0.575 in terms of MRR@3 and BLEU scores respectively.
This is a pre-conference talk for the 30th International Conference on Program Comprehension (ICPC 2022).
About the Speaker
Imam Nur Bani Yusuf is a Ph.D. candidate in the School of Computing and Information Systems, Singapore Management University, supervised by Prof. Jiang Lingxiao. His research focuses on automated code generation, specifically for code that involves physical hardware.