ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2306.12317
13
0

Iterated Piecewise Affine (IPA) Approximation for Language Modeling

21 June 2023
Davood Shamsi
Wenhui Hua
Brian Williams
ArXivPDFHTML
Abstract

In this work, we demonstrate the application of a first-order Taylor expansion to approximate a generic function F:Rn×m→Rn×mF: R^{n \times m} \to R^{n \times m}F:Rn×m→Rn×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 arXiv
Comments on this paper