{"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/score-based-enhanced-sampling-for-protein","title":"Str2Str: A Score-based Framework for Zero-shot Protein Conformation Sampling","arxiv_id":"2306.03117","date":"2023-06-05","proceeding":null,"authors":["Jiarui Lu","Bozitao Zhong","Zuobai Zhang","Jian Tang"],"abstract":"The dynamic nature of proteins is crucial for determining their biological functions and properties, for which Monte Carlo (MC) and molecular dynamics (MD) simulations stand as predominant tools to study such phenomena. By utilizing empirically derived force fields, MC or MD simulations explore the conformational space through numerically evolving the system via Markov chain or Newtonian mechanics. However, the high-energy barrier of the force fields can hamper the exploration of both methods by the rare event, resulting in inadequately sampled ensemble without exhaustive running. Existing learning-based approaches perform direct sampling yet heavily rely on target-specific simulation data for training, which suffers from high data acquisition cost and poor generalizability. Inspired by simulated annealing, we propose Str2Str, a novel structure-to-structure translation framework capable of zero-shot conformation sampling with roto-translation equivariant property. Our method leverages an amortized denoising score matching objective trained on general crystal structures and has no reliance on simulation data during both training and inference. Experimental results across several benchmarking protein systems demonstrate that Str2Str outperforms previous state-of-the-art generative structure prediction models and can be orders of magnitude faster compared to long MD simulations. Our open-source implementation is available at https://github.com/lujiarui/Str2Str","url_abs":"https://arxiv.org/abs/2306.03117v3","url_pdf":"https://arxiv.org/pdf/2306.03117v3.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":"score-based-enhanced-sampling-for-protein","repo_url":"https://github.com/lujiarui/str2str","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"denoising","task_name":"Denoising"},{"task_slug":"translation","task_name":"Translation"}],"methods":[{"method_slug":"denoising-score-matching","method_name":"Denoising Score Matching"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2306.03117","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2306.03117"}},"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/lujiarui/Str2Str","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lujiarui/str2str","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"ran":2,"unverified":20},"by_repo_kind":{"official":{"samples":24,"ran":4,"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":"2e879b992afd2e24","entry":"rot_matmul","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/rigid_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/rigid_utils.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2e879b992afd2e24"}},{"code_sha256_prefix":"8f2b10d716763add","entry":"rot_vec_mul","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/rigid_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/rigid_utils.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8f2b10d716763add"}},{"code_sha256_prefix":"f3ea8d22a1778541","entry":"softmax_cross_entropy","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/models/loss.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/models/loss.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f3ea8d22a1778541"}},{"code_sha256_prefix":"3e97deab6d7d9366","entry":"torsion_angle_loss","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/models/loss.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/models/loss.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3e97deab6d7d9366"}},{"code_sha256_prefix":"856e610be8ee89d4","entry":"adjacent_ca_distance","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/metrics/metrics.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/metrics/metrics.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":"856e610be8ee89d4"}},{"code_sha256_prefix":"b76df65cb485a1dd","entry":"cast_to_64bit_ints","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/data_transforms.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/data_transforms.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":"b76df65cb485a1dd"}},{"code_sha256_prefix":"ecc8098ecd6f4746","entry":"chi_angle_atom","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/residue_constants.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/residue_constants.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":"ecc8098ecd6f4746"}},{"code_sha256_prefix":"f199987a1f0ff137","entry":"dihedral","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/geo_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/geo_utils.py","link_basis":"plan_row","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":"f199987a1f0ff137"}},{"code_sha256_prefix":"d1caaec311724c12","entry":"distance","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/geo_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/geo_utils.py","link_basis":"plan_row","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":"d1caaec311724c12"}},{"code_sha256_prefix":"e84fc04d3c204b45","entry":"distance_matrix_ca","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/metrics/metrics.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/metrics/metrics.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":"e84fc04d3c204b45"}},{"code_sha256_prefix":"97dae9745013aa60","entry":"euler_angles_to_matrix","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/rotation3d.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/rotation3d.py","link_basis":"harvester_set","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":"97dae9745013aa60"}},{"code_sha256_prefix":"9d856f853a62747f","entry":"identity_rot_mats","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/rigid_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/rigid_utils.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":"9d856f853a62747f"}},{"code_sha256_prefix":"b0920535d36bde78","entry":"load_model_checkpoint","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/utils/checkpoint_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/utils/checkpoint_utils.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":"b0920535d36bde78"}},{"code_sha256_prefix":"fb537d8922261d67","entry":"make_atom14_dists_bounds","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/residue_constants.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/residue_constants.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":"fb537d8922261d67"}},{"code_sha256_prefix":"68d0ff89dbb1e05b","entry":"make_one_hot","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/data_transforms.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/data_transforms.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":"68d0ff89dbb1e05b"}},{"code_sha256_prefix":"e7921e51b2d4316f","entry":"make_seq_mask","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/data_transforms.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/data_transforms.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":"e7921e51b2d4316f"}},{"code_sha256_prefix":"50d2fff01c986a3b","entry":"matrix_to_quaternion","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/rotation3d.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/rotation3d.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":"50d2fff01c986a3b"}},{"code_sha256_prefix":"910384add37bc7d9","entry":"pairwise_distance_ca","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/metrics/metrics.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/metrics/metrics.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":"910384add37bc7d9"}},{"code_sha256_prefix":"e0238352153c0549","entry":"quaternion_to_matrix","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/rotation3d.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/rotation3d.py","link_basis":"harvester_set","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":"e0238352153c0549"}},{"code_sha256_prefix":"b1557091b069dc8a","entry":"read_pdb_to_string","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/pdb_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/pdb_utils.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":"b1557091b069dc8a"}},{"code_sha256_prefix":"d3e5669be2ccbba5","entry":"rots_mul_vecs","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/geo_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/geo_utils.py","link_basis":"plan_row","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":"d3e5669be2ccbba5"}},{"code_sha256_prefix":"35fa5e610a62edb5","entry":"sequence_to_onehot","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/residue_constants.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/residue_constants.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":"35fa5e610a62edb5"}},{"code_sha256_prefix":"15326c79adab79b0","entry":"sigmoid_cross_entropy","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/models/loss.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/models/loss.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":"15326c79adab79b0"}},{"code_sha256_prefix":"874dfea9f59cccc3","entry":"split_pdbfile","repo":"lujiarui/Str2Str","repo_kind":"official","path":"src/common/pdb_utils.py","file_url":"https://github.com/lujiarui/Str2Str/blob/HEAD/src/common/pdb_utils.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":"874dfea9f59cccc3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}