{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,30]],"date-time":"2026-07-30T11:13:10Z","timestamp":1785409990606,"version":"3.56.0"},"reference-count":51,"publisher":"International Association for Cryptologic Research","license":[{"start":{"date-parts":[[2024,7,8]],"date-time":"2024-07-08T00:00:00Z","timestamp":1720396800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IACR CiC"],"accepted":{"date-parts":[[2024,9,2]]},"abstract":"<jats:p>Almost pairwise independence (API) is a quantitative property of a class of functions that is desirable in many cryptographic applications. This property is satisfied by Learning with errors (LWE)-mappings and by special Substitution-Permutation Networks (SPN). API block ciphers are known to be resilient to differential and linear cryptanalysis attacks. Recently, security of protocols against neural network-based attacks became a major trend in cryptographic studies. Therefore, it is relevant to study the hardness of learning a target function from an API class of functions by gradient-based methods.<\/jats:p>\n                  <jats:p>We propose a theoretical analysis based on the study of the variance of the gradient of a general machine learning objective with respect to a random choice of target function from a class. We prove an upper bound and verify that, indeed, such a variance is extremely small for API classes of functions. This implies the resilience of actual LWE-based primitives against deep learning attacks, and to some extent, the security of SPNs. The hardness of learning reveals itself in the form of the barren plateau phenomenon during the training process, or in other words, in a low information content of the gradient about the target function. Yet, we emphasize that our bounds hold for the case of a regular parameterization of a neural network and the gradient may become informative if a class is mildly pairwise independent and a parameterization is non-regular. We demonstrate our theory in experiments on the learnability of LWE mappings.<\/jats:p>","DOI":"10.62056\/a3ksa69p1","type":"journal-article","created":{"date-parts":[[2024,10,7]],"date-time":"2024-10-07T11:13:33Z","timestamp":1728299613000},"update-policy":"https:\/\/doi.org\/10.62056\/adfjwm02dj","source":"Crossref","is-referenced-by-count":0,"title":["Almost pairwise independence and resilience to deep learning attacks"],"prefix":"10.62056","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7405-8254","authenticated-orcid":false,"given":"Rustem","family":"Takhanov","sequence":"first","affiliation":[{"id":[{"id":"https:\/\/ror.org\/052bx8q98","id-type":"ROR","asserted-by":"publisher"}],"name":"Nazarbayev University","place":["53 Kabanbay batyr ave., Astana, 010000, Kazakhstan"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"48349","published-online":{"date-parts":[[2024,10,7]]},"reference":[{"key":"ref1:chatgpt","volume-title":"Introducing ChatGPT","author":"OpenAI","year":"2022"},{"key":"ref2:Jumper2021-vr","doi-asserted-by":"publisher","first-page":"583","DOI":"10.1038\/s41586-021-03819-2","article-title":"Highly accurate protein structure prediction with\n  AlphaFold","volume":"596","author":"John Jumper","year":"2021","journal-title":"Nature"},{"key":"ref3:Silver2016-qx","doi-asserted-by":"publisher","first-page":"484","DOI":"10.1038\/NATURE16961","article-title":"Mastering the game of Go with deep neural networks and tree\n  search","volume":"529","author":"David Silver","year":"2016","journal-title":"Nature"},{"key":"ref4:PhysRevResearch.2.033429","doi-asserted-by":"publisher","first-page":"33429","DOI":"10.1103\/PhysRevResearch.2.033429","article-title":"Ab initio solution of the many-electron Schr\u00f6dinger\n  equation with deep neural networks","volume":"2","author":"David Pfau","year":"2020","journal-title":"Phys. Rev. Res."},{"key":"ref5:10.1145\/174644.174647","doi-asserted-by":"publisher","first-page":"67","DOI":"10.1145\/174644.174647","article-title":"Cryptographic limitations on learning Boolean formulae and\n  finite automata","volume":"41","author":"Michael Kearns","year":"1994","journal-title":"J. ACM","ISSN":"https:\/\/id.crossref.org\/issn\/0004-5411","issn-type":"electronic"},{"key":"ref6:10.5555\/3326943.3326993","series-title":"NIPS'18","first-page":"537","article-title":"Combinatorial optimization with graph convolutional networks\n  and guided tree search","volume-title":"Advances in Neural Information Processing Systems","author":"Zhuwen Li","year":"2018"},{"key":"ref7:kool2018attention","article-title":"Attention, Learn to Solve Routing Problems!","author":"Wouter Kool","year":"2019"},{"key":"ref8:selsam2018learning","article-title":"Learning a SAT Solver from Single-Bit Supervision","author":"Daniel Selsam","year":"2019"},{"key":"ref9:CARTER1979143","doi-asserted-by":"publisher","first-page":"143","DOI":"10.1016\/0022-0000(79)90044-8","article-title":"Universal classes of hash functions","volume":"18","author":"J.Lawrence Carter","year":"1979","journal-title":"Journal of Computer and System Sciences","ISSN":"https:\/\/id.crossref.org\/issn\/0022-0000","issn-type":"electronic"},{"key":"ref10:WEGMAN1981265","doi-asserted-by":"publisher","first-page":"265","DOI":"10.1016\/0022-0000(81)90033-7","article-title":"New hash functions and their use in authentication and set\n  equality","volume":"22","author":"Mark N. Wegman","year":"1981","journal-title":"Journal of Computer and System Sciences","ISSN":"https:\/\/id.crossref.org\/issn\/0022-0000","issn-type":"electronic"},{"key":"ref11:10.1007\/3-540-48405-1_14","isbn-type":"print","doi-asserted-by":"publisher","first-page":"216","DOI":"10.1007\/3-540-48405-1_14","article-title":"UMAC: Fast and Secure Message Authentication","author":"J. Black","year":"1999","ISBN":"https:\/\/id.crossref.org\/isbn\/9783540484059"},{"key":"ref12:TCS-009","doi-asserted-by":"publisher","first-page":"237","DOI":"10.1561\/0400000009","article-title":"Pairwise Independence and Derandomization","volume":"1","author":"Michael Luby","year":"2006","journal-title":"Foundations and Trends\u00ae in Theoretical Computer Science","ISSN":"https:\/\/id.crossref.org\/issn\/1551-305X","issn-type":"electronic"},{"key":"ref13:DBLP:journals\/jmlr\/Shamir18","article-title":"Distribution-Specific Hardness of Learning Neural Networks","volume-title":"Advances in Neural Information Processing Systems","volume":"19","author":"Ohad Shamir","year":"2018","journal-title":"J. Mach. Learn. Res."},{"key":"ref14:DBLP:conf\/icml\/Shalev-ShwartzS17","series-title":"Proceedings of Machine Learning Research","first-page":"3067","article-title":"Failures of Gradient-Based Deep Learning","volume":"70","author":"Shai Shalev-Shwartz","year":"2017"},{"key":"ref15:pmlr-v97-rahaman19a","series-title":"Proceedings of Machine Learning Research","first-page":"5301","article-title":"On the Spectral Bias of Neural Networks","volume":"97","author":"Nasim Rahaman","year":"2019"},{"key":"ref16:PhysRevLett.129.270501","doi-asserted-by":"publisher","first-page":"270501","DOI":"10.1103\/PhysRevLett.129.270501","article-title":"Presence and Absence of Barren Plateaus in Tensor-Network\n  Based Machine Learning","volume":"129","author":"Zidu Liu","year":"2022","journal-title":"Phys. Rev. Lett."},{"key":"ref17:McClean2018","doi-asserted-by":"publisher","first-page":"4812","DOI":"10.1038\/s41467-018-07090-4","article-title":"Barren plateaus in quantum neural network training\n  landscapes","volume":"9","author":"Jarrod R. McClean","year":"2018","journal-title":"Nature Communications","ISSN":"https:\/\/id.crossref.org\/issn\/2041-1723","issn-type":"electronic"},{"key":"ref18:takhanov2024gradientdescentfailslearn","volume-title":"Gradient Descent Fails to Learn High-frequency Functions and\n  Modular Arithmetic","author":"Rustem Takhanov","year":"2024"},{"key":"ref19:10.1145\/3576915.3623076","series-title":"CCS '23","isbn-type":"print","doi-asserted-by":"publisher","first-page":"2606","DOI":"10.1145\/3576915.3623076","article-title":"SalsaPicante: A Machine Learning Attack on LWE with Binary\n  Secrets","author":"Cathy Yuanchen Li","year":"2023","ISBN":"https:\/\/id.crossref.org\/isbn\/9798400700507"},{"key":"ref20:10.1145\/1060590.1060603","series-title":"STOC '05","isbn-type":"print","doi-asserted-by":"publisher","first-page":"84","DOI":"10.1145\/1060590.1060603","article-title":"On Lattices, Learning with Errors, Random Linear Codes, and\n  Cryptography","author":"Oded Regev","year":"2005","ISBN":"https:\/\/id.crossref.org\/isbn\/1581139608"},{"key":"ref21:10.1145\/2488608.2488680","series-title":"STOC '13","isbn-type":"print","doi-asserted-by":"publisher","first-page":"575","DOI":"10.1145\/2488608.2488680","article-title":"Classical Hardness of Learning with Errors","author":"Zvika Brakerski","year":"2013","ISBN":"https:\/\/id.crossref.org\/isbn\/9781450320290"},{"key":"ref22:Herold2018","doi-asserted-by":"publisher","first-page":"55","DOI":"10.1007\/s10623-016-0326-0","article-title":"On the asymptotic complexity of solving LWE","volume":"86","author":"Gottfried Herold","year":"2018","journal-title":"Designs, Codes and Cryptography","ISSN":"https:\/\/id.crossref.org\/issn\/1573-7586","issn-type":"electronic"},{"key":"ref23:pqc","volume-title":"Announcing Four Candidates to be Standardized, Plus Fourth\n  Round Candidates","author":"Lily Chen","year":"2022"},{"key":"ref24:10.1145\/3591866.3593072","series-title":"APKC '23","isbn-type":"print","doi-asserted-by":"publisher","first-page":"10","DOI":"10.1145\/3591866.3593072","article-title":"Breaking a Fifth-Order Masked Implementation of\n  CRYSTALS-Kyber by Copy-Paste","author":"Elena Dubrova","year":"2023","ISBN":"https:\/\/id.crossref.org\/isbn\/9798400701832"},{"key":"ref25:10.1007\/978-3-030-84259-8_16","isbn-type":"print","doi-asserted-by":"publisher","first-page":"454","DOI":"10.1007\/978-3-030-84259-8_16","article-title":"The t-wise Independence of\u00a0Substitution-Permutation\n  Networks","author":"Tianren Liu","year":"2021","ISBN":"https:\/\/id.crossref.org\/isbn\/9783030842598"},{"key":"ref26:DBLP:conf\/soda\/FeldmanGV17","doi-asserted-by":"publisher","first-page":"1265","DOI":"10.1137\/1.9781611974782.82","article-title":"Statistical Query Algorithms for Mean Vector Estimation and\n  Stochastic Convex Optimization","author":"Vitaly Feldman","year":"2017"},{"key":"ref27:DBLP:conf\/stoc\/Kearns93","doi-asserted-by":"publisher","first-page":"392","DOI":"10.1145\/167088.167200","article-title":"Efficient noise-tolerant learning from statistical queries","author":"Michael J. Kearns","year":"1993"},{"key":"ref28:DBLP:conf\/stoc\/BlumFJKMR94","doi-asserted-by":"publisher","first-page":"253","DOI":"10.1145\/195058.195147","article-title":"Weakly learning DNF and characterizing statistical query\n  learning using Fourier analysis","author":"Avrim Blum","year":"1994"},{"key":"ref29:10.1007\/3-540-45583-3_7","isbn-type":"print","doi-asserted-by":"publisher","first-page":"59","DOI":"10.1007\/3-540-45583-3_7","article-title":"On Learning Correlated Boolean Functions Using Statistical\n  Queries (Extended Abstract)","author":"Ke Yang","year":"2001","ISBN":"https:\/\/id.crossref.org\/isbn\/9783540455837"},{"key":"ref30:Blondeau","isbn-type":"print","doi-asserted-by":"publisher","first-page":"73","DOI":"10.1007\/978-3-662-48116-5_4","article-title":"Protecting Against Multidimensional Linear and Truncated\n  Differential Cryptanalysis by Decorrelation","author":"C\u00e9line Blondeau","year":"2015","ISBN":"https:\/\/id.crossref.org\/isbn\/9783662481165"},{"key":"ref31:Vaudenay2003","doi-asserted-by":"publisher","first-page":"249","DOI":"10.1007\/s00145-003-0220-6","article-title":"Decorrelation: A Theory for Block Cipher Security","volume":"16","author":"Serge Vaudenay","year":"2003","journal-title":"Journal of Cryptology","ISSN":"https:\/\/id.crossref.org\/issn\/1432-1378","issn-type":"electronic"},{"key":"ref32:HOORY2005251","doi-asserted-by":"publisher","first-page":"251","DOI":"10.1016\/j.tcs.2005.09.016","article-title":"Simple permutations mix well","volume":"348","author":"Shlomo Hoory","year":"2005","journal-title":"Theoretical Computer Science","ISSN":"https:\/\/id.crossref.org\/issn\/0304-3975","issn-type":"electronic"},{"key":"ref33:ALON2003107","doi-asserted-by":"publisher","first-page":"107","DOI":"10.1016\/S0020-0190(03)00359-4","article-title":"Almost k-wise independence versus k-wise independence","volume":"88","author":"Noga Alon","year":"2003","journal-title":"Information Processing Letters","ISSN":"https:\/\/id.crossref.org\/issn\/0020-0190","issn-type":"electronic"},{"key":"ref34:Finucane","doi-asserted-by":"publisher","first-page":"531","DOI":"10.1002\/rsa.20509","article-title":"A recursive construction of t-wise uniform permutations","volume":"46","author":"Hilary Finucane","year":"2015","journal-title":"Random Structures & Algorithms"},{"key":"ref35:Kaplan2009","doi-asserted-by":"publisher","first-page":"113","DOI":"10.1007\/s00453-008-9267-y","article-title":"Derandomized Constructions of k-Wise (Almost) Independent\n  Permutations","volume":"55","author":"Eyal Kaplan","year":"2009","journal-title":"Algorithmica","ISSN":"https:\/\/id.crossref.org\/issn\/1432-0541","issn-type":"electronic"},{"key":"ref36:Ngo2023","doi-asserted-by":"publisher","first-page":"443","DOI":"10.1007\/s13389-023-00315-3","article-title":"A side-channel attack on a masked and shuffled software\n  implementation of Saber","volume":"13","author":"Kalle Ngo","year":"2023","journal-title":"Journal of Cryptographic Engineering","ISSN":"https:\/\/id.crossref.org\/issn\/2190-8516","issn-type":"electronic"},{"key":"ref37:8406610","doi-asserted-by":"publisher","first-page":"353","DOI":"10.1109\/EuroSP.2018.00032","article-title":"CRYSTALS - Kyber: A CCA-Secure Module-Lattice-Based KEM","author":"Joppe Bos","year":"2018"},{"key":"ref38:DBLP:conf\/nips\/WengerCCL22","article-title":"SALSA: Attacking Lattice Cryptography with Transformers","author":"Emily Wenger","year":"2022"},{"key":"ref39:DBLP:journals\/iacr\/LiSWACL23","first-page":"53343","article-title":"SALSA VERDE: a machine learning attack on LWE with sparse\n  small secrets","volume-title":"Advances in Neural Information Processing Systems","volume":"36","author":"Cathy Li","year":"2023"},{"key":"ref40:10.1007\/978-3-642-25385-0_1","isbn-type":"print","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1007\/978-3-642-25385-0_1","article-title":"BKZ 2.0: Better Lattice Security Estimates","author":"Yuanmi Chen","year":"2011","ISBN":"https:\/\/id.crossref.org\/isbn\/9783642253850"},{"key":"ref41:9408655","doi-asserted-by":"publisher","first-page":"60960","DOI":"10.1109\/ACCESS.2021.3074268","article-title":"A Novel Dynamic Attack on Classical Ciphers Using an\n  Attention-Based LSTM Encoder-Decoder Model","volume":"9","author":"Ezat Ahmadzadeh","year":"2021","journal-title":"IEEE Access"},{"key":"ref42:cryptoeprint:2021\/705","volume-title":"Bridging Machine Learning and Cryptanalysis via EDLCT","author":"Yi Chen","year":"2021"},{"key":"ref43:TENG2023103531","doi-asserted-by":"publisher","first-page":"103531","DOI":"10.1016\/j.jisa.2023.103531","article-title":"On the security of lightweight block ciphers against neural\n  distinguishers: Observations on LBC-IoT and SLIM","volume":"76","author":"Wei Jian Teng","year":"2023","journal-title":"Journal of Information Security and Applications","ISSN":"https:\/\/id.crossref.org\/issn\/2214-2126","issn-type":"electronic"},{"key":"ref44:Baek2019RecentAO","article-title":"Recent Advances of Neural Attacks against Block Ciphers","author":"Seunggeun Baek","year":"2020"},{"key":"ref45:10.1007\/978-3-642-34500-5_75","isbn-type":"print","doi-asserted-by":"publisher","first-page":"637","DOI":"10.1007\/978-3-642-34500-5_75","article-title":"Neuro-Cryptanalysis of DES and Triple-DES","author":"Mohammed M. Alani","year":"2012","ISBN":"https:\/\/id.crossref.org\/isbn\/9783642345005"},{"key":"ref46:10.1007\/978-3-031-16815-4_15","isbn-type":"print","doi-asserted-by":"publisher","first-page":"248","DOI":"10.1007\/978-3-031-16815-4_15","article-title":"Output Prediction Attacks on Block Ciphers Using Deep\n  Learning","author":"Hayato Kimura","year":"2022","ISBN":"https:\/\/id.crossref.org\/isbn\/9783031168154"},{"key":"ref47:9495781","doi-asserted-by":"publisher","first-page":"104205","DOI":"10.1109\/ACCESS.2021.3099802","article-title":"A Deep Learning Approach for Active S-Box Prediction of\n  Lightweight Generalized Feistel Block Ciphers","volume":"9","author":"Mohamed Fadl Idris","year":"2021","journal-title":"IEEE Access"},{"key":"ref48:10.5555\/1111205","isbn-type":"print","doi-asserted-by":"crossref","DOI":"10.1017\/CBO9781139165464","volume-title":"A computational introduction to number theory and algebra","author":"Victor Shoup","year":"2005","ISBN":"https:\/\/id.crossref.org\/isbn\/0521851548"},{"key":"ref49:KROVETZ200636","doi-asserted-by":"publisher","first-page":"36","DOI":"10.1016\/j.ipl.2005.11.026","article-title":"Variationally universal hashing","volume":"100","author":"Ted Krovetz","year":"2006","journal-title":"Information Processing Letters","ISSN":"https:\/\/id.crossref.org\/issn\/0020-0190","issn-type":"electronic"},{"key":"ref50:10.1007\/978-3-319-98113-0_9","isbn-type":"print","doi-asserted-by":"publisher","first-page":"160","DOI":"10.1007\/978-3-319-98113-0_9","article-title":"Lizard: Cut Off the Tail! A Practical Post-quantum\n  Public-Key Encryption from LWE and LWR","author":"Jung Hee Cheon","year":"2018","ISBN":"https:\/\/id.crossref.org\/isbn\/9783319981130"},{"key":"ref51:dragomir2004boas","doi-asserted-by":"publisher","first-page":"217","DOI":"10.1017\/S0004972700035954","article-title":"On the Boas-Bellman inequality in inner product spaces","volume":"69","author":"Sever S Dragomir","year":"2004","journal-title":"Bulletin of the Australian Mathematical Society"}],"container-title":["IACR Communications in Cryptology"],"original-title":[],"language":"en","deposited":{"date-parts":[[2024,12,10]],"date-time":"2024-12-10T16:28:33Z","timestamp":1733848113000},"score":1,"resource":{"primary":{"URL":"https:\/\/cic.iacr.org\/p\/1\/3\/32"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,10,7]]},"references-count":51,"URL":"https:\/\/doi.org\/10.62056\/a3ksa69p1","archive":["Internet Archive","Internet Archive"],"relation":{},"ISSN":["3006-5496"],"issn-type":[{"value":"3006-5496","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,10,7]]},"assertion":[{"value":"2024-07-08","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-09-02","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"cc1-3-92"}}