humanbench-eval
HumanBench: Towards General Human-centric Perception with Projector Assisted Pretraining — Tang et al. (2023) (arXiv:2303.05675, 2023)
What this evaluates
Evaluates the generalization and task-agnostic representation learning of human-centric vision models across six diverse downstream tasks. It probes how well a model trained on a large, multi-task human-centric corpus can adapt to in-distribution, out-of-distribution, and completely unseen human perception tasks.
Datasets
Metrics
mAP/mIoU/mA/Top1/pACC/MR/MSE/EPE (primary) — range: [0, 1] or percent
- Task-dependent standard metrics: mAP (ReID/detection/pose), mIoU (parsing), mA (attributes), Top1 (ReID), pACC (parsing), MR-2 (detection), MSE (counting), EPE (pose). Values are averaged across classes or tasks as appropriate. Lower is better for MR and MSE.
Input / output format
Input: RGB images containing human figures or crowd scenes, provided as raw pixel tensors.
Output: Task-specific predictions: bounding boxes and keypoints for detection/pose, segmentation masks for parsing, identity embeddings for ReID, binary attribute vectors, and scalar counts for crowd counting.
Scoring recipe
def compute_metric(preds, gold, task, dataset):
if task == 'reid':
return compute_mAP(preds, gold) if dataset != 'SenseReID' else compute_top1(preds, gold)
elif task == 'parsing':
return compute_pacc(preds, gold) if dataset == 'ATR' else compute_mIoU(preds, gold)
elif task == 'detection':
return compute_miss_rate(preds, gold, fppi=2.0) if dataset == 'Caltech' else compute_AP(preds, gold)
elif task == 'pose':
return compute_epe(preds, gold) if dataset == 'Human3.6M' else compute_mAP(preds, gold)
elif task == 'attribute':
return compute_mean_accuracy(preds, gold)
elif task == 'counting':
return compute_mse(preds, gold)
return None
Common pitfalls
- Out-of-dataset evaluation uses the same task type but different datasets (e.g., ATR for parsing instead of LIP), not a completely different task.
- Miss Rate (MR-2) and MSE are inverse metrics where lower values indicate better performance, contrary to accuracy/mAP/mIoU.
- Full finetuning is not always optimal; partial or head-only finetuning often yields better results on smaller downstream datasets due to overfitting.
Evidence (verbatim from paper)
Following the most commonly-used metrics, for human parsing tasks, we report pACC for ATR, mIoU for others. For ReID, we report Top1 for SenseReID, mAP for others. For pedestrian detection, we report AP for CrowdHuman and Miss Rate for Caltech. For pose estimation, we report End-Point Error for Human3.6M and mAP for others. For attribute, we all report mean accuracy. For Counting, we report Mean Square Error (MSE).
Citation
@misc{tang2023humanbench,
title={HumanBench: Towards General Human-centric Perception with Projector Assisted Pretraining},
author={Tang et al. (2023)},
year={2023},
note={arXiv:2303.05675}
}
1---2name: humanbench-eval3description: Evaluates the generalization and task-agnostic representation learning of human-centric vision models across six diverse downstream tasks. It probes how well a model trained on a large, multi-task human-centric corpus can adapt to in-distribution, out-of-distribution, and completely unseen human perception tasks. Use when the user wants to benchmark on HumanBench, or asks about evaluating this task. Reports mAP/mIoU/mA/Top1/pACC/MR/MSE/EPE.4---56# humanbench-eval78> HumanBench: Towards General Human-centric Perception with Projector Assisted Pretraining — Tang et al. (2023) (arXiv:2303.05675, 2023)910## What this evaluates1112Evaluates the generalization and task-agnostic representation learning of human-centric vision models across six diverse downstream tasks. It probes how well a model trained on a large, multi-task human-centric corpus can adapt to in-distribution, out-of-distribution, and completely unseen human perception tasks.1314## Datasets1516- **HumanBench** — total ?; splits: in-dataset (-1), out-of-dataset (-1), unseen-task (-1); repo https://github.com/OpenGVLab/HumanBench1718## Metrics1920- `mAP/mIoU/mA/Top1/pACC/MR/MSE/EPE` **(primary)** — range: [0, 1] or percent21 - Task-dependent standard metrics: mAP (ReID/detection/pose), mIoU (parsing), mA (attributes), Top1 (ReID), pACC (parsing), MR-2 (detection), MSE (counting), EPE (pose). Values are averaged across classes or tasks as appropriate. Lower is better for MR and MSE.2223## Input / output format2425**Input**: RGB images containing human figures or crowd scenes, provided as raw pixel tensors.2627**Output**: Task-specific predictions: bounding boxes and keypoints for detection/pose, segmentation masks for parsing, identity embeddings for ReID, binary attribute vectors, and scalar counts for crowd counting.2829## Scoring recipe3031```python32def compute_metric(preds, gold, task, dataset):33 if task == 'reid':34 return compute_mAP(preds, gold) if dataset != 'SenseReID' else compute_top1(preds, gold)35 elif task == 'parsing':36 return compute_pacc(preds, gold) if dataset == 'ATR' else compute_mIoU(preds, gold)37 elif task == 'detection':38 return compute_miss_rate(preds, gold, fppi=2.0) if dataset == 'Caltech' else compute_AP(preds, gold)39 elif task == 'pose':40 return compute_epe(preds, gold) if dataset == 'Human3.6M' else compute_mAP(preds, gold)41 elif task == 'attribute':42 return compute_mean_accuracy(preds, gold)43 elif task == 'counting':44 return compute_mse(preds, gold)45 return None46```4748## Common pitfalls4950- Out-of-dataset evaluation uses the same task type but different datasets (e.g., ATR for parsing instead of LIP), not a completely different task.51- Miss Rate (MR-2) and MSE are inverse metrics where lower values indicate better performance, contrary to accuracy/mAP/mIoU.52- Full finetuning is not always optimal; partial or head-only finetuning often yields better results on smaller downstream datasets due to overfitting.5354## Evidence (verbatim from paper)5556> Following the most commonly-used metrics, for human parsing tasks, we report pACC for ATR, mIoU for others. For ReID, we report Top1 for SenseReID, mAP for others. For pedestrian detection, we report AP for CrowdHuman and Miss Rate for Caltech. For pose estimation, we report End-Point Error for Human3.6M and mAP for others. For attribute, we all report mean accuracy. For Counting, we report Mean Square Error (MSE).5758## Citation5960```bibtex61@misc{tang2023humanbench,62 title={HumanBench: Towards General Human-centric Perception with Projector Assisted Pretraining},63 author={Tang et al. (2023)},64 year={2023},65 note={arXiv:2303.05675}66}67```6869- arXiv: 2303.05675