{"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/profit-a-novel-training-method-for-sub-4-bit","title":"PROFIT: A Novel Training Method for sub-4-bit MobileNet Models","arxiv_id":"2008.04693","date":"2020-08-11","proceeding":"ECCV 2020 8","authors":["Eunhyeok Park","Sungjoo Yoo"],"abstract":"4-bit and lower precision mobile models are required due to the ever-increasing demand for better energy efficiency in mobile devices. In this work, we report that the activation instability induced by weight quantization (AIWQ) is the key obstacle to sub-4-bit quantization of mobile networks. To alleviate the AIWQ problem, we propose a novel training method called PROgressive-Freezing Iterative Training (PROFIT), which attempts to freeze layers whose weights are affected by the instability problem stronger than the other layers. We also propose a differentiable and unified quantization method (DuQ) and a negative padding idea to support asymmetric activation functions such as h-swish. We evaluate the proposed methods by quantizing MobileNet-v1, v2, and v3 on ImageNet and report that 4-bit quantization offers comparable (within 1.48 % top-1 accuracy) accuracy to full precision baseline. In the ablation study of the 3-bit quantization of MobileNet-v3, our proposed method outperforms the state-of-the-art method by a large margin, 12.86 % of top-1 accuracy.","url_abs":"https://arxiv.org/abs/2008.04693v1","url_pdf":"https://arxiv.org/pdf/2008.04693v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"profit-a-novel-training-method-for-sub-4-bit","repo_url":"https://github.com/EunhyeokPark/PROFIT","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"quantization","task_name":"Quantization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2008.04693","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2008.04693"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/EunhyeokPark/PROFIT","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"samples":8,"ran":0,"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":"e671e700a2be3290","entry":"categorize_param","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"train_ts.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/train_ts.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":"e671e700a2be3290"}},{"code_sha256_prefix":"7084408d2afa5563","entry":"ch_8x","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"conv_model/ilsvrc/MobileNetV3Large_pad_quant.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/conv_model/ilsvrc/MobileNetV3Large_pad_quant.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":"7084408d2afa5563"}},{"code_sha256_prefix":"1f7a778aac88a931","entry":"get_loader","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"my_lib/imagenet.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/my_lib/imagenet.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":"1f7a778aac88a931"}},{"code_sha256_prefix":"2ebbfa358e20f645","entry":"get_nonlinear","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"conv_model/ilsvrc/MobileNetV3Large_pad_quant.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/conv_model/ilsvrc/MobileNetV3Large_pad_quant.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":"2ebbfa358e20f645"}},{"code_sha256_prefix":"4ae339455c1506ee","entry":"get_optimizer","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"train_ts.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/train_ts.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":"4ae339455c1506ee"}},{"code_sha256_prefix":"8a0e3fe4a3562722","entry":"get_quant","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"conv_model/ilsvrc/MobileNetV3Large_pad_quant.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/conv_model/ilsvrc/MobileNetV3Large_pad_quant.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":"8a0e3fe4a3562722"}},{"code_sha256_prefix":"ba91e9b63946d0c1","entry":"mobilenet_v2","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"conv_model/ilsvrc/MobileNetV2_quant.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/conv_model/ilsvrc/MobileNetV2_quant.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":"ba91e9b63946d0c1"}},{"code_sha256_prefix":"6fb29cca2f452c3c","entry":"phase_prefix","repo":"EunhyeokPark/PROFIT","repo_kind":"official","path":"train_ts.py","file_url":"https://github.com/EunhyeokPark/PROFIT/blob/HEAD/train_ts.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":"6fb29cca2f452c3c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}