BiRefNet General
Open weights · commercially permissiveLicense: MIT
BiRefNet DIS
Open weights · commercially permissiveLicense: MIT

birefnet-general vs birefnet-dis

Quantitative comparison: 33 images scored against ground-truth mattes. Lower is better. Use the view controls on each row to switch between transparency, chroma key, and alpha matte on all outputs.

Metricbirefnet-generalbirefnet-dis
MGE (Edge Quality)0.03384 ✓0.04146
MAE (Overall Accuracy)0.01691 ✓0.02280
Original photo: autumn bouquet vase
Ground Truth alpha matte: autumn bouquet vase
Alpha matte
birefnet-general alpha matte: autumn bouquet vase
Alpha matte
birefnet-dis alpha matte: autumn bouquet vase
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.03450✓
MAE
0.00754✓
birefnet-dis
MGE
0.04550
MAE
0.01642
Original photo: balcony flower planter bokeh
Ground Truth alpha matte: balcony flower planter bokeh
Alpha matte
birefnet-general alpha matte: balcony flower planter bokeh
Alpha matte
birefnet-dis alpha matte: balcony flower planter bokeh
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.03391✓
MAE
0.02906✓
birefnet-dis
MGE
0.03604
MAE
0.22217
Original photo: balcony plant bokeh
Ground Truth alpha matte: balcony plant bokeh
Alpha matte
birefnet-general alpha matte: balcony plant bokeh
Alpha matte
birefnet-dis alpha matte: balcony plant bokeh
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.03369✓
MAE
0.00657✓
birefnet-dis
MGE
0.03746
MAE
0.00662
Original photo: bearded man portrait
Ground Truth alpha matte: bearded man portrait
Alpha matte
birefnet-general alpha matte: bearded man portrait
Alpha matte
birefnet-dis alpha matte: bearded man portrait
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01534✓
MAE
0.00932✓
birefnet-dis
MGE
0.02634
MAE
0.01056
Original photo: bike handlebar near beach
Ground Truth alpha matte: bike handlebar near beach
Alpha matte
birefnet-general alpha matte: bike handlebar near beach
Alpha matte
birefnet-dis alpha matte: bike handlebar near beach
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01776
MAE
0.00662
birefnet-dis
MGE
0.01599✓
MAE
0.00271✓
Original photo: blowing dandelion seeds
Ground Truth alpha matte: blowing dandelion seeds
Alpha matte
birefnet-general alpha matte: blowing dandelion seeds
Alpha matte
birefnet-dis alpha matte: blowing dandelion seeds
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.05518✓
MAE
0.02445✓
birefnet-dis
MGE
0.07483
MAE
0.04380
Original photo: campfire flames night
Ground Truth alpha matte: campfire flames night
Alpha matte
birefnet-general alpha matte: campfire flames night
Alpha matte
birefnet-dis alpha matte: campfire flames night
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.02070✓
MAE
0.00960✓
birefnet-dis
MGE
0.02998
MAE
0.01103
Original photo: cargo ebike park tracks
Ground Truth alpha matte: cargo ebike park tracks
Alpha matte
birefnet-general alpha matte: cargo ebike park tracks
Alpha matte
birefnet-dis alpha matte: cargo ebike park tracks
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.06499
MAE
0.01274
birefnet-dis
MGE
0.06026✓
MAE
0.01152✓
Original photo: compound leaf raindrops
Ground Truth alpha matte: compound leaf raindrops
Alpha matte
birefnet-general alpha matte: compound leaf raindrops
Alpha matte
birefnet-dis alpha matte: compound leaf raindrops
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01420
MAE
0.00333✓
birefnet-dis
MGE
0.01367✓
MAE
0.00334
Original photo: confetti sunset portrait
Ground Truth alpha matte: confetti sunset portrait
Alpha matte
birefnet-general alpha matte: confetti sunset portrait
Alpha matte
birefnet-dis alpha matte: confetti sunset portrait
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.03582✓
MAE
0.01162✓
birefnet-dis
MGE
0.04528
MAE
0.01673
Original photo: dried flowers clay vase
Ground Truth alpha matte: dried flowers clay vase
Alpha matte
birefnet-general alpha matte: dried flowers clay vase
Alpha matte
birefnet-dis alpha matte: dried flowers clay vase
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.02967✓
MAE
0.00716✓
birefnet-dis
MGE
0.03743
MAE
0.00948
Original photo: elderly man running blur
Ground Truth alpha matte: elderly man running blur
Alpha matte
birefnet-general alpha matte: elderly man running blur
Alpha matte
birefnet-dis alpha matte: elderly man running blur
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01780
MAE
0.00511✓
birefnet-dis
MGE
0.01761✓
MAE
0.00529
Original photo: grass seed stem bokeh
Ground Truth alpha matte: grass seed stem bokeh
Alpha matte
birefnet-general alpha matte: grass seed stem bokeh
Alpha matte
birefnet-dis alpha matte: grass seed stem bokeh
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.02221✓
MAE
0.00778✓
birefnet-dis
MGE
0.02320
MAE
0.00779
Original photo: hanging plant window
Ground Truth alpha matte: hanging plant window
Alpha matte
birefnet-general alpha matte: hanging plant window
Alpha matte
birefnet-dis alpha matte: hanging plant window
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.04873✓
MAE
0.01122✓
birefnet-dis
MGE
0.05630
MAE
0.01530
Original photo: messy bun cityscape
Ground Truth alpha matte: messy bun cityscape
Alpha matte
birefnet-general alpha matte: messy bun cityscape
Alpha matte
birefnet-dis alpha matte: messy bun cityscape
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01818✓
MAE
0.00827✓
birefnet-dis
MGE
0.04128
MAE
0.01730
Original photo: messy hair bearded portrait
Ground Truth alpha matte: messy hair bearded portrait
Alpha matte
birefnet-general alpha matte: messy hair bearded portrait
Alpha matte
birefnet-dis alpha matte: messy hair bearded portrait
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01969✓
MAE
0.01374✓
birefnet-dis
MGE
0.03483
MAE
0.01725
Original photo: orange berries branch
Ground Truth alpha matte: orange berries branch
Alpha matte
birefnet-general alpha matte: orange berries branch
Alpha matte
birefnet-dis alpha matte: orange berries branch
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.05570✓
MAE
0.02558✓
birefnet-dis
MGE
0.06595
MAE
0.08214
Original photo: red flower balcony bokeh
Ground Truth alpha matte: red flower balcony bokeh
Alpha matte
birefnet-general alpha matte: red flower balcony bokeh
Alpha matte
birefnet-dis alpha matte: red flower balcony bokeh
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01467✓
MAE
0.00332✓
birefnet-dis
MGE
0.01894
MAE
0.01032
Original photo: small fishing boat bw
Ground Truth alpha matte: small fishing boat bw
Alpha matte
birefnet-general alpha matte: small fishing boat bw
Alpha matte
birefnet-dis alpha matte: small fishing boat bw
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.02090✓
MAE
0.00612✓
birefnet-dis
MGE
0.02501
MAE
0.00841
Original photo: smiling man seaside sunset
Ground Truth alpha matte: smiling man seaside sunset
Alpha matte
birefnet-general alpha matte: smiling man seaside sunset
Alpha matte
birefnet-dis alpha matte: smiling man seaside sunset
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.00619✓
MAE
0.00277✓
birefnet-dis
MGE
0.01158
MAE
0.00369
Original photo: smiling woman seaside
Ground Truth alpha matte: smiling woman seaside
Alpha matte
birefnet-general alpha matte: smiling woman seaside
Alpha matte
birefnet-dis alpha matte: smiling woman seaside
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01810✓
MAE
0.00714✓
birefnet-dis
MGE
0.03759
MAE
0.01204
Original photo: spoked bike wheel
Ground Truth alpha matte: spoked bike wheel
Alpha matte
birefnet-general alpha matte: spoked bike wheel
Alpha matte
birefnet-dis alpha matte: spoked bike wheel
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.03517✓
MAE
0.00648
birefnet-dis
MGE
0.03629
MAE
0.00646✓
Original photo: sprinter motion blur
Ground Truth alpha matte: sprinter motion blur
Alpha matte
birefnet-general alpha matte: sprinter motion blur
Alpha matte
birefnet-dis alpha matte: sprinter motion blur
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.02895✓
MAE
0.02783✓
birefnet-dis
MGE
0.03905
MAE
0.03521
Original photo: street dancer studio pose
Ground Truth alpha matte: street dancer studio pose
Alpha matte
birefnet-general alpha matte: street dancer studio pose
Alpha matte
birefnet-dis alpha matte: street dancer studio pose
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01442✓
MAE
0.00315✓
birefnet-dis
MGE
0.01781
MAE
0.00352
Original photo: street portrait man
Ground Truth alpha matte: street portrait man
Alpha matte
birefnet-general alpha matte: street portrait man
Alpha matte
birefnet-dis alpha matte: street portrait man
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01079✓
MAE
0.00372✓
birefnet-dis
MGE
0.02130
MAE
0.00597
Original photo: sunset field portrait
Ground Truth alpha matte: sunset field portrait
Alpha matte
birefnet-general alpha matte: sunset field portrait
Alpha matte
birefnet-dis alpha matte: sunset field portrait
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01879✓
MAE
0.00851✓
birefnet-dis
MGE
0.03999
MAE
0.01427
Original photo: tabby cat portrait
Ground Truth alpha matte: tabby cat portrait
Alpha matte
birefnet-general alpha matte: tabby cat portrait
Alpha matte
birefnet-dis alpha matte: tabby cat portrait
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.04204✓
MAE
0.07583
birefnet-dis
MGE
0.04338
MAE
0.01665✓
Original photo: terrier dog mugshot
Ground Truth alpha matte: terrier dog mugshot
Alpha matte
birefnet-general alpha matte: terrier dog mugshot
Alpha matte
birefnet-dis alpha matte: terrier dog mugshot
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.09392
MAE
0.06015
birefnet-dis
MGE
0.09150✓
MAE
0.03600✓
Original photo: two bikes field
Ground Truth alpha matte: two bikes field
Alpha matte
birefnet-general alpha matte: two bikes field
Alpha matte
birefnet-dis alpha matte: two bikes field
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.07979
MAE
0.09417
birefnet-dis
MGE
0.07932✓
MAE
0.01938✓
Original photo: two gravel bikes park
Ground Truth alpha matte: two gravel bikes park
Alpha matte
birefnet-general alpha matte: two gravel bikes park
Alpha matte
birefnet-dis alpha matte: two gravel bikes park
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.09319
MAE
0.01831✓
birefnet-dis
MGE
0.08536✓
MAE
0.01978
Original photo: windblown curly hair backpack
Ground Truth alpha matte: windblown curly hair backpack
Alpha matte
birefnet-general alpha matte: windblown curly hair backpack
Alpha matte
birefnet-dis alpha matte: windblown curly hair backpack
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.03339✓
MAE
0.01185✓
birefnet-dis
MGE
0.04881
MAE
0.01871
Original photo: windblown curly portrait
Ground Truth alpha matte: windblown curly portrait
Alpha matte
birefnet-general alpha matte: windblown curly portrait
Alpha matte
birefnet-dis alpha matte: windblown curly portrait
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.04978✓
MAE
0.01930✓
birefnet-dis
MGE
0.07559
MAE
0.02870
Original photo: woman street portrait glasses
Ground Truth alpha matte: woman street portrait glasses
Alpha matte
birefnet-general alpha matte: woman street portrait glasses
Alpha matte
birefnet-dis alpha matte: woman street portrait glasses
Alpha matte
Original
Ground Truth
birefnet-general
MGE
0.01854✓
MAE
0.00954✓
birefnet-dis
MGE
0.03457
MAE
0.01386

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 and MAE measures pixel-level accuracy. Both are lower-is-better.
  • Scored images come from Bench v0, where every image has a ground-truth matte. The benchmark page has the full methodology and per-image scores for every model (CSV / JSON).