arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.23312cs.HCcs.AIcs.LGcs.ROcs.SYeess.SY
收藏

评估小语言模型在领导者-跟随者交互中的零样本和单样本适应

Evaluating Zero-Shot and One-Shot Adaptation of Small Language Models in Leader-Follower Interaction

University of Sao Paulo(圣保罗大学);Federal University of Lavras(拉瓦尔联邦大学);Faculdade Israelita de Ensino e Pesquisa Albert Einstein(亚伯拉罕·林克·埃instein教育与研究学院)

Rafael R. Baptista, André de Lima Salgado, Ricardo V. Godoy, Marcelo Becker, Thiago Boaventura, Gustavo J. G. Lahr

AI总结:

本文通过微调小语言模型(Qwen2.5-0.5B)在领导者-跟随者交互中实现角色分类,零样本微调达到86.66%准确率且延迟低至22.2毫秒,但单样本模式因上下文长度增加导致性能下降。

摘要:

领导者-跟随者交互是人机交互(HRI)中的一个重要范式。然而,对于资源受限的移动和辅助机器人来说,实时分配角色仍然具有挑战性。虽然大型语言模型(LLMs)在自然通信方面显示出潜力,但其规模和延迟限制了设备端部署。小语言模型(SLMs)提供了一种潜在的替代方案,但它们在HRI中角色分类的有效性尚未得到系统评估。在本文中,我们提出了一个用于领导者-跟随者通信的SLMs基准测试,引入了一个源自已发表数据库的新数据集,并增加了合成样本以捕捉交互特定的动态。我们研究了两种适应策略:提示工程和微调,在零样本和单样本交互模式下进行研究,并与未训练的基线进行比较。使用Qwen2.5-0.5B的实验表明,零样本微调实现了稳健的分类性能(86.66%准确率),同时保持低延迟(每个样本22.2毫秒),显著优于基线和提示工程方法。然而,结果也表明在单样本模式下性能下降,其中增加的上下文长度挑战了模型的架构能力。这些发现表明,微调的SLMs为直接角色分配提供了有效的解决方案,同时突出了边缘端对话复杂性与分类可靠性之间的关键权衡。

英文摘要:

Leader-follower interaction is an important paradigm in human-robot interaction (HRI). Yet, assigning roles in real time remains challenging for resource-constrained mobile and assistive robots. While large language models (LLMs) have shown promise for natural communication, their size and latency limit on-device deployment. Small language models (SLMs) offer a potential alternative, but their effectiveness for role classification in HRI has not been systematically evaluated. In this paper, we present a benchmark of SLMs for leader-follower communication, introducing a novel dataset derived from a published database and augmented with synthetic samples to capture interaction-specific dynamics. We investigate two adaptation strategies: prompt engineering and fine-tuning, studied under zero-shot and one-shot interaction modes, compared with an untrained baseline. Experiments with Qwen2.5-0.5B reveal that zero-shot fine-tuning achieves robust classification performance (86.66% accuracy) while maintaining low latency (22.2 ms per sample), significantly outperforming baseline and prompt-engineered approaches. However, results also indicate a performance degradation in one-shot modes, where increased context length challenges the model's architectural capacity. These findings demonstrate that fine-tuned SLMs provide an effective solution for direct role assignment, while highlighting critical trade-offs between dialogue complexity and classification reliability on the edge.

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

↑