{"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/representation-learning-via-manifold","title":"Representation Learning via Manifold Flattening and Reconstruction","arxiv_id":"2305.01777","date":"2023-05-02","proceeding":null,"authors":["Michael Psenka","Druv Pai","Vishal Raman","Shankar Sastry","Yi Ma"],"abstract":"This work proposes an algorithm for explicitly constructing a pair of neural networks that linearize and reconstruct an embedded submanifold, from finite samples of this manifold. Our such-generated neural networks, called Flattening Networks (FlatNet), are theoretically interpretable, computationally feasible at scale, and generalize well to test data, a balance not typically found in manifold-based learning methods. We present empirical results and comparisons to other models on synthetic high-dimensional manifold data and 2D image data. Our code is publicly available.","url_abs":"https://arxiv.org/abs/2305.01777v4","url_pdf":"https://arxiv.org/pdf/2305.01777v4.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":"representation-learning-via-manifold","repo_url":"https://github.com/michael-psenka/manifold-linearization","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"data-compression","task_name":"Data Compression"},{"task_slug":"representation-learning","task_name":"Representation Learning"}],"methods":[{"method_slug":"test","method_name":"Test"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.01777","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.01777"}},"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/michael-psenka/manifold-linearization","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_violates":1,"unverified":13},"by_repo_kind":{"official":{"samples":14,"ran":1,"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":"b0d3159c8aa3db4e","entry":"flattened","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/umap.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/umap.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b0d3159c8aa3db4e"}},{"code_sha256_prefix":"0b940ef2c08e9a11","entry":"arr_intersect","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/sparse.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/sparse.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":"0b940ef2c08e9a11"}},{"code_sha256_prefix":"100b8197c0e816b8","entry":"arr_union","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/sparse.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/sparse.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":"100b8197c0e816b8"}},{"code_sha256_prefix":"700b0c53e3953825","entry":"arr_unique","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/sparse.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/sparse.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":"700b0c53e3953825"}},{"code_sha256_prefix":"80485d2dc92fc6b5","entry":"breadth_first_search","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/umap.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/umap.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":"80485d2dc92fc6b5"}},{"code_sha256_prefix":"a4946f4aba17ed00","entry":"clip","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/layouts.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/layouts.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":"a4946f4aba17ed00"}},{"code_sha256_prefix":"87b8ffee09c21fd9","entry":"euclidean","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/distances.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/distances.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":"87b8ffee09c21fd9"}},{"code_sha256_prefix":"70f95a20854f13d6","entry":"euclidean_grad","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/distances.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/distances.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":"70f95a20854f13d6"}},{"code_sha256_prefix":"e0321345653caac6","entry":"flatnet_dim_estimation","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"experiments-paper/dimension_estimation_comparison.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/experiments-paper/dimension_estimation_comparison.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":"e0321345653caac6"}},{"code_sha256_prefix":"9d7efc6379f45e27","entry":"kernel_inv","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"flatnet/modules/flatnet_nn.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/flatnet/modules/flatnet_nn.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":"9d7efc6379f45e27"}},{"code_sha256_prefix":"32b2f7c1d7e77097","entry":"mlp","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/operators.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/operators.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":"32b2f7c1d7e77097"}},{"code_sha256_prefix":"efe784867ef4aeeb","entry":"mse","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"experiments-paper/reconstruction_comparison.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/experiments-paper/reconstruction_comparison.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":"efe784867ef4aeeb"}},{"code_sha256_prefix":"d1cc2925adf7260d","entry":"sign","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/distances.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/distances.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":"d1cc2925adf7260d"}},{"code_sha256_prefix":"c74be42a31142ef5","entry":"smooth_knn_dist","repo":"michael-psenka/manifold-linearization","repo_kind":"official","path":"models/umap_scripts/umap.py","file_url":"https://github.com/michael-psenka/manifold-linearization/blob/HEAD/models/umap_scripts/umap.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":"c74be42a31142ef5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}