About Me - Ruiyu Zhang 张瑞瑜

I am a graduate student in the Department of Politics and Public Administration, The University of Hong Kong, researching the fields of Public Management, Organization Studies, and Computational Methods in Social Science.

Works

Our study delved into the transformative ambitions of the double-hundred action programme, a reform designed to modernize China’s state-owned enterprises by expanding the pool of top executive talent beyond traditional cadres. Through extensive fieldwork and detailed ethnography at a selected enterprise, we explored how this policy is reshaping recruitment, performance evaluation, and remuneration practices. While our findings highlight strong support for the initiative and notable shifts in organizational dynamics, they also reveal that traditional influences endure, particularly in key board appointments. This work deepens our understanding of the delicate balance between progressive reform and longstanding institutional practices.

Bifurcated corporate leadership under the Double-hundred Action Programme
Figure. The Bifurcated Corporate Leadership under the Double-hundred Action

Paired tests and mixed-effects models find improvements in citizens’ ratings of clarity, politeness, response satisfaction, feeling heard, empathic satisfaction, and trust. Civil servants find AI-modified messages clearer, more polite, respectful, and easier to answer; their ratings of urgency and needed empathy vary by context and show no consistent overall effect.

Analytical framework for AI-modified government–citizen communication
Figure. Analytical framework

Our study examines what drives small and medium-sized enterprises (SMEs) to adopt sustainability practices, and how social networks shape these dynamics. Using survey data from 1,400 SMEs in Hong Kong, we find that internal drivers—such as responsibility, commitment, and a clear sustainability mission—and external pressures like regulation and customer demand significantly influence sustainability efforts. Crucially, our study shows that SMEs with stronger social network engagement benefit more from external drivers, especially in areas like environmental management, innovation, and social contribution. These findings highlight the need for policy approaches that not only provide support but also strengthen SME networks to enhance sustainability outcomes.

Moderating effects of social networks on SME sustainability drivers
Figure. Moderating Effects of SME Social Network on Government Support, Industry Benchmark, and Customer Pressure

This study examines how state gender discourse in China has evolved over the past three decades, with a focus on how official narratives construct women’s roles in the public and private spheres. Using computational text analysis on 125,532 People’s Daily news articles published between 1990 and 2023, we trace shifts in the semantic associations between women and public- versus domestic-role vocabularies. Our analysis shows that, beginning in the late 1990s and intensifying through the 2010s, official discourse increasingly distanced women from public identities while maintaining a strong and relatively stable emphasis on their domestic roles. This growing asymmetry reflects a discursive move toward “increasingly separate spheres,” in which women’s identities are more tightly anchored in the family than in public life. These findings clarify how central state rhetoric has adapted to market reforms and welfare restructuring, and highlight the role of official discourse in articulating gender boundaries and reproducing gendered expectations in contemporary China.

Increasingly Separate Spheres Figure
Figure. The associations (cosine similarities) between gender and the public versus private spheres, 1990–2023.

We present critband, a Python package for Silverman-style critical bandwidth detection and multimodality assessment based on Gaussian kernel density estimation. The package provides a hybrid binary-Brent critical bandwidth solver, FFT-accelerated KDE, bootstrap confidence intervals, component decomposition, bimodality strength scoring, and excess-mass estimation. Validated against twelve benchmark mixtures and cross-checked with the R multimode package, critband reproduces critical bandwidth behavior with substantially faster runtime.

You can apply critband directly from PyPI:

pip install critband

For full documentation and tutorials, visit the critband project page.


We study deployed systems where new text inputs are routed by retrieving similar past cases—such as citizen messages in digital governance platforms. When this fails, the issue is often poorly aligned embedding neighborhoods rather than the language model itself. We propose PEARL (Prototype-Enhanced Aligned Representation Learning), a label-efficient method that softly aligns embeddings toward class prototypes to improve local neighborhood structure without changing dimensionality or requiring heavy retraining. Our approach bridges the gap between unsupervised post-processing and fully supervised projection, and yields strong gains precisely in the label-scarce settings where similarity-based systems are most brittle.

You can apply PEARL directly from PyPI:

pip install pearl-h

