Cooperation in communication and compression