[论文解读] Graph Property Inference in Small Language Models: Effects of Representation and Inference Strategy
该论文系统研究输入表示(邻接表 vs 边表)和推理策略(基线、Chain-of-Thought、Graph-of-Thoughts)如何影响小型指令微调语言模型的图性质推断,结果显示邻接表示和多分支推理能提升结构估计和序数一致性。
Recent progress in language modeling has expanded the range of tasks that can be approached through natural language interfaces, including problems that require structured reasoning. However, it remains unclear how effectively limited-capacity language models can infer formal properties of relational structures when those structures are presented in textual form. Understanding the conditions under which structured reasoning succeeds or fails is essential for applying small models in graph-based domains. We conduct a systematic study of graph-theoretic property inference in small instruction-tuned language models, isolating the roles of input representation and reasoning strategy. Across a diverse set of local and global graph metrics, we find that structural performance is highly sensitive to how relational information is organized. Representations that preserve neighborhood structure consistently improve estimation stability and ordinal consistency, while multi-branch reasoning yields the most reliable aggregate gains across configurations. These results show that graph property inference in small language models depends critically on representational organization and inference design. Structural competence is therefore shaped not only by model scale, but by how relational information is encoded and how predictions are elicited. The findings identify practical levers for improving structured inference under constrained model capacity.
研究动机与目标
- 通过比较序列化格式和推理策略,隔离影响结构推断的因素在小型语言模型(SLMs)中的作用。
- 在多样的局部和全局图指标上,使用小型指令微调的Transformer评估性能。
- 识别在有限模型容量下改进结构化推断的实际杠杆。
- 评估表示和推理设计是否影响序数敏感性及离散不变量估计。
提出的方法
- 在保持图尺寸信息不变的前提下,比较两种图序列化:邻接表(Adj) vs 边表(Edge)。
- 使用三种推理模式:基线(Baseline)、链式推理(CoT)、图式推理(GoT)并进行多分支聚合(B=15, T=0.7)。
- 在 TinyGraphEstimator 数据集上对十二种图性质进行评估,涵盖度数统计、聚类、基于路径的度量和不变量。
- 使用归一化误差(NRMSE_std)和斯皮尔曼等级相关性进行评估;报告离散性质的精确匹配和“在1以内”的准确率。
- 使用 JSON 架构约束输出以提升可靠性。

实验结果
研究问题
- RQ1序列化格式(Adj vs Edge)如何影响小型语言模型对图性质估计的幅度误差和序数准确性?
- RQ2推理策略(基线、CoT、GoT)对幅度准确性和序数一致性有何影响?
- RQ3邻接表示和多分支推理策略是否在异质图指标上提供更鲁棒的结构推断?
- RQ4在结构化提示和 GoT 聚合下,小型语言模型在离散图不变量的近似程度到何种程度?
主要发现
- 与边表编码相比,邻接表表示在宏观层面的误差更低、等级一致性更强。
- GoT 聚合在不同模型和表示下带来最大的宏观层次改进。
- 尽管绝对误差较高(NRMSE_std > 1.0),在许多设置中斯皮尔曼等级相关性为正,表明序数敏感性仍得到保留。
- 在某些配置中,GoT 将 NRMSE_std 降低最多 0.689,且通常优于 CoT。
- 离散属性在 GoT + Adj 下显示有界的准确性,例如着色数的精确度为 31.7%(Qwen),且在1以内的准确性最高可达 75.8%(着色数)。
- 离散度量如度数最小值和直径在 Qwen 与 Llama 变体中实现了约 66-69% 的在1内准确性。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。