Applying Code Transform Model to Newly Generated Program for Improving Execution Performance

Author:

Chang Bao Rong1ORCID,Tsai Hsiu-Fen2ORCID,Su Po-Wen1ORCID

Affiliation:

1. Department of Computer Science and Information Engineering, National University of Kaohsiung, Kaohsiung, Taiwan

2. Department of Fragrance and Cosmetic Science, Kaohsiung Medical University, Kaohsiung, Taiwan

Abstract

The existing programs inside the voice assistant machine prompt human-machine interaction in response to a request from a user. However, the crucial problem is that the machine often may not give a proper answer to the user or cannot work out the existing program execution efficiently. Therefore, this study proposes a novel transform method to replace the existing programs (called sample programs in this paper) inside the machine with newly generated programs through code transform model GPT-2 that can reasonably solve the problem mentioned above. In essence, this paper introduces a theoretical estimation in statistics to infer at least a number of generated programs as required so as to guarantee that the best one can be found within them. In addition, the proposed approach not only imitates a voice assistant system with filtering redundant keywords or adding new keywords to complete keyword retrieval in semantic database but also checks code similarity and verifies the conformity of the executive outputs between sample programs and newly generated programs. According to code checking and program output verification, the processes can expedite transform operations efficiently by removing the redundant generated programs and finding the best-performing generated program. As a result, the newly generated programs outperform the sample programs because the proposed approach reduces the number of code lines by 32.71% and lowers the program execution time by 24.34%, which is of great significance.

Funder

Ministry of Science and Technology, Taiwan

Publisher

Hindawi Limited

Subject

Computer Science Applications,Software

Reference41 articles.

1. Ai-based voice assistant systems: evaluating from the interaction and trust perspectives;F. Nasirian

2. Can machines talk? Comparison of Eliza with modern dialogue systems

3. Artificial intelligence and virtual assistant—working model;S. Arora;Mobile Radio Communications,2020

4. How contextual are contextualized word representations? comparing the geometry of BERT, ELMo, and GPT-2 embeddings;K. Ethayarajh,2019

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Code Transform Model Producing High-Performance Program;Computer Modeling in Engineering & Sciences;2021

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3