All models

DCRNet

Polyp segmentation network that relates each pixel to context in its own image and in other images.

Medical imaging · 240 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 (79 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
29M
Operations
240
Framework
PyTorch
Recurrent
No
Published
ISBI 2022
Cited by
7 (as of 29 October 2026)
Authors
Zijin Yin, Kongming Liang, Zhanyu Ma, Jun Guo
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
m15572
Graph hash
41daf5a499f953aa477eb3fb36f42e6988ae455c453d99d730a6f99ebe704d85
Skeleton hash
47e616367e2b28204861f9c313b1c839533a79a906f6e0a3ee7d925a907493d5
Architecture hash
bf5b5b2e6284cda81d6063b3104791f700bb189f0c9fd77516822cf9d71c65d6
Diagram SHA-256
6daa9fb335f7fcd678f62e2b0121e32aa7994d2980cb63dc44d9cec30d5526da
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

DCRNet (Duplex Contextual Relation Network) segments polyps in colonoscopy images. Its premise is that earlier methods use context inside one image but ignore visual patterns that recur across images, so it models both kinds of relation.

Features from a ResNet-34 encoder pass through two parallel modules. The Interior Contextual-Relation Module is a position attention module that relates every pixel to all the others in the same image. The Exterior Contextual-Relation Module compares each position with region embeddings from other images, which a Region Cross-Batch Memory holds in a queue during training. The paper states that this memory is removed at inference.

Training applies deep supervision to three intermediate decoder maps and a coarse segmentation map, each up-sampled to the label size. The paper evaluates on the EndoScene, Kvasir-SEG and PICCOLO datasets, with all images resized to 224 × 224.

Key idea. DCRNet adds two parallel attention modules to an encoder-decoder so each pixel's feature is enhanced by context within its image and by region embeddings stored from other images.

  • DCRNet
  • Duplex Contextual Relation Network
  • polyp segmentation
  • colonoscopy
  • cross-image context
  • contextual relation
  • Region Cross-Batch Memory
  • medical image segmentation
  • attention

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

Cite the paper

@misc{yin2022duplexcontextualrelationnetwork,
      title={Duplex Contextual Relation Network for Polyp Segmentation}, 
      author={Zijin Yin and Kongming Liang and Zhanyu Ma and Jun Guo},
      year={2022},
      eprint={2103.06725},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2103.06725}, 
}