arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.13013cs.CLcs.AIcs.LG
收藏

LEGAL-UQA:一个面向法律问答的低资源乌尔都语-英语数据集

LEGAL-UQA: Testing Constitutional Question-Answering Systems for Urdu Speakers with a Parallel English-Urdu Benchmark

LUMS(拉合尔管理科学大学)

Faizan Faisal, Umair Yousaf, Muhammad Hassnain, Zeerak Babar

AI总结:

本文提出首个源自巴基斯坦宪法的低资源乌尔都语-英语法律问答数据集LEGAL-UQA,通过评估和微调多语言模型验证了其有效性,为巴基斯坦本地法律信息获取奠定基础。

摘要:

我们提出了LEGAL-UQA,这是首个源自巴基斯坦宪法的乌尔都语法律问答数据集。该平行英语-乌尔都语数据集包含619个问答对,每个均带有相应的法律条款上下文,满足了低资源语言中针对特定领域NLP资源的需求。我们描述了数据集的创建过程,包括OCR提取、人工润色,以及利用GPT-4辅助翻译和生成问答对。我们的实验在LEGAL-UQA上评估了最新的通用语言和嵌入模型,其中Claude-3.5-Sonnet实现了99.19%的人工评估准确率。我们对mt5-large-UQA-1.0进行了微调,凸显了将多语言模型适应于专业领域所面临的挑战。此外,我们评估了检索性能,发现OpenAI的text-embedding-3-large优于Mistral的mistral-embed。LEGAL-UQA弥合了全球NLP进展与本地化应用(特别是在宪法领域)之间的差距,并为改善巴基斯坦的法律信息获取奠定了基础。

英文摘要:

Legal information assistants could help Urdu speakers understand their constitutional rights, but building reliable systems requires test data and evaluation methods suited to the language. We present LEGAL-UQA, a parallel English-Urdu benchmark of 619 question-answer pairs linked to passages from Pakistan's Constitution. Each example includes the question, reference answer, and source passage in both languages. We evaluate two components separately: answering Urdu questions when the source passage is supplied, and retrieving the passage from which each question was generated. We also compare JEV, a decision model used as an automated judge, with human grades. The findings show that model rankings depend on how answer similarity is measured, while a simple word-matching method retrieves source passages more effectively than the embedding methods tested. At the evaluated cutoff, JEV agrees with human grades less often than a baseline that gives every answer full credit. An audit also identifies cases where generated references omit information supported by the source. Together, these findings highlight the need to test retrieval and answering separately, include simple retrieval baselines, and validate automated judges and reference answers with human review when engineering legal QA software for Urdu speakers.

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

↑