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

训练、检索,还是两者兼用?针对安大略省住宅租赁法的正确法定引用的四组头对头比较

Train, Retrieve, or Both? A Four-Arm Head-to-Head for Correct Statutory Citation on the Ontario Residential Tenancies Act

Transformer Lab

Ali Asaria, Tony Salomone, Deep Gandhi

AI总结:

研究自诉租户、房东和帮助台工作人员如何获得正确的法定引用,通过四组实验比较微调、检索及混合方法,发现SFT+RAG混合模型在精确匹配上得分最高且无幻觉引用。

摘要:

自诉租户、房东和帮助台工作人员需要被指向实际管辖问题的法律条款,并附有正确的法定引用。我们在2006年安大略省住宅租赁法(RTA)及其核心法规上研究此任务,从操作者的角度实证提问:微调是否足够,还是需要混合检索?我们在Qwen2.5-7B-Instruct上运行四组头对头比较(基础零样本、仅LoRA SFT、仅RAG、以及SFT+RAG混合),在一个小型、待人工验证的真实评估集上,以引用的精确匹配(节+小节)评分。基础模型无法引用RTA,仅SFT会错误回忆章节;检索至关重要,并通过构造将幻觉降至零;而SFT+RAG混合模型得分最高,精确匹配为0.481,且无幻觉引用。其优势在于SFT使得条款选择对高召回候选集(损害零样本RAG)更加鲁棒。值得注意的是,这种廉价的bge-small混合模型匹配或超越了基于更大、专门检索模型(更大的嵌入器和交叉编码器重排序器)的管道,更大/改进的训练集也无帮助:在此任务中,强法定引用性能不需要专门的检索模型或更多数据。该工件将幻觉归零并超过了基准提升线,但未达到期望的0.70精确匹配目标。所有结果均基于小型、待人工验证的真实评估集,并作为初步结果报告。

英文摘要:

Self-represented tenants, landlords, and help-desk staff need to be pointed at the provision of law that actually governs a question, with a correct statutory citation. We study this task on the Ontario Residential Tenancies Act, 2006 (RTA) and its core regulation, asking the operator's question empirically: is fine-tuning enough, or is hybrid retrieval needed? We run a four-arm head-to-head on Qwen2.5-7B-Instruct (base zero-shot, LoRA SFT-only, RAG-only, and an SFT+RAG hybrid), scored on citation exact-match (section+subsection) over a small, human-verification-pending real eval set. The base model cannot cite the RTA and SFT-only mis-recalls sections; retrieval is essential and drives hallucination to zero by construction; and the SFT+RAG hybrid scores highest at 0.481 exact-match with zero hallucinated citations. Its edge comes from SFT making provision selection more robust to the higher-recall candidate sets that hurt zero-shot RAG. Notably, this cheap bge-small hybrid matches or beats a pipeline built on bigger, specialized retrieval models (a larger embedder and a cross-encoder reranker), and a larger/improved training set does not help either: strong statutory-citation performance here does not require specialized retrieval models or more data. The artifact zeroes hallucination and clears the lift-over-base bar but does not reach the aspirational 0.70 exact-match target. All results are on a small, human-verification-pending real eval set and are reported as preliminary.

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

↑