Neural Interactive Keypoint Detection

Jie Yang, Ailing Zeng, Feng Li, Shilong Liu, Lei Zhang, Ruimao Zhang

TL;DR

Annotating human pose keypoints manually is grueling, but standard "model-assisted" workflows fail to propagate user corrections to the rest of the body. Click-Pose introduces an interactive, end-to-end keypoint detection framework where a single user click on an erroneous joint triggers the network to automatically refine surrounding keypoints and bounding boxes. By combining pose-error simulation with an interactive feedback loop, Click-Pose reduces annotation time by over 10× compared to manual labeling and cuts user clicks by over 30% compared to state-of-the-art models.

What Problem Does This Paper Address?

Labeling 2D human poses is labor-intensive: manually annotating a single person's 17 keypoints takes roughly 230 seconds. Standard semi-automated pipelines use a pre-trained detector (like ViTPose) and have human annotators manually fix mistakes. However, this workflow has major drawbacks:

  1. Model bias & out-of-distribution (OOD) failure: On artistic, cartoon, or occluded figures, model accuracy plummets, requiring massive manual intervention.
  2. One-way manual fixing: Correcting one joint (e.g., swapping left and right elbows) provides zero feedback to the model, meaning annotators must manually inspect and fix every other erroneous joint individually.

Existing query-based detectors like ED-Pose theoretically support iterative refinement, but their decoders are brittle: perturbing keypoint positions directly causes severe accuracy drops because positional queries and contextual content queries become misaligned.

Methods

Built upon the DETR-based ED-Pose architecture, Click-Pose introduces two novel training and inference mechanisms to enable stable human-in-the-loop pose refinement:

[Input Image] ──> Encoder ──> Human Decoder ──> Human-to-Keypoint Decoder ──> Initial Pose & Box
                                                        ▲
                                    User Click / Feedback Loop
                                 (Pose Error Modeling + Codebook)
  • Pose Error Modeling: During training, ground-truth keypoints are corrupted with four realistic error types—jitter, miss, swap, and inversion (e.g., flipping left/right limbs)—and fed to the Human-to-Keypoint decoder. The model is trained to reconstruct the original clean pose, teaching it to treat correct keypoints as structural anchors to fix surrounding errors.
  • Interactive Human-Feedback Loop: When a user clicks to correct a mispredicted joint, the modified 2D coordinate is injected into the decoder. Because user coordinates conflict with the model's existing query content embeddings, Click-Pose re-initializes content queries using a shared, learnable label codebook $\mathbf{B} \in \mathbb{R}^{K \times C}$.
  • Progressive Decoder Refinement: The decoder iteratively updates bounding boxes and all remaining keypoints based on each single-point manual correction.

Datasets

The authors evaluate Click-Pose across four diverse benchmarks:

  • COCO: Standard in-domain dataset with natural scenes (~250k instances, 17 keypoints).
  • Human-Art: Out-of-domain benchmark featuring artificial/stylized humans in digital art, paintings, and statues (123k instances, 21 keypoints).
  • OCHuman: Heavy-occlusion benchmark (8,110 instances with $\text{maxIoU} \ge 0.5$).
  • CrowdPose: Dense, crowded human scenarios (80,000 poses, 14 keypoints).

Key Insights and Ideas

  • Decoupling and Re-embedding Content Queries: Naive query modification breaks transformer decoders because learned contextual tokens fight the newly adjusted positions. Re-embedding corrected keypoints using a separate label codebook restores harmony between position and semantics.
  • Error Injection as Self-Correction Training: By forcing the decoder to reconstruct clean poses from synthetically broken ones during training, the network learns the anatomical priors needed to infer whole-body adjustments from single-joint fixes.
  • Zero-Shot Benefit (Free Accuracy): Even without any interactive clicks (Click-Pose-C0), the error-modeling auxiliary task acts as an effective regularizer, improving baseline ED-Pose accuracy by +1.4 AP on COCO and +3.0 AP on Human-Art.

Key Results

The authors define a practical evaluation metric: Number of Clicks (NoC@$X$), measuring the average user clicks needed per person to achieve $X\%$ Average Precision (AP).

  • Fewer Clicks Required: To reach 95% AP (NoC@95), Click-Pose requires only 1.97 clicks on COCO (vs. 2.87 for ViTPose-Huge) and 6.45 clicks on Human-Art (vs. 10.13 for ViTPose-Huge), cutting manual effort by 31.4% and 36.3%, respectively.
  • Massive Time Savings:
  • On COCO: Annotation time dropped from 230s (manual) to 14s per person (over $16\times$ faster).
  • On Human-Art (OOD): Annotation time dropped from 250s (manual) and 132s (ViTPose + manual) to 23s per person ($>10\times$ faster than manual, $>5\times$ faster than ViTPose).
  • Keypoint Adaptation: When adapting a 17-keypoint COCO model to the 21-keypoint Human-Art dataset using just 100 annotated images, user corrections on the original 17 keypoints automatically improved prediction on the 4 unseen keypoints.

Limitations and Future Work

  • Mainstream Keypoints Only: The current design is validated on sparse sets (14 to 21 joints) and has not yet been extended to dense, whole-body setups (e.g., 133 keypoints covering expressive face and hand landmarks).
  • Single-Task Scope: The model interacts only on 2D joints and bounding boxes. Future iterations aim to integrate multi-task prompts (e.g., combining 2D/3D pose, body parsing, and text prompts in a Segment-Anything style interface).
  • Extending to 3D: Investigating how minimal 2D user clicks can directly constrain and refine 3D meshes or point clouds remains an open challenge.

Summary updated

BibTeX
@misc{yang2023neural,
  author = {Jie Yang and Ailing Zeng and Feng Li and Shilong Liu and Lei Zhang and Ruimao Zhang},
  title = {{Neural Interactive Keypoint Detection}},
  year = {2023},
  eprint = {2308.10174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.10174},
}
Figure