Functionally-Valid Unsupervised Compression of the Protein Space