Structuring Representations Using Group Invariants