{"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/path-augmented-graph-transformer-network","title":"Path-Augmented Graph Transformer Network","arxiv_id":"1905.12712","date":"2019-05-29","proceeding":null,"authors":["Benson Chen","Regina Barzilay","Tommi Jaakkola"],"abstract":"Much of the recent work on learning molecular representations has been based on Graph Convolution Networks (GCN). These models rely on local aggregation operations and can therefore miss higher-order graph properties. To remedy this, we propose Path-Augmented Graph Transformer Networks (PAGTN) that are explicitly built on longer-range dependencies in graph-structured data. Specifically, we use path features in molecular graphs to create global attention layers. We compare our PAGTN model against the GCN model and show that our model consistently outperforms GCNs on molecular property prediction datasets including quantum chemistry (QM7, QM8, QM9), physical chemistry (ESOL, Lipophilictiy) and biochemistry (BACE, BBBP).","url_abs":"https://arxiv.org/abs/1905.12712v1","url_pdf":"https://arxiv.org/pdf/1905.12712v1.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":"path-augmented-graph-transformer-network","repo_url":"https://github.com/benatorc/PA-Graph-Transformer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"path-augmented-graph-transformer-network","repo_url":"https://github.com/longodj/tcvaemolgen","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"molecular-property-prediction","task_name":"Molecular Property Prediction"},{"task_slug":"property-prediction","task_name":"Property Prediction"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"gcn","method_name":"GCN"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"relu","method_name":"ReLU"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1905.12712","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1905.12712"}},"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/benatorc/PA-Graph-Transformer","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/longodj/tcvaemolgen","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"samples":6,"ran":0,"repositories":1},"listed":{"samples":2,"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":"9bb4ae74031b00f1","entry":"compute_max_atoms","repo":"benatorc/PA-Graph-Transformer","repo_kind":"official","path":"utils/model_utils.py","file_url":"https://github.com/benatorc/PA-Graph-Transformer/blob/HEAD/utils/model_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":"9bb4ae74031b00f1"}},{"code_sha256_prefix":"e9ca172359fb9a2f","entry":"convert_to_2D","repo":"benatorc/PA-Graph-Transformer","repo_kind":"official","path":"utils/model_utils.py","file_url":"https://github.com/benatorc/PA-Graph-Transformer/blob/HEAD/utils/model_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":"e9ca172359fb9a2f"}},{"code_sha256_prefix":"9a37d121a03a67ab","entry":"convert_to_3D","repo":"benatorc/PA-Graph-Transformer","repo_kind":"official","path":"utils/model_utils.py","file_url":"https://github.com/benatorc/PA-Graph-Transformer/blob/HEAD/utils/model_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":"9a37d121a03a67ab"}},{"code_sha256_prefix":"41d004d663f6044a","entry":"dec_tree_node_update","repo":"longodj/tcvaemolgen","repo_kind":"listed","path":"tcvaemolgen/models/modules/jtnn_dec.py","file_url":"https://github.com/longodj/tcvaemolgen/blob/HEAD/tcvaemolgen/models/modules/jtnn_dec.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"41d004d663f6044a"}},{"code_sha256_prefix":"da21481c18314904","entry":"have_slots","repo":"longodj/tcvaemolgen","repo_kind":"listed","path":"tcvaemolgen/models/modules/jtnn_dec.py","file_url":"https://github.com/longodj/tcvaemolgen/blob/HEAD/tcvaemolgen/models/modules/jtnn_dec.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"da21481c18314904"}},{"code_sha256_prefix":"a867dd74b32f6fa3","entry":"onek_unk_encoding","repo":"benatorc/PA-Graph-Transformer","repo_kind":"official","path":"graph/mol_features.py","file_url":"https://github.com/benatorc/PA-Graph-Transformer/blob/HEAD/graph/mol_features.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":"a867dd74b32f6fa3"}},{"code_sha256_prefix":"c57de73aa8055f7e","entry":"ordered_pair","repo":"benatorc/PA-Graph-Transformer","repo_kind":"official","path":"parse/generate_ring_data.py","file_url":"https://github.com/benatorc/PA-Graph-Transformer/blob/HEAD/parse/generate_ring_data.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":"c57de73aa8055f7e"}},{"code_sha256_prefix":"bb1cf0fd62c16de5","entry":"read_smiles","repo":"benatorc/PA-Graph-Transformer","repo_kind":"official","path":"parse/generate_ring_data.py","file_url":"https://github.com/benatorc/PA-Graph-Transformer/blob/HEAD/parse/generate_ring_data.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":"bb1cf0fd62c16de5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}