Tianyi Wei
· 3 previous affiliations
- Microsoft (United States)Since 2026
- Researcher · Since 2026
- Current
- Nanyang Technological University2024–2026
- Postdoc · 2024–2026
- PhD student · 2019–2024
Research Overview
Tianyi Wei focuses on generative model manipulation, media forensics, and privacy-preserving computer vision. His early work addressed image matting and semantic editing in generative adversarial networks before expanding into deepfake detection and facial identity cryptography. His most recent research investigates the internal mechanisms of diffusion transformers to improve instruction fidelity and defend against unauthorized model personalization.
Research Trajectory
Tianyi Wei’s early research focused on improving user interaction and efficiency in fundamental computer vision tasks, particularly image matting and generative editing. He developed Improved Image Matting via Real-Time User Clicks and Uncertainty Estimation (2021) to address the limitations of trimap-free methods by incorporating real-time user clicks to resolve semantic ambiguity. This line of inquiry later evolved into Deep Image Matting With Sparse User Interactions (2024), which further balanced interaction costs with high-quality alpha matte extraction. In the domain of generative editing, he introduced HairCLIP: Design Your Hair by Text and Reference Image (2022), leveraging cross-modal embeddings to enable intuitive hair manipulation without requiring tedious sketches or masks. He subsequently unified text and reference-driven controls with fine-grained sketch and mask inputs in HairCLIPv2: Unifying Hair Editing via Proxy Feature Blending (2023). Alongside these interactive frameworks, he advanced the efficiency of latent space manipulation with E2Style: Improve the Efficiency and Effectiveness of StyleGAN Inversion (2022), proposing a feed-forward network that achieves optimization-level quality at much faster speeds. Concurrently, he participated in early media forensics research, contributing to Multi-Attentional Deepfake Detection (2021), which reframed forgery detection from a binary problem into a fine-grained classification task to capture subtle generative artifacts.
By 2024, his focus expanded significantly into privacy, security, and the robust authentication of digital media. Advancing the area of Disentangling Identity from Attributes in Generative Models, he developed FaceRSA: RSA-Aware Facial Identity Cryptography Framework (2024). This system enables reversible, high-resolution face anonymization by manipulating the latent space of a pre-trained StyleGAN, allowing users to "encrypt" a face into a different photorealistic identity and decrypt it using a specific password. He also investigated the security limitations of such anonymization techniques, as detailed in Antiano: A Series of Attacks Exploiting Vulnerabilities in Deep Face Anonymization Algorithms (2025). In parallel, he explored the research direction of Spatial Alignment Sensitivity in Digital Watermarking by collaborating on A Geometric Distortion Immunized Deep Watermarking Framework with Robustness Generalizability (2024). This framework utilizes deformable convolutions and Swin Transformers to maintain extraction accuracy even under complex affine transformations and unseen non-geometric distortions. To protect individuals against unauthorized generative modeling, he contributed to the direction of Adversarial Poisoning Against Unauthorized Diffusion Model Personalization with SimAC: A Simple Anti-Customization Method for Protecting Face Privacy Against Text-to-Image Synthesis of Diffusion Models (2024).
In 2025, his work shifted toward the internal mechanics and optimization of diffusion models and foundation architectures. Contributing to the broader area of Spatial Attention Masking in Generative Diffusion Models, he introduced FreeFlux: Understanding and Exploiting Layer-Specific Roles in RoPE-Based MMDiT for Versatile Image Editing (2025). This training-free framework leverages a mechanistic analysis of how different layers process spatial information to enable complex tasks like object addition and non-rigid editing. He also addressed the phenomenon of instruction neglect in unified models with Scale Your Instructions: Enhance the Instruction-Following Fidelity of Unified Image Generation Model by Self-Adaptive Attention Scaling (2025), proposing a method that dynamically boosts the influence of neglected prompts by analyzing cross-attention maps. In computer vision foundations, he proposed Dense Semantic Matching with VGGT Prior (2025), adapting 3D geometric priors to resolve symmetry ambiguities in 2D semantic matching.
Most recently, his collaborative efforts have addressed advanced forensics, depth estimation, and the refinement of diffusion transformers. In the research area of Generalizing Deepfake Detection to Unseen Forgery Methods, he contributed to Real Data Lies: Unveiling and Closing the Quality Shortcut in Generalizable AI-Generated Video Detection (2026), which mitigates shortcut learning where detectors rely on video quality artifacts rather than true forgery signals. He further advanced this direction with UniForensics: Face Forgery Detection via General Facial Representation (2026), leveraging dynamic video self-blending and high-level semantic features for robust detection. He also participated in optimizing diffusion architectures, as seen in Trainable Log-linear Sparse Attention for Efficient Diffusion Transformers (2026), which reduces computational complexity while preserving global context. Further work on diffusion models includes Enhancing MMDiT-Based Text-to-Image Models for Similar Subject Generation (2026), which introduces test-time optimization to prevent subject confusion in complex prompts. Finally, he contributed to depth estimation research with Boosting Monocular Metric Depth Estimation via Bokeh Rendering (2026), utilizing physical defocus blur cues to improve geometric accuracy in challenging, textureless regions. Extending diffusion representations into 3D vision, Wei also collaborated on ViDiHand: The Surprising Effectiveness of Video Diffusion Models for Hand Motion Reconstruction (2026), which repurposes video generative priors through hand-overlay rendering to recover 4D two-hand pose from full egocentric frames. This line of research progressed with ViDiHand2: Unifying Video Diffusion Priors and Hand Geometry for 3D Hand Motion Reconstruction in the Wild (2026), which couples enhanced video diffusion backbones with fine-grained geometric lifting and ray fitting to recover metric depth across video clips.
Current Directions
The most recent papers in the evidence indicate a strong focus on the internal mechanics of diffusion transformers (MMDiT) and the ongoing challenge of generalizing media forensics. Recent work investigates how to improve instruction-following fidelity in unified image generation models and how layer-specific roles in RoPE-based architectures can be exploited for versatile, training-free image editing. Additionally, current research addresses the generalization of AI-generated video detection, specifically focusing on mitigating shortcut learning where detectors inadvertently rely on video quality distributions rather than true forgery signals. Other recent contributions explore 3D and 4D hand motion reconstruction by harnessing video diffusion priors alongside geometric constraints, as well as integrating physical optical cues like defocus blur to improve monocular metric depth estimation.
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