{"id":"arxiv/2601.22170","url":"https://arxiv.org/abs/2601.22170","tags":["math.NA","cs.LG","stat.ML"],"score":0,"title":"Large Language Models: A Mathematical Formulation","domain":"math.NA","source":"arxiv","authors":["Ricardo Baptista","Andrew Stuart","Son Tran"],"reviews":0,"subject":"math.NA","summary":"Large language models (LLMs) process and predict sequences containing text to answer questions, and address tasks including document summarization, providing recommendations, writing software and solving quantitative problems. We provide a mathematical framework for LLMs by describing the encoding of text sequences into sequences of tokens, defining the architecture for next-token prediction models, explaining how these models are learned from data, and demonstrating how they are deployed to address a variety of tasks. The mathematical sophistication required to understand this material is…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-01-21","reactions":{}}