Skip to main content
QUICK REVIEW

[论文解读] Dynamic and Adaptive Feature Generation with LLM

Xinhao Zhang, Jinghan Zhang|arXiv (Cornell University)|Jun 4, 2024
Natural Language Processing TechniquesComputer Science被引用 11
一句话总结

提出 LFG,一种动态、可解释的特征生成框架,使用专家级的 LLM 代理和 Tree of Thoughts 迭代重构特征空间并提升下游 ML 任务的性能。它利用反馈和 Monte Carlo Tree Search 在跨数据类型和任务中自适应策略。

ABSTRACT

The representation of feature space is a crucial environment where data points get vectorized and embedded for subsequent modeling. Thus the efficacy of machine learning (ML) algorithms is closely related to the quality of feature engineering. As one of the most important techniques, feature generation transforms raw data into an optimized feature space conducive to model training and further refines the space. Despite the advancements in automated feature engineering and feature generation, current methodologies often suffer from three fundamental issues: lack of explainability, limited applicability, and inflexible strategy. These shortcomings frequently hinder and limit the deployment of ML models across varied scenarios. Our research introduces a novel approach adopting large language models (LLMs) and feature-generating prompts to address these challenges. We propose a dynamic and adaptive feature generation method that enhances the interpretability of the feature generation process. Our approach broadens the applicability across various data types and tasks and offers advantages over strategic flexibility. A broad range of experiments showcases that our approach is significantly superior to existing methods.

研究动机与目标

  • 解决自动特征生成缺乏可解释性的问题。
  • 提升在多样化数据类型和下游任务上的适用性。
  • 引入一个以 LLM 代理为核心的动态自适应特征生成循环。
  • 提供一个透明、端到端的重建特征空间的框架。
  • 通过实验展示相对基线的鲁棒性和性能提升。

提出的方法

  • 定义特征空间和操作空间,并为重构特征集以最大化下游任务性能设定优化目标。
  • 使用大型语言模型(LLM)代理,通过对现有特征应用一元/二元操作,在提示引导下生成新特征。
  • 嵌入 Tree of Thoughts (ToT) 推理,为每个决策产生可解释的生成步骤。
  • 结合下游任务性能的反馈,在各代中细化代理策略。
  • 应用改进的 Monte Carlo Tree Search (MCTS) 在特征空间搜索中平衡探索与利用。
  • 迭代直到找到最优特征子集或达到最大迭代次数;使用下游任务进行验证。

实验结果

研究问题

  • RQ1基于 LLM 的代理是否能够为自动特征工程提供透明且可解释的特征生成步骤?
  • RQ2动态、基于反馈的特征生成在不同数据类型和下游任务上适应性如何?
  • RQ3与传统的自动化特征工程方法相比,使用 LFG 丰富特征空间是否能提升下游任务性能?
  • RQ4基于迭代的 ToT 指导特征生成对模型鲁棒性与收敛性的影响如何?
  • RQ5整合的 MCTS 在发现高性能特征子集方面有多有效?

主要发现

  • LFG 在多个数据集和分类器上持续优于基线。
  • LFG-3(三次迭代)在 Ion 上实现显著的准确度提升,并在若干数据集上改进精确度/召回率/F1。
  • 该方法在五折交叉验证中表现出鲁棒性,相较基线在准确性及其他指标上均有提升。
  • 迭代生成导致特征集规模增大,并使下游性能逐步提升。
  • MCTS 指导的探索有助于在发现高效特征子集时平衡探索与利用。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。