Introduction: Public attitudes toward consensual same-sex relations are crucial to lesbians' and gay men's rights and society's well-being, but research addressing this topic in China is limited. We comprehensively explored the current status and predictors of Weibo users' attitudes toward individuals who are lesbian or gay (IWLG) at the provincial level in the Chinese mainland.
Methods: Natural language processing and machine learning techniques were incorporated to analyze 1,934,008 Weibo posts from January 1, 2010, to December 31, 2020, to evaluate Weibo users' expressed attitudes toward IWLG in 31 provinces in the Chinese mainland guided by the ABC Model of attitude.