Iterated Piecewise Affine (IPA) Approximation for Language Modeling

Davood Shamsi, Wen-yu Hua, Brian Williams
6/21/2023
cs.CL

No confident code implementation found for this paper.

Abstract

In this work, we demonstrate the application of a first-order Taylor expansion to approximate a generic function $F: R^{n \times m} \to R^{n \times m}$ and utilize it in language modeling. To enhance the basic Taylor expansion, we introduce iteration and piecewise modeling, leading us to name the algorithm the Iterative Piecewise Affine (IPA) approximation. The final algorithm exhibits interesting resemblances to the Transformers decoder architecture. By comparing parameter arrangements in IPA and Transformers, we observe a strikingly similar performance, with IPA outperforming Transformers by 1.5\% in the next token prediction task with cross-entropy loss for smaller sequence lengths.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shamsi2023iterated,
  title  = {Iterated Piecewise Affine (IPA) Approximation for Language Modeling},
  author = {Davood Shamsi and Wen-yu Hua and Brian Williams},
  year   = {2023},
  eprint = {2306.12317},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.12317v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.12317.svg)](https://codeofpaper.com/paper/2306.12317)

Discussion