LawngNLI:一个用于短到长上下文的领域泛化和基于隐含检索的长期基准
LawngNLI: A Long-Premise Benchmark for In-Domain Generalization from Short to Long Contexts and for Implication-Based Retrieval
摘要:
自然语言推理已经趋向于研究句子层面之外的语境。一个重要的应用领域是法律:过去的案例往往不能预示它们如何适用于新的情况,必须推断其含义。本文介绍了LawngNLI,它是根据美国法律意见构建的,具有高度人工验证准确性的自动标签。前提是长的和多粒度的。实验显示了两个用例。首先,LawngNLI可以对从短到长上下文的领域泛化进行基准测试。目前尚不清楚是否需要构建大规模的长前提NLI数据集:长前提下的近顶级性能可以通过使用短前提进行微调来实现。如果没有多粒度,基准测试就无法区分长前提下的微调不足与短数据集和长数据集之间的域转移。相比之下,我们的长前提和短前提共享相同的示例和域。使用过去的几个NLI数据集和/或我们的短前提进行微调的模型在我们的长前提下没有达到最佳性能。因此,至少在某些领域(比如我们的领域),需要大规模的长期前提数据集。其次,LawngNLI可以为基于隐含的检索提供基准。目标文件包含或反驳论点,允许用户在论点和证据之间移动。领先的检索模型执行合理的zero shot在LawngNLI派生的检索任务。我们比较了不同的系统进行重新排名,包括词汇重叠和交叉编码器微调使用修改后的LawngNLI或过去的NLI数据集。LawngNLI可以训练和测试基于隐含的案例检索和论证系统。
英文摘要:
Natural language inference has trended toward studying contexts beyond the sentence level. An important application area is law: past cases often do not foretell how they apply to new situations and implications must be inferred. This paper introduces LawngNLI, constructed from U.S. legal opinions with automatic labels with high human-validated accuracy. Premises are long and multigranular. Experiments show two use cases. First, LawngNLI can benchmark for in-domain generalization from short to long contexts. It has remained unclear if large-scale long-premise NLI datasets actually need to be constructed: near-top performance on long premises could be achievable by fine-tuning using short premises. Without multigranularity, benchmarks cannot distinguish lack of fine-tuning on long premises versus domain shift between short and long datasets. In contrast, our long and short premises share the same examples and domain. Models fine-tuned using several past NLI datasets and/or our short premises fall short of top performance on our long premises. So for at least certain domains (such as ours), large-scale long-premise datasets are needed. Second, LawngNLI can benchmark for implication-based retrieval. Queries are entailed or contradicted by target documents, allowing users to move between arguments and evidence. Leading retrieval models perform reasonably zero shot on a LawngNLI-derived retrieval task. We compare different systems for re-ranking, including lexical overlap and cross-encoders fine-tuned using a modified LawngNLI or past NLI datasets. LawngNLI can train and test systems for implication-based case retrieval and argumentation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。