{"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/algorithmic-differentiation-for-automatized","title":"Algorithmic Differentiation for Automated Modeling of Machine Learned Force Fields","arxiv_id":"2208.12104","date":"2022-08-25","proceeding":null,"authors":["Niklas Frederik Schmitz","Klaus-Robert Müller","Stefan Chmiela"],"abstract":"Reconstructing force fields (FFs) from atomistic simulation data is a challenge since accurate data can be highly expensive. Here, machine learning (ML) models can help to be data economic as they can be successfully constrained using the underlying symmetry and conservation laws of physics. However, so far, every descriptor newly proposed for an ML model has required a cumbersome and mathematically tedious remodeling. We therefore propose using modern techniques from algorithmic differentiation within the ML modeling process -- effectively enabling the usage of novel descriptors or models fully automatically at an order of magnitude higher computational efficiency. This paradigmatic approach enables not only a versatile usage of novel representations and the efficient computation of larger systems -- all of high value to the FF community -- but also the simple inclusion of further physical knowledge such as higher-order information (e.g. Hessians, more complex partial differential equations constraints etc.), even beyond the presented FF domain.","url_abs":"https://arxiv.org/abs/2208.12104v3","url_pdf":"https://arxiv.org/pdf/2208.12104v3.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":"algorithmic-differentiation-for-automatized","repo_url":"https://github.com/niklasschmitz/ad-kernels","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"computational-efficiency","task_name":"Computational Efficiency"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2208.12104","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2208.12104"}},"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/niklasschmitz/ad-kernels","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":13},"by_repo_kind":{"official":{"samples":13,"ran":0,"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":"04be806268026637","entry":"GDMLDescriptor","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/gdml_jax/kernels/sgdml.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/gdml_jax/kernels/sgdml.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":"04be806268026637"}},{"code_sha256_prefix":"516d01a5e609c564","entry":"build_solve","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"pde/opgp.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/pde/opgp.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":"516d01a5e609c564"}},{"code_sha256_prefix":"3b3bef27db179182","entry":"f_cutoff","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/fchl.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/fchl.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":"3b3bef27db179182"}},{"code_sha256_prefix":"ff7a01e3fef14913","entry":"fit","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/hyper_coulomb.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/hyper_coulomb.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":"ff7a01e3fef14913"}},{"code_sha256_prefix":"e7115a7a43a7aa03","entry":"jax2torch","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/schnetkernel/lib.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/schnetkernel/lib.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":"e7115a7a43a7aa03"}},{"code_sha256_prefix":"a14219085c635bec","entry":"kvp","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"pde/opgp.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/pde/opgp.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":"a14219085c635bec"}},{"code_sha256_prefix":"9ca1f413c326079c","entry":"make_mvm","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"pde/opgp.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/pde/opgp.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":"9ca1f413c326079c"}},{"code_sha256_prefix":"a5990c3c1a96fa2a","entry":"matern52","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/matern.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/matern.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":"a5990c3c1a96fa2a"}},{"code_sha256_prefix":"8085857c94867613","entry":"matern52tp","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/matern.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/matern.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":"8085857c94867613"}},{"code_sha256_prefix":"1be2213e4b6c3dfc","entry":"powered_coulomb_descriptor","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/hyper_coulomb.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/hyper_coulomb.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":"1be2213e4b6c3dfc"}},{"code_sha256_prefix":"64f6ed76739b1419","entry":"time_forces","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/md17_benchmark_forces.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/md17_benchmark_forces.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":"64f6ed76739b1419"}},{"code_sha256_prefix":"b5ad883d5cb6575e","entry":"torch2jax","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/schnetkernel/lib.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/schnetkernel/lib.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":"b5ad883d5cb6575e"}},{"code_sha256_prefix":"c6fe236b49615582","entry":"torch_apply","repo":"niklasschmitz/ad-kernels","repo_kind":"official","path":"md17/experiments/schnetkernel/lib.py","file_url":"https://github.com/niklasschmitz/ad-kernels/blob/HEAD/md17/experiments/schnetkernel/lib.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":"c6fe236b49615582"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}