LEXTIME
收藏资源简介:
LEXTIME数据集是首个专门用于评估大型语言模型在法律语言中进行事件排序能力的基准数据集。该数据集由512个来自美国联邦投诉的实例组成,每个实例都包含一组带注释的事件对及其时间关系。LEXTIME数据集旨在填补现有数据集在法律文本时间推理方面的空白,并研究LLMs如何管理法律环境中的事件排序。研究结果表明,LLMs在法律事件排序方面比在叙事文本中更为准确,并且随着输入上下文的增加和隐含事件的加入,准确率得到了提升。然而,法律语言的复杂性和嵌套子句仍然是一个挑战。该数据集为研究法律文本中的时间推理提供了一个结构化的资源,有助于评估和改进LLMs在法律语言处理方面的能力。
The LEXTIME dataset is the first benchmark dataset specifically designed to evaluate the ability of large language models (LLMs) to perform event ordering in legal language. This dataset comprises 512 instances sourced from U.S. federal complaints, with each instance containing a set of annotated event pairs and their corresponding temporal relations. The LEXTIME dataset aims to fill the gap in existing datasets concerning temporal reasoning over legal texts, and to investigate how LLMs manage event ordering in legal contexts. Research results show that LLMs achieve higher accuracy in legal event ordering than in narrative texts, and their accuracy improves with expanded input context and the addition of implicit events. However, the complexity of legal language and nested clauses still pose a challenge. This dataset offers a structured resource for research on temporal reasoning in legal texts, aiding the evaluation and improvement of LLMs' capabilities in legal language processing.
LexTime数据集概述
数据集简介
- 名称:LexTime
- 用途:评估法律文本中的时间推理能力(事件排序任务)
- 数据来源:美国劳动相关联邦投诉文件
数据集内容
- 主文件:
lextime_512samples.csv(512个样本) - 子集分类:
long_context.csv:上下文超过150个token的段落short_context.csv:上下文少于150个token的段落pairs_explicit_implicit.csv:包含显式和隐式事件对的查询pairs_explicit.csv:仅包含显式事件对的查询
数据格式
- CSV列字段:
- paragraph:法律文本段落
- query:包含2个事件和时间关系的查询
- label:二元标签(Yes/No)
- error (temporal/events):错误类型
- readability (1-4):查询可读性评分
- relevance (1-4):相关性评分
- event type (implicit/explicit):事件类型分类
- relevant/irrelevant context paragraph:上下文相关性分类
- NOTES:附加注释
实验数据
- 对比数据集:TRACIE(含短篇故事的时间推理数据集)
- 测试模型:包含GPT-4o、GPT-4 Turbo、Mistral、LLaMA系列、Flan-T5等
- 测试模式:零样本(ZS)、单样本(1S)、全样本(FS)及思维链(CoT)模式
语言分析
- 分析内容:法律语言特性分析
- 对比数据:TRACIE数据集语言特征对比




