All models

GlobalPointer

A BERT encoder with a span-scoring head that uses multiplicative attention and RoPE for named entity recognition.

Language · 370 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 (31 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
102.7M
Operations
370
Framework
PyTorch
Recurrent
No
Published
2022
Cited by
227 (as of 17 November 2026)
Authors
Jianlin Su, Ahmed Murtadha, Shengfeng Pan 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
m17080
Graph hash
2643c155c262d3ccdfb90e77d8b64c9ecc316e624c0213e5ee62e28133f82331
Skeleton hash
2e765d548292f1eb1dee39bc36325f11740600af53799081ea2cb8d7fe2b015a
Architecture hash
30b84c7677bf037a1991ecd8e0fedf87a7eed4c525b257e2d7fbeb30e67ec84a
Diagram SHA-256
3061c84471b118cd98f3361f3fbe905f48a033c2a9900f0e17ebd02e830b7842
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

Global Pointer (GP) is a span-based framework for named entity recognition that uses relative positions through a multiplicative attention mechanism. Its goal is a global view that considers the beginning and end positions together when predicting an entity. The paper presents it as an answer to existing span-based approaches, whose computation time it calls a remaining concern. The original repository describes it as handling nested and non-nested NER in a unified way.

The paper also introduces a classification loss function meant to address label imbalance. It adds an approximate method that reduces the number of training parameters. A PyTorch reimplementation notes that the model also includes a rotary position encoding, RoPE. The PyTorch reimplementations build on the Chinese pretrained BERT model bert-base-chinese.

In the original repository's People's Daily NER table, GlobalPointer reaches 95.51% test F1 with RoPE and 62.59% without it. On CLUENER the same repository lists 79.44% test F1 for GlobalPointer and 78.70% for a CRF baseline.

Key idea. Global Pointer is a span-based named entity recognition framework that uses relative positions through multiplicative attention to consider an entity's beginning and end positions together.

  • GlobalPointer
  • Global Pointer
  • GP
  • named entity recognition
  • NER
  • span-based NER
  • nested NER
  • RoPE
  • Chinese NER
  • CLUENER

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

Cite the paper

@misc{su2022globalpointernovelefficient,
      title={Global Pointer: Novel Efficient Span-based Approach for Named Entity Recognition}, 
      author={Jianlin Su and Ahmed Murtadha and Shengfeng Pan and Jing Hou and Jun Sun and Wanwei Huang and Bo Wen and Yunfeng Liu},
      year={2022},
      eprint={2208.03054},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2208.03054}, 
}