{"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/harmonics-of-learning-universal-fourier","title":"Harmonics of Learning: Universal Fourier Features Emerge in Invariant Networks","arxiv_id":"2312.08550","date":"2023-12-13","proceeding":null,"authors":["Giovanni Luca Marchetti","Christopher Hillar","Danica Kragic","Sophia Sanborn"],"abstract":"In this work, we formally prove that, under certain conditions, if a neural network is invariant to a finite group then its weights recover the Fourier transform on that group. This provides a mathematical explanation for the emergence of Fourier features -- a ubiquitous phenomenon in both biological and artificial learning systems. The results hold even for non-commutative groups, in which case the Fourier transform encodes all the irreducible unitary group representations. Our findings have consequences for the problem of symmetry discovery. Specifically, we demonstrate that the algebraic structure of an unknown group can be recovered from the weights of a network that is at least approximately invariant within certain bounds. Overall, this work contributes to a foundation for an algebraic learning theory of invariant neural network representations.","url_abs":"https://arxiv.org/abs/2312.08550v3","url_pdf":"https://arxiv.org/pdf/2312.08550v3.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":"harmonics-of-learning-universal-fourier","repo_url":"https://github.com/sophiaas/spectral-universality","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok"}}],"tasks":[{"task_slug":"learning-theory","task_name":"Learning Theory"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2312.08550","atlas_url":"https://app.syntology.ai/?focus=2312.08550","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.08550"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/sophiaas/spectral-universality","reach":{"status":"ok"}}],"summary":{"ran":6,"unverified":3},"by_repo_kind":{"official":{"samples":9,"ran":6,"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":9,"samples":[{"code_sha256_prefix":"07f4e9b34e80e048","entry":"complex_array_to_rgb","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"utils.py","file_url":"https://github.com/sophiaas/spectral-universality/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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"07f4e9b34e80e048"}},{"code_sha256_prefix":"6b6fd1f38b462a0c","entry":"direct_product","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"groups.py","file_url":"https://github.com/sophiaas/spectral-universality/blob/HEAD/groups.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":"6b6fd1f38b462a0c"}},{"code_sha256_prefix":"b084e5a3eb7bc0c1","entry":"init_weights","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"models_JAX.py","file_url":"https://github.com/sophiaas/spectral-universality/blob/HEAD/models_JAX.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":"b084e5a3eb7bc0c1"}},{"code_sha256_prefix":"e60f9d31ff4a53fa","entry":"matmul_complex","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"models_torch.py","file_url":"https://github.com/sophiaas/spectral-universality/blob/HEAD/models_torch.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":"e60f9d31ff4a53fa"}},{"code_sha256_prefix":"a853a6fa01870647","entry":"pad_eye","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"models_torch.py","file_url":"https://github.com/sophiaas/spectral-universality/blob/HEAD/models_torch.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":"a853a6fa01870647"}},{"code_sha256_prefix":"8ffe99d5ad67b54c","entry":"perm_matrices","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"utils.py","file_url":"https://github.com/sophiaas/spectral-universality/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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8ffe99d5ad67b54c"}},{"code_sha256_prefix":"3de5da36457066c7","entry":"pad_eye","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"models_JAX.py","file_url":"https://github.com/sophiaas/spectral-universality/blob/HEAD/models_JAX.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":"3de5da36457066c7"}},{"code_sha256_prefix":"d825189f35316425","entry":"perm_frobenius","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"utils.py","file_url":"https://github.com/sophiaas/spectral-universality/blob/HEAD/utils.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":"d825189f35316425"}},{"code_sha256_prefix":"14cdeef2a19d88e0","entry":"total_weight","repo":"sophiaas/spectral-universality","repo_kind":"official","path":"models_JAX.py","file_url":"https://github.com/sophiaas/spectral-universality/blob/HEAD/models_JAX.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":"14cdeef2a19d88e0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}