I have never been to Beijing, so I can't give any specific information, however, everytime SilverMay and I have travelled in China we have stayed with the 'YHA Hostelling International' chain and never had a bad experience.
Their hostel in Qingdao is very nice, as is Nanjing, so I assume it would be just as nice in Beijing.