arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.04569cs.CL
收藏

KnowsLM:一种用于评估小型语言模型知识增强和人性化对话能力的框架

KnowsLM: A framework for evaluation of small language models for knowledge augmentation and humanised conversations

AIGuruKul Foundation(AIGuruKul基金会)

Chitranshu Harbola, Anupam Purwar

AI总结:

本研究针对中小型语言模型生成类人对话的挑战,通过KnowsLM框架分析LoRA秩、数据集规模等因素对知识保留和风格对齐的影响,发现微调与RAG增强模型各有优劣。

摘要:

在对话式人工智能不断发展的领域中,使用中小型语言模型(LLMs)生成简洁、上下文感知且类人对话仍是一项复杂挑战。本研究调查了LoRA秩、数据集规模和提示前缀设计对知识保留和风格对齐的影响。虽然微调可提高流畅度并实现风格定制,但其整合未见知识的能力受限——尤其是在较小数据集时。相反,RAG增强模型在推理时可整合外部文档,在分布外提示上展现出更优的事实准确性,但缺乏微调所实现的风格一致性。基于LLM的评判者对知识准确性、对话质量和简洁性的评估表明,微调最适合语气适配,而RAG在实时知识增强方面表现出色。

英文摘要:

In the evolving landscape of conversational AI, generating concise, context-aware, and human-like dialogue using small and medium-sized language models (LLMs) remains a complex challenge. This study investigates the influence of LoRA rank, dataset scale, and prompt prefix design on both knowledge retention and stylistic alignment. While fine-tuning improves fluency and enables stylistic customization, its ability to integrate unseen knowledge is constrained -- particularly with smaller datasets. Conversely, RAG-augmented models, equipped to incorporate external documents at inference, demonstrated superior factual accuracy on out-of-distribution prompts, though they lacked the stylistic consistency achieved by fine-tuning. Evaluations by LLM-based judges across knowledge accuracy, conversational quality, and conciseness suggest that fine-tuning is best suited for tone adaptation, whereas RAG excels at real-time knowledge augmentation.

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

↑