On the Power of Decision Trees in Auto-Regressive Language Modeling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gan, Yulu, Galanti, Tomer, Poggio, Tomaso, Malach, Eran
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914959768682496
author Gan, Yulu
Galanti, Tomer
Poggio, Tomaso
Malach, Eran
author_facet Gan, Yulu
Galanti, Tomer
Poggio, Tomaso
Malach, Eran
contents Originally proposed for handling time series data, Auto-regressive Decision Trees (ARDTs) have not yet been explored for language modeling. This paper delves into both the theoretical and practical applications of ARDTs in this new context. We theoretically demonstrate that ARDTs can compute complex functions, such as simulating automata, Turing machines, and sparse circuits, by leveraging "chain-of-thought" computations. Our analysis provides bounds on the size, depth, and computational efficiency of ARDTs, highlighting their surprising computational power. Empirically, we train ARDTs on simple language generation tasks, showing that they can learn to generate coherent and grammatically correct text on par with a smaller Transformer model. Additionally, we show that ARDTs can be used on top of transformer representations to solve complex reasoning tasks. This research reveals the unique computational abilities of ARDTs, aiming to broaden the architectural diversity in language model development.
format Preprint
id arxiv_https___arxiv_org_abs_2409_19150
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On the Power of Decision Trees in Auto-Regressive Language Modeling
Gan, Yulu
Galanti, Tomer
Poggio, Tomaso
Malach, Eran
Computation and Language
Originally proposed for handling time series data, Auto-regressive Decision Trees (ARDTs) have not yet been explored for language modeling. This paper delves into both the theoretical and practical applications of ARDTs in this new context. We theoretically demonstrate that ARDTs can compute complex functions, such as simulating automata, Turing machines, and sparse circuits, by leveraging "chain-of-thought" computations. Our analysis provides bounds on the size, depth, and computational efficiency of ARDTs, highlighting their surprising computational power. Empirically, we train ARDTs on simple language generation tasks, showing that they can learn to generate coherent and grammatically correct text on par with a smaller Transformer model. Additionally, we show that ARDTs can be used on top of transformer representations to solve complex reasoning tasks. This research reveals the unique computational abilities of ARDTs, aiming to broaden the architectural diversity in language model development.
title On the Power of Decision Trees in Auto-Regressive Language Modeling
topic Computation and Language
url https://arxiv.org/abs/2409.19150