Saved in:
Bibliographic Details
Main Authors: Wan, Jun, Mei, Lingrui
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.15784
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913851325284352
author Wan, Jun
Mei, Lingrui
author_facet Wan, Jun
Mei, Lingrui
contents The rapid advancement of large language models (LLMs) calls for a rigorous theoretical framework to explain their empirical success. While significant progress has been made in understanding LLM behaviors, existing theoretical frameworks remain fragmented in explaining emergent phenomena through a unified mathematical lens. We establish the first formal connection between LLM architectures and Algorithmic Information Theory (AIT) by proving two fundamental results: (1) the training process computationally approximates Solomonoff prior through loss minimization interpreted as program length optimization, and (2) next-token prediction implements approximate Solomonoff induction. We leverage AIT to provide a unified theoretical explanation for in-context learning, few-shot learning, and scaling laws. Furthermore, our theoretical insights lead to a principled method for few-shot example selection that prioritizes samples where models exhibit lower predictive confidence. We demonstrate through experiments on diverse text classification benchmarks that this strategy yields significant performance improvements, particularly for smaller model architectures, when compared to selecting high-confidence examples. Our framework bridges the gap between theoretical foundations and practical LLM behaviors, providing both explanatory power and actionable insights for future model development.
format Preprint
id arxiv_https___arxiv_org_abs_2505_15784
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Large Language Models as Computable Approximations to Solomonoff Induction
Wan, Jun
Mei, Lingrui
Machine Learning
Artificial Intelligence
Computation and Language
The rapid advancement of large language models (LLMs) calls for a rigorous theoretical framework to explain their empirical success. While significant progress has been made in understanding LLM behaviors, existing theoretical frameworks remain fragmented in explaining emergent phenomena through a unified mathematical lens. We establish the first formal connection between LLM architectures and Algorithmic Information Theory (AIT) by proving two fundamental results: (1) the training process computationally approximates Solomonoff prior through loss minimization interpreted as program length optimization, and (2) next-token prediction implements approximate Solomonoff induction. We leverage AIT to provide a unified theoretical explanation for in-context learning, few-shot learning, and scaling laws. Furthermore, our theoretical insights lead to a principled method for few-shot example selection that prioritizes samples where models exhibit lower predictive confidence. We demonstrate through experiments on diverse text classification benchmarks that this strategy yields significant performance improvements, particularly for smaller model architectures, when compared to selecting high-confidence examples. Our framework bridges the gap between theoretical foundations and practical LLM behaviors, providing both explanatory power and actionable insights for future model development.
title Large Language Models as Computable Approximations to Solomonoff Induction
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2505.15784