Hamming loss extraction.