Skip to main content
QUICK REVIEW

[论文解读] Optimized Feature Generation for Tabular Data via LLMs with Decision Tree Reasoning

Jae Hyun Nam, Kyuyoung Kim|arXiv (Cornell University)|Jun 12, 2024
Natural Language Processing TechniquesComputer Science被引用 3
一句话总结

OCTree 是一种新颖的框架,利用大语言模型(LLMs)与决策树推理相结合,自动生成高性能的表格特征,而无需预定义的搜索空间。通过迭代地利用训练好的决策树的语义反馈和验证分数来优化特征生成规则,OCTree 在多种表格基准上持续提升模型性能,优于现有的自动特征工程方法。

ABSTRACT

In tabular prediction tasks, tree-based models combined with automated feature engineering methods often outperform deep learning approaches that rely on learned representations. While these feature engineering techniques are effective, they typically depend on a pre-defined search space and primarily use validation scores for feature selection, thereby missing valuable insights from previous experiments. To address these limitations, we propose a novel tabular learning framework that utilizes large language models (LLMs), termed Optimizing Column feature generator with decision Tree reasoning (OCTree). Our key idea is to leverage the reasoning capabilities of LLMs to identify effective feature generation rules without manually specifying the search space and provide language-based reasoning information highlighting past experiments as feedback for iterative rule improvements. We use decision trees to convey this reasoning information, as they can be easily represented in natural language, effectively providing knowledge from prior experiments (i.e., the impact of the generated features on performance) to the LLMs. Our empirical results demonstrate that OCTree consistently enhances the performance of various prediction models across diverse benchmarks, outperforming competing automated feature engineering methods. Code is available at https://github.com/jaehyun513/OCTree.

研究动机与目标

  • 为解决表格数据中手动和基于启发式方法的特征工程的局限性,其中搜索空间定义模糊且过往实验反馈未被充分利用。
  • 利用大语言模型的推理能力,发现有效的特征生成规则,而无需预定义的规则空间。
  • 将过往实验反馈——特别是决策树的解释——整合到大语言模型的提示中,以指导迭代规则优化。
  • 通过自动生成的高质量特征,提升下游预测模型(如 XGBoost、MLP、HyperFast)的性能。
  • 验证生成特征在不同模型架构和时间约束下的可迁移性与实用性。

提出的方法

  • 通过提示大语言模型,基于任务需求(例如,股票预测任务中提示生成'交易量')来提出新的列名。
  • 通过大语言模型提示生成特征生成规则,输入包括上下文数据、列名以及分类值。
  • 利用预测模型的验证分数和训练好的决策树的自然语言解释作为反馈,以迭代优化规则。
  • 通过决策树推理表示过往实验知识,将其提炼为自然语言并反馈给大语言模型,以指导下一步的规则生成。
  • 重复规则生成与评估循环固定次数,选择验证分数最高的规则。
  • 将表现最佳的规则应用于下游模型(如 MLP、HyperFast),以评估其泛化能力与实际效用。

实验结果

研究问题

  • RQ1大语言模型是否能在不依赖手动定义的搜索空间的情况下,有效生成有意义的表格特征?
  • RQ2决策树的解释是否可作为有效的语言反馈,用于指导基于大语言模型的迭代式特征规则优化?
  • RQ3将过往实验反馈(通过决策树推理实现)整合到规则生成中,是否能产生比仅依赖验证分数更优的特征生成规则?
  • RQ4生成的特征是否能提升多种模型的性能,包括非树基模型如 MLP 和 HyperFast?
  • RQ5LLM 生成的特征在真实世界表格基准上,与现有自动特征工程方法相比表现如何?

主要发现

  • OCTree 在多种表格基准上持续提升各类预测模型的性能,优于竞争性的自动特征工程方法。
  • 在 Disease 数据集中,大语言模型正确识别出 'Cough' 比 'Cholesterol Level' 对疾病预测更具信息量,使用前者时性能提升 2.67%。
  • 在 Clinical Trial 数据集中,将生成的 'Age' 列用真实世界值填充后,准确率显著提升,验证了大语言模型生成特征的实际相关性。
  • 在为 XGBoost 优化后,生成的特征在 MLP 和 HyperFast 模型上也提升了性能,证明了其强大的可迁移性。
  • 该框架通过先在简单模型上优化规则并进行迁移,减少了对耗时验证循环的依赖,从而降低了运行时间成本。
  • 大语言模型展现出从候选特征中区分出相关特征的能力,GPT-4o 和 Llama 2 在 Disease 数据集中均正确识别出 'Cough' 比 'Cholesterol Level' 更为重要。

阅读本论文

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

在 Nubint 中阅读本论文

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