Efficient data representation with autoencoders