All models

PRGC

PRGC, a BERT-based model for joint extraction of relational triples from text.

Language · 461 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
112.5M
Operations
461
Framework
PyTorch
Recurrent
No
Published
ACL 2021
Cited by
11 (as of 27 October 2026)
Authors
Hengyi Zheng, Rui Wen, Xi Chen and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19181
Graph hash
b288994b96215c174793264a87189b904c2e57a9c2db9f1767ba7c8a0f8be4ae
Skeleton hash
ecb6140a25f6f72f512fd2b13f695b794e8c6b9ee7633a18d4ff25a3c30a9c2d
Architecture hash
ded54c7dba3ec69077ffb29f11e363a364e8db2414aca5d74c7ece9e290c3c2b
Diagram SHA-256
317360307b51aebbdf768e48f8588ba8be2a9605793f6c3cd874350b3a953dc7
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

PRGC extracts relational triples, entities together with the relations between them, from unstructured text. The paper splits the task into three subtasks, Relation Judgement, Entity Extraction and Subject-object Alignment, and builds one component for each on top of a pre-trained BERT encoder.

Given a sentence, the model first predicts a subset of potential relations together with a global matrix that holds a correspondence score between all subjects and objects. It then tags subjects and objects for each potential relation in parallel with the BIO tag scheme, so entity extraction is applied only to the predicted relations and not to every relation. Finally it enumerates all predicted entity pairs and prunes them with the global correspondence matrix, keeping a pair only if its score exceeds a threshold. Unlike TPLinker, which uses a relation-based token-pair matrix, this matrix is independent of relations.

The paper evaluates on two public datasets, NYT and WebNLG, each in two versions. It reports that PRGC outperformed the earlier methods it was compared with on these benchmarks, with higher efficiency and fewer parameters. The released code uses BERT-Base-Cased as the pre-trained model.

Key idea. PRGC decomposes joint relational triple extraction into relation judgement, entity extraction and subject-object alignment, handled by potential relation prediction, relation-specific sequence tagging and a global correspondence matrix.

  • prgc
  • potential relation and global correspondence
  • relational triple extraction
  • joint entity and relation extraction
  • relation extraction
  • overlapping triples
  • sequence tagging
  • information extraction

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zheng2021prgcpotentialrelationglobal,
      title={PRGC: Potential Relation and Global Correspondence Based Joint Relational Triple Extraction}, 
      author={Hengyi Zheng and Rui Wen and Xi Chen and Yifan Yang and Yunyan Zhang and Ziheng Zhang and Ningyu Zhang and Bin Qin and Ming Xu and Yefeng Zheng},
      year={2021},
      eprint={2106.09895},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2106.09895}, 
}