Sapiens2

CV SST HPMR
我们推出了Sapiens2——一个面向以人为中心视觉任务的高分辨率Transformer模型家族,其设计核心聚焦于泛化能力、任务通用性以及输出结果的高保真度。本系列模型参数量覆盖0.4B至5B,原生支持1K分辨率,并提供支持4K分辨率的分层变体。相较于前代模型,Sapiens2在预训练与后训练阶段均实现了显著提升。 首先,为同时学习既可支撑密集预测任务的底层细节特征,又能适配零样本或少标签场景的高层语义特征,我们创新性地将掩码图像重建目标与自蒸馏对比学习目标相融合。评估结果表明,这一统一预训练目标能更有效地适配更广泛的下游任务。 其次,在数据层面,我们基于精心筛选的10亿张高质量人体图像构建预训练数据集,并进一步提升了各类任务标注的质量与数量。 第三,在架构设计上,我们整合了前沿大模型中的多项关键技术,从而支持更长的训练周期并显著增强训练稳定性。其中,我们的4K模型采用窗口化注意力机制,以建模更广阔的空域上下文信息,并在2K输出分辨率下完成预训练。 Sapiens2在多项指标上刷新了当前最优性能:姿态估计提升+4 mAP,人体部位分割提升+24.3 mIoU,法向量估计的角误差降低45.6%;此外,该模型还成功拓展至点图(pointmap)估计与反照率(albedo)估计等全新任务。 代码地址:https://github.com/facebookresearch/sapiens2
We present Sapiens2, a model family of high-resolution transformers for human-centric vision focused on generalization, versatility, and high-fidelity outputs. Our model sizes range from 0.4 to 5 billion parameters, with native 1K resolution and hierarchical variants that support 4K. Sapiens2 substantially improves over its predecessor in both pretraining and post-training. First, to learn features that capture low-level details (for dense prediction) and high-level semantics (for zero-shot or few-label settings), we combine masked image reconstruction with self-distilled contrastive objectives. Our evaluations show that this unified pretraining objective is better suited for a wider range of downstream tasks. Second, along the data axis, we pretrain on a curated dataset of 1 billion high-quality human images and improve the quality and quantity of task annotations. Third, architecturally, we incorporate advances from frontier models that enable longer training schedules with improved stability. Our 4K models adopt windowed attention to reason over longer spatial context and are pretrained with 2K output resolution. Sapiens2 sets a new state-of-the-art and improves over the first generation on pose (+4 mAP), body-part segmentation (+24.3 mIoU), normal estimation (45.6% lower angular error) and extends to new tasks such as pointmap and albedo estimation. Code: https://github.com/facebookresearch/sapiens2
许愿