withoutBG Open-Weight Model vs BiRefNet General

37 examples, 36 with ground truth. Lower is better. Use the view controls on each row to switch between transparency, chroma key, and alpha matte on all outputs.

MetricwithoutBG Open-Weight ModelBiRefNet General
MGE (Edge Quality)0.03887 ✓0.05403
MAE (Overall Accuracy)0.03281 ✓0.03333
Connectivity0.03238 ✓0.03260
Original photo: autumn bouquet vase
Ground Truth alpha matte: autumn bouquet vase
Alpha matte
withoutBG Open-Weight Model alpha matte: autumn bouquet vase
Alpha matte
BiRefNet General alpha matte: autumn bouquet vase
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03827✓
MAE
0.00801✓
Conn.
0.00745✓
BiRefNet General
MGE
0.05164
MAE
0.01051
Conn.
0.00860
Original photo: balcony flower planter bokeh
Ground Truth alpha matte: balcony flower planter bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: balcony flower planter bokeh
Alpha matte
BiRefNet General alpha matte: balcony flower planter bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02810✓
MAE
0.02909✓
Conn.
0.02904✓
BiRefNet General
MGE
0.06089
MAE
0.03207
Conn.
0.03135
Original photo: balcony plant bokeh
Ground Truth alpha matte: balcony plant bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: balcony plant bokeh
Alpha matte
BiRefNet General alpha matte: balcony plant bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03931✓
MAE
0.01038✓
Conn.
0.01018✓
BiRefNet General
MGE
0.06130
MAE
0.01128
Conn.
0.01096
Original photo: bearded man portrait
Ground Truth alpha matte: bearded man portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: bearded man portrait
Alpha matte
BiRefNet General alpha matte: bearded man portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01556✓
MAE
0.00499✓
Conn.
0.00447✓
BiRefNet General
MGE
0.01673
MAE
0.00895
Conn.
0.00713
Original photo: bike handlebar near beach
Ground Truth alpha matte: bike handlebar near beach
Alpha matte
withoutBG Open-Weight Model alpha matte: bike handlebar near beach
Alpha matte
BiRefNet General alpha matte: bike handlebar near beach
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01735✓
MAE
0.00687✓
Conn.
0.00668✓
BiRefNet General
MGE
0.02841
MAE
0.00747
Conn.
0.00708
Original photo: blowing dandelion seeds
Ground Truth alpha matte: blowing dandelion seeds
Alpha matte
withoutBG Open-Weight Model alpha matte: blowing dandelion seeds
Alpha matte
BiRefNet General alpha matte: blowing dandelion seeds
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03203✓
MAE
0.01223✓
Conn.
0.01087✓
BiRefNet General
MGE
0.04911
MAE
0.01525
Conn.
0.01362
Original photo: campfire flames night
Ground Truth alpha matte: campfire flames night
Alpha matte
withoutBG Open-Weight Model alpha matte: campfire flames night
Alpha matte
BiRefNet General alpha matte: campfire flames night
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01712✓
MAE
0.01079✓
Conn.
0.01024✓
BiRefNet General
MGE
0.03878
MAE
0.01145
Conn.
0.01170
Original photo: cargo ebike park tracks
Ground Truth alpha matte: cargo ebike park tracks
Alpha matte
withoutBG Open-Weight Model alpha matte: cargo ebike park tracks
Alpha matte
BiRefNet General alpha matte: cargo ebike park tracks
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.06369✓
MAE
0.01273✓
Conn.
0.01265✓
BiRefNet General
MGE
0.08066
MAE
0.01395
Conn.
0.01311
Original photo: compound leaf raindrops
Ground Truth alpha matte: compound leaf raindrops
Alpha matte
withoutBG Open-Weight Model alpha matte: compound leaf raindrops
Alpha matte
BiRefNet General alpha matte: compound leaf raindrops
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02636
MAE
0.00503
Conn.
0.00479
BiRefNet General
MGE
0.02619✓
MAE
0.00475✓
Conn.
0.00359✓
Original photo: confetti sunset portrait
Ground Truth alpha matte: confetti sunset portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: confetti sunset portrait
Alpha matte
BiRefNet General alpha matte: confetti sunset portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01869✓
MAE
0.00816✓
Conn.
0.00786✓
BiRefNet General
MGE
0.03370
MAE
0.01148
Conn.
0.01015
Original photo: cyclist motion blur field
Ground Truth alpha matte: cyclist motion blur field
Alpha matte
withoutBG Open-Weight Model alpha matte: cyclist motion blur field
Alpha matte
BiRefNet General alpha matte: cyclist motion blur field
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02853✓
MAE
0.00936✓
Conn.
0.00923✓
BiRefNet General
MGE
0.07350
MAE
0.01472
Conn.
0.01452
Original photo: dried flowers clay vase
Ground Truth alpha matte: dried flowers clay vase
Alpha matte
withoutBG Open-Weight Model alpha matte: dried flowers clay vase
Alpha matte
BiRefNet General alpha matte: dried flowers clay vase
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.04587✓
MAE
0.01240
Conn.
0.01258
BiRefNet General
MGE
0.04902
MAE
0.00965✓
Conn.
0.00845✓
Original photo: elderly man running blur
Ground Truth alpha matte: elderly man running blur
Alpha matte
withoutBG Open-Weight Model alpha matte: elderly man running blur
Alpha matte
BiRefNet General alpha matte: elderly man running blur
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01224✓
MAE
0.00520
Conn.
0.00515
BiRefNet General
MGE
0.01263
MAE
0.00370✓
Conn.
0.00266✓
Original photo: grass seed stem bokeh
Ground Truth alpha matte: grass seed stem bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: grass seed stem bokeh
Alpha matte
BiRefNet General alpha matte: grass seed stem bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03009✓
MAE
0.01084
Conn.
0.01069
BiRefNet General
MGE
0.04433
MAE
0.00942✓
Conn.
0.00934✓
Original photo: hanging plant window
Ground Truth alpha matte: hanging plant window
Alpha matte
withoutBG Open-Weight Model alpha matte: hanging plant window
Alpha matte
BiRefNet General alpha matte: hanging plant window
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.04795✓
MAE
0.01123✓
Conn.
0.01103✓
BiRefNet General
MGE
0.07464
MAE
0.01590
Conn.
0.01520
Original photo: messy bun cityscape
Ground Truth alpha matte: messy bun cityscape
Alpha matte
withoutBG Open-Weight Model alpha matte: messy bun cityscape
Alpha matte
BiRefNet General alpha matte: messy bun cityscape
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01477✓
MAE
0.00731✓
Conn.
0.00697✓
BiRefNet General
MGE
0.01940
MAE
0.00869
Conn.
0.00767
Original photo: messy hair bearded portrait
Ground Truth alpha matte: messy hair bearded portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: messy hair bearded portrait
Alpha matte
BiRefNet General alpha matte: messy hair bearded portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01251✓
MAE
0.00568✓
Conn.
0.00480✓
BiRefNet General
MGE
0.01867
MAE
0.01305
Conn.
0.01152
Original photo: orange berries branch
Ground Truth alpha matte: orange berries branch
Alpha matte
withoutBG Open-Weight Model alpha matte: orange berries branch
Alpha matte
BiRefNet General alpha matte: orange berries branch
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.05039✓
MAE
0.02393
Conn.
0.02378
BiRefNet General
MGE
0.08035
MAE
0.02283✓
Conn.
0.02099✓
Original photo: red flower balcony bokeh
Ground Truth alpha matte: red flower balcony bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: red flower balcony bokeh
Alpha matte
BiRefNet General alpha matte: red flower balcony bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03115
MAE
0.01899
Conn.
0.01896
BiRefNet General
MGE
0.02727✓
MAE
0.00459✓
Conn.
0.00401✓
Original photo: rocky coast bush foreground
Ground Truth alpha matte: rocky coast bush foreground
Alpha matte
withoutBG Open-Weight Model alpha matte: rocky coast bush foreground
Alpha matte
BiRefNet General alpha matte: rocky coast bush foreground
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.37414
MAE
0.49631
Conn.
0.49210
BiRefNet General
MGE
0.34795✓
MAE
0.46062✓
Conn.
0.47012✓
Original photo: small fishing boat bw
Ground Truth alpha matte: small fishing boat bw
Alpha matte
withoutBG Open-Weight Model alpha matte: small fishing boat bw
Alpha matte
BiRefNet General alpha matte: small fishing boat bw
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02245✓
MAE
0.00523✓
Conn.
0.00503✓
BiRefNet General
MGE
0.03023
MAE
0.00675
Conn.
0.00548
Original photo: smiling man seaside sunset
Ground Truth alpha matte: smiling man seaside sunset
Alpha matte
withoutBG Open-Weight Model alpha matte: smiling man seaside sunset
Alpha matte
BiRefNet General alpha matte: smiling man seaside sunset
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.00932✓
MAE
0.00731✓
Conn.
0.00723
BiRefNet General
MGE
0.01159
MAE
0.00830
Conn.
0.00688✓
Original photo: smiling woman seaside
Ground Truth alpha matte: smiling woman seaside
Alpha matte
withoutBG Open-Weight Model alpha matte: smiling woman seaside
Alpha matte
BiRefNet General alpha matte: smiling woman seaside
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01754✓
MAE
0.00608✓
Conn.
0.00528
BiRefNet General
MGE
0.01939
MAE
0.00754
Conn.
0.00501✓
Original photo: spoked bike wheel
Ground Truth alpha matte: spoked bike wheel
Alpha matte
withoutBG Open-Weight Model alpha matte: spoked bike wheel
Alpha matte
BiRefNet General alpha matte: spoked bike wheel
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03535✓
MAE
0.00615✓
Conn.
0.00610✓
BiRefNet General
MGE
0.05645
MAE
0.00930
Conn.
0.00850
Original photo: sprinter motion blur
Ground Truth alpha matte: sprinter motion blur
Alpha matte
withoutBG Open-Weight Model alpha matte: sprinter motion blur
Alpha matte
BiRefNet General alpha matte: sprinter motion blur
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01507✓
MAE
0.02355
Conn.
0.02418
BiRefNet General
MGE
0.03070
MAE
0.01848✓
Conn.
0.01790✓
Original photo: street dancer studio pose
Ground Truth alpha matte: street dancer studio pose
Alpha matte
withoutBG Open-Weight Model alpha matte: street dancer studio pose
Alpha matte
BiRefNet General alpha matte: street dancer studio pose
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01807
MAE
0.00420
Conn.
0.00401
BiRefNet General
MGE
0.01599✓
MAE
0.00337✓
Conn.
0.00219✓
Original photo: street portrait man
Ground Truth alpha matte: street portrait man
Alpha matte
withoutBG Open-Weight Model alpha matte: street portrait man
Alpha matte
BiRefNet General alpha matte: street portrait man
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01089
MAE
0.00275✓
Conn.
0.00248✓
BiRefNet General
MGE
0.01045✓
MAE
0.00402
Conn.
0.00262
Original photo: sunset field portrait
Ground Truth alpha matte: sunset field portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: sunset field portrait
Alpha matte
BiRefNet General alpha matte: sunset field portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01419✓
MAE
0.00609✓
Conn.
0.00537✓
BiRefNet General
MGE
0.02125
MAE
0.00843
Conn.
0.00666
Original photo: tabby cat portrait
Ground Truth alpha matte: tabby cat portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: tabby cat portrait
Alpha matte
BiRefNet General alpha matte: tabby cat portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02140✓
MAE
0.00739✓
Conn.
0.00718✓
BiRefNet General
MGE
0.05709
MAE
0.02184
Conn.
0.02052
Original photo: terrier dog mugshot
Ground Truth alpha matte: terrier dog mugshot
Alpha matte
withoutBG Open-Weight Model alpha matte: terrier dog mugshot
Alpha matte
BiRefNet General alpha matte: terrier dog mugshot
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03300✓
MAE
0.01786✓
Conn.
0.01614✓
BiRefNet General
MGE
0.08856
MAE
0.06629
Conn.
0.06887
Original photo: trigonometry notes whiteboard
Ground Truth alpha matte: trigonometry notes whiteboard
Alpha matte
withoutBG Open-Weight Model alpha matte: trigonometry notes whiteboard
Alpha matte
BiRefNet General alpha matte: trigonometry notes whiteboard
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
?
MAE
?
Conn.
?
BiRefNet General
MGE
0.45101
MAE
0.90677
Conn.
0.91173
Original photo: two bikes field
Ground Truth alpha matte: two bikes field
Alpha matte
withoutBG Open-Weight Model alpha matte: two bikes field
Alpha matte
BiRefNet General alpha matte: two bikes field
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.06131✓
MAE
0.09372
Conn.
0.09310
BiRefNet General
MGE
0.12912
MAE
0.08314✓
Conn.
0.08233✓
Original photo: two gravel bikes park
Ground Truth alpha matte: two gravel bikes park
Alpha matte
withoutBG Open-Weight Model alpha matte: two gravel bikes park
Alpha matte
BiRefNet General alpha matte: two gravel bikes park
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.09468✓
MAE
0.01882✓
Conn.
0.01849✓
BiRefNet General
MGE
0.12194
MAE
0.02224
Conn.
0.02147
Original photo: white chess pieces tournament
Ground Truth alpha matte: white chess pieces tournament
Alpha matte
withoutBG Open-Weight Model alpha matte: white chess pieces tournament
Alpha matte
BiRefNet General alpha matte: white chess pieces tournament
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.04716✓
MAE
0.24497
Conn.
0.24520
BiRefNet General
MGE
0.06271
MAE
0.21489✓
Conn.
0.21447✓
Original photo: windblown curly hair backpack
Ground Truth alpha matte: windblown curly hair backpack
Alpha matte
withoutBG Open-Weight Model alpha matte: windblown curly hair backpack
Alpha matte
BiRefNet General alpha matte: windblown curly hair backpack
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01980✓
MAE
0.00724✓
Conn.
0.00659✓
BiRefNet General
MGE
0.03058
MAE
0.00983
Conn.
0.00802
Original photo: windblown curly portrait
Ground Truth alpha matte: windblown curly portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: windblown curly portrait
Alpha matte
BiRefNet General alpha matte: windblown curly portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02499✓
MAE
0.01318✓
Conn.
0.01269✓
BiRefNet General
MGE
0.04706
MAE
0.01840
Conn.
0.01632
Original photo: woman street portrait glasses
Ground Truth alpha matte: woman street portrait glasses
Alpha matte
withoutBG Open-Weight Model alpha matte: woman street portrait glasses
Alpha matte
BiRefNet General alpha matte: woman street portrait glasses
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01003✓
MAE
0.00726
Conn.
0.00712
BiRefNet General
MGE
0.01689
MAE
0.00690✓
Conn.
0.00444✓

Methodology

  • Alpha mattes are grayscale masks encoding per-pixel foreground probability. They capture fine edge detail (hair, fur, semi-transparent regions) that binary masks discard.
  • Metrics are computed by comparing predicted mattes against a ground-truth reference: MGE measures edge sharpness, MAE measures pixel-level accuracy, and Connectivity penalises fragmented foreground regions. All three are lower-is-better.
  • Scores are shown as ? when no ground-truth matte is available for that image. See the alpha matting evaluation benchmark for details on the evaluation methodology.