Hierarchical Channel-spatial Encoding for Communication-efficient Collaborative Learning