arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.41807cs.CLcs.AI
收藏

小型语言模型能否被微调以可靠地推理基本方向?

Can Small Language Models Be Fine-Tuned to Reliably Reason about Cardinal Directions?

National and Kapodistrian University of Athens(雅典国立及卡波迪斯特里亚大学);University of Leeds(利兹大学)

Dimitrios Andreakis, Robert E. Blackwell, Anthony G. Cohn, Manolis Koubarakis

AI总结:

本文探究小型语言模型能否被微调以可靠推理基本方向,通过对COSIT-CD基准的11部分消融研究,发现针对性权重更新结合最小可行数据集可让gemma-3-1b-it在该基准上达100%准确率,证明受限架构可嵌入可靠空间逻辑。

摘要:

Cohn和Blackwell(2024、2025)发现,在基本方向推理任务上,小型语言模型的准确率远低于大型语言模型。这种能力差距是在资源受限的边缘设备(如实时具身机器人和本地导航智能体)上部署空间感知自主智能体的重大障碍。本文研究小型语言模型是否可被微调以可靠执行基本方向推理。通过对Cohn和Blackwell(2024)的基准(以下简称COSIT-CD基准)开展受控的11部分诊断性消融研究,我们评估了10亿参数模型gemma-3-1b-it,以逆向工程其空间学习机制。我们发现,基于文本的小型语言模型不具备基本方向推理的固有能力,其空间推导高度依赖离散的句法模式匹配。我们证明,虽然上下文学习和通用空间数据集StepGame无法弥合这一推理差距,但针对性的权重更新可教会模型正确应用冲突的空间规则并忽略无关词汇。最终,我们定义了“最小可行数据集”,这是一个经过严格筛选的框架,旨在分离基本方向推理所需的精确句法阈值。通过明确映射这些句法结构,在该数据集上训练的模型在COSIT-CD基准上达到100.00%的准确率,证明可靠的领域特定空间逻辑可直接嵌入高度受限的架构中。所有脚本、数据集和实验结果可在我们的GitHub仓库(此https链接)公开获取。

英文摘要:

Cohn and Blackwell (2024, 2025) found that small language models achieve substantially lower accuracy than large language models on cardinal direction reasoning tasks. This capability gap poses a substantial barrier to deploying spatially-aware autonomous agents on resource-constrained edge devices (e.g., real-time embodied robotics and local navigation agents). In this paper, we investigate whether small language models can be fine-tuned to reliably perform cardinal direction reasoning. Through a controlled, 11-part diagnostic ablation study on the benchmark of Cohn and Blackwell (2024) (hereafter referred to as the COSIT-CD benchmark), we evaluate a 1-billion-parameter model (gemma-3-1b-it) to reverse-engineer its spatial learning mechanics. We discover that text-based small language models do not possess an inherent capacity for cardinal direction reasoning; rather, their spatial deduction relies heavily on discrete syntactic pattern matching. We demonstrate that while In-Context Learning and generic spatial datasets (StepGame) fail to bridge this reasoning gap, targeted weight updates can teach the model to correctly apply conflicting spatial rules and ignore irrelevant vocabulary. Ultimately, we define the "Minimum Viable Dataset", a rigorously curated framework designed to isolate the exact syntactic thresholds required for cardinal direction reasoning. By explicitly mapping these syntactic structures, our model trained on this dataset achieves 100.00% accuracy on the COSIT-CD benchmark, demonstrating that reliable, domain-specific spatial logic can be embedded directly into highly constrained architectures. All scripts, datasets, and experimental results are publicly available at our GitHub repository (https://github.com/EncodedMind/Can-Small-Language-Models-reason-about-cardinal-directions).

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

↑