Architectural Trade-offs in Small Language Models Under Compute Constraints

Shivraj Singh Bhatti
12/24/2025
cs.CLcs.LG

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

We present a systematic empirical study of small language models under strict compute constraints, analyzing how architectural choices and training budget interact to determine performance. Starting from a linear next-token predictor, we progressively introduce nonlinearities, self-attention, and multi-layer transformer architectures, evaluating each on character-level modeling of Tiny Shakespeare and word-level modeling of Penn Treebank (PTB) and WikiText-2. We compare models using test negative log-likelihood (NLL), parameter count, and approximate training FLOPs to characterize accuracy-efficiency trade-offs. Our results show that attention-based models dominate MLPs in per-FLOP efficiency even at small scale, while increasing depth or context without sufficient optimization can degrade performance. We further examine rotary positional embeddings (RoPE), finding that architectural techniques successful in large language models do not necessarily transfer to small-model regimes.

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. 5 weaker matches are hidden by default — 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{bhatti2025architectural,
  title  = {Architectural Trade-offs in Small Language Models Under Compute Constraints},
  author = {Shivraj Singh Bhatti},
  year   = {2025},
  eprint = {2512.20877},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.20877v1}
}

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

Discussion