📥 Contact Email Update: Please use yeht22@mails.jlu.edu.cn for all future communications. The previous email (yeht2118@mails.jlu.edu.cn) is no longer active.
Incorporating LLMs into tabular data suffers from two key inherent issues: (i) data perspective: existing data serialization methods lack universal applicability for structured tabular data, and may pose privacy risks through direct textual exposure, and (ii) model perspective: LLM fine-tuning methods struggle with tabular data, and in-context learning scalability is bottle-necked by input length constraints (suitable for few-shot learning). This work explores a novel direction of integrating LLMs into tabular data through logical decision tree rules as intermediaries (an agent with decision tree rules as scaffolds), proposing a decision tree enhancer with LLM-derived rule for tabular prediction, DeLTa. The proposed DeLTa avoids tabular data serialization and helps mitigate privacy concerns. It can be applied to full data learning setting without LLM fine-tuning.
conda create -n DeLTa python=3.9 -y
conda activate DeLTa
pip install -r requirements.txt cd DeLTa-main
python run_randforest.pycd DeLTa-main
python run.pycd DeLTa-main
python run_ensemble.pycd DeLTa-main
python run_randforest.pycd DeLTa-main/llm/get_prompts
python run_get_prompt.pyOur method has been validated with these three LLMs (GPT-4o, Qwen3-32B, and Qwen3-8B), though you are also welcome to use other models.
cd DeLTa-main/llm/query
python run_get_answer.pycd DeLTa-main/llm
python get_trees.pycd DeLTa-main
python run.pycd DeLTa-main
python run_ensemble.pyDatasets are accessible via Google Drive.
If you wish to use your own dataset,please follow:
cd DeLTa-main/example_datasets
mkdir [NAME_OF_YOUR_DATASET]For the specific format of the dataset, please refer to https://github.com/LAMDA-Tabular/TALENT.
Specifically,each dataset folder args.dataset consists of:
-- Numeric features: N_train/val/test.npy (can be omitted if there are no numeric features)
-- Categorical features: C_train/val/test.npy (can be omitted if there are no categorical features)
-- Labels: y_train/val/test.npy
-- info.json, which must include the following three contents (task_type can be "regression", "multiclass" or "binclass"):
{
"task_type": "regression",
"n_num_features": 10,
"n_cat_features": 10
}Additionally, please add your dataset and its alternative parameters to the DeLTa-main/dataset_config.py file.
For regression tasks, we use the default values; for classification tasks, adjustments to the η parameter are required.
If our work is useful for your own, you can cite us with the following BibTex entry:
@inproceedings{
ye2025llm,
title={{LLM} Meeting Decision Trees on Tabular Data},
author={Hangting Ye and Jinmeng Li and He Zhao and Dandan Guo and Yi Chang},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year={2025},
url={https://openreview.net/forum?id=SRDF3RV0KP}
}
