All models

YTMT

A dual-stream network for reflection separation whose streams exchange the features their ReLUs deactivate.

765 operations Structure only

Structure-only capture: TorchLens recorded this graph without running real numbers through the model, so shapes and data types on the diagram are hypotheses, not measurements.

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
60M
Operations
765
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2021
Cited by
29 (as of 29 October 2026)
Authors
Qiming Hu, Xiaojie Guo
License
Apache-2.0
Checked
Structure only: shapes and data types are hypotheses, not measurements.

Files

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

Details
Stable ID
m21560
Graph hash
d43cd881a4d8b76bc543d02bb0d16275afad2de653d6c88dd8b084b4d95e8a9b
Skeleton hash
98fd76068754217626d13666b243983e49f8bfc56162559d12a9bd2ada2b8925
Architecture hash
edb148b8162e5023a9622b435ee01698ff9880fc8202efc4e4be28aa50224bb7
Diagram SHA-256
3fa8acee5d27ff12a039b90ecdbd18bdf652162209bd0ac2d209a319d3c0a0a4
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

YTMT ("your trash is my treasure") is a strategy for building dual-stream networks that decompose one input into two components, demonstrated on single image reflection separation (SIRS). SIRS aims to recover two layers, transmission and reflection, from one mixed observation, a situation that often occurs when taking pictures through a transparent medium such as glass.

The two streams communicate block by block. Where a ReLU would discard the deactivated part of a feature, YTMT keeps it with a negative ReLU and delivers it to the other stream. The idea comes from the additive relation between the two components, the captured image being modeled as the sum of transmission and reflection. The paper states that no information flows away in this exchange, which avoids vanishing or exploding gradients and dead ReLU.

The SIRS network is a UNet whose convolutional blocks are replaced by YTMT blocks. The input is first augmented with hypercolumn features, giving 1475 channels that a 1 × 1 convolution maps to 64. Each YTMT block holds two convolutional layers, each followed by a ReLU and negative ReLU pair, and the exchanged activations are merged by addition or concatenation before an attention block. A second stage can follow: the first stage is trained to convergence and frozen, and its outputs are fed into the second. The paper chose the U-shaped, concatenation, two-stage variant, YTMT-UCT, as its default architecture for SIRS.

Key idea. YTMT builds dual-stream decomposition networks in which the features deactivated by the ReLU of one stream are transferred to the other stream instead of being discarded.

  • YTMT
  • your trash is my treasure
  • Trash or Treasure
  • single image reflection separation
  • SIRS
  • reflection removal
  • dual-stream network
  • negative ReLU
  • transmission and reflection layers

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

Cite the paper

@misc{hu2021trashtreasureinteractivedualstream,
      title={Trash or Treasure? An Interactive Dual-Stream Strategy for Single Image Reflection Separation}, 
      author={Qiming Hu and Xiaojie Guo},
      year={2021},
      eprint={2110.10546},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2110.10546}, 
}