{"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/efficient-per-example-gradient-computations","title":"Efficient Per-Example Gradient Computations","arxiv_id":"1510.01799","date":"2015-10-07","proceeding":null,"authors":["Ian Goodfellow"],"abstract":"This technical report describes an efficient technique for computing the norm\nof the gradient of the loss function for a neural network with respect to its\nparameters. This gradient norm can be computed efficiently for every example.","url_abs":"http://arxiv.org/abs/1510.01799v2","url_pdf":"http://arxiv.org/pdf/1510.01799v2.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":"efficient-per-example-gradient-computations","repo_url":"https://github.com/cybertronai/autograd-lib","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"efficient-per-example-gradient-computations","repo_url":"https://github.com/facebookresearch/pytorch-dp","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"efficient-per-example-gradient-computations","repo_url":"https://github.com/jialinmao/private_cnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"efficient-per-example-gradient-computations","repo_url":"https://github.com/owkin/grad-cnns","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"efficient-per-example-gradient-computations","repo_url":"https://github.com/tensorflow/privacy","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"efficient-per-example-gradient-computations","repo_url":"https://github.com/woodyx218/private_vision","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1510.01799","atlas_url":"https://app.syntology.ai/?focus=1510.01799","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1510.01799"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/woodyx218/private_vision","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cybertronai/autograd-lib","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/pytorch-dp","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jialinmao/private_cnn","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/owkin/grad-cnns","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tensorflow/privacy","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":1,"ran_violates":2,"unverified":7},"by_repo_kind":{"listed":{"samples":10,"ran":3,"repositories":2}},"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":3,"samples":[{"code_sha256_prefix":"aec054385ade9a7c","entry":"get_layer_type","repo":"jialinmao/private_cnn","repo_kind":"listed","path":"private_CNN/privacy_utils/autograd_grad_sample.py","file_url":"https://github.com/jialinmao/private_cnn/blob/HEAD/private_CNN/privacy_utils/autograd_grad_sample.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aec054385ade9a7c"}},{"code_sha256_prefix":"3f196c988bb4f4a8","entry":"has_no_param","repo":"jialinmao/private_cnn","repo_kind":"listed","path":"private_CNN/privacy_utils/autograd_grad_sample.py","file_url":"https://github.com/jialinmao/private_cnn/blob/HEAD/private_CNN/privacy_utils/autograd_grad_sample.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3f196c988bb4f4a8"}},{"code_sha256_prefix":"e2f29e0a6eca5ddb","entry":"requires_grad","repo":"jialinmao/private_cnn","repo_kind":"listed","path":"private_CNN/privacy_utils/autograd_grad_sample.py","file_url":"https://github.com/jialinmao/private_cnn/blob/HEAD/private_CNN/privacy_utils/autograd_grad_sample.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e2f29e0a6eca5ddb"}},{"code_sha256_prefix":"4623b1fea979a260","entry":"check_close","repo":"cybertronai/autograd-lib","repo_kind":"listed","path":"autograd_lib/util.py","file_url":"https://github.com/cybertronai/autograd-lib/blob/HEAD/autograd_lib/util.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":"4623b1fea979a260"}},{"code_sha256_prefix":"3571b701cb3cef87","entry":"least_squares","repo":"cybertronai/autograd-lib","repo_kind":"listed","path":"example_hessian.py","file_url":"https://github.com/cybertronai/autograd-lib/blob/HEAD/example_hessian.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":"3571b701cb3cef87"}},{"code_sha256_prefix":"d38971773f1c66d0","entry":"least_squares","repo":"cybertronai/autograd-lib","repo_kind":"listed","path":"example_norms.py","file_url":"https://github.com/cybertronai/autograd-lib/blob/HEAD/example_norms.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":"d38971773f1c66d0"}},{"code_sha256_prefix":"8ca46206f2adf182","entry":"pytorch_dtype_to_floating_numpy_dtype","repo":"cybertronai/autograd-lib","repo_kind":"listed","path":"autograd_lib/util.py","file_url":"https://github.com/cybertronai/autograd-lib/blob/HEAD/autograd_lib/util.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":"8ca46206f2adf182"}},{"code_sha256_prefix":"2c69fdbb2b015d48","entry":"simple_model","repo":"cybertronai/autograd-lib","repo_kind":"listed","path":"example_hessian.py","file_url":"https://github.com/cybertronai/autograd-lib/blob/HEAD/example_hessian.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":"2c69fdbb2b015d48"}},{"code_sha256_prefix":"174f79372696d4b1","entry":"simple_model","repo":"cybertronai/autograd-lib","repo_kind":"listed","path":"example_norms.py","file_url":"https://github.com/cybertronai/autograd-lib/blob/HEAD/example_norms.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":"174f79372696d4b1"}},{"code_sha256_prefix":"b397213f8b4ef949","entry":"to_numpy","repo":"cybertronai/autograd-lib","repo_kind":"listed","path":"autograd_lib/util.py","file_url":"https://github.com/cybertronai/autograd-lib/blob/HEAD/autograd_lib/util.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":"b397213f8b4ef949"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}