Dropout is a representative regularization technique that stochastically deactivates hidden units during training to mitigate overfitting. In contrast, standard inference executes the full network with dense computation, so its goal and mechanism differ from conditional computation, where the executed operations depend on the input. This paper organizes DynamicGate-MLP into a single framework that simultaneously satisfies both the regularization view and the conditional-computation view. Instead of a random mask, the proposed model learns gates that decide whether to use each unit (or block), suppressing unnecessary computation while implementing sample-dependent execution that concentrates computation on the parts needed for each input. To this end, we define continuous gate probabilities and, at inference time, generate a discrete execution mask from them to select an execution path. Training controls the compute budget via a penalty on expected gate usage and uses a Straight-Through Estimator (STE) to optimize the discrete mask. We evaluate DynamicGate-MLP on MNIST, CIFAR-10, Tiny-ImageNet, Speech Commands, and PBMC3k, and compare it with various MLP baselines and MoE-style variants. Compute efficiency is compared under a consistent criterion using gate activation ratios and a layerweighted relative MAC metric, rather than wall-clock latency that depends on hardware and backend kernels.
Figure 3: Conceptual illustration of active and silent neurons
Figure 4: Conceptual diagram of forward execution with hard gating and STE-based backpropagation
Figure 5: Diagram of adding RigL’s dynamic rewiring to the hard-gating (STE) training path. DynamicGate controls input-dependent unit activation g(x) , and RigL periodically rewires a sparse connectivity mask m(t) during training to learn structural sparsity.
Data Set
Domain
Dimensionality
Training Set
Test Set
MNIST
Vision
28×28 grayscale (784)
60,000
10,000
CIFAR-10
Vision
32×32 RGB (3,072)
50,000
10,000
Tiny ImageNet
Vision
200 classes, 64x64 RGB(12,288)
100,000
10,000
Speech
Speech
2624 (=64×41)
86,843
11,305
PBMC3k
Genomics
2000 (HVG)
100,000
10,000
Table 1: Overview of datasets used in this paper
Model
Accuracy(%)
Param Reduction(%)
FLOPs Reduction(%)
Params
FLOPs
Baseline MLP
98.07
0.0
0.000000
203,530
406,528
Dropout MLP
98.31
0.0
0.000000
203,530
406,528
Pruned MLP
98.02
0.0
29.622314
203,530
286,105
Dynamic MLP
98.07
0.0
21.711912
204,570
318,263
Table 2: Model comparison (Accuracy / Params / FLOPs)
Figure 6: Model comparison plots on MNIST
Model
Accuracy (%)
FLOPs(rel)
Notes
Baseline
43.30
1.000
Dropout
41.45
1.000
Pruned
48.90
0.941
Dynamic
43.29
0.843
OpenRate L1/L2: 0.94/0.29
Table 3: Accuracy and relative FLOPs (proxy) comparison
Figure 7: Model comparison on CIFAR-10
Model
Accuracy(%)
Param Reduction(%)
FLOPs Reduction(%)
Params
FLOPs
B aseline MLP
3.24
0.0
0.000
3,197,384
6,393,856
D ropout MLP
2.51
0.0
0.000
3,197,384
6,393,856
P runed MLP
4.28
0.0
29.519
3,197,384
4,506,418
D ynamicMLP
2.97
0.0
80.088
3,197,640
1,273,117
Table 4: Model comparison (Accuracy / Params / FLOPs)