TL;DR
This paper introduces EvoPose2D, a novel approach that uses neuroevolution (an AI technique inspired by biological evolution) to automatically design highly efficient and accurate 2D human pose estimation networks. By combining this with a new weight transfer method and large-batch training, they achieve state-of-the-art results on the COCO benchmark, producing models that are significantly smaller and faster than existing methods.
What Problem Does This Paper Address?
Designing optimal neural network architectures for complex tasks like 2D human pose estimation is a challenging and time-consuming process, often relying on human intuition and extensive manual experimentation. While Neural Architecture Search (NAS) has shown promise in automating this, applying it to demanding tasks like pose estimation has been computationally prohibitive. Existing pose estimation methods, even state-of-the-art ones, often require significant computational resources and memory, limiting their deployment on resource-constrained devices. This paper aims to bridge this gap by developing an automated method to discover efficient and accurate pose estimation networks that can push the boundaries of performance and deployment flexibility.
Methods
The core of this work lies in the application of neuroevolution for designing 2D human pose estimation networks, a novel approach in this domain. Neuroevolution is a type of NAS that uses evolutionary algorithms to evolve network architectures. To make this computationally feasible, the authors propose two key innovations:
- Weight Transfer Scheme: Instead of training each mutated network from scratch, they introduce a flexible weight transfer mechanism. This scheme allows a mutated child network to inherit weights from its parent, significantly accelerating the training process. Crucially, it relaxes the strict "function preservation" constraint of previous methods, allowing for more flexibility in architectural changes.
- Large-Batch Training with Adam Optimizer: The authors empirically demonstrate that training 2D human pose networks with very large batch sizes (up to 2048) using the Adam optimizer, along with linear learning rate scaling and a warmup period, does not degrade accuracy. This technique is leveraged to maximize training throughput on TPUs, enabling faster neuroevolution.
They also define a search space tailored for human pose estimation, inspired by efficient architectures like MobileNetV2 and EfficientNet, focusing on inverted residual blocks. The fitness function used in the evolutionary process balances validation loss and the number of network parameters, aiming for both accuracy and efficiency.
Datasets
The primary dataset used for training and evaluation is:
- Microsoft COCO Keypoints dataset (2017): This is a standard benchmark for 2D human pose estimation. The authors use the training subset for model development and evaluation on both the validation and test-dev sets. They report standard AP and AR metrics.
Additionally, they evaluate on:
- PoseTrack (2018): This dataset is used for evaluating performance in multi-person pose estimation and tracking in video. Models are fine-tuned on this dataset after pretraining on COCO.
Key Insights and Ideas
- Neuroevolution is a viable and powerful tool for pose estimation: Contrary to the notion that NAS is impractical for complex tasks, this work shows that neuroevolution can discover state-of-the-art architectures for 2D human pose estimation.
- Flexible weight transfer is key to accelerating neuroevolution: By not strictly enforcing function preservation, their weight transfer method allows for more diverse architectural mutations while still providing a good starting point for training, drastically reducing search time.
- Large-batch training is effective for pose estimation with Adam: The paper provides empirical evidence that large batch sizes (up to 2048) can be used with Adam for pose estimation without sacrificing accuracy, a crucial finding for efficient large-scale training.
- Efficiency and accuracy are not mutually exclusive: EvoPose2D models demonstrate that it's possible to achieve higher accuracy with significantly fewer parameters and FLOPs compared to existing hand-designed networks.
- Higher resolution can be beneficial, but efficiency matters: The authors show that scaling their evolved architectures to higher input resolutions (e.g., 512x384) leads to state-of-the-art accuracy, but the efficiency gains from their evolved designs make this feasible.
Key Results
- EvoPose2D-S: Achieves comparable accuracy to SimpleBaseline but is 50% faster and 12.7x smaller in file size.
- EvoPose2D-L: Achieves new state-of-the-art accuracy on the Microsoft COCO Keypoints benchmark. It is 4.3x smaller than its nearest competitor (HRNet-W48) and has a similar inference speed.
- Large-batch training: Training with a batch size of 2048 on TPUs showed no loss in AP compared to smaller batch sizes, with training times significantly reduced.
- Neuroevolution runtime: The entire neuroevolution process for finding EvoPose2D-S took approximately 1 day using eight v2-8 TPUs.
- Comparison to HRNet: EvoPose2D-M (scaled to 384x288) is 1.5 AP more accurate than HRNet-W32, 23% faster, and 3.9x smaller.
Limitations and Future Work
- Computational Cost of Neuroevolution: While significantly accelerated, neuroevolution still requires substantial computational resources (e.g., multiple TPUs for days).
- Search Space Design: The performance of neuroevolution is dependent on the defined search space. While they explored a promising space, further exploration could yield even better results.
- Model-Agnostic Enhancements: The authors note that their EvoPose2D results do not use common model-agnostic enhancements like ImageNet pretraining, half-body augmentation, or non-maximum suppression during post-processing. Incorporating these could further boost performance, but would also make direct comparisons to other methods more complex.
- Future Work: The authors suggest that their weight transfer scheme is generally applicable to other deep networks and NAS tasks. They also hint that tuning the compound scaling parameters could lead to further improvements. The potential for deploying these efficient models on mobile devices is also a clear future direction.
Summary updated