{"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/stereographic-spherical-sliced-wasserstein","title":"Stereographic Spherical Sliced Wasserstein Distances","arxiv_id":"2402.02345","date":"2024-02-04","proceeding":null,"authors":["Huy Tran","Yikun Bai","Abihith Kothapalli","Ashkan Shahbazi","Xinran Liu","Rocio Diaz Martin","Soheil Kolouri"],"abstract":"Comparing spherical probability distributions is of great interest in various fields, including geology, medical domains, computer vision, and deep representation learning. The utility of optimal transport-based distances, such as the Wasserstein distance, for comparing probability measures has spurred active research in developing computationally efficient variations of these distances for spherical probability measures. This paper introduces a high-speed and highly parallelizable distance for comparing spherical measures using the stereographic projection and the generalized Radon transform, which we refer to as the Stereographic Spherical Sliced Wasserstein (S3W) distance. We carefully address the distance distortion caused by the stereographic projection and provide an extensive theoretical analysis of our proposed metric and its rotationally invariant variation. Finally, we evaluate the performance of the proposed metrics and compare them with recent baselines in terms of both speed and accuracy through a wide range of numerical studies, including gradient flows and self-supervised learning. Our code is available at https://github.com/mint-vu/s3wd.","url_abs":"https://arxiv.org/abs/2402.02345v2","url_pdf":"https://arxiv.org/pdf/2402.02345v2.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":"stereographic-spherical-sliced-wasserstein","repo_url":"https://github.com/mint-vu/s3wd","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"}],"methods":[{"method_slug":"speed","method_name":"SPEED"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2402.02345","atlas_url":"https://app.syntology.ai/?focus=2402.02345","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.02345"}},"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":"deterministic:regex_extraction","url":"https://github.com/mint-vu/s3wd","reach":null}],"summary":{"ran_draft_wrong":3,"ran_honours":1,"ran":1},"by_repo_kind":{"official":{"samples":5,"ran":5,"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":5,"samples":[{"code_sha256_prefix":"a6178aede790ef8f","entry":"epsilon_projection","repo":"mint-vu/s3wd","repo_kind":"official","path":"src/methods/s3wd.py","file_url":"https://github.com/mint-vu/s3wd/blob/HEAD/src/methods/s3wd.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a6178aede790ef8f"}},{"code_sha256_prefix":"5b9dda643f800ce3","entry":"generate_rand_projs","repo":"mint-vu/s3wd","repo_kind":"official","path":"src/methods/s3wd.py","file_url":"https://github.com/mint-vu/s3wd/blob/HEAD/src/methods/s3wd.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5b9dda643f800ce3"}},{"code_sha256_prefix":"c443332b1db3aed7","entry":"get_stereo_proj_torch","repo":"mint-vu/s3wd","repo_kind":"official","path":"src/methods/s3wd.py","file_url":"https://github.com/mint-vu/s3wd/blob/HEAD/src/methods/s3wd.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c443332b1db3aed7"}},{"code_sha256_prefix":"bc4ed8f682b9c728","entry":"hStar","repo":"mint-vu/s3wd","repo_kind":"official","path":"src/methods/s3wd.py","file_url":"https://github.com/mint-vu/s3wd/blob/HEAD/src/methods/s3wd.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":"bc4ed8f682b9c728"}},{"code_sha256_prefix":"4c772ede0da1487e","entry":"s3wd","repo":"mint-vu/s3wd","repo_kind":"official","path":"src/methods/s3wd.py","file_url":"https://github.com/mint-vu/s3wd/blob/HEAD/src/methods/s3wd.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4c772ede0da1487e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}