All models

R2UNet

U-Net with recurrent residual convolutional blocks for medical image segmentation.

Medical imaging · 119 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 (19 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
14.3M
Operations
119
Framework
PyTorch
Recurrent
No
Published
2018
Cited by
1,205 (as of 15 November 2026)
Authors
M. Alom, Mahmudul Hasan, Chris Yakopcic and others
License
MIT
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
m2395
Graph hash
926fa22a46da2bf4927da51c66a85ce721712c1e374491de93ac799de35df030
Skeleton hash
0b8b08b49ba06dd025b98e5ea799dc2ee39bd2e71a0d1707ea652ba5c990ee11
Architecture hash
c322a948615f534a293d43f40ff11ed4bdb8c07555577c7d6efb4e2ee2f71065
Diagram SHA-256
513f48e0f5a3169a21db6c9900376671484224a60fdfaf851021b5b2af847bb7
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

How this diagram was made

segmentation_models_pytorch.Unet(encoder_name='resnet18', encoder_weights=None, in_channels=3, classes=1)

What it is

R2U-Net is a Recurrent Residual Convolutional Neural Network built on the U-Net layout for medical image segmentation. The paper proposes it together with a sibling, RU-Net, which uses recurrent convolutional layers without the residual connectivity. Both draw on three earlier ideas at once: U-Net, the Residual Network and the recurrent convolutional network (RCNN).

Inside each block, recurrent convolutional layers run for discrete time steps, with t=2 meaning one convolution followed by two recurrent convolutional layers. In R2U-Net the final outputs of that recurrent unit are then passed through a residual unit. The authors argue that a residual unit helps when training a deep architecture and that feature accumulation across recurrent layers gives a better feature representation for segmentation. A selling point is that the recurrent and residual operations do not increase the number of network parameters.

The models were tested on blood vessel segmentation in retina images, skin cancer segmentation and lung lesion segmentation. On skin lesions the R2U-Net model reached a testing accuracy of 0.9424 with an AUC of 0.9419. Those results came from a model with only about 1.037 million network parameters.

The member traced here is built from the Unet class of segmentation_models_pytorch, so the library documentation attached to it describes the standard U-Net rather than the paper's recurrent blocks. That documentation calls U-Net a fully convolutional neural network architecture designed for semantic image segmentation. Its skip connections concatenate feature maps from the encoder directly into the decoder at corresponding resolutions.

Key idea. R2U-Net replaces U-Net's regular forward convolutional layers with recurrent convolutional layers carrying residual units, in both the encoding and decoding units. The paper reports better segmentation than U-Net and ResU-Net with the same number of network parameters.

  • r2u-net
  • r2unet
  • recurrent residual u-net
  • ru-net
  • u-net
  • medical image segmentation
  • retina vessel segmentation
  • segmentation_models_pytorch

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

Cite the paper

@misc{alom2018recurrentresidualconvolutionalneural,
      title={Recurrent Residual Convolutional Neural Network based on U-Net (R2U-Net) for Medical Image Segmentation}, 
      author={Md Zahangir Alom and Mahmudul Hasan and Chris Yakopcic and Tarek M. Taha and Vijayan K. Asari},
      year={2018},
      eprint={1802.06955},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1802.06955}, 
}