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

Doc2Dict:作为文本生成的信息抽取

Doc2Dict: Information Extraction as Text Generation

Indico Data Solutions(Indico数据解决方案公司);Franklin W. Olin College of Engineering(富兰克林·W·奥林工程学院);New York University(纽约大学)

Benjamin Townsend, Eamon Ito-Fisher, Lily Zhang, Madison May

摘要:

通常,信息抽取(IE)需要一种流水线方法:首先,在手动注释的文档上训练序列标记模型以提取相关跨度;然后,当新文档到达时,模型预测跨度,然后对其进行后处理和标准化以将信息转换为数据库条目。我们用一个在现有数据库记录上训练的Transformer语言模型来代替这个劳动密集型工作流,以直接生成结构化JSON。我们的解决方案消除了与生成标记级注释相关的工作量,并利用了通常相当丰富的数据源(例如数据库记录)。由于长文档在信息抽取任务中很常见,因此我们使用梯度检查点和分块编码将我们的方法应用于单个GPU上多达32,000个令牌的序列。我们的Doc 2Dict方法与更复杂的手工设计的管道相比具有竞争力,并为文档级信息抽取提供了一个简单但有效的基线。我们发布了我们的Doc 2Dict模型和代码,以重现我们的实验并促进未来的工作。

英文摘要:

Typically, information extraction (IE) requires a pipeline approach: first, a sequence labeling model is trained on manually annotated documents to extract relevant spans; then, when a new document arrives, a model predicts spans which are then post-processed and standardized to convert the information into a database entry. We replace this labor-intensive workflow with a transformer language model trained on existing database records to directly generate structured JSON. Our solution removes the workload associated with producing token-level annotations and takes advantage of a data source which is generally quite plentiful (e.g. database records). As long documents are common in information extraction tasks, we use gradient checkpointing and chunked encoding to apply our method to sequences of up to 32,000 tokens on a single GPU. Our Doc2Dict approach is competitive with more complex, hand-engineered pipelines and offers a simple but effective baseline for document-level information extraction. We release our Doc2Dict model and code to reproduce our experiments and facilitate future work.

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

↑