{"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-2508-20488","title":"Adaptive Dual Uncertainty Optimization: Boosting Monocular 3D Object Detection under Test-Time Shifts","arxiv_id":"2508.20488","date":"2025-08-28","proceeding":"ICCV","authors":["Zixuan Hu","Dongxiao Li","Xinzhu Ma","Shixiang Tang","Xiaotong Li","Wenhan Yang","Ling-Yu Duan"],"abstract":"Accurate monocular 3D object detection (M3OD) is pivotal for safety-critical applications like autonomous driving, yet its reliability deteriorates significantly under real-world domain shifts caused by environmental or sensor variations. To address these shifts, Test-Time Adaptation (TTA) methods have emerged, enabling models to adapt to target distributions during inference. While prior TTA approaches recognize the positive correlation between low uncertainty and high generalization ability, they fail to address the dual uncertainty inherent to M3OD: semantic uncertainty (ambiguous class predictions) and geometric uncertainty (unstable spatial localization). To bridge this gap, we propose Dual Uncertainty Optimization (DUO), the first TTA framework designed to jointly minimize both uncertainties for robust M3OD. Through a convex optimization lens, we introduce an innovative convex structure of the focal loss and further derive a novel unsupervised version, enabling label-agnostic uncertainty weighting and balanced learning for high-uncertainty objects. In parallel, we design a semantic-aware normal field constraint that preserves geometric coherence in regions with clear semantic cues, reducing uncertainty from the unstable 3D representation. This dual-branch mechanism forms a complementary loop: enhanced spatial perception improves semantic classification, and robust semantic predictions further refine spatial understanding. Extensive experiments demonstrate the superiority of DUO over existing methods across various datasets and domain shift types.","url_abs":"https://arxiv.org/abs/2508.20488","url_pdf":"https://arxiv.org/pdf/2508.20488","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=2508.20488","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2508.20488"}},"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/hzcar/DUO","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":5,"ran":2,"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":"6cbf46794989b731","entry":"cat","repo":"hzcar/DUO","repo_kind":"found_in_text","path":"MonoFlex-KITTI/model/utils.py","file_url":"https://github.com/hzcar/DUO/blob/HEAD/MonoFlex-KITTI/model/utils.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6cbf46794989b731"}},{"code_sha256_prefix":"5a951495ac113177","entry":"strip_prefix_if_present","repo":"hzcar/DUO","repo_kind":"found_in_text","path":"MonoFlex-KITTI/utils/model_serialization.py","file_url":"https://github.com/hzcar/DUO/blob/HEAD/MonoFlex-KITTI/utils/model_serialization.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5a951495ac113177"}},{"code_sha256_prefix":"65a16c264996059d","entry":"affine_transform","repo":"hzcar/DUO","repo_kind":"found_in_text","path":"MonoFlex-KITTI/model/heatmap_coder.py","file_url":"https://github.com/hzcar/DUO/blob/HEAD/MonoFlex-KITTI/model/heatmap_coder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65a16c264996059d"}},{"code_sha256_prefix":"c044d44b5a7087e4","entry":"gaussian_radius","repo":"hzcar/DUO","repo_kind":"found_in_text","path":"MonoFlex-KITTI/model/heatmap_coder.py","file_url":"https://github.com/hzcar/DUO/blob/HEAD/MonoFlex-KITTI/model/heatmap_coder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c044d44b5a7087e4"}},{"code_sha256_prefix":"194052ec40659a42","entry":"get_transfrom_matrix","repo":"hzcar/DUO","repo_kind":"found_in_text","path":"MonoFlex-KITTI/model/heatmap_coder.py","file_url":"https://github.com/hzcar/DUO/blob/HEAD/MonoFlex-KITTI/model/heatmap_coder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"194052ec40659a42"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_api"},"syntology_extracted_results":null}