Saved in:
Bibliographic Details
Main Author: Truong, Lan V.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.11500
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912073439510528
author Truong, Lan V.
author_facet Truong, Lan V.
contents In this paper, we introduce various covering number bounds for linear function classes, each subject to different constraints on input and matrix norms. These bounds are contingent on the rank of each class of matrices. We then apply these bounds to derive generalization errors for single layer transformers. Our results improve upon several existing generalization bounds in the literature and are independent of input sequence length, highlighting the advantages of employing low-rank matrices in transformer design. More specifically, our achieved generalisation error bound decays as $O(1/\sqrt{n})$ where $n$ is the sample length, which improves existing results in research literature of the order $O((\log n)/(\sqrt{n}))$. It also decays as $O(\log r_w)$ where $r_w$ is the rank of the combination of query and and key matrices.
format Preprint
id arxiv_https___arxiv_org_abs_2410_11500
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On Rank-Dependent Generalisation Error Bounds for Transformers
Truong, Lan V.
Machine Learning
Functional Analysis
In this paper, we introduce various covering number bounds for linear function classes, each subject to different constraints on input and matrix norms. These bounds are contingent on the rank of each class of matrices. We then apply these bounds to derive generalization errors for single layer transformers. Our results improve upon several existing generalization bounds in the literature and are independent of input sequence length, highlighting the advantages of employing low-rank matrices in transformer design. More specifically, our achieved generalisation error bound decays as $O(1/\sqrt{n})$ where $n$ is the sample length, which improves existing results in research literature of the order $O((\log n)/(\sqrt{n}))$. It also decays as $O(\log r_w)$ where $r_w$ is the rank of the combination of query and and key matrices.
title On Rank-Dependent Generalisation Error Bounds for Transformers
topic Machine Learning
Functional Analysis
url https://arxiv.org/abs/2410.11500