China's President Xi Jinping has called for allegiance to the ruling Communist Party from the country's colleges and universities, the latest effort by Beijing to tighten its hold on education.

The government has campaigned against the spread of "Western values" at universities, and in January officials said the party's discipline and anti-graft agency had sent inspectors to monitor teachers for "improper" remarks in class.

Beijing has cracked down on free expression since Xi became party boss in 2012, detaining and jailing activists and lawyers, muzzling internet critics and strengthening restrictions on journalists.