A numerical approach based on dynamic importance sampling (DIMS) is applied to investigate polarization switches in vertical-cavity surface-emitting lasers. A polarization switch is described as an activation process in a two-dimensional nonequilibrium system. DIMS accelerates the simulations and allows access to noise intensities that were previously forbidden, revealing qualitative changes in the shape of the transition paths with noise intensity.