{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2604-18256","title":"Domain-Specialized Object Detection via Model-Level Mixtures of Experts","arxiv_id":"2604.18256","date":"2026-04-20","proceeding":null,"authors":["Svetlana Pavlitska","Malte Stüven","Beyza Keskin","J. Marius Zöllner"],"abstract":"Mixture-of-Experts (MoE) models provide a structured approach to combining specialized neural networks and offer greater interpretability than conventional ensembles. While MoEs have been successfully applied to image classification and semantic segmentation, their use in object detection remains limited due to challenges in merging dense and structured predictions. In this work, we investigate model-level mixtures of object detectors and analyze their suitability for improving performance and interpretability in object detection. We propose an MoE architecture that combines YOLO-based detectors trained on semantically disjoint data subsets, with a learned gating network that dynamically weights expert contributions. We study different strategies for fusing detection outputs and for training the gating mechanism, including balancing losses to prevent expert collapse. Experiments on the BDD100K dataset demonstrate that the proposed MoE consistently outperforms standard ensemble approaches and provides insights into expert specialization across domains, highlighting model-level MoEs as a viable alternative to traditional ensembling for object detection. Our code is available at https://github.com/KASTEL-MobilityLab/mixtures-of-experts/.","url_abs":"https://arxiv.org/abs/2604.18256","url_pdf":"https://arxiv.org/pdf/2604.18256","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2604.18256","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.18256"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts","reach":null}],"summary":{"ran":8,"ran_honours":1,"unverified":9},"by_repo_kind":{"found_in_text":{"samples":18,"ran":9,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"812298b801d761c6","entry":"ConvBNReLU","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"812298b801d761c6"}},{"code_sha256_prefix":"9c9ca2075f9a3d96","entry":"DeepLabHead","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"9c9ca2075f9a3d96"}},{"code_sha256_prefix":"099d3c2266187c4d","entry":"DeepLabHeadV3Plus","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"099d3c2266187c4d"}},{"code_sha256_prefix":"41bf8aeacc8eac87","entry":"IntermediateLayerGetter","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"41bf8aeacc8eac87"}},{"code_sha256_prefix":"bc58b67edb3fdec6","entry":"InvertedResidual","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"bc58b67edb3fdec6"}},{"code_sha256_prefix":"1727c1564edd95d3","entry":"MobileNetV2","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"1727c1564edd95d3"}},{"code_sha256_prefix":"1de3b6c8e724f7b9","entry":"_SimpleSegmentationModel","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"1de3b6c8e724f7b9"}},{"code_sha256_prefix":"dd6bf6a43c8bc322","entry":"fixed_padding","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd6bf6a43c8bc322"}},{"code_sha256_prefix":"cf396390034ec030","entry":"make_gate_layer","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"cf396390034ec030"}},{"code_sha256_prefix":"8c10fedee403898b","entry":"DeepLabV3","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"8c10fedee403898b"}},{"code_sha256_prefix":"ae876182ac390b6c","entry":"GateLayerClasswise","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"ae876182ac390b6c"}},{"code_sha256_prefix":"3185b3831311c05d","entry":"GateLayerSimple","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"3185b3831311c05d"}},{"code_sha256_prefix":"673afb68f4ec8289","entry":"MoE","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"673afb68f4ec8289"}},{"code_sha256_prefix":"ad8761e2932df420","entry":"_load_model","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"ad8761e2932df420"}},{"code_sha256_prefix":"faafa41e6afbb2bb","entry":"_segm_hrnet","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"faafa41e6afbb2bb"}},{"code_sha256_prefix":"cdbbfcc8e3bd9f5f","entry":"_segm_mobilenet","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"cdbbfcc8e3bd9f5f"}},{"code_sha256_prefix":"c62e7a2beb825add","entry":"_segm_resnet","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"c62e7a2beb825add"}},{"code_sha256_prefix":"6c6395d61f50c6c0","entry":"mobilenet_v2","repo":"KASTEL-MobilityLab/mixtures-of-experts","repo_kind":"found_in_text","path":"models/deeplab_moe.py","file_url":"https://github.com/KASTEL-MobilityLab/mixtures-of-experts/blob/HEAD/models/deeplab_moe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT-0","inline_ok":true,"mcp_get_code":{"code_sha256":"6c6395d61f50c6c0"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}