Mirror: A Universal Framework for Various Information Extraction Tasks

Tong Zhu, Junfei Ren, Zijian Yu, Mengsong Wu, Guoliang Zhang +5 more
11/9/2023
cs.CLcs.AI

Official code: Spico197/Mirror (122 stars, Apache-2.0, last commit 2025-04-21).

Abstract

Sharing knowledge between information extraction tasks has always been a challenge due to the diverse data formats and task variations. Meanwhile, this divergence leads to information waste and increases difficulties in building complex applications in real scenarios. Recent studies often formulate IE tasks as a triplet extraction problem. However, such a paradigm does not support multi-span and n-ary extraction, leading to weak versatility. To this end, we reorganize IE problems into unified multi-slot tuples and propose a universal framework for various IE tasks, namely Mirror. Specifically, we recast existing IE tasks as a multi-span cyclic graph extraction problem and devise a non-autoregressive graph decoding algorithm to extract all spans in a single step. It is worth noting that this graph structure is incredibly versatile, and it supports not only complex IE tasks, but also machine reading comprehension and classification tasks. We manually construct a corpus containing 57 datasets for model pretraining, and conduct experiments on 30 datasets across 8 downstream tasks. The experimental results demonstrate that our model has decent compatibility and outperforms or reaches competitive performance with SOTA systems under few-shot and zero-shot settings. The code, model weights, and pretraining corpus are available at https://github.com/Spico197/Mirror .

View on arXivView PDF

Code Implementations(1)

Spico197/MirrorOfficial100%
Apache-2.0

🪞A powerful toolkit for almost all the Information Extraction tasks.

12214HTML, ShellFeb 28, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhu2023mirror,
  title  = {Mirror: A Universal Framework for Various Information Extraction Tasks},
  author = {Tong Zhu and Junfei Ren and Zijian Yu and Mengsong Wu and Guoliang Zhang and Xiaoye Qu and Wenliang Chen and Zhefeng Wang and Baoxing Huai and Min Zhang},
  year   = {2023},
  eprint = {2311.05419},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.05419v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.05419.svg)](https://codeofpaper.com/paper/2311.05419)

Discussion