Zhiwei Hao

Zhiwei Hao

City University of Hong Kong
2 previous affiliations
24Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Zhiwei Hao focuses on model compression, efficient computer vision, and multimodal representation learning. His research primarily addresses the computational and memory constraints associated with deploying large-scale neural networks, such as Vision Transformers (ViTs) and diffusion models, on edge devices. By developing novel frameworks for knowledge distillation, collaborative inference, and efficient prompting, Hao seeks to bridge the gap between high-performance deep learning architectures and the practical limitations of resource-constrained hardware.

Research Trajectory

Hao’s early work centered on the challenges of model compression in environments where original training data is unavailable due to privacy or logistical constraints. In 2021, he investigated data-free knowledge distillation (KD), proposing methods to synthesize adversarial data that mimics original distributions to facilitate the transfer of knowledge from large teacher models to compact students. This period was characterized by an emphasis on Relational Knowledge Distillation for Structural Manifold Transfer, moving beyond simple point-wise mimicry to preserve the structural relationships between data points in the feature space.

As Vision Transformers began to dominate computer vision benchmarks, Hao shifted his focus toward the "deployment tax" associated with these architectures. Starting in 2022, his research addressed the high memory footprint and inference latency of ViTs, which often prevent their use on mobile or IoT devices. He developed specialized distillation techniques that leverage the unique patch-level information inherent in transformers, facilitating Efficient Vision Transformers for Edge Deployment. This work also explored collaborative inference, where a model is decoupled and distributed across multiple agents or between user equipment and edge servers to optimize energy efficiency and processing speed.

In 2023, Hao’s research took a critical look at the fundamentals of distillation theory. He identified a "small data pitfall" in existing literature, noting that complex distillation variants often fail to outperform basic methods when scaled to large datasets like ImageNet-1K. This led to a re-evaluation of Why Distilled Students Can Outperform Their Teachers, demonstrating that "vanilla" distillation, when paired with robust training recipes, remains a highly competitive baseline. During this time, he also addressed the problem of architectural heterogeneity, developing methods to align features between teacher and student models from entirely different families (e.g., distilling a transformer into a convolutional neural network).

More recently, Hao has expanded into multimodal learning and generative models. His work in 2024 and 2025 focuses on efficient fusion strategies for RGB-D and thermal data, particularly in the context of semantic segmentation. He has advocated for Unified Backbones for Efficient Multimodal Representation Learning, arguing against the "parameter tax" of traditional multi-branch encoders. This recent phase also includes research into Robust Multi-Modal Fusion for Spatially Misaligned Data and the adaptation of foundation models like the Segment Anything Model (SAM) for specialized tasks. His contributions to Adapting General Vision Foundation Models to Specialized Medical Domains and super-resolution diffusion models reflect a broader interest in making state-of-the-art generative and discriminative models accessible for practical, real-world applications.

Current Directions

Hao’s current research is focused on "mixed prompting" and efficient pre-training strategies. By treating auxiliary modalities as prompts for frozen, pre-trained backbones, he aims to achieve high-accuracy multimodal fusion with significantly fewer parameters than traditional methods. He is also investigating ways to expedite the pre-training of masked image modeling (MIM) frameworks by utilizing low-resolution inputs and alternative feature reconstruction targets, such as Histograms of Oriented Gradients (HOG). These efforts continue his long-term goal of reducing the computational barriers to advanced machine learning.

Representative Work

Model Compression via Collaborative Data-Free Knowledge Distillation for Edge Intelligence This work addresses the problem of compressing models for edge deployment when the original training data is inaccessible. Hao proposes a collaborative framework that uses multiple teacher models and adversarial data generation to synthesize reliable training samples. The approach employs an adaptive output aggregation module to leverage diverse knowledge from the teacher ensemble, ensuring that the student model maintains high performance despite the absence of real-world data.

Learning Efficient Vision Transformers via Fine-Grained Manifold Distillation Recognizing that standard distillation methods designed for convolutional networks do not account for the patch-based structure of transformers, Hao introduces a fine-grained manifold distillation method. This technique focuses on the relationships between patches within the transformer layers, allowing a compact student transformer to inherit the complex spatial representations of a larger teacher. The method significantly reduces the inference overhead of ViTs, making them more suitable for deployment on mobile devices.

Revisit the Power of Vanilla Knowledge Distillation: from Small Scale to Large Scale In this study, Hao challenges the prevailing trend of developing increasingly complex distillation loss functions. Through extensive empirical analysis, he demonstrates that many sophisticated KD methods only show superior performance on small-scale datasets. When applied to large-scale benchmarks like ImageNet, "vanilla" KD—using simple KL-divergence—achieves state-of-the-art results if the training recipe is sufficiently strong. This work serves as a call for more rigorous evaluation of distillation techniques in the field.

One-for-All: Bridge the Gap Between Heterogeneous Architectures in Knowledge Distillation Hao investigates the difficulties of distilling knowledge between different model families, such as from a transformer to a ResNet. Using centered kernel alignment (CKA), he identifies significant feature divergence that renders traditional hint-based distillation ineffective. He proposes a "One-for-All" framework that uses a simple yet effective alignment strategy to bridge this architectural gap, allowing for more flexible teacher-student pairings in model compression pipelines.

PrimKD: Primary Modality Guided Multimodal Fusion for RGB-D Semantic Segmentation This paper addresses the imbalance of information in multimodal tasks, specifically noting that RGB images typically contain more semantic detail than depth maps. Hao proposes PrimKD, a distillation-based fusion approach that prioritizes the "primary" modality (RGB) while using the secondary modality (depth) as a guide. This prevents the model from being hindered by the lower information density of auxiliary sensors and improves the overall accuracy of semantic segmentation.

MixPrompt: Efficient Mixed Prompting for Multimodal Semantic Segmentation Hao introduces MixPrompt to solve the parameter redundancy found in traditional two-branch multimodal encoders. Instead of using a dedicated encoder for auxiliary data like thermal or depth images, this framework treats them as prompts that are injected into a frozen, pre-trained RGB backbone. By employing a multi-subspace alignment strategy, MixPrompt achieves state-of-the-art results in semantic segmentation while reducing the parameter count by nearly 50%, representing a significant step toward efficient multimodal perception.

Profile updated

See something wrong? Report a mistake