Abstract
dc:description.abstractThis thesis investigates the nature of reasoning in large language models (LLMs) within the context of the compute scaling paradigm. I define reasoning as the process of deriving novel information from existing knowledge, an ability that is difficult to evaluate when models train on trillions of tokens of data. Across four studies, I progressively develop a characterisation of LLM reasoning. First, I empirically demarcate LLM reasoning from memorisation by showing that models learn distinct strategies from pre-training data for mathematical and factual retrieval tasks. Reasoning involves generalising from shared patterns across questions, while factual retrieval relies on specific instances. The second study situates LLM reasoning further yet from memorised patterns. When LLMs are fine-tuned to auto-regressively predict source code tokens for previously unseen programs, they also develop the ability to evaluate these programs for inputs. This emergence demonstrates that models extract computational principles during training that abstract away from specific inputs and generalise beyond their original context. Turning my attention away from reasoning that follows strict axioms, in the third study I show LLMs also acquire social reasoning abilities during large-scale training. Models demonstrate human-level performance in inferring implicit communicative intentions from ambiguous text, suggesting pragmatic understanding. This ability emerges during large-scale next-token prediction, strengthens with model scale, and is most improved during post-training. However, my final study reveals that the socio-cognitive mechanisms that underpin such human pragmatic understanding may not have conclusively emerged. This underscores how machine reasoning may differ from human reasoning. Taken together, these findings characterise LLM reasoning as a versatile computational process that emerges with scale and generalises beyond training data to novel contexts, highlighting the broader potential of the compute scaling paradigm.
Degree
thesis:*- Level dc:type.qualificationlevel
- Doctoral
- Grantor dc:publisher.institution
- UCL (University College London)
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ruis, Laura
Rights
- Language dc:language
- en, eng
Identifiers
dc:identifier.*- Repository record dc:identifier.uri
- https://discovery.ucl.ac.uk/id/eprint/10220690/