Background remover benchmark
BiRefNet (Swin-L) leads this 2,000-image foreground-mask test with a weighted F-score of 0.858. Its mean absolute error is 0.035, the lowest in the comparison.

DIS5K · Four test splits
| Model | Weighted F ↑ | Mean absolute error ↓ |
|---|---|---|
| BiRefNet (Swin-L) | 0.858 | 0.035 |
| BiRefNet (Swin-B) | 0.855 | 0.036 |
| BiRefNet (PVTv2-B2) | 0.838 | 0.041 |
| BiRefNet (Swin-T) | 0.822 | 0.045 |
| UDUN | 0.772 | 0.057 |
| FP-DIS | 0.770 | 0.047 |
| PGNet | 0.746 | 0.063 |
| IS-Net | 0.726 | 0.070 |
| U²Net | 0.676 | 0.082 |
| BASNet | 0.664 | 0.092 |
| HRNet | 0.658 | 0.087 |
Table 4 of the BiRefNet study compares predicted masks against labeled foregrounds at a 1024 × 1024 input size. Higher weighted F rewards better foreground separation. Lower mean absolute error means fewer pixel-level deviations. Transparent glass and soft alpha edges need a dedicated matting test. The commercial Ideogram Background Remover has no score in this study.
How to test background remover results on your own image
Fine hair, fabric fringe and the space inside a handle are useful checks on a cutout. Place the transparent export over both charcoal and white. A thin fringe that disappears on one background often becomes obvious on the other.