Proceedings

Two-Stage Feature Generation with Transformer and Reinforcement Learning

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 5181-5189.

https://doi.org/10.24963/ijcai.2025/577

Abstract

Feature generation is a critical step in machine learning, aiming to enhance model performance by capturing complex relationships within the data and generating meaningful new features. Traditional feature generation methods heavily rely on domain expertise and manual intervention, making the process labor-intensive and challenging to adapt to different scenarios. Although automated feature generation techniques address these issues to some extent, they often face challenges such as feature redundancy, inefficiency in feature space exploration, and limited adaptability to diverse datasets and tasks. To address these problems, we propose a Two-Stage Feature Generation (TSFG) framework, which integrates a Transformer-based encoder-decoder architecture with Proximal Policy Optimization (PPO). The encoder-decoder model in TSFG leverages the Transformer’s self-attention mechanism to efficiently represent and transform features, capturing complex dependencies within the data. PPO further enhances TSFG by dynamically adjusting the feature generation strategy based on task-specific feedback, optimizing the process for improved performance and adaptability. TSFG dynamically generates high-quality feature sets, significantly improving the predictive performance of machine learning models. Experimental results demonstrate that TSFG outperforms existing state-of-the-art methods in terms of feature quality and adaptability.

  1. [Bahdanau, 2014] Dzmitry Bahdanau. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014.
  2. [Cai et al., 2023] Qingpeng Cai, Can Cui, Yiyuan Xiong, Wei Wang, Zhongle Xie, and Meihui Zhang. A survey on deep reinforcement learning for data processing and ana- lytics. IEEE Trans. Knowl. Data Eng., 35(5):4446-4465, 2023.
  3. [Domingos, 2012] Pedro Domingos. A few useful things to know about machine learning. Communications of the ACM, 55(10):78-87, 2012.
  4. [Dong and Liu, 2018] Guozhu Dong and Huan Liu. Feature engineering for machine learning and data analytics. CRC press, 2018.
  5. [Dor and Reich, 2012] Ofer Dor and Yoram Reich. Strength- ening learning algorithms by feature discovery. Informa- tion Sciences, 189:176-190, 2012.
  6. [Graves, 2013a] Alex Graves. Generating sequences with re- current neural networks. arXiv preprint arXiv:1308.0850, 2013.
  7. [Graves, 2013b] Alex Graves. Generating sequences with re- current neural networks. CoRR, abs/1308.0850, 2013.
  8. [Guo et al., 2017] Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. On calibration of modern neural net- works. In International conference on machine learning, pages 1321-1330. PMLR, 2017.
  9. [He et al., 2021] Xin He, Kaiyong Zhao, and Xiaowen Chu. Automl: A survey of the state-of-the-art. Knowledge- based systems, 212:106622, 2021.
  10. [Horn et al., 2020] Franziska Horn, Robert Pack, and Michael Rieger. The autofeat python library for automated feature engineering and selection. In Machine Learning and Knowledge Discovery in Databases: International Workshops of ECML PKDD 2019, Würzburg, Germany, September 16-20, 2019, Proceedings, Part I, pages 111- 120. Springer, 2020.
  11. [Howard, 2024] Jeremy Howard. Kaggle dataset download. https://www.kaggle.com/datasets, 2024. Accessed: 2024- 05-01. Link
  12. [Kanter and Veeramachaneni, 2015] James Max Kanter and Kalyan Veeramachaneni. Deep feature synthesis: Towards automating data science endeavors. In 2015 IEEE interna- tional conference on data science and advanced analytics (DSAA), pages 1-10. IEEE, 2015.
  13. [Katz et al., 2016] Gilad Katz, Eui Chul Richard Shin, and Dawn Song. Explorekit: Automatic feature generation and selection. In 2016 IEEE 16th International Conference on Data Mining (ICDM), pages 979-984. IEEE, 2016.
  14. [Khurana et al., 2018] Udayan Khurana, Horst Samulowitz, and Deepak S. Turaga. Feature engineering for predic- tive modeling using reinforcement learning. In Proceed- ings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Sym- posium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 3407-3414. AAAI Press, 2018.
  15. [Kingma and Ba, 2015] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Yoshua Bengio and Yann LeCun, editors, 3rd International Con- ference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Pro- ceedings, 2015.
  16. [Komer et al., 2014] Brent Komer, James Bergstra, and Chris Eliasmith. Hyperopt-sklearn: Automatic hyperpa- rameter configuration for scikit-learn. In Scipy, pages 32- 37, 2014.
  17. [LeCun et al., 2015] Yann LeCun, Yoshua Bengio, and Ge- offrey Hinton. Deep learning. nature, 521(7553):436-444, 2015.
  18. [Li et al., 2024] Yonghao Li, Liang Hu, and Wanfu Gao. Multi-label feature selection with high-sparse personalized and low-redundancy shared common features. Information Processing & Management, 61(3):103633, 2024.
  19. [Lin, 2024] Chih-Jen Lin. Libsvm dataset download. https: //www.csie.ntu.edu.tw/ ∼ cjlin/libsvmtools/datasets/, 2024. Accessed: 2024-05-01. Link
  20. [Liu et al., 2019] Kunpeng Liu, Yanjie Fu, Pengfei Wang, Le Wu, Rui Bo, and Xiaolin Li. Automating feature sub- space exploration via multi-agent reinforcement learning. In Ankur Teredesai, Vipin Kumar, Ying Li, Rómer Ros- ales, Evimaria Terzi, and George Karypis, editors, Pro- ceedings of the 25th ACM SIGKDD International Confer- ence on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 207-215. ACM, 2019.
  21. [Luo et al., 2019] Yuanfei Luo, Mengshuo Wang, Hao Zhou, Quanming Yao, Wei-Wei Tu, Yuqiang Chen, Wenyuan Dai, and Qiang Yang. Autocross: Automatic feature cross- ing for tabular data in real-world applications. In Proceed- ings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 1936- 1945, 2019. [Obese, 1998] HJOR Obese. Body mass index (bmi). Obes Res, 6(2):51S-209S, 1998.
  22. [Public, 2024a] Public. Openml dataset download. https:// www.openml.org, 2024. Accessed: 2024-05-01. Link
  23. [Public, 2024b] Public. UCI Dataset Download. https:// archive.ics.uci.edu/, 2024. Accessed: 2024-05-01. Link
  24. [Raffel et al., 2020] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the lim- its of transfer learning with a unified text-to-text trans- former. Journal of machine learning research, 21(140):1- 67, 2020.
  25. [Schulman et al., 2017] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017.
  26. [Sutskever, 2014] I Sutskever. Sequence to sequence learn- ing with neural networks. arXiv preprint arXiv:1409.3215, 2014.
  27. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vish- wanathan, and Roman Garnett, editors, Advances in Neu- ral Information Processing Systems 30: Annual Confer- ence on Neural Information Processing Systems 2017, De- cember 4-9, 2017, Long Beach, CA, USA, pages 5998- 6008, 2017.
  28. [Wang et al., 2021] Qianqian Wang, Zhengming Ding, Zhiqiang Tao, Quanxue Gao, and Yun Fu. Generative partial multi-view clustering with adaptive fusion and cy- cle consistency. IEEE Transactions on Image Processing, 30:1771-1783, 2021.
  29. [Wang et al., 2022] Dongjie Wang, Yanjie Fu, Kunpeng Liu, Xiaolin Li, and Yan Solihin. Group-wise reinforcement feature generation for optimal and explainable representa- tion space reconstruction. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 1826-1834, 2022.
  30. [Zhang and Gao, 2021] Ping Zhang and Wanfu Gao. Feature relevance term variation for multi-label feature selection. Applied Intelligence, 51:5095-5110, 2021.
  31. [Zhang et al., 2021] Ping Zhang, Wanfu Gao, Juncheng Hu, and Yonghao Li. A conditional-weight joint relevance metric for feature relevancy term. Engineering Applica- tions of Artificial Intelligence, 106:104481, 2021.
  32. [Zhang et al., 2023] Tianping Zhang, Zheyu Aqa Zhang, Zhiyuan Fan, Haoyan Luo, Fengyuan Liu, Qian Liu, Wei Cao, and Li Jian. Openfe: automated feature generation with expert-level performance. In International Confer- ence on Machine Learning, pages 41880-41901. PMLR, 2023.
  33. [Zheng and Casari, 2018] Alice Zheng and Amanda Casari. Feature engineering for machine learning: principles and techniques for data scientists. " O'Reilly Media, Inc.", 2018.
  34. [Zhu et al., 2022] Guanghui Zhu, Zhuoer Xu, Chunfeng Yuan, and Yihua Huang. Difer: differentiable automated feature engineering. In International Conference on Auto- mated Machine Learning, pages 17-1. PMLR, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards