contrarianism

noun

The habit of taking positions opposite to popular opinion.