Prama drops BEN3 open background removal model
Prama LLC open-sourced BEN3, a 167M-parameter image and video background removal model built on Meta's DINOv3 encoder and a multi-hypothesis mask generator. Available under an MIT license on GitHub and Hugging Face, it runs locally on consumer GPUs while reserving its second-stage MHFNet refinement network for Prama's commercial API and on-device licenses.
BEN3 extends Prama's smart open-core playbook from BEN2: ship a fast, genuinely useful local generator to win the ComfyUI and indie-dev crowd, then gate the final few points of edge accuracy behind a paid tier. Developers evaluating it against BiRefNet or Bria RMBG should pay close attention to what is—and isn't—in the public checkpoint.
- –Mind the benchmark gap: The headline DIS-TE1–4 scores in the MHFNet paper (0.905 weighted F, 0.026 MAE) come from the closed two-stage fusion pipeline, though single-mask selection from the retrained generator (0.892 weighted F) still tops BiRefNet (0.858) on paper.
- –Lightweight local footprint: At roughly 167M parameters, the open generator runs 1024×1024 inference in ~208 ms using ~1.7 GiB FP16 VRAM on an RTX 3090, making batched image pipelines and frame-by-frame transparent WebM video exports practical on modest GPUs.
- –Architecture shift over BEN2: Moving on from BEN2's confidence-guided matting, BEN3 adapts S3OD's multi-hypothesis approach on a DINOv3 ViT-B/16 backbone with a DPT-style decoder, producing three candidate masks and picking the strongest via an auxiliary score head.
- –Licensing fine print: Releasing the code and `ben3.pth` weights under MIT avoids Bria's non-commercial restrictions on recent RMBG models, but commercial teams still need to respect upstream Meta DINOv3 terms and note that the 38k-image training dataset remains proprietary.
- –Fast ecosystem pickup: Built-in Hugging Face `from_pretrained` loading, `ffmpeg` WebM/MP4 video hooks, and immediate community ComfyUI nodes make BEN3 a low-friction drop-in for local media workflows.
DISCOVERED
15m ago
2026-12-04
PUBLISHED
23m ago
2026-12-04
RELEVANCE
AUTHOR
Github Awesome
