Tianwei Zhang
· 3 previous affiliations
- Nanyang Technological UniversitySince 2019
- Associate Professor · Since 2024
- Assistant Professor · 2019–2024
- Princeton University2011–2017
- PhD student · 2011–2017
- Peking University2007–2011
- Undergrad student · 2007–2011
Research Overview
Tianwei Zhang focuses on building trustworthy, efficient, and intelligent computing systems, with an emphasis on machine learning security, digital watermarking, and large-scale model optimization. His trajectory spans foundational analyses of adversarial training to the development of robust defenses for multi-agent systems and generative models. Currently, his group investigates scalable red teaming, speculative decoding, and high-throughput inference architectures for large language and video generation models.
Research Trajectory
Zhang’s research arc is characterized by a dual focus on securing machine learning systems against adversarial threats and optimizing the performance of large-scale models. In his earlier work, he conducted foundational analyses of the training dynamics underlying robust machine learning. A key contribution in this period was Rethinking Adversarial Training with Neural Tangent Kernel (2023), which utilized Neural Tangent Kernel (NTK) theory to investigate the properties of adversarial training. This work uncovered the impact of data normalization on training dynamics and proposed more time-efficient methods, contributing to the area of Bypassing the Computational Bottleneck of Adversarial Training while addressing the broader challenge of Clean Accuracy Degradation in Machine Learning Defenses.
By 2025, Zhang’s focus expanded significantly into the security and regulation of generative models, particularly through digital watermarking and system-level defenses. To address the vulnerability of multi-component deep learning systems, his group developed An LLM-Empowered Adaptive Evolutionary Algorithm For Multi-Component Deep Learning Systems. This framework leveraged the context-understanding capabilities of large language models to guide multi-objective evolutionary algorithms in detecting safety violations. Concurrently, he advanced the research direction of Spatial Alignment Sensitivity in Digital Watermarking through two major frameworks. The first, VideoShield: Regulating Diffusion-based Video Generation Models via Watermarking, introduced a training-free method that embeds invisible watermarks directly into the noise of diffusion models using DDIM inversion, enabling precise localization of temporal or spatial tampering. The second, Mask Image Watermarking, brought spatial awareness to image watermarking via a masking mechanism during training, allowing for robust watermark extraction even from fragments as small as 5% of the original image.
During this same period, Zhang also addressed the emerging security threats in autonomous agent networks. In Cowpox: Towards the Immunity of VLM-based Multi-Agent Systems, he introduced a defense mechanism against infectious jailbreak attacks in Vision Language Model (VLM) systems. By deploying specialized agents that generate and spread high-priority "cure samples," the system autonomously recovers from adversarial infections. Alongside these security contributions, Zhang tackled the computational bottlenecks of training massive models. He introduced SPPO:Efficient Long-sequence LLM Training via Adaptive Sequence Pipeline Parallel Offloading, a framework that intelligently coordinates CPU offloading and pipeline scheduling to train large language models on ultra-long sequences using constrained GPU resources.
Moving into 2026, Zhang’s trajectory has increasingly emphasized proactive vulnerability discovery and high-throughput inference architectures for state-of-the-art generative models. In the domain of text-to-image (T2I) systems, his research explored both offensive and defensive paradigms. He investigated prompt extraction vulnerabilities in Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion Models, developing the Prometheus attack, which utilizes dynamic modifiers and a proxy-in-the-loop feedback mechanism to bypass existing defenses. To proactively secure these systems, he subsequently introduced DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling. By modeling the distribution of unsafe prompts, DREAM efficiently discovers diverse sets of prompts that trigger harmful content, providing a scalable method for identifying safety vulnerabilities prior to deployment.
Simultaneously, Zhang has made substantial contributions to the efficiency of model inference. To accelerate language model generation, his group developed SpecForge: A Flexible and Efficient Open-Source Training Framework for Speculative Decoding, which solves the asymmetry problem in speculative decoding by decoupling the training of tiny draft models from massive, frozen target models. For diffusion-based large language models, he introduced DSB: Dynamic Sliding Block Scheduling for Diffusion LLMs, a scheduling approach that dynamically adjusts block sizes during inference to align with the semantic difficulty of the text.
His recent systems work also addresses the unique bottlenecks of agentic and video workloads. In CONCUR: High-Throughput Agentic Batch Inference of LLM via Congestion-Based Concurrency Control, Zhang identified "middle-phase thrashing" as a critical failure point in autonomous LLM agent workloads and adapted TCP-like congestion control mechanisms to stabilize high-throughput batch inference. Finally, to overcome the quadratic complexity of video generation, he proposed DSA: Efficient Inference For Video Generation Models via Distributed Sparse Attention, an inference framework that combines sparse attention patterns with mixed parallelism to achieve significant speedups over single-GPU execution.
Current Directions
Based on his most recent work, Zhang’s current research agenda is heavily focused on two primary pillars: the security of generative AI systems and the architectural optimization of large-scale model inference.
In the security domain, recent work investigates the vulnerabilities of text-to-image and multimodal models. This includes developing sophisticated prompt-stealing attacks to understand extraction risks, as well as designing scalable red-teaming frameworks that model the distribution of unsafe inputs to proactively discover harmful generation triggers.
In the systems and optimization domain, his recent papers address the severe computational and memory bottlenecks associated with deploying large language and video generation models. This involves designing novel scheduling algorithms, such as dynamic sliding blocks for diffusion LLMs, and adapting classical networking concepts like congestion control to manage the complex workloads of autonomous LLM agents. Furthermore, his research explores distributed sparse attention mechanisms and speculative decoding frameworks to dramatically accelerate inference without compromising generation quality.
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