{"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/activation-map-compression-through-tensor","title":"Activation Map Compression through Tensor Decomposition for Deep Learning","arxiv_id":"2411.06346","date":"2024-11-10","proceeding":null,"authors":["Le-Trung Nguyen","Aël Quélennec","Enzo Tartaglione","Samuel Tardieu","Van-Tam Nguyen"],"abstract":"Internet of Things and Deep Learning are synergetically and exponentially growing industrial fields with a massive call for their unification into a common framework called Edge AI. While on-device inference is a well-explored topic in recent research, backpropagation remains an open challenge due to its prohibitive computational and memory costs compared to the extreme resource constraints of embedded devices. Drawing on tensor decomposition research, we tackle the main bottleneck of backpropagation, namely the memory footprint of activation map storage. We investigate and compare the effects of activation compression using Singular Value Decomposition and its tensor variant, High-Order Singular Value Decomposition. The application of low-order decomposition results in considerable memory savings while preserving the features essential for learning, and also offers theoretical guarantees to convergence. Experimental results obtained on main-stream architectures and tasks demonstrate Pareto-superiority over other state-of-the-art solutions, in terms of the trade-off between generalization and memory footprint.","url_abs":"https://arxiv.org/abs/2411.06346v1","url_pdf":"https://arxiv.org/pdf/2411.06346v1.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":"activation-map-compression-through-tensor","repo_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"deep-learning","task_name":"Deep Learning"},{"task_slug":"tensor-decomposition","task_name":"Tensor Decomposition"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2411.06346","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.06346"}},"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/le-trungnguyen/neurips2024-activationcompression","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":"99237605df72c193","entry":"calculate_mean_and_deviation","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"segmentation/read_result.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/segmentation/read_result.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":"99237605df72c193"}},{"code_sha256_prefix":"48d184eb8b65c96d","entry":"count_elements","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"segmentation/train_count_mem.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/segmentation/train_count_mem.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":"48d184eb8b65c96d"}},{"code_sha256_prefix":"fb05a2e34b131f44","entry":"extract_config","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"classification/read_result.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/classification/read_result.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":"fb05a2e34b131f44"}},{"code_sha256_prefix":"f8bc83c7ab64df05","entry":"extract_config","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"segmentation/read_result.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/segmentation/read_result.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":"f8bc83c7ab64df05"}},{"code_sha256_prefix":"9dc3b9035dfd2ea6","entry":"extract_epoch_from_filename","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"classification/read_result.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/classification/read_result.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":"9dc3b9035dfd2ea6"}},{"code_sha256_prefix":"b7426c5f5b80730c","entry":"get_latest_log_version","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"segmentation/train_count_mem.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/segmentation/train_count_mem.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":"b7426c5f5b80730c"}},{"code_sha256_prefix":"2ad6871047208f3f","entry":"get_moment_logger","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"segmentation/train_count_mem.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/segmentation/train_count_mem.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":"2ad6871047208f3f"}},{"code_sha256_prefix":"ad9a0f0d585745c8","entry":"get_val_acc_for_epoch","repo":"le-trungnguyen/neurips2024-activationcompression","repo_kind":"official","path":"classification/read_result.py","file_url":"https://github.com/le-trungnguyen/neurips2024-activationcompression/blob/HEAD/classification/read_result.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":"ad9a0f0d585745c8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}