{"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/broadcast-product-shape-aligned-element-wise","title":"Broadcast Product: Shape-aligned Element-wise Multiplication and Beyond","arxiv_id":"2409.17502","date":"2024-09-26","proceeding":null,"authors":["Yusuke Matsui","Tatsuya Yokota"],"abstract":"We propose a new operator defined between two tensors, the broadcast product. The broadcast product calculates the Hadamard product after duplicating elements to align the shapes of the two tensors. Complex tensor operations in libraries like \\texttt{numpy} can be succinctly represented as mathematical expressions using the broadcast product. Finally, we propose a novel tensor decomposition using the broadcast product, highlighting its potential applications in dimensionality reduction.","url_abs":"https://arxiv.org/abs/2409.17502v1","url_pdf":"https://arxiv.org/pdf/2409.17502v1.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":[],"tasks":[{"task_slug":"dimensionality-reduction","task_name":"Dimensionality Reduction"},{"task_slug":"tensor-decomposition","task_name":"Tensor Decomposition"}],"methods":[{"method_slug":"align","method_name":"ALIGN"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.17502","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.17502"}},"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":"deterministic:regex_extraction","url":"https://github.com/matsui528/broadcast_product_demo","reach":{"status":"ok"}}],"summary":{"ran":8,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":14,"ran":8,"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":"9fcbd784765c1e76","entry":"bd","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/bd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/bd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9fcbd784765c1e76"}},{"code_sha256_prefix":"e59721ab05438e5c","entry":"fold","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/tensor_ops.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/tensor_ops.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e59721ab05438e5c"}},{"code_sha256_prefix":"49d430d9cb7209d6","entry":"khatri_rao","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/cpd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/cpd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49d430d9cb7209d6"}},{"code_sha256_prefix":"5f61693bf42d6225","entry":"khatri_rao_loo","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/cpd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/cpd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5f61693bf42d6225"}},{"code_sha256_prefix":"87fdcf7fc38c08d5","entry":"r1bd","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/bd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/bd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"87fdcf7fc38c08d5"}},{"code_sha256_prefix":"acfbbf0f90af7be8","entry":"r1d","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/cpd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/cpd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"acfbbf0f90af7be8"}},{"code_sha256_prefix":"a4725bfad7dce232","entry":"tmprod","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/tensor_ops.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/tensor_ops.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a4725bfad7dce232"}},{"code_sha256_prefix":"ac7f4f47a151b4db","entry":"unfold","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/tensor_ops.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/tensor_ops.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ac7f4f47a151b4db"}},{"code_sha256_prefix":"d9cecf5d687fa076","entry":"bploo","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/bd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/bd.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d9cecf5d687fa076"}},{"code_sha256_prefix":"9aa36871409fd9ad","entry":"hooi","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/tkd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/tkd.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9aa36871409fd9ad"}},{"code_sha256_prefix":"c8153896fcef206c","entry":"tkd","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/tkd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/tkd.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c8153896fcef206c"}},{"code_sha256_prefix":"9db4a2a33cc5eb49","entry":"trals","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/trd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/trd.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9db4a2a33cc5eb49"}},{"code_sha256_prefix":"aff0291ebbe9e1df","entry":"trd","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/trd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/trd.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aff0291ebbe9e1df"}},{"code_sha256_prefix":"85fa926093193a7e","entry":"trdloo","repo":"matsui528/broadcast_product_demo","repo_kind":"found_in_text","path":"broadcast_decomposition/python/src/broadcast_decomposition/trd.py","file_url":"https://github.com/matsui528/broadcast_product_demo/blob/HEAD/broadcast_decomposition/python/src/broadcast_decomposition/trd.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"85fa926093193a7e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}