Innodata interview question

How i can use vae for pattern recognition