Many thanks for your suggestion! But what should I consider as input data for the autoencoder? Should I just choose some random representation ? What about the final loss also? Will it be a sum of the reconstruction loss + target loss?