4D/2D duality and representation theory