Improving Auto Encoders with Semi Supervised Training#
Semi-supervised training refers to training with mostly unlabeled data, with a small portion of that data labeled.
Most of the time semi-supervised training can help the classifier learn a better latent representation, which in turns makes the decoder’s job easier, which makes the entire system better.
Using semi-supervised to aid AE’s performance#
There are many ways to use classification to aid in the process of encoding. One straightforward way is to directly train a small linear classifier to classify the latent encoded by encoder. It’s essentially encouraging the encoder to separate different images with different classes into different clusters, which makes decoding simpler.
Another good example is capsule network. When training a capsule network, the magnitude of its latent vector is passed through softmax function, and used as the confidence different classes. The way of training makes capsule networks’ decoders very good generators (for MNIST numbers), despite using only linear layers.