arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1907.07679cs.HC
收藏

识别代码特征结构关系的用户交互式机器学习模型

User-Interactive Machine Learning Model for Identifying Structural Relationships of Code Features

Ankit Gupta

摘要:

传统的基于机器学习的智能系统通过学习数据中的模式并提出建议来帮助用户。然而,这些系统是有限的,因为用户几乎没有办法理解系统建议背后的基本原理,传达他们自己对模式的理解,或纠正系统行为。在这个项目中,我们概述了基于人机反馈回路的智能软件模型。机器学习(ML)系统建议由用户审查,反过来,这些信息塑造了系统决策。我们的模型被应用于开发一个HTML编辑器,该编辑器将ML与用户交互集成在一起,以确定HTML文档功能之间的结构关系,并将其应用于代码完成。编辑器利用ID3算法来构建决策树,即用于预测用户将要键入的代码的规则序列。编辑器在交互式规则接口系统(IRIS)中显示决策树规则,允许开发人员对它们进行优先级排序、修改或删除。这些交互会改变ID3处理的数据,为开发人员提供对自动完成系统的一些控制。验证表明,在没有用户交互的情况下,ML模型能够以78.4%的准确率预测标签,以62.9%的准确率预测属性,以12.8%的准确率预测值。根据用户研究的结果,用户与规则界面的交互纠正了自动化过程中遗漏或错误的特征关系,提高了自动完成的准确性和开发人员的生产力。此外,交互被证明可以帮助开发人员更好地了解代码模式。我们的研究证明了机器智能与人类反馈的软件集成的可行性。

英文摘要:

Traditional machine learning based intelligent systems assist users by learning patterns in data and making recommendations. However, these systems are limited in that the user has little means of understanding the rationale behind the systems suggestions, communicating their own understanding of patterns, or correcting system behavior. In this project, we outline a model for intelligent software based on a human computer feedback loop. The Machine Learning (ML) systems recommendations are reviewed by the user, and in turn, this information shapes the systems decision making. Our model was applied to developing an HTML editor that integrates ML with user interaction to ascertain structural relationships between HTML document features and apply them for code completion. The editor utilizes the ID3 algorithm to build decision trees, sequences of rules for predicting code the user will type. The editor displays the decision trees rules in the Interactive Rules Interface System (IRIS), which allows developers to prioritize, modify, or delete them. These interactions alter the data processed by ID3, providing the developer some control over the autocomplete system. Validation indicates that, absent user interaction, the ML model is able to predict tags with 78.4 percent accuracy, attributes with 62.9 percent accuracy, and values with 12.8 percent accuracy. Based off of the results of the user study, user interaction with the rules interface corrects feature relationships missed or mistaken by the automated process, enhancing autocomplete accuracy and developer productivity. Additionally, interaction is proven to help developers work with greater awareness of code patterns. Our research demonstrates the viability of a software integration of machine intelligence with human feedback.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