Increasing transformer token length with a Maximum Entropy Principle Method

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Cukier, R. I.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914917541478400
author Cukier, R. I.
author_facet Cukier, R. I.
contents Transformers suffer from the computational overhead of their quadratic dependence on the length of sequences processed. We present three methods, all adding an intermediate step between training and inference/generation, which extend the autoregressive length of transformers. All rely on a Maximum Entropy Principle (MEP) whereby entropy is maximized in the presence of suitable constraints, accounted for by use of Lagrange Multipliers. These constraint methods extend the autoregressive character from T to 2T tokens in a linear-with-T fashion. There is overhead associated with this added step, but they should still be faster than the standard methods.
format Preprint
id arxiv_https___arxiv_org_abs_2408_10277
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Increasing transformer token length with a Maximum Entropy Principle Method
Cukier, R. I.
Machine Learning
Transformers suffer from the computational overhead of their quadratic dependence on the length of sequences processed. We present three methods, all adding an intermediate step between training and inference/generation, which extend the autoregressive length of transformers. All rely on a Maximum Entropy Principle (MEP) whereby entropy is maximized in the presence of suitable constraints, accounted for by use of Lagrange Multipliers. These constraint methods extend the autoregressive character from T to 2T tokens in a linear-with-T fashion. There is overhead associated with this added step, but they should still be faster than the standard methods.
title Increasing transformer token length with a Maximum Entropy Principle Method
topic Machine Learning
url https://arxiv.org/abs/2408.10277