Generalization Boundaries of Fine-Tuned Small Language Models for Graph Structural Inference

Michal Podstawski
4/20/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Small language models fine-tuned for graph property estimation have demonstrated strong in-distribution performance, yet their generalization capabilities beyond training conditions remain poorly understood. In this work, we systematically investigate the boundaries of structural inference in fine-tuned small language models along two generalization axes - graph size and graph family distribution - and assess domain-learning capability on real-world graph benchmarks.

Show full abstract

Using a controlled experimental setup with three instruction-tuned models in the 3-4B parameter class and two graph serialization formats, we evaluate performance on graphs substantially larger than the training range and across held-out random graph families. Our results show that fine-tuned models maintain strong ordinal consistency across structurally distinct graph families and continue to rank graphs by structural properties on inputs substantially larger than those seen during training, with distinct architecture-specific degradation profiles. These findings delineate where fine-tuned small language models generalize reliably, providing empirical grounding for their use in graph-based reasoning tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{podstawski2026generalization,
  title  = {Generalization Boundaries of Fine-Tuned Small Language Models for Graph Structural Inference},
  author = {Michal Podstawski},
  year   = {2026},
  eprint = {2604.18092},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.18092v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.18092.svg)](https://codeofpaper.com/paper/2604.18092)

Discussion