If the USSR was anti-imperialist it wouldn't have been involved in Afghanistan
edit: Imperialism : a policy of extending a country's power and influence through diplomacy or military force.
It was imperialism since the goal was to spread socialism to other countries and I have no issues with socialism.