Practical overview
When it fits
Use it when you want a reference collection of Torch autoencoder architectures and documented command-line options for selecting a model or configuring denoising and selected sampling experiments.
Who it is for
- Researchers or developers comparing reference implementations of autoencoder architectures.
- Lua/Torch users exploring denoising, variational, adversarial or sequence-to-sequence autoencoder examples.
Documented uses
- Select among the repository's implemented autoencoder model types.
- Configure a denoising criterion in place of the standard reconstruction criterion.
- Specify MCMC sampling for VAE, CatVAE or AAE models.
Requirements & limits
The repository is public, open-source, and licensed under MIT.
- The project uses Lua and Torch, rather than presenting itself as a framework-independent model collection.
- The README says training hyperparameters have not been adjusted, so it is reference code rather than a tuned training recipe.
- The listed LuaRocks dependencies vary by model: dpnn is required for DenoisingAE and rnn for Seq2SeqAE.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Select an autoencoder model
Choose a provided architecture using the documented command-line option.
Before you start
- The repository's Lua/Torch code.
- LuaRocks package mnist; dpnn is listed for DenoisingAE, and rnn for Seq2SeqAE.
Steps
Choose a model name from the repository's implemented-model list.
Use the documented command pattern: th main.lua -model .
Expected outcome
The command specifies which implemented model to select.
Guide limitations
- The README describes the code as reference implementations and says training hyperparameters have not been adjusted.
- The command documentation does not establish a successful run or training outcome.
Configure denoising or MCMC options
Apply the documented denoising criterion or configure MCMC sampling for supported autoencoder models.
Before you start
- The repository's Lua/Torch code and the relevant listed model.
- dpnn is listed as required for DenoisingAE.
Steps
For a denoising criterion, add the denoising flag to the selected model command; the documented example is th main.lua -model AAE -denoising.
For MCMC sampling with a VAE, CatVAE or AAE, use the documented -mcmc option.
To make sampling effects easier to see in this simple setup, the README suggests an initial Gaussian sample standard deviation such as -sampleStd 5.
Expected outcome
The command line specifies a denoising criterion or MCMC sampling configuration for the documented model types.
Guide limitations
- The stated additive Gaussian corruption is distributed as N(0, 0.5).
- The MCMC note is limited to VAEs, CatVAEs and AAEs; the README describes reference code with unadjusted training hyperparameters.
- These are documented configuration examples, not verified execution results.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 November 2026
- Original website title
- Kaixhin/Autoencoders · Official homepage title · retained in its source language

