withoutBG Open-Weight Model vs BiRefNet General

37 examples, 37 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.070630.06476
MAE (Overall Accuracy)0.064320.05694
Connectivity0.064060.05636
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.11187
MAE
0.02393
Conn.
0.02366
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.07491
MAE
0.20595
Conn.
0.20605
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.07847
MAE
0.01629
Conn.
0.01623
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.01863
MAE
0.00476
Conn.
0.00413
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.04704
MAE
0.00841
Conn.
0.00826
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.04385
MAE
0.01141
Conn.
0.01000
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.03629
MAE
0.01250
Conn.
0.01173
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.12069
MAE
0.01999
Conn.
0.01970
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.04500
MAE
0.00749
Conn.
0.00713
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.02821
MAE
0.00834
Conn.
0.00806
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.06872
MAE
0.01673
Conn.
0.01649
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.06195
MAE
0.01177
Conn.
0.01189
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.02073
MAE
0.00482
Conn.
0.00464
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.06311
MAE
0.01859
Conn.
0.01844
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.11979
MAE
0.02627
Conn.
0.02612
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.02311
MAE
0.00796
Conn.
0.00769
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.01507
MAE
0.00650
Conn.
0.00573
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.09111
MAE
0.01771
Conn.
0.01754
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.05274
MAE
0.02840
Conn.
0.02826
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.37456
MAE
0.49888
Conn.
0.49455
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.05988
MAE
0.01390
Conn.
0.01386
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.01330
MAE
0.00272
Conn.
0.00254
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.02282
MAE
0.00565
Conn.
0.00489
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.07366
MAE
0.01213
Conn.
0.01216
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.03789
MAE
0.02922
Conn.
0.03011
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.02475
MAE
0.00395
Conn.
0.00373
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.01271
MAE
0.00301
Conn.
0.00277
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.02503
MAE
0.00752
Conn.
0.00688
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.03017
MAE
0.00736
Conn.
0.00695
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.04226
MAE
0.01824
Conn.
0.01716
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
0.28577
MAE
0.93281
Conn.
0.93738
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.11198
MAE
0.02944
Conn.
0.02949
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.17475
MAE
0.02962
Conn.
0.02905
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.11440
MAE
0.29795
Conn.
0.29837
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.03113
MAE
0.00814
Conn.
0.00763
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.03992
MAE
0.01483
Conn.
0.01451
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.01719
MAE
0.00674
Conn.
0.00642
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.