一句话:提出 AMS,利用代码语料与 API 文档统计,将用户弱规格自动增强为完整 AutoML 流水线搜索空间。
AutoML 允许用户通过弱流水线规格影响生成结果:用户只给出无序的 API 组件集合,表达希望流水线包含哪些组件。本文提出 AMS,将这种弱规格自动增强为强规格,即候选流水线的完整搜索空间描述。具体地,AMS 在代码语料上用归一化点互信息识别互补组件,用 BM25 在目标 API 文档上寻找功能相关组件,并利用语料频数分布抽取关键超参数及其取值;随后将增强后的配置与搜索过程结合。实验表明,由增强规格生成的流水线优于仅用初始弱规格和专家标注变体生成的流水线,同时仍反映用户原始偏好。
We consider a usage model for automated machine learning (AutoML) in which users can influence the generated pipeline by providing a weak pipeline specification: an unordered set of API components from which the AutoML system draws the components it places into the generated pipeline. Such specifications allow users to express preferences over the components that appear in the pipeline, for example a desire for interpretable components to appear in the pipeline. We present AMS, an approach to automatically strengthen weak specifications to include unspecified complementary and functionally related API components, populate the space of hyperparameters and their values, and pair this configuration with a search procedure to produce a strong pipeline specification: a full description of the search space for candidate pipelines. ams uses normalized pointwise mutual information on a code corpus to identify complementary components, BM25 as a lexical similarity score over the target API's documentation to identify functionally related components, and frequency distributions in the code corpus to extract key hyperparameters and values. We show that strengthened specifications can produce pipelines that outperform the pipelines generated from the initial weak specification and an expert-annotated variant, while producing pipelines that still reflect the user preferences captured in the original weak specification.