From Expressivity to Sample Complexity: Narrow Teachers for Transformers via C-RASP

Michael Rizvi-Martel, Satwik Bhattamishra, Guillaume Rabusseau, Michael Hahn
7/13/2026
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

A theoretical understanding of Transformers is crucial to better understand the capacities and limitations of large language models (LLMs). There is much work analyzing the expressivity of attention-based models. By proposing handcrafted weights or using computational complexity arguments, a large amount of past theoretical works have sought to characterize which tasks are and which are not in the hypothesis class of Transformer models. However, little work investigates the learnability of such solutions. In this work, we make progress towards this goal. Inspired by recent loss landscape analysis work, we propose preliminary sample complexity bounds for learning C-RASP constructions with Transformers.

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!

Cite this paper

@article{rizvimartel2026from,
  title  = {From Expressivity to Sample Complexity: Narrow Teachers for Transformers via C-RASP},
  author = {Michael Rizvi-Martel and Satwik Bhattamishra and Guillaume Rabusseau and Michael Hahn},
  year   = {2026},
  eprint = {2607.11760},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.11760v1}
}

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

Discussion