ExplorerArtificial IntelligenceAI
Research PaperResearchia:202604.17002

Generalization in LLM Problem Solving: The Case of the Shortest Path

Yao Tong

Abstract

Whether language models can systematically generalize remains actively debated. Yet empirical performance is jointly shaped by multiple factors such as training data, training paradigms, and inference-time strategies, making failures difficult to interpret. We introduce a controlled synthetic environment based on shortest-path planning, a canonical composable sequential optimization problem. The setup enables clean separation of these factors and supports two orthogonal axes of generalization: s...

Submitted: April 17, 2026Subjects: AI; Artificial Intelligence

Description / Details

Whether language models can systematically generalize remains actively debated. Yet empirical performance is jointly shaped by multiple factors such as training data, training paradigms, and inference-time strategies, making failures difficult to interpret. We introduce a controlled synthetic environment based on shortest-path planning, a canonical composable sequential optimization problem. The setup enables clean separation of these factors and supports two orthogonal axes of generalization: spatial transfer to unseen maps and length scaling to longer-horizon problems. We find that models exhibit strong spatial transfer but consistently fail under length scaling due to recursive instability. We further analyze how distinct stages of the learning pipeline influence systematic problem-solving: for example, data coverage sets capability limits; reinforcement learning improves training stability but does not expand those limits; and inference-time scaling enhances performance but cannot rescue length-scaling failures.


Source: arXiv:2604.15306v1 - http://arxiv.org/abs/2604.15306v1 PDF: https://arxiv.org/pdf/2604.15306v1 Original Link: http://arxiv.org/abs/2604.15306v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Apr 17, 2026
Topic:
Artificial Intelligence
Area:
AI
Comments:
0
Bookmark
Generalization in LLM Problem Solving: The Case of the Shortest Path | Researchia