MHFNet: Multi-Hypothesis Fusion Network for Dichotomous Image Segmentation
Paper โข 2611.38399 โข Published
Run typealias/BEN3-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/typealias/BEN3-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/typealias/BEN3-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use typealias/BEN3-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download typealias/BEN3-MLX --local-dir BEN3-MLX
Native MLX / MLX Swift safetensors conversion and mobile 4-bit quantization of PramaLLC/BEN3 (DINOv3 ViT-B/16 encoder + DPT multi-hypothesis segmentation head).
| File | Quantization | Size | Mask MAE vs FP16 | IoU vs FP16 |
|---|---|---|---|---|
ben3-q4.safetensors |
4-bit MLX affine (group_size=64) on 72 DINOv3 encoder linear layers; FP16 DPT decoder; FP32 BatchNorm |
105 MiB | 0.00026 | 0.9989 |
ben3-fp16.safetensors |
FP16 weights; FP32 BatchNorm running statistics | 222 MiB | reference | reference |
Original PyTorch checkpoint ben3.pth is 464 MB FP32. ben3-q4.safetensors reduces on-disk and unified memory footprint by 4.4ร for iOS and macOS deployment while preserving full FP16 Conv2d/ConvTranspose2d precision in the DPT alpha-matting head.
OIHW for Conv2d, IOHW for ConvTranspose2d) and transposed to MLX NHWC at load time.num_batches_tracked counters are stripped; BatchNorm running_mean, running_var, weight, and bias remain in FP32.QuantizedLinear (weight uint32, scales float16, biases float16, mode="affine", group_size=64, bits=4).Derived from PramaLLC/BEN3 under the MIT License.
@misc{meyer2026mhfnetmultihypothesisfusionnetwork,
title={MHFNet: Multi-Hypothesis Fusion Network for Dichotomous Image Segmentation},
author={Maxwell Meyer and Jack Spruyt},
year={2026},
eprint={2611.38399},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2611.38399}
}
4-bit
Base model
PramaLLC/BEN3