{"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/arxiv-2606-06117","title":"$p$-adic Bi-Filtrations for Topological Machine Learning on Genomic Sequences","arxiv_id":"2606.06117","date":"2026-06-04","proceeding":null,"authors":["Tirtharaj Dash","Gunja Sachdeva"],"abstract":"We introduce pVR, a topological machine learning framework for alignment-free genomic sequence classification that combines $p$-adic numbers with topological data analysis. Each DNA sequence is encoded along two complementary axes: a $p$-adic distance on $k$-mer prefixes, which captures hierarchical positional structure, and a compositional $L_1$ distance on $k$-mer frequencies, which captures local sequence content. The two distances jointly parameterise a bi-filtered Vietoris--Rips complex, and per-sequence topological summaries from this bi-filtration serve as features for standard machine learning classifiers. We establish theoretical guarantees for the construction: stability under metric perturbations and invariance to the choice of prime, alongside a result that explains why a single $p$-adic axis is topologically uninformative and why the bi-filtration recovers nontrivial homology. On twelve genomic benchmarks ($28$ to $500$ sequences, $3$ to $7$ classes), pVR outperforms four established alignment-free baselines on three of six low-sample datasets, with gains of up to $21$ percentage points; it underperforms only on a SARS-CoV-2 variant benchmark whose point-mutation divergence violates the hierarchical assumption, and all methods saturate in the large-sample regime. pVR also outperforms zero-shot frozen embeddings from the 500M-parameter Nucleotide Transformer v2 by $6.7$ to $11.4$ percentage points on three low-sample benchmarks. The pVR codebase is publicly available at https://github.com/MAHI-Group/pVR.","url_abs":"https://arxiv.org/abs/2606.06117","url_pdf":"https://arxiv.org/pdf/2606.06117","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2606.06117","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.06117"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/MAHI-Group/pVR","reach":null}],"summary":{"ran":5,"unverified":10},"by_repo_kind":{"found_in_text":{"samples":15,"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":15,"samples":[{"code_sha256_prefix":"fbb212ff534db654","entry":"assign_hrv_label","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"run_full_eff.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/run_full_eff.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"fbb212ff534db654"}},{"code_sha256_prefix":"97994733f855ba36","entry":"cell","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"rerun_baselines.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/rerun_baselines.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"97994733f855ba36"}},{"code_sha256_prefix":"c7a228188c951938","entry":"embed_nt","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"nt_compare.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/nt_compare.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"c7a228188c951938"}},{"code_sha256_prefix":"9c874b6cdffca05d","entry":"fmt_cell","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"make_tables_ci.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/make_tables_ci.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"9c874b6cdffca05d"}},{"code_sha256_prefix":"6da4a0ef51feb048","entry":"get_acc","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"make_figure.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/make_figure.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"6da4a0ef51feb048"}},{"code_sha256_prefix":"69c67efe1633dee1","entry":"clean_sequence","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"pvr_eff.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/pvr_eff.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"69c67efe1633dee1"}},{"code_sha256_prefix":"ebed294056dcee45","entry":"extract_kmers","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"pvr_eff.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/pvr_eff.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"ebed294056dcee45"}},{"code_sha256_prefix":"3d029a123f5dcb20","entry":"ffp_frequency_vector","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"baselines.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/baselines.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3d029a123f5dcb20"}},{"code_sha256_prefix":"5046753cd2dbb0f0","entry":"ffp_jensen_shannon_distance","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"baselines.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/baselines.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"5046753cd2dbb0f0"}},{"code_sha256_prefix":"7f3b3f5feed23c7f","entry":"fmt_pct","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"make_aux_tables.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/make_aux_tables.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"7f3b3f5feed23c7f"}},{"code_sha256_prefix":"1037e0b182931ae7","entry":"folds_of","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"make_tables_ci.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/make_tables_ci.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"1037e0b182931ae7"}},{"code_sha256_prefix":"23498609acf5a348","entry":"kmer_to_padic_int","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"pvr_eff.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/pvr_eff.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"23498609acf5a348"}},{"code_sha256_prefix":"72f544d99b933bb5","entry":"load","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"make_tables_ci.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/make_tables_ci.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"72f544d99b933bb5"}},{"code_sha256_prefix":"388975539a13f8a1","entry":"load_json","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"make_aux_tables.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/make_aux_tables.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"388975539a13f8a1"}},{"code_sha256_prefix":"5d55e14775630409","entry":"write_runtime_table","repo":"MAHI-Group/pVR","repo_kind":"found_in_text","path":"make_aux_tables.py","file_url":"https://github.com/MAHI-Group/pVR/blob/HEAD/make_aux_tables.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"5d55e14775630409"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}