Liang was a native of Changle in Fujian province. From 1888 to 1890, he lived in Japan, where his father had been dispatched to by the government of Qing Dynasty China. In 1903, he passed the Imperial examination and in 1905 was accepted to the predecessor to Beijing University.
Liang was a native of Changle in Fujian province. From 1888 to 1890, he resided in Japan, where his father had been sent by the government of the Qing Dynasty China. In 1903, he passed the Imperial examination and in 1905 was accepted into the precursor to Beijing University.