From Nash Equilibrium to Social Optimum and Back: A Mean Field Perspective | Synapse