Non-linear graph-based codes for source coding