"Oh LLM, I'm Asking Thee, Please Give Me a Decision Tree": Zero-Shot Decision Tree Induction and Embedding with Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Knauer, Ricardo, Koddenbrock, Mario, Wallsberger, Raphael, Brisson, Nicholas M., Duda, Georg N., Falla, Deborah, Evans, David W., Rodner, Erik
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918035706609664
author Knauer, Ricardo
Koddenbrock, Mario
Wallsberger, Raphael
Brisson, Nicholas M.
Duda, Georg N.
Falla, Deborah
Evans, David W.
Rodner, Erik
author_facet Knauer, Ricardo
Koddenbrock, Mario
Wallsberger, Raphael
Brisson, Nicholas M.
Duda, Georg N.
Falla, Deborah
Evans, David W.
Rodner, Erik
contents Large language models (LLMs) provide powerful means to leverage prior knowledge for predictive modeling when data is limited. In this work, we demonstrate how LLMs can use their compressed world knowledge to generate intrinsically interpretable machine learning models, i.e., decision trees, without any training data. We find that these zero-shot decision trees can even surpass data-driven trees on some small-sized tabular datasets and that embeddings derived from these trees perform better than data-driven tree-based embeddings on average. Our decision tree induction and embedding approaches can therefore serve as new knowledge-driven baselines for data-driven machine learning methods in the low-data regime. Furthermore, they offer ways to harness the rich world knowledge within LLMs for tabular machine learning tasks. Our code and results are available at https://github.com/ml-lab-htw/llm-trees.
format Preprint
id arxiv_https___arxiv_org_abs_2409_18594
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle "Oh LLM, I'm Asking Thee, Please Give Me a Decision Tree": Zero-Shot Decision Tree Induction and Embedding with Large Language Models
Knauer, Ricardo
Koddenbrock, Mario
Wallsberger, Raphael
Brisson, Nicholas M.
Duda, Georg N.
Falla, Deborah
Evans, David W.
Rodner, Erik
Artificial Intelligence
Computation and Language
Machine Learning
Large language models (LLMs) provide powerful means to leverage prior knowledge for predictive modeling when data is limited. In this work, we demonstrate how LLMs can use their compressed world knowledge to generate intrinsically interpretable machine learning models, i.e., decision trees, without any training data. We find that these zero-shot decision trees can even surpass data-driven trees on some small-sized tabular datasets and that embeddings derived from these trees perform better than data-driven tree-based embeddings on average. Our decision tree induction and embedding approaches can therefore serve as new knowledge-driven baselines for data-driven machine learning methods in the low-data regime. Furthermore, they offer ways to harness the rich world knowledge within LLMs for tabular machine learning tasks. Our code and results are available at https://github.com/ml-lab-htw/llm-trees.
title "Oh LLM, I'm Asking Thee, Please Give Me a Decision Tree": Zero-Shot Decision Tree Induction and Embedding with Large Language Models
topic Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2409.18594