AgentPose: Progressive Distribution Alignment via Feature Agent for Human Pose Distillation

Feng Zhang, Jinwei Liu, Xiatian Zhu, Lei Chen

Introduction

The deployment of high-performance human pose estimation (HPE) models on resource-constrained edge devices remains a significant challenge. While Knowledge Distillation (KD) is a common strategy to transfer expertise from a large "teacher" model to a compact "student" model, it often encounters the "capacity gap curse." When the structural and representational differences between the teacher and student are too vast, traditional distillation methods—which focus on direct mimicry of logits or raw features—fail. In some instances, a significantly more powerful teacher can paradoxically lead to a worse-performing student because the student lacks the capacity to replicate the teacher's complex feature distributions.

To address this, AgentPose introduces a novel framework that treats feature alignment as a generative process. By utilizing a diffusion-based "feature agent," AgentPose bridges the capacity gap through progressive distribution alignment, allowing lightweight models to achieve state-of-the-art accuracy with minimal computational overhead.

The AgentPose Framework

The core innovation of AgentPose is the Feature Agent, a module designed to translate student features into the teacher's distribution space. Rather than forcing a direct mapping, the framework uses a score-based diffusion process to find an intermediate state where knowledge transfer is most effective.

1. Feature Distribution Perturbation

The process begins by applying a Variance Preserving Stochastic Differential Equation (VP-SDE) to inject Gaussian noise into the feature maps.

  • Teacher Features: These are perturbed with varying noise levels during training to allow the agent to learn the underlying distribution and the score function required for denoising.
  • Student Features: These are perturbed at a fixed "starting timestep" ($t_s = 0.4$). This specific noise level serves to smooth out inconsistencies in the student's features, preparing them for the alignment process without destroying their inherent semantic content.

2. Dynamic Distribution Modulation

This component acts as a lightweight, score-based diffusion model. Once trained on the teacher's distribution, the model "hijacks" the noisy student features. By applying the learned reverse SDE process, the agent pulls the student's features toward the teacher's distribution. This "hijacking" strategy ensures that the student's internal representations are calibrated to look more like the teacher's, facilitating a smoother transfer of knowledge.

3. Efficiency via Linear Autoencoder

To maintain the real-time requirements of edge devices, the authors implement a $1 \times 1$ convolutional autoencoder. This module compresses features before they enter the diffusion agent, significantly reducing the GFLOPs required for the alignment process. This ensures that the sophisticated diffusion-based alignment does not become a computational bottleneck.

Experimental Results

The researchers evaluated AgentPose on the COCO (Common Objects in Context) dataset, using the standard train2017 and val2017 sets. The results demonstrate that AgentPose effectively overcomes the limitations of previous distillation methods.

Accuracy and the Capacity Gap

When compared against foundational models like RTMPose and state-of-the-art methods like DWPose, AgentPose showed clear superiority:

  • AgentPose-T: The smallest variant achieved 68.3 AP on COCO, a +0.4 AP improvement over the RTMPose-T baseline.
  • Bridging the Gap: While DWPose-T actually experienced a performance drop of 0.2 AP when distilled from a very large teacher, AgentPose successfully utilized the teacher's knowledge to improve the student, proving its robustness against the capacity gap.

Computational Efficiency

Despite the inclusion of a diffusion-based agent, the overhead remains negligible. AgentPose-T operates at 0.6 GFLOPs, adding only 0.2 GFLOPs over the base model. This efficiency allows it to outperform much heavier distillation techniques while remaining viable for edge deployment.

Analysis and Insights

The Role of the Starting Timestep ($t_s$)

The effectiveness of AgentPose is highly dependent on the noise level $t_s$. The authors found that $t_s = 0.4$ represents a "Goldilocks" zone. At lower levels (e.g., $t_s = 0.2$), the student's original, potentially flawed distribution persists too strongly. At higher levels (e.g., $t_s = 0.8$), the noise destroys the semantic information necessary for pose estimation.

Inference Step Sensitivity

Interestingly, the alignment process is sensitive to the number of denoising steps. Performance peaks at 5 inference steps. Increasing this to 15 steps actually leads to a slight decrease in accuracy (68.26 AP) and a significant increase in computational cost, suggesting that over-smoothing the features can be detrimental to the final keypoint localization.

Conclusion

AgentPose represents a significant shift in knowledge distillation for human pose estimation. By moving away from rigid feature mimicry and toward a generative, diffusion-based alignment, it provides a robust solution to the capacity gap problem. The framework enables tiny models to punch above their weight, achieving high accuracy with the efficiency required for real-world, real-time applications. Future work may explore adapting this distribution alignment for 3D pose estimation and video-based tracking, where temporal consistency adds another layer of complexity to the distillation process.

Summary updated

BibTeX
@inproceedings{zhang2025agentpose,
  author = {Feng Zhang and Jinwei Liu and Xiatian Zhu and Lei Chen},
  title = {{AgentPose: Progressive Distribution Alignment via Feature Agent for Human Pose Distillation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  doi = {10.1109/icassp49660.2025.10889872},
}
Figure