LGAICCDSOct 18, 2025

Prior Makes It Possible: From Sublinear Graph Algorithms to LLM Test-Time Methods

arXiv:2510.16609v1h-index: 77
Originality Incremental advance
AI Analysis

This addresses a theoretical gap in test-time methods for AI practitioners, but it is incremental as it builds on existing graph algorithm frameworks.

The paper tackles the problem of understanding how much pre-training knowledge is required for efficient test-time augmentation in models like LLMs, showing a phase transition where dense prior knowledge allows constant queries, while sparse knowledge requires Ω(√n) queries.

Test-time augmentation, such as Retrieval-Augmented Generation (RAG) or tool use, critically depends on an interplay between a model's parametric knowledge and externally retrieved information. However, the theoretical underpinnings of this relationship remain poorly understood. Specifically, it is not clear how much pre-training knowledge is required to answer queries with a small number of augmentation steps, which is a desirable property in practice. To address this question, we formulate multi-step reasoning as an $s$-$t$ connectivity problem on a knowledge graph. We represent a model's pre-training parametric knowledge as a partial, potentially noisy subgraph. We view augmentation as querying an oracle for true edges that augment the model's knowledge. Then, we characterize the necessary and sufficient number of augmentation steps for the model to generate an accurate answer given partial prior knowledge. One key result shows a phase transition: if the prior knowledge graph over $n$ vertices is disconnected into small components, then finding a path via augmentation is inefficient and requires $Ω(\sqrt{n})$ queries. On the other hand, once the density of correct knowledge surpasses a threshold, forming a giant component, we can find paths with an expected constant number of queries.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes