All models

Minimal Gated Unit

The Minimal Gated Unit is a recurrent cell with a single forget gate.

Time series · 425 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 (5 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
25.8K
Operations
425
Framework
PyTorch
Recurrent
No
Published
Machine Intelligence Research (arXiv 2016)
Cited by
358 (as of 25 October 2026)
Authors
Guo-Bing Zhou, Jianxin Wu, Chen-Lin Zhang, Zhi-Hua Zhou
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
m18467
Graph hash
c24f421cae01cb019284ffd2ae8c24b44c5122b1f9854b307265588bb89585f8
Skeleton hash
63d97ac3242a9ecdf27d4708f990b963b9fcf39cff82f6f0a3b0b3cc5d67f662
Architecture hash
c77bd8bb41b1fbd9473e056dbc8a3b40500b1fecccae23be256a6ae583536761
Diagram SHA-256
dd7aa2c7faf6e8f36f7bee556a52d0d312a3ae79bf3a0425caeb439eedfa9b23
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

The Minimal Gated Unit (MGU) is a recurrent unit with only one gate, which the paper describes as a minimal design among all gated hidden units. The motivation is that understanding RNNs and finding best practices for them is difficult, partly because there are many competing and complex hidden units such as LSTM and GRU.

MGU is based on GRU and couples the reset gate to the update gate, leaving a single gate that is treated as the forget gate. The forget gate is generated first, and it sets both how much of the previous hidden state carries over and how much of the new short-term response is added. The paper puts MGU at roughly half the parameter size of LSTM and 67% of that of GRU.

The experiments use four datasets, among them the adding problem as a sanity check and IMDB and MNIST as sentiment and image classification problems. The fourth is the Penn TreeBank (PTB) language modeling dataset. One MNIST task treats each image as a sequence of its 28 rows and uses 100 hidden units. On that task the paper reports 88.07% accuracy for MGU and 87.53% for GRU, with 25,800 parameters for MGU and 38,700 for GRU.

Key idea. The paper proposes the Minimal Gated Unit, a recurrent unit with only one gate, and reports accuracy comparable to GRU with fewer parameters and faster training.

  • minimal gated unit
  • mgu
  • recurrent neural network
  • rnn
  • gated rnn
  • forget gate
  • one gate recurrent unit
  • gated hidden unit

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

Cite the paper

@misc{zhou2016minimalgatedunitrecurrent,
      title={Minimal Gated Unit for Recurrent Neural Networks}, 
      author={Guo-Bing Zhou and Jianxin Wu and Chen-Lin Zhang and Zhi-Hua Zhou},
      year={2016},
      eprint={1603.09420},
      archivePrefix={arXiv},
      primaryClass={cs.NE},
      url={https://arxiv.org/abs/1603.09420}, 
}