A Meta-Learning Perspective on Transformers for Causal Language Modeling

Xinbo Wu, Lav R. Varshney
10/9/2023
cs.LGcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

The Transformer architecture has become prominent in developing large causal language models. However, mechanisms to explain its capabilities are not well understood. Focused on the training process, here we establish a meta-learning view of the Transformer architecture when trained for the causal language modeling task, by explicating an inner optimization process within the Transformer. Further, within the inner optimization, we discover and theoretically analyze a special characteristic of the norms of learned token representations within Transformer-based causal language models. Our analysis is supported by experiments in various settings.

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{wu2023metalearning,
  title  = {A Meta-Learning Perspective on Transformers for Causal Language Modeling},
  author = {Xinbo Wu and Lav R. Varshney},
  year   = {2023},
  eprint = {2310.05884},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.05884v2}
}

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/2310.05884.svg)](https://codeofpaper.com/paper/2310.05884)

Discussion