arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.08808cs.LG
收藏

TinyGraphEstimator: 为图结构推断适应轻量级语言模型

TinyGraphEstimator: Adapting Lightweight Language Models for Graph Structure Inference

NASK National Research Institute(波兰国家研究 institute)

Michal Podstawski

AI总结:

本文提出TinyGraphEstimator数据集,评估轻量级语言模型在图结构推断中的能力,通过LoRA技术实现参数调优,证明小型模型在图推理任务中的有效性。

摘要:

图提供了一个通用框架,用于表示复杂的相互关系系统,推断其结构属性是图分析和推理中的核心挑战。尽管大型语言模型最近展示了在符号和数值推理方面的新兴能力,但在这种背景下较小、资源高效的模型的潜力仍 largely 未被探索。本文研究是否紧凑的基于Transformer的语言模型能够直接从图表示中推断图论参数。为了实现系统评估,我们引入了TinyGraphEstimator数据集——一个平衡的连通图集合,由多种随机图模型生成,并标注有详细的结构元数据。我们评估了几种小型开源模型在预测关键图参数(如密度、聚类和色数)方面的能力。此外,我们应用轻量级微调技术,使用低秩适应(LoRA)技术,实现了在所有评估指标上的一致改进。结果表明,小型语言模型在图结构数据上具有非平凡的推理能力,并且可以通过高效的参数调优有效地适应于结构推断任务。

英文摘要:

Graphs provide a universal framework for representing complex relational systems, and inferring their structural properties is a core challenge in graph analysis and reasoning. While large language models have recently demonstrated emerging abilities to perform symbolic and numerical reasoning, the potential of smaller, resource-efficient models in this context remains largely unexplored. This paper investigates whether compact transformer-based language models can infer graph-theoretic parameters directly from graph representations. To enable systematic evaluation, we introduce the TinyGraphEstimator dataset - a balanced collection of connected graphs generated from multiple random graph models and annotated with detailed structural metadata. We evaluate several small open models on their ability to predict key graph parameters such as density, clustering, and chromatic number. Furthermore, we apply lightweight fine-tuning using the Low-Rank Adaptation (LoRA) technique, achieving consistent improvements across all evaluated metrics. The results demonstrate that small language models possess non-trivial reasoning capacity over graph-structured data and can be effectively adapted for structural inference tasks through efficient parameter tuning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