For full documentation and tutorials, visit the PEARL project page.

PEARL Overview
Figure. Neighborhood Geometry Illustration.

We developed HEAS (Hierarchical Evolutionary Agent Simulation) as a framework to combine layered agent-based modeling with evolutionary optimization. In HEAS, models are expressed as modular “streams” scheduled in layers that read and write to a shared context, making cross-scale feedbacks—from environment to groups, agents, and aggregators—explicit and transparent. With a simple API (simulate, optimize, evaluate), HEAS supports multi-objective search (e.g., NSGA-II), reproducible tournament evaluation, and PyTorch integration for policy learning, enabling researchers to build, compare, and extend simulations across ecological, organizational, and policy domains.

You can apply HEAS directly from PyPI:

pip install heas

For full documentation and tutorials, visit the HEAS project page. We also developed a lightweight web app to explore HEAS with an interactive tool, available at https://ryzhanghason.github.io/heas/.

HEAS stream-layer architecture for hierarchical agent simulation
Figure. Abstract Stream–layer Architecture in HEAS

In our work on representation learning for structured data, we tackle the persistent challenge of aligning latent variables with theory-driven constructs. Drawing inspiration from structural equation modeling, we designed SE-VAE (Structural Equation-Variational Autoencoder) to embed measurement structure directly into a variational autoencoder, separating construct-specific signals from global nuisance variation. Evaluated on simulated tabular datasets, SE-VAE consistently recovered underlying factors more accurately and robustly than leading baselines, offering a principled framework for interpretable generative modeling in scientific and social research.

You can apply SE-VAE directly from PyPI:

pip install sevae

For full documentation and tutorials, visit the SE-VAE project page.

SE-VAE Architecture
Figure. SE-VAE Architecture

In our study, we explored the relationship between eco-efficiency and the local governments’ engagement in collaborative environmental governance with citizens. By analyzing provincial-level data from China and employing advanced textual analysis methods, our findings reveal that localities with higher eco-efficiency are significantly more likely to adopt co-productive responses to environmental complaints.

SHAP analysis of citizen co-production prediction
Figure. SHAP Analysis of Co-Production Prediction

In our exploration of political text analysis, we set out to address the challenge of maintaining semantic stability over time. By comparing traditional static embeddings with contextual models using two decades of People’s Daily articles, our research evaluated how well each approach captures both enduring meanings and subtle semantic shifts. The results indicate that contextual models not only provide greater semantic consistency but also detect nuanced variations that static methods often miss.

Comparison of BERT and Word2Vec metrics across time spans
Figure. Comparison of Key Metrics Between BERT and Word2Vec Over Different Time Spans

Contact

Feel free to reach out via email: ruiyuzh@connect.hku.hk

Selected Research Summaries

The selected works above are also presented here as a complete, readable text list.

Our study delved into the transformative ambitions of the double-hundred action programme, a reform designed to modernize China’s state-owned enterprises by expanding the pool of top executive talent beyond traditional cadres. Through extensive fieldwork and detailed ethnography at a selected enterprise, we explored how this policy is reshaping recruitment, performance evaluation, and remuneration practices. While our findings highlight strong support for the initiative and notable shifts in organizational dynamics, they also reveal that traditional influences endure, particularly in key board appointments. This work deepens our understanding of the delicate balance between progressive reform and longstanding institutional practices.

Paired tests and mixed-effects models find improvements in citizens’ ratings of clarity, politeness, response satisfaction, feeling heard, empathic satisfaction, and trust. Civil servants find AI-modified messages clearer, more polite, respectful, and easier to answer; their ratings of urgency and needed empathy vary by context and show no consistent overall effect.

Our study examines what drives small and medium-sized enterprises (SMEs) to adopt sustainability practices, and how social networks shape these dynamics. Using survey data from 1,400 SMEs in Hong Kong, we find that internal drivers—such as responsibility, commitment, and a clear sustainability mission—and external pressures like regulation and customer demand significantly influence sustainability efforts. Crucially, our study shows that SMEs with stronger social network engagement benefit more from external drivers, especially in areas like environmental management, innovation, and social contribution. These findings highlight the need for policy approaches that not only provide support but also strengthen SME networks to enhance sustainability outcomes.

