Blog

BEN3 is live on the BackgroundErase API

Our newest foreground model replaces single-candidate selection with learned fusion—and is now serving every BackgroundErase API customer.

A dense moving foreground, separated by BEN3. Drag the divider.

BEN3 is finished and live on the BackgroundErase API. Every customer now gets the model we built to preserve more of the hard foreground: the strand, spoke, opening, and low-contrast boundary that smaller decisions tend to erase.

Its research name is MHFNet, for Multi-Hypothesis Fusion Network. The important change is simple: when the first stage proposes several plausible masks, BEN3 does not throw all but one away. It learns from the entire set.

01 / RELEASE

The production upgrade requires no new endpoint.

BEN3 now serves the existing BackgroundErase API workflow. Current customers can keep the same integration while receiving the new model’s foreground predictions. New customers can start with the API documentation or try representative images in the playground.

Fast curls reveal both missing strands and unstable boundaries quickly. Drag the divider.

02 / THE IDEA

Keep the alternatives. Learn where each one helps.

A multi-hypothesis generator produces three soft candidate masks. A selector can predict which candidate is best overall, but that reduces each dense mask to one quality score. The best hair boundary may be in one candidate while the most complete sleeve is in another.

BEN3 inference

RGBoriginal image
h₁h₂h₃candidate masks
MHFNetjoint spatial reasoning
ŷnew fused mask

BEN3 concatenates the RGB image with all three candidates, builds hierarchical features with a Swin Transformer, joins the deepest scales with cross-scale attention, and decodes a new mask from coarse structure back to fine detail.

03 / RESULTS

The strongest aggregate result in our DIS5K comparison.

Across six reported DIS5K partitions or aggregations and five evaluation measures, BEN3 is best or tied-best in 29 of 30 combinations in the paper. That is the basis for our “best” claim: the strongest aggregate performance among the representative methods evaluated under the paper’s protocol—not a claim about every dataset or every possible image.

0.905weighted F-measure on DIS-TE1–4
0.026mean absolute error, lower is better
0.861IoU after fusion versus 0.841 for predicted selection

Fusion recovers 62.5% of the gap between deployable predicted selection and the ground-truth best-of-three oracle. The oracle still scores higher, and BEN3 adds a second high-resolution inference stage. Both points are documented in the paper.

04 / VISUAL QUALITY

Metrics matter because the missing pixels are visible.

Weighted and structural measures reward coherent foreground recovery, but the release decision was not made from a table alone. We reviewed cases with thin components, openings, fine hair, and crowded scenes—the places where one local mistake changes the object.

Curly-haired portrait input
Input
BEN3 alpha prediction for curly hair
BEN3 alpha
BEN3 cutout preserving curly hair
Cutout

05 / READ AND BUILD

The research page has the full evidence.

The BEN3 research page includes the architecture, training objective, benchmark tables, selection-versus-fusion analysis, limitations, and more visual comparisons. The paper is available there as a PDF.