A Contradiction-Centered Model for the Emergence of Swarm Intelligence