arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.09543cs.PLcs.LGcs.SE
收藏

FEAST:一个面向编译任务的自动化特征选择框架

FEAST: An Automated Feature Selection Framework for Compilation Tasks

University of Michigan(密歇根大学);IBM T. J. Watson Research Center(IBM T. J. Watson研究中心);Adobe Systems(Adobe系统公司)

Pai-Shun Ting, Chun-Chen Tu, Pin-Yu Chen, Ya-Yun Lo, Shin-Ming Cheng

摘要:

将机器学习技术应用于编译任务的成功在很大程度上归功于程序表征的最新发展和进步,程序表征是一种在数字上或结构上量化目标程序的过程。虽然已经取得了很大的成就,在确定的关键功能,以表征程序,选择一个正确的一组功能,为特定的编译器任务仍然是一个特设的过程。为了保证功能的全面覆盖,编译工程师通常需要选择过多的功能。不幸的是,这可能会导致选择多个类似的功能,这反过来又会产生一个新的偏差问题,强调程序特性的某些方面,从而降低目标编译器任务的准确性和性能。在本文中,我们提出了特征选择编译任务(FEAST),一个有效的和自动化的框架,用于确定最相关的和代表性的功能,从功能池。具体而言,FEAST利用广泛使用的统计和机器学习工具,包括LASSO,顺序向前和向后选择,用于自动特征选择,并且通常可以应用于任何数值特征集。本文进一步提出了一种自动化的方法来评估FEAST的性能编译器参数分配。密集的实验结果表明,编译器参数分配任务下,FEAST可以实现可比的结果与约18%的功能,自动选择从整个功能池。我们还检查这些选定的功能,并讨论它们在程序执行中的作用。

英文摘要:

The success of the application of machine-learning techniques to compilation tasks can be largely attributed to the recent development and advancement of program characterization, a process that numerically or structurally quantifies a target program. While great achievements have been made in identifying key features to characterize programs, choosing a correct set of features for a specific compiler task remains an ad hoc procedure. In order to guarantee a comprehensive coverage of features, compiler engineers usually need to select excessive number of features. This, unfortunately, would potentially lead to a selection of multiple similar features, which in turn could create a new problem of bias that emphasizes certain aspects of a program's characteristics, hence reducing the accuracy and performance of the target compiler task. In this paper, we propose FEAture Selection for compilation Tasks (FEAST), an efficient and automated framework for determining the most relevant and representative features from a feature pool. Specifically, FEAST utilizes widely used statistics and machine-learning tools, including LASSO, sequential forward and backward selection, for automatic feature selection, and can in general be applied to any numerical feature set. This paper further proposes an automated approach to compiler parameter assignment for assessing the performance of FEAST. Intensive experimental results demonstrate that, under the compiler parameter assignment task, FEAST can achieve comparable results with about 18% of features that are automatically selected from the entire feature pool. We also inspect these selected features and discuss their roles in program execution.

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

↑