Skip to main content
QUICK REVIEW

[论文解读] KTPFormer: Kinematics and Trajectory Prior Knowledge-Enhanced Transformer for 3D Human Pose Estimation

Jihua Peng, Yanghong Zhou|arXiv (Cornell University)|Mar 31, 2024
Human Pose and Action RecognitionComputer Science被引用 3
一句话总结

KTPFormer 提出两种轻量级、即插即用的注意力模块——运动学先验注意力(KPA)与轨迹先验注意力(TPA),将解剖学运动学结构和关节运动轨迹信息注入基于 Transformer 的 3D 人体姿态估计中。通过在自注意力机制中引入先验知识,KTPFormer 在多个基准测试中以极低的计算开销实现了最先进性能。

ABSTRACT

This paper presents a novel Kinematics and Trajectory Prior Knowledge-Enhanced Transformer (KTPFormer), which overcomes the weakness in existing transformer-based methods for 3D human pose estimation that the derivation of Q, K, V vectors in their self-attention mechanisms are all based on simple linear mapping. We propose two prior attention modules, namely Kinematics Prior Attention (KPA) and Trajectory Prior Attention (TPA) to take advantage of the known anatomical structure of the human body and motion trajectory information, to facilitate effective learning of global dependencies and features in the multi-head self-attention. KPA models kinematic relationships in the human body by constructing a topology of kinematics, while TPA builds a trajectory topology to learn the information of joint motion trajectory across frames. Yielding Q, K, V vectors with prior knowledge, the two modules enable KTPFormer to model both spatial and temporal correlations simultaneously. Extensive experiments on three benchmarks (Human3.6M, MPI-INF-3DHP and HumanEva) show that KTPFormer achieves superior performance in comparison to state-of-the-art methods. More importantly, our KPA and TPA modules have lightweight plug-and-play designs and can be integrated into various transformer-based networks (i.e., diffusion-based) to improve the performance with only a very small increase in the computational overhead. The code is available at: https://github.com/JihuaPeng/KTPFormer.

研究动机与目标

  • 解决现有基于 Transformer 的 3D 姿态估计方法仅依赖线性投影计算查询、键和值所导致的注意力坍塌问题。
  • 利用已知的解剖学运动学关系与时间上的运动轨迹作为归纳偏置,以改善空间与时间依赖性的建模。
  • 设计一种通用、轻量的模块,可无缝集成至各类基于 Transformer 的 3D 姿态估计器中,无需修改原始架构。
  • 证明先验知识注入可改善注意力分布,并在计算成本可忽略的前提下提升 3D 姿态估计的准确性。

提出的方法

  • 提出运动学先验注意力(KPA),通过将固定的解剖学关节连接图(空间局部拓扑)与可学习的全连接全局拓扑相结合,构建可学习的运动学拓扑结构,以建模关节间关系。
  • 设计轨迹先验注意力(TPA),通过将连续帧之间的固定时间连接与可学习的全局时间拓扑相结合,构建关节运动轨迹拓扑,以建模跨帧的运动模式。
  • 将 KPA 与 TPA 作为即插即用模块,集成至原始 Transformer 的多头自注意力(MHSA)层之前,保持原始架构不变,同时通过先验知识丰富注意力计算。
  • 利用生成的、具有运动学与轨迹感知能力的 Q、K、V 向量,提升 MHSA 机制中的空间与时间建模能力。
  • 将 KTPFormer 框架应用于多种主干网络(如 PoseFormer、MixSTE、StridedTransformer),以验证其泛化性与适应性。
  • 在三个基准数据集(Human3.6M、MPI-INF-3DHP 和 HumanEva)上进行训练与评估,输入为 2D 真实姿态。

实验结果

研究问题

  • RQ1将解剖学运动学结构引入自注意力机制是否能改善 3D 人体姿态估计中的空间建模?
  • RQ2在基于 Transformer 的 3D 姿态估计中,建模跨帧的关节运动轨迹是否能增强时间建模能力?
  • RQ3先验知识增强的注意力模块在多大程度上可缓解注意力坍塌并改善注意力分布?
  • RQ4所提出的 KPA 与 TPA 作为即插即用模块,在多种基于 Transformer 的 3D 姿态估计器中效果如何?
  • RQ5在现有模型中集成 KPA 与 TPA 时,性能提升与计算成本之间的权衡如何?

主要发现

  • KTPFormer 在 Human3.6M、MPI-INF-3DHP 和 HumanEva 基准上均达到最先进性能,且在所有数据集上均实现一致的性能提升。
  • 在 Human3.6M 数据集上,KPA 与 TPA 分别将 PoseFormer 的 MPJPE 降低 2.5mm(从 31.3 降至 28.8),StridedTransformer 降低 1.1mm(从 28.5 降至 27.4),MHFormer 降低 1.8mm(从 30.9 降至 29.1),MixSTE 降低 2.6mm(从 21.6 降至 19.0),STCFormer 降低 0.6mm(从 25.7 降至 25.1)。
  • 引入 KPA 与 TPA 后,参数量仅增加 0.02M 至 0.06M,FLOPs 增加 0.363M 至 3.019M,表明计算开销极低。
  • 定性分析显示,KPA 使空间注意力分布更加均衡,缓解注意力坍塌现象,并提升对解剖学上相连关节(如右臂与躯干)的关注度。
  • TPA 在对角线上增强时间注意力,能够捕捉序列性与周期性运动模式,尤其在帧率较高、运动变化微小的视频中表现更优。
  • KPA 与 TPA 的即插即用特性使其可有效集成至多种基于 Transformer 的模型中,包括基于扩散的架构,且均带来一致的性能增益。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。