The Paradigm Shifts in Artificial Intelligence