Xinwei Liu
· 2 previous affiliations
- Hong Kong Polytechnic UniversitySince 2026
- Postdoc · Since 2026
- PhD student · 2020–2026
Research Overview
Xinwei Liu focuses on the security and privacy of machine learning systems, with an emphasis on adversarial machine learning, backdoor attacks, and data protection. His trajectory spans from generating adversarial perturbations for digital copyright protection to investigating vulnerabilities in few-shot and multimodal contrastive learning environments. Recently, his work addresses defense mechanisms against backdoor attacks in foundation models.
Research Trajectory
The trajectory begins in 2023 with an exploration of adversarial techniques repurposed for defensive applications. In Universal Watermark Vaccine: Universal Adversarial Perturbations for Watermark Protection, Liu and collaborators addressed the growing threat of neural networks being used to illicitly remove visible watermarks from images. To counter this, they developed universal adversarial perturbations designed to protect digital copyrights, demonstrating how sample-agnostic perturbations can efficiently prevent unauthorized watermark removal in real-world scenarios without the need for time-consuming, sample-specific generation.
In 2024, Liu's focus expanded to the vulnerabilities of models trained on limited data. He led the investigation in Does Few-Shot Learning Suffer from Backdoor Attacks?, which evaluated the efficacy of existing backdoor poisoning methods in few-shot learning (FSL) contexts. This research highlighted fundamental challenges in attacking FSL systems, noting that models tend to overfit to either benign or trigger features, creating a difficult trade-off between attack success rates and benign accuracy. Furthermore, the study analyzed how the inherently small sample sizes in FSL complicate the deployment of dirty-label or visible triggers, mapping out the unique security landscape of data-scarce environments.
Concurrently, Liu contributed to a comprehensive synthesis of adversarial vulnerabilities in A Survey on Transferability of Adversarial Examples Across Deep Neural Networks. This collaborative review mapped the landscape of how adversarial perturbations crafted for one architecture can successfully deceive entirely different models, a critical concern for safety-critical machine learning applications. The survey organized the literature across several distinct research areas, including the research direction of Stochastic Diversity for Transferable Adversarial Attacks and the area of Transferable Adversarial Attacks via Intermediate Feature Disruption. It also detailed methodologies within the broader field of Momentum Based Gradient Stabilization for Transferable Attacks, work in the area of Cross Model Adversarial Transferability, and the research direction Optimizing Adversarial Transferability via Surrogate Ensembles.
Liu has also applied adversarial concepts to data privacy, specifically targeting the unauthorized use of internet-crawled data by large-scale models. He introduced novel protective measures in Multimodal Unlearnable Examples: Protecting Data against Multimodal Contrastive Learning. Recognizing that existing unlearnable example techniques were primarily designed for unimodal classification, this work generated imperceptible perturbations for image-caption pairs. These perturbations create learning shortcuts that prevent multimodal contrastive learning systems from effectively exploiting personal or sensitive data during zero-shot training.
Continuing his work on backdoor attacks, Liu participated in research aimed at maximizing the stealthiness of data poisoning. The paper Minimalism is King! High-Frequency Energy-Based Screening for Data-Efficient Backdoor Attacks investigated how to lower the percentage of poisoned samples required to compromise a model. By employing high-frequency energy-based screening, the research demonstrated that careful sample selection is critical to efficiently altering a model's decision boundary while remaining undetected by standard security audits.
Most recently, in 2025, Liu's research has pivoted toward defending large-scale vision-language models. He contributed to CleanerCLIP: Fine-Grained Counterfactual Semantic Augmentation for Backdoor Defense in Contrastive Learning, which falls into the research area of Backdoor Vulnerabilities in Multimodal Foundation Models. This work introduced a defense mechanism specifically designed for the fine-tuning stage of models like CLIP. By generating counterfactual text augmentations, the method disrupts the malicious associations between visual triggers and target concepts, offering robust protection against sophisticated multimodal backdoor attacks.
Current Directions
The most recent papers in the evidence indicate a strong focus on the security and privacy of multimodal foundation models. A primary direction involves securing contrastive learning frameworks against sophisticated backdoor attacks during the fine-tuning phase. This includes developing fine-grained, counterfactual semantic augmentations to sever the links between malicious visual triggers and textual concepts. Additionally, ongoing themes in the research address data privacy through the generation of multimodal unlearnable examples, aiming to protect publicly available image-text pairs from unauthorized exploitation by large-scale model training pipelines.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake