A Rate Distortion Approach for Semi-Supervised Conditional Random Fields