Xinyue Shen

Xinyue Shen

University of Waterloo · Helmholtz Center for Information Security
2 previous affiliations
17Machine learning papers tracked by Lacuna

1 other author named Xinyue Shen: Xinyue Shen (Meta (United States) · 16 papers)

Is this you?

Research Overview

Xinyue Shen focuses on the security, reliability, and safety of large-scale machine learning models, with a particular emphasis on large language models (LLMs) and generative AI. This work encompasses the systematic quantification of security risks in self-supervised learning, the measurement of reliability and toxicity in generative agents, and the development of robust benchmarking frameworks for machine-generated content. By combining empirical measurement with adversarial threat modeling, the research aims to identify and mitigate vulnerabilities in the AI model supply chain, ranging from pre-training and release to downstream deployment.

Research Trajectory

The trajectory of this work reflects a transition from foundational questions in mathematical optimization toward the empirical security and safety of modern deep learning systems. Early methodological interests centered on the computational challenges of high-dimensional models, specifically The Feasible Initialization Bottleneck in Constrained Optimization and the use of Difference of Convex Programming to address non-convex landscapes. These interests extended to sparse recovery techniques, including Optimization for Exact Sparsity with the L0 Norm and Nonconvex Regularization for Unbiased Sparse Recovery, as well as the stability of iterative algorithms through Robust Initialization for Centroid Based Clustering. More recently, these optimization perspectives have informed work on hierarchical structures, such as Scaling Bilevel Optimization to Large-Scale Stochastic Settings, which is central to hyperparameter tuning and meta-learning.

Starting in 2022, the research focus shifted toward the security of emerging self-supervised learning paradigms. This included the first systematic quantification of backdoor attacks in masked image modeling (MIM), examining risks across the entire model supply chain. Concurrently, the work applied large-scale data analysis to social media, conducting longitudinal measurements of online sentiment and the evolution of Sinophobia across mainstream and fringe web communities.

By 2023, the focus intensified on the reliability and safety of LLMs, specifically ChatGPT. This involved large-scale measurements of model reliability across diverse domains such as law and science, alongside the characterization of "jailbreak" prompts—adversarial inputs designed to bypass safety safeguards. This period also saw the development of benchmarking frameworks for detecting machine-generated text (MGT) and assessing toxicity in instruction-tuned models.

In 2024 and beyond, the research has expanded into multimodal safety and meta-evaluation. This includes investigating new attack surfaces in multimodal models, such as voice-based jailbreak attacks against GPT-4o, and benchmarking image safety classifiers on both real-world and AI-generated content. Most recently, the work has moved toward a "benchmark of benchmarks" approach, evaluating the academic influence and code quality of the safety benchmarks themselves to ensure the field’s evaluation metrics are robust and reproducible.

Applied AI Safety and Measurement

A significant portion of the recent work addresses the practical challenges of deploying generative models in adversarial or high-stakes environments. This involves creating standardized evaluation protocols to replace the fragmented experimental settings often found in machine-generated text detection. By establishing comprehensive benchmarks, the research provides a more consistent assessment of how well current detectors handle varied model architectures and datasets.

The study of adversarial prompts, or jailbreaks, represents another core pillar. This research moves beyond isolated examples to perform large-scale measurement studies of prompts collected from the wild. By leveraging graph-based community detection and natural language processing, the work categorizes the unique characteristics and evolution of these attacks, providing a foundation for more resilient model alignment. This effort extends to multimodal interfaces, where the transition from text to voice introduces distinct vulnerabilities that traditional safety filters may not adequately address.

Furthermore, the research investigates the broader societal implications of AI-generated content. This includes quantifying the prevalence of machine-generated text on social media platforms and monitoring its potential for narrative manipulation. By developing tools to detect and monitor this content, the work contributes to maintaining the authenticity and accountability of online information ecosystems.

Representative Work

Backdoor Attacks in the Supply Chain of Masked Image Modeling This 2022 study provides the first security risk quantification of Masked Image Modeling (MIM) through the lens of backdoor attacks. While MIM has become a dominant method for self-supervised image pre-training, its security implications were previously unexplored. The research systematically models threats across the pre-training, release, and downstream phases of the model supply chain, demonstrating how generative reconstruction tasks can be compromised.

On Xing Tian and the Perseverance of Anti-China Sentiment Online This paper presents a large-scale longitudinal measurement of Sinophobia on Reddit and 4chan’s /pol/ between 2016 and 2021. By analyzing over 8 billion posts, the study investigates the origins and evolution of anti-Chinese sentiment, finding that such content is often evoked by political events not directly related to China. The work provides a quantitative understanding of how fringe rhetoric migrates to mainstream platforms.

In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPT As users increasingly rely on LLMs for information retrieval, this 2023 study performs a large-scale measurement of ChatGPT’s reliability in general question-answering scenarios. Using a curated set of over 5,000 questions across eight domains, the research identifies significant variance in reliability, noting that the model underperforms in specialized areas such as law, which raises concerns about its use as a primary knowledge source.

"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models This research conducts a measurement study of jailbreak prompts collected from public platforms over a six-month period. By analyzing 6,387 prompts, the study uses graph-based community detection to uncover the distribution and evolution of adversarial strategies. The findings highlight the persistent challenge of aligning LLMs with human intent when faced with evolving adversarial prompts.

MGTBench: Benchmarking Machine-Generated Text Detection Addressing the lack of standardized evaluation for machine-generated text (MGT) detectors, this work introduces a comprehensive benchmarking framework. It evaluates existing detection methods across various model architectures and experimental settings, providing a unified platform to assess the authenticity and potential bias of text generated by advanced LLMs.

Voice Jailbreak Attacks Against GPT-4o This 2024 paper explores the new attack surface introduced by the multimodal capabilities of GPT-4o. The study presents a systematic measurement of jailbreak attacks against the model's voice mode, demonstrating that while the model resists direct transfers of text-based jailbreaks, it remains vulnerable to audio-specific adversarial inputs. This work underscores the necessity of multimodal-specific safety safeguards.

Profile updated

See something wrong? Report a mistake