All models

LWANet

Lightweight MobileNetV2 encoder-decoder with attention fusion blocks for real-time surgical instrument segmentation.

Segmentation · 237 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 (30 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
2.1M
Operations
237
Framework
PyTorch
Recurrent
No
Published
ICRA 2020
Cited by
64 (as of 3 November 2026)
Authors
Zhen-Liang Ni, Gui-Bin Bian, Zeng-Guang Hou 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
m17835
Graph hash
b19734c008d670a8015d1314272b488ddc1dcee50ba411511a206785306957a3
Skeleton hash
2a4efbc5e531a45d98163934c1526abf8c243f45accca234e12d30937f3002be
Architecture hash
968bc583b38d079290645040d52d199358f887f8d79570b3168f64b8009bd7aa
Diagram SHA-256
df8dc98042b927343a13e6a77e178c23be7d73fd30e3373cf6c971acb5c39c1c
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

LWANet is an attention-guided lightweight network that segments surgical instruments in real time. The paper starts from the difficulty of running deep segmentation models in real time during robot-assisted surgery, given their high computational costs and slow inference speed.

It is an encoder-decoder: the encoder is MobileNetV2, and the decoder is built from depthwise separable convolutions, attention fusion blocks and transposed convolutions. The attention fusion block fuses a high-level and a low-level feature map, applying a squeeze-and-excitation channel attention mechanism to each separately. The two attended maps are then merged by addition, which the paper prefers to concatenation because it needs fewer convolution parameters. Transposed convolution does the upsampling, and the output is at 1/4 of the input resolution.

On 960×544 inputs the paper reports an inference speed of 39 fps with 3.39 GFLOPs, and it attributes only 8.26% of that cost to the decoder. On Cata7, the cataract surgery dataset the authors built, LWANet is reported at 94.10% mean IOU with the attention fusion block and 92.18% without it. On EndoVis 2017 the paper reports 58.30% mean IOU, compared with 54.20% for TernausNet.

Key idea. LWANet pairs a MobileNetV2 encoder with a lightweight decoder of depthwise separable convolutions, attention fusion blocks and transposed convolutions to segment surgical instruments in real time.

  • LWANet
  • attention-guided lightweight network
  • surgical instrument segmentation
  • real-time segmentation
  • robot-assisted surgery
  • semantic segmentation
  • lightweight segmentation
  • EndoVis 2017
  • Cata7

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

Cite the paper

@misc{ni2020attentionguidedlightweightnetworkrealtime,
      title={Attention-Guided Lightweight Network for Real-Time Segmentation of Robotic Surgical Instruments}, 
      author={Zhen-Liang Ni and Gui-Bin Bian and Zeng-Guang Hou and Xiao-Hu Zhou and Xiao-Liang Xie and Zhen Li},
      year={2020},
      eprint={1910.11109},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1910.11109}, 
}