This study examines how state gender discourse in China has evolved over the past three decades, with a focus on how official narratives construct women’s roles in the public and private spheres. Using computational text analysis on 125,532 People’s Daily news articles published between 1990 and 2023, we trace shifts in the semantic associations between women and public- versus domestic-role vocabularies. Our analysis shows that, beginning in the late 1990s and intensifying through the 2010s, official discourse increasingly distanced women from public identities while maintaining a strong and relatively stable emphasis on their domestic roles. This growing asymmetry reflects a discursive move toward “increasingly separate spheres,” in which women’s identities are more tightly anchored in the family than in public life. These findings clarify how central state rhetoric has adapted to market reforms and welfare restructuring, and highlight the role of official discourse in articulating gender boundaries and reproducing gendered expectations in contemporary China.

We present critband, a Python package for Silverman-style critical bandwidth detection and multimodality assessment based on Gaussian kernel density estimation. The package provides a hybrid binary-Brent critical bandwidth solver, FFT-accelerated KDE, bootstrap confidence intervals, component decomposition, bimodality strength scoring, and excess-mass estimation. Validated against twelve benchmark mixtures and cross-checked with the R multimode package, critband reproduces critical bandwidth behavior with substantially faster runtime.

You can apply critband directly from PyPI:

pip install critband

For full documentation and tutorials, visit the critband project page.

We study deployed systems where new text inputs are routed by retrieving similar past cases—such as citizen messages in digital governance platforms. When this fails, the issue is often poorly aligned embedding neighborhoods rather than the language model itself. We propose PEARL (Prototype-Enhanced Aligned Representation Learning), a label-efficient method that softly aligns embeddings toward class prototypes to improve local neighborhood structure without changing dimensionality or requiring heavy retraining. Our approach bridges the gap between unsupervised post-processing and fully supervised projection, and yields strong gains precisely in the label-scarce settings where similarity-based systems are most brittle.

You can apply PEARL directly from PyPI:

pip install pearl-h

For full documentation and tutorials, visit the PEARL project page.

We developed HEAS (Hierarchical Evolutionary Agent Simulation) as a framework to combine layered agent-based modeling with evolutionary optimization. In HEAS, models are expressed as modular “streams” scheduled in layers that read and write to a shared context, making cross-scale feedbacks—from environment to groups, agents, and aggregators—explicit and transparent. With a simple API (simulate, optimize, evaluate), HEAS supports multi-objective search (e.g., NSGA-II), reproducible tournament evaluation, and PyTorch integration for policy learning, enabling researchers to build, compare, and extend simulations across ecological, organizational, and policy domains.

You can apply HEAS directly from PyPI:

pip install heas

For full documentation and tutorials, visit the HEAS project page. We also developed a lightweight web app to explore HEAS with an interactive tool, available at https://ryzhanghason.github.io/heas/.

In our work on representation learning for structured data, we tackle the persistent challenge of aligning latent variables with theory-driven constructs. Drawing inspiration from structural equation modeling, we designed SE-VAE (Structural Equation-Variational Autoencoder) to embed measurement structure directly into a variational autoencoder, separating construct-specific signals from global nuisance variation. Evaluated on simulated tabular datasets, SE-VAE consistently recovered underlying factors more accurately and robustly than leading baselines, offering a principled framework for interpretable generative modeling in scientific and social research.

You can apply SE-VAE directly from PyPI:

pip install sevae

For full documentation and tutorials, visit the SE-VAE project page.

In our study, we explored the relationship between eco-efficiency and the local governments’ engagement in collaborative environmental governance with citizens. By analyzing provincial-level data from China and employing advanced textual analysis methods, our findings reveal that localities with higher eco-efficiency are significantly more likely to adopt co-productive responses to environmental complaints.

In our exploration of political text analysis, we set out to address the challenge of maintaining semantic stability over time. By comparing traditional static embeddings with contextual models using two decades of People’s Daily articles, our research evaluated how well each approach captures both enduring meanings and subtle semantic shifts. The results indicate that contextual models not only provide greater semantic consistency but also detect nuanced variations that static methods often miss.