{"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/ced-consistent-ensemble-distillation-for","title":"CED: Consistent ensemble distillation for audio tagging","arxiv_id":"2308.11957","date":"2023-08-23","proceeding":null,"authors":["Heinrich Dinkel","Yongqing Wang","Zhiyong Yan","Junbo Zhang","Yujun Wang"],"abstract":"Augmentation and knowledge distillation (KD) are well-established techniques employed in audio classification tasks, aimed at enhancing performance and reducing model sizes on the widely recognized Audioset (AS) benchmark. Although both techniques are effective individually, their combined use, called consistent teaching, hasn't been explored before. This paper proposes CED, a simple training framework that distils student models from large teacher ensembles with consistent teaching. To achieve this, CED efficiently stores logits as well as the augmentation methods on disk, making it scalable to large-scale datasets. Central to CED's efficacy is its label-free nature, meaning that only the stored logits are used for the optimization of a student model only requiring 0.3\\% additional disk space for AS. The study trains various transformer-based models, including a 10M parameter model achieving a 49.0 mean average precision (mAP) on AS. Pretrained models and code are available at https://github.com/RicherMans/CED.","url_abs":"https://arxiv.org/abs/2308.11957v2","url_pdf":"https://arxiv.org/pdf/2308.11957v2.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"ced-consistent-ensemble-distillation-for","repo_url":"https://github.com/richermans/ced","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2308.11957","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2308.11957"}},"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/richermans/ced","reach":{"status":"ok","spdx":"GPL-3.0"}}],"summary":{"ran":12,"ran_fixture":1,"unverified":1},"by_repo_kind":{"official":{"samples":14,"ran":13,"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":14,"samples":[{"code_sha256_prefix":"5d42801640e38482","entry":"amp_to_db","repo":"richermans/ced","repo_kind":"official","path":"onnx_inference_with_torchaudio.py","file_url":"https://github.com/richermans/ced/blob/HEAD/onnx_inference_with_torchaudio.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"5d42801640e38482"}},{"code_sha256_prefix":"cb2127cd67de49bf","entry":"build_mdl","repo":"richermans/ced","repo_kind":"official","path":"models/checkpoints.py","file_url":"https://github.com/richermans/ced/blob/HEAD/models/checkpoints.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"cb2127cd67de49bf"}},{"code_sha256_prefix":"87577b3ff9d32712","entry":"drop_path","repo":"richermans/ced","repo_kind":"official","path":"models/layers.py","file_url":"https://github.com/richermans/ced/blob/HEAD/models/layers.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"87577b3ff9d32712"}},{"code_sha256_prefix":"2cfe6e3621cfb0e4","entry":"forward_spec","repo":"richermans/ced","repo_kind":"official","path":"save_logits.py","file_url":"https://github.com/richermans/ced/blob/HEAD/save_logits.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"2cfe6e3621cfb0e4"}},{"code_sha256_prefix":"39e77160a6fe26ff","entry":"forward_spec_amp","repo":"richermans/ced","repo_kind":"official","path":"save_logits.py","file_url":"https://github.com/richermans/ced/blob/HEAD/save_logits.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"39e77160a6fe26ff"}},{"code_sha256_prefix":"7c8fe0a2f7369b07","entry":"mixup","repo":"richermans/ced","repo_kind":"official","path":"utils.py","file_url":"https://github.com/richermans/ced/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"7c8fe0a2f7369b07"}},{"code_sha256_prefix":"f79c5ee46dcd36be","entry":"mixup_criterion","repo":"richermans/ced","repo_kind":"official","path":"utils.py","file_url":"https://github.com/richermans/ced/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"f79c5ee46dcd36be"}},{"code_sha256_prefix":"147722b80afbcb70","entry":"mixup_simple","repo":"richermans/ced","repo_kind":"official","path":"utils.py","file_url":"https://github.com/richermans/ced/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"147722b80afbcb70"}},{"code_sha256_prefix":"20f5dddf368b8f00","entry":"pad","repo":"richermans/ced","repo_kind":"official","path":"dataset.py","file_url":"https://github.com/richermans/ced/blob/HEAD/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"20f5dddf368b8f00"}},{"code_sha256_prefix":"9316faed0dbfae6e","entry":"sequential_pad","repo":"richermans/ced","repo_kind":"official","path":"dataset.py","file_url":"https://github.com/richermans/ced/blob/HEAD/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"9316faed0dbfae6e"}},{"code_sha256_prefix":"fbba7d37ada0f65f","entry":"sequential_pad_logits","repo":"richermans/ced","repo_kind":"official","path":"dataset.py","file_url":"https://github.com/richermans/ced/blob/HEAD/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"fbba7d37ada0f65f"}},{"code_sha256_prefix":"01a8fe68c38dbac5","entry":"to_2tuple","repo":"richermans/ced","repo_kind":"official","path":"models/layers.py","file_url":"https://github.com/richermans/ced/blob/HEAD/models/layers.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"01a8fe68c38dbac5"}},{"code_sha256_prefix":"b8670a5e0ac9acd7","entry":"trunc_normal_","repo":"richermans/ced","repo_kind":"official","path":"models/layers.py","file_url":"https://github.com/richermans/ced/blob/HEAD/models/layers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b8670a5e0ac9acd7"}},{"code_sha256_prefix":"9264a154be38fcdb","entry":"register_model","repo":"richermans/ced","repo_kind":"official","path":"models/checkpoints.py","file_url":"https://github.com/richermans/ced/blob/HEAD/models/checkpoints.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"9264a154be38fcdb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}