Arxiv:1910.05929V1 [Cs.LG] 14 Oct 2019 Multaneously Accounts for All 4 of These Sur- the Journey to These Minima

Total Page:16

File Type:pdf, Size:1020Kb

Arxiv:1910.05929V1 [Cs.LG] 14 Oct 2019 Multaneously Accounts for All 4 of These Sur- the Journey to These Minima Emergent properties of the local geometry of neural loss landscapes Stanislav Fort Surya Ganguli Stanford University Stanford University Stanford, CA, USA Stanford, CA, USA Abstract 1 Introduction The geometry of neural network loss landscapes and The local geometry of high dimensional neu- the implications of this geometry for both optimiza- ral network loss landscapes can both chal- tion and generalization have been subjects of intense lenge our cherished theoretical intuitions as interest in many works, ranging from studies on the well as dramatically impact the practical suc- lack of local minima at significantly higher loss than cess of neural network training. Indeed recent that of the global minimum [1, 2] to studies debating works have observed 4 striking local prop- relations between the curvature of local minima and erties of neural loss landscapes on classifi- their generalization properties [3, 4, 5, 6]. Fundamen- cation tasks: (1) the landscape exhibits ex- tally, the neural network loss landscape is a scalar loss actly C directions of high positive curvature, function over a very high D dimensional parameter where C is the number of classes; (2) gradi- space that could depend a priori in highly nontriv- ent directions are largely confined to this ex- ial ways on the very structure of real-world data itself tremely low dimensional subspace of positive as well as intricate properties of the neural network Hessian curvature, leaving the vast major- architecture. Moreover, the regions of this loss land- ity of directions in weight space unexplored; scape explored by gradient descent could themselves (3) gradient descent transiently explores in- have highly atypical geometric properties relative to termediate regions of higher positive curva- randomly chosen points in the landscape. Thus un- ture before eventually finding flatter minima; derstanding the shape of loss functions over high di- (4) training can be successful even when con- mensional spaces with potentially intricate dependen- fined to low dimensional random affine hy- cies on both data and architecture, as well as biases in perplanes, as long as these hyperplanes in- regions explored by gradient descent, remains a signif- tersect a Goldilocks zone of higher than av- icant challenge in deep learning. Indeed many recent erage curvature. We develop a simple theo- studies explore extremely intriguing properties of the retical model of gradients and Hessians, jus- local geometry of these loss landscapes, as character- tified by numerical experiments on architec- ized by the gradient and Hessian of the loss landscape, tures and datasets used in practice, that si- both at minima found by gradient descent, and along arXiv:1910.05929v1 [cs.LG] 14 Oct 2019 multaneously accounts for all 4 of these sur- the journey to these minima. prising and seemingly unrelated properties. Our unified model provides conceptual in- In this work we focus on providing a simple, unified ex- sights into the emergence of these properties planation of 4 seemingly unrelated yet highly intrigu- and makes connections with diverse topics ing local properties of the loss landscape on classifica- in neural networks, random matrix theory, tion tasks that have appeared in the recent literature: and spin glasses, including the neural tangent kernel, BBP phase transitions, and Derrida's random energy model. (1) The Hessian eigenspectrum is composed of a bulk plus C outlier eigenvalues where C is the number of classes. Recent works have observed this phenomenon in small networks [7, 8, 9], as well as large networks [10, 11]. This implies that locally the loss landscape has C highly curved directions, while it is much flatter in the vastly larger number of D − C directions in weight space. (2) Gradient aligns with this tiny Hessian sub- rally from the very structure of real-world data, com- space. Recent work [12] demonstrated that the gra- plex neural architectures, and potentially biased ex- dient ~g over training time lies primarily in the subspace plorations of the loss landscape through the dynamics spanned by the top few largest eigenvalues of the Hes- of gradient descent starting at a random initialization. sian H (equal to the number of classes C). This implies Moreover, it is unclear what specific aspects of data, that most of the descent directions lie along extremely architecture and descent trajectory are important for low dimensional subspaces of high local positive curva- generating these 4 properties, and what myriad as- ture; exploration in the vastly larger number of D − C pects are not relevant. available directions in parameter space over training Our main contribution is to provide an extremely sim- utilizes a small portion of the gradient. ple, unified model that simultaneously accounts for all 4 of these local geometric properties. Our model yields (3) The maximal Hessian eigenvalue grows, conceptual insights into why these 4 properties might peaks and then declines during training. Given arise quite generically in neural networks solving classi- widespread interest in arriving at flat minima (e.g. [6]) fication tasks, and makes connections to diverse topics due to their presumed superior generalization prop- in neural networks, random matrix theory, and spin erties, it is interesting to understand how the local glasses, including the neural tangent kernel [19, 20], geometry, and especially curvature, of the loss land- BBP phase transitions [21, 22], and the random en- scape varies over training time. Interestingly, a recent ergy model [23]. study [13] found that the spectral norm of the Hessian, as measured by the top Hessian eigenvalue, displays The outline of this paper is as follows. We set up the a non-monotonic dependence on training time. This basic notation and questions we ask about gradients non-monotonicity implies that gradient descent trajec- and Hessians in detail Sec. 2. In Sec. 3 we introduce a tories tend to enter higher positive curvature regions sequence of simplifying assumptions about the struc- of the loss landscape before eventually finding the de- ture of gradients, Hessians, logit gradients and logit sired flatter regions. Related effects were observed in curvatures that enable us to obtain in the end an ex- [14, 15]. tremely simple random model of Hessians and gradi- ents and how they evolve both over training time and (4) Initializing in a Goldilocks zone of higher weight scale. We then immediately demonstrate in convexity enables training in very low di- Sec. 4 that all 4 striking properties of local geometry mensional weight subspaces. Recent work [16] of the loss landscape emerge naturally from our sim- showed, surprisingly, that one need not train all D pa- ple random model. Finally, in Sec. 5 we give direct rameters independently to achieve good training and evidence that our simplifying theoretical assumptions test error; instead one can choose to train only within leading to our random model in Sec. 3 are indeed valid a random low dimensional affine hyperplane of param- in practice, by performing numerical experiments on eters. Indeed the dimension of this hyperplane can realistic architectures and datasets. be far less than D. More recent work [17] explored how the success of training depends on the position of 2 Overall framework this hyperplane in parameter space. This work found a Goldilocks zone as a function of the initial weight Here we describe the local shape of neural loss land- variance, such that the intersection of the hyperplane scapes, as quantified by their gradient and Hessian, with this Goldilocks zone correlated with training suc- and formulate the main problem we aim to solve: con- cess. Furthermore, this Goldilocks zone was character- ceptually understanding the emergence of the 4 strik- ized as a region of higher than usual positive curvature ing properties from these two fundamental objects. as measured by the Hessian statistic Trace(H)=jjHjj. This statistic takes larger positive values when typical 2.1 Notation and general setup randomly chosen directions in parameter space exhibit more positive curvature [17, 18]. Thus overall, the ease We consider a classification task with C classes. Let of optimizing over low dimensional hyperplanes corre- f~xµ; ~yµgN denote a dataset of N input-output vec- lates with intersections of this hyperplane with regions µ=1 tors where the outputs ~yµ 2 C are one-hot vectors, of higher positive curvature. R with all components equal to 0 except a single compo- µ Taken together these 4 somewhat surprising and nent yk = 1 if and only if k is the correct class label seemly unrelated local geometric properties fundamen- for input xµ. We assume a neural network transforms tally challenge our conceptual understanding of the each input ~xµ into a logit vector ~zµ 2 RC through µ µ ~ D shape of neural network loss landscapes. It is a pri- the function ~z = FW~ (x ), where W 2 R denotes ori unclear how these 4 properties may emerge natu- a D dimensional vector of trainable neural network parameters. We aim to obtain the aforementioned 4 and the Hessian of the loss Lµ with respect to logits is local properties of the loss landscape as a consequence @2Lµ of a set of simple properties and therefore we do not 2 µ µ µ rzL kl = µ µ = pk (δkl − pl ) : (7) @zk @zl assume the function FW~ corresponds to any particular architecture such as a ResNet [24], deep convolutional neural network [25], or a fully-connected neural net- Then applying the chain rule yields the gradient of L work. We do assume though that the predicted class
Recommended publications
  • Opportunities for US-Israeli Collaborations in Computational Neuroscience
    Opportunities for US-Israeli Collaborations in Computational Neuroscience Report of a Binational Workshop* Larry Abbott and Naftali Tishby Introduction Both Israel and the United States have played and continue to play leading roles in the rapidly developing field of computational neuroscience, and both countries have strong interests in fostering collaboration in emerging research areas. A workshop was convened by the US-Israel Binational Science Foundation and the US National Science Foundation to discuss opportunities to encourage and support interdisciplinary collaborations among scientists from the US and Israel, centered around computational neuroscience. Seven leading experts from Israel and six from the US (Appendix 2) met in Jerusalem on November 14, 2012, to evaluate and characterize such research opportunities, and to generate suggestions and ideas about how best to proceed. The participants were asked to characterize the potential scientific opportunities that could be expected from collaborations between the US and Israel in computational neuroscience, and to discuss associated opportunities for training, applications, and other broader impacts, as well as practical considerations for maximizing success. Computational Neuroscience in the United States and Israel The computational research communities in the United States and Israel have both contributed significantly to the foundations of and advances in applying mathematical analysis and computational approaches to the study of neural circuits and behavior. This shared intellectual commitment has led to productive collaborations between US and Israeli researchers, and strong ties between a number of institutions in Israel and the US. These scientific collaborations are built on over 30 years of visits and joint publications and the results have been extremely influential.
    [Show full text]
  • Surya Ganguli: Innovator in Artificial Intelligence
    Behind the Tech Kevin Scott Podcast EP-10: Surya Ganguli: Innovator in artificial intelligence SURYA GANGULI: (VOICEOVER) A lot of people, of course, listening to your podcast and out there in the world have become incredibly successful based on the rise of digital technology. But I think we need to think about digital technology now as a suboptimal legacy technology. To achieve energy efficient artificial intelligence, we've really got to take cues from biology. [MUSIC] KEVIN SCOTT: Hi, everyone. Welcome to Behind the Tech. I'm your host, Kevin Scott, Chief Technology Officer for Microsoft. In this podcast, we're going to get behind the tech. We'll talk with some of the people who have made our modern tech world possible and understand what motivated them to create what they did. So join me to maybe learn a little bit about the history of computing and get a few behind- the-scenes insights into what's happening today. Stick around. [MUSIC] CHRISTINA WARREN: Hello, and welcome to the show. I'm Christina Warren, Senior Cloud Advocate at Microsoft. KEVIN SCOTT: And I'm Kevin Scott. CHRISTINA WARREN: Today, we're excited to have with us Surya Ganguli. KEVIN SCOTT: Yeah, Surya is a professor at Stanford working at the intersection of a bunch of different, super interesting fields. So, he's a physicist. He's a neuroscientist. He is actually quite familiar with modern psychology, and he's a computer scientist. And so, he's applying all of this interest that he has across all of these different fields, trying to make sure that we're building better and more interesting biologically and psychologically inspired machine learning systems in AI.
    [Show full text]
  • Predictive Coding in Balanced Neural Networks with Noise, Chaos and Delays
    Predictive coding in balanced neural networks with noise, chaos and delays Jonathan Kadmon Jonathan Timcheck Surya Ganguli Department of Applied Physics Department of Physics Department of Applied Physics Stanford University,CA Stanford University,CA Stanford University, CA [email protected] Abstract Biological neural networks face a formidable task: performing reliable compu- tations in the face of intrinsic stochasticity in individual neurons, imprecisely specified synaptic connectivity, and nonnegligible delays in synaptic transmission. A common approach to combatting such biological heterogeneity involves aver- aging over large redundantp networks of N neurons resulting in coding errors that decrease classically as 1= N. Recent work demonstrated a novel mechanism whereby recurrent spiking networks could efficiently encode dynamic stimuli, achieving a superclassical scaling in which coding errors decrease as 1=N. This specific mechanism involved two key ideas: predictive coding, and a tight balance, or cancellation between strong feedforward inputs and strong recurrent feedback. However, the theoretical principles governing the efficacy of balanced predictive coding and its robustness to noise, synaptic weight heterogeneity and communica- tion delays remain poorly understood. To discover such principles, we introduce an analytically tractable model of balanced predictive coding, in which the de- gree of balance and the degree of weight disorder can be dissociated unlike in previous balanced network models, and we develop a mean field theory of coding accuracy. Overall, our work provides and solves a general theoretical framework for dissecting the differential contributions neural noise, synaptic disorder, chaos, synaptic delays, and balance to the fidelity of predictive neural codes, reveals the fundamental role that balance plays in achieving superclassical scaling, and unifies previously disparate models in theoretical neuroscience.
    [Show full text]
  • Surya Ganguli
    Surya Ganguli Address Department of Applied Physics, Stanford University 318 Campus Drive Stanford, CA 94305-5447 [email protected] http://ganguli-gang.stanford.edu/~surya.html Biographic Data Born in Kolkata, India. Currently US citizen. Education University of California Berkeley Berkeley, CA Ph.D. Theoretical Physics, October 2004. Thesis: \Geometry from Algebra: The Holographic Emergence of Spacetime in String Theory" M.A. Mathematics, June 2004. M.A. Physics, December 2000. Massachusetts Institute of Technology Cambridge, MA M.Eng. Electrical Engineering and Computer Science, May 1998. B.S. Physics, May 1998. B.S. Mathematics, May 1998. B.S. Electrical Engineering and Computer Science, May 1998. University High School Irvine, CA Graduated first in a class of 470 students at age 16, May 1993. Research Stanford University Stanford, CA Positions Department of Applied Physics, and by courtesy, Jan 12 to present Department of Neurobiology Department of Computer Science Department of Electrical Engineering Assistant Professor. Google Mountain View, CA Google Brain Deep Learning Team Feb 17 to present Visiting Research Professor, 1 day a week. University of California, San Francisco San Francisco, CA Sloan-Swartz Center for Theoretical Neurobiology Sept 04 to Jan 12 Postdoctoral Fellow. Conducted theoretical neuroscience research. Lawrence Berkeley National Lab Berkeley, CA Theory Group Sept 02 to Sept 04 Graduate student. Conducted string theory research; thesis advisor: Prof. Petr Horava. MIT Department of Physics Cambridge, MA Center for Theoretical Physics January 97 to June 98 Studied the Wigner-Weyl representation of quantum mechanics. Discovered new admissibility conditions satisfied by all Wigner distributions. Also formulated and implemented simulations of quantum dynamics directly in phase space.
    [Show full text]
  • Surya Ganguli Associate Professor of Applied Physics and , by Courtesy, of Neurobiology and of Electrical Engineering Curriculum Vitae Available Online
    Surya Ganguli Associate Professor of Applied Physics and , by courtesy, of Neurobiology and of Electrical Engineering Curriculum Vitae available Online Bio ACADEMIC APPOINTMENTS • Associate Professor, Applied Physics • Associate Professor (By courtesy), Neurobiology • Associate Professor (By courtesy), Electrical Engineering • Member, Bio-X • Associate Director, Institute for Human-Centered Artificial Intelligence (HAI) • Member, Wu Tsai Neurosciences Institute HONORS AND AWARDS • NSF Career Award, National Science Foundation (2019) • Investigator Award in Mathematical Modeling of Living Systems, Simons Foundation (2016) • McKnight Scholar Award, McKnight Endowment Fund for Neuroscience (2015) • Scholar Award in Human Cognition, James S. McDonnell Foundation (2014) 4 OF 9 PROFESSIONAL EDUCATION • Ph.D., UC Berkeley , Theoretical Physics (2004) • M.A., UC Berkeley , Mathematics (2004) • M.Eng., MIT , Electrical Engineering and Computer Science (1998) • B.S., MIT , Mathematics (1998) 4 OF 6 LINKS • Lab Website: http://ganguli-gang.stanford.edu/index.html • Personal Website: http://ganguli-gang.stanford.edu/surya.html • Applied Physics Website: https://web.stanford.edu/dept/app-physics/cgi-bin/person/surya-gangulijanuary-2012/ Research & Scholarship CURRENT RESEARCH AND SCHOLARLY INTERESTS Theoretical / computational neuroscience Page 1 of 2 Surya Ganguli http://cap.stanford.edu/profiles/Surya_Ganguli/ Teaching COURSES 2019-20 • Artificial Intelligence, Entrepreneurship and Society in the 21st Century and Beyond: CS 28 (Aut) • Introduction
    [Show full text]
  • NTT Technical Review, Vol. 17, No. 12, Dec. 2019
    Feature Articles: Establishment of NTT Research, Inc. toward the Strengthening and Globalization of Research and Development Mission of Physics & Informatics Laboratories Yoshihisa Yamamoto Abstract At the Physics & Informatics Laboratories (PHI Labs) of NTT Research, Inc., we explore a new prin- ciple that will bring about a revolution in information processing technology in the interdisciplinary area between quantum physics and brain science, and it is here where we have positioned our research field. We will focus on quantum-classical crossover physics and critical phenomena in neural networks. We will concentrate, in particular, on optical implementation as a means of achieving a simple, elegant, and practical implementation of a computer that is based on this new principle, specifically on the optical parametric oscillator that can achieve quantum neural networks at room temperature. This article intro- duces the concepts, technologies, and target applications making up this research field at PHI Labs. Keywords: combinatorial optimization problem, quantum neural network, optical parametric oscillator 1. Quantum neural networks using optical waves for practical use) in 1968 by Stephen Harris parametric oscillators and Robert Byer of Stanford University [2]. The foundation of optical communication technol- The development of new oscillators for generating ogy, which blossomed in the 20th century, was the coherent electromagnetic waves and the expansion of laser, but it is our future vision that the foundation of their application fields
    [Show full text]
  • A Mathematical Theory of Semantic Development in Deep Neural Networks
    A mathematical theory of semantic development in deep neural networks Andrew M. Saxe ∗, James L. McClelland †, and Surya Ganguli †‡ ∗University of Oxford, Oxford, UK,†Stanford University, Stanford, CA, and ‡Google Brain, Mountain View, CA An extensive body of empirical research has revealed remarkable ganization of semantic knowledge powerfully guides its deployment regularities in the acquisition, organization, deployment, and neu- in novel situations, where one must make inductive generalizations ral representation of human semantic knowledge, thereby raising about novel items and properties [2, 3]. Indeed, studies of children a fundamental conceptual question: what are the theoretical prin- reveal that their inductive generalizations systematically change over ciples governing the ability of neural networks to acquire, orga- development, often becoming more specific with age [2, 3, 17–19]. nize, and deploy abstract knowledge by integrating across many individual experiences? We address this question by mathemat- Finally, recent neuroscientific studies have begun to shed light on ically analyzing the nonlinear dynamics of learning in deep lin- the organization of semantic knowledge in the brain. The method of ear networks. We find exact solutions to this learning dynamics representational similarity analysis [20,21] has revealed that the sim- that yield a conceptual explanation for the prevalence of many ilarity structure of neural population activity patterns in high level disparate phenomena in semantic cognition, including the hier-
    [Show full text]
  • The Statistical Physics of Deep Learning on Infant Category Learning
    The statistical physics of deep learning On infant category learning, dynamic criticality, random landscapes, and the reversal of time. Surya Ganguli Dept. of Applied Physics, Neurobiology, and Electrical Engineering Stanford University Neural circuits and behavior: theory, computation and experiment with Baccus lab: inferring hidden circuits in the retina with Clandinin lab: unraveling the computations underlying fly motion vision from whole brain optical imaging with the Giocomo lab: understanding the internal representations of space in the mouse entorhinal cortex with the Shenoy lab: a theory of neural dimensionality, dynamics and measurement with the Raymond lab: theories of how enhanced plasticity can either enhance or impair learning depending on experience Statistical mechanics of high dimensional data analysis N = dimensionality of data! α = N / M! M = number of data points! Classical Statistics Modern Statistics N ~ O(1)! N -> " ! M -> "! M -> "! α -> 0 α ~ 0(1) Machine Learning and Data Analysis! Statistical Physics of Quenched ! Disorder! Learn statistical parameters by! ! maximizing log likelihood of data ! Energy = - log Prob ( data | parameters)! given parameters. ! ! Data = quenched disorder! Parameters = thermal degrees of freedom! Applications to: 1) compressed sensing! 2) optimal inference in high dimensions! 3) a theory of neural dimensionality and measurement ! The project that really keeps me up at night Motivations for an alliance between theoretical neuroscience and theoretical machine learning: opportunities for statistical physics •# What does it mean to understand the brain (or a neural circuit?) •# We understand how the connectivity and dynamics of a neural circuit gives rise to behavior. •# And also how neural activity and synaptic learning rules conspire to self- organize useful connectivity that subserves behavior.
    [Show full text]
  • Arxiv:1907.08549V2 [Q-Bio.NC] 4 Dec 2019 1 Introduction
    Universality and individuality in neural dynamics across large populations of recurrent networks Niru Maheswaranathan∗ Alex H. Williams∗ Matthew D. Golub Google Brain, Google Inc. Stanford University Stanford University Mountain View, CA Stanford, CA Stanford, CA [email protected] [email protected] [email protected] Surya Ganguli David Sussilloy Stanford University and Google Brain Google Brain, Google Inc. Stanford, CA and Mountain View, CA Mountain View, CA [email protected] [email protected] Abstract Task-based modeling with recurrent neural networks (RNNs) has emerged as a popular way to infer the computational function of different brain regions. These models are quantitatively assessed by comparing the low-dimensional neural rep- resentations of the model with the brain, for example using canonical correlation analysis (CCA). However, the nature of the detailed neurobiological inferences one can draw from such efforts remains elusive. For example, to what extent does training neural networks to solve common tasks uniquely determine the network dynamics, independent of modeling architectural choices? Or alternatively, are the learned dynamics highly sensitive to different model choices? Knowing the answer to these questions has strong implications for whether and how we should use task-based RNN modeling to understand brain dynamics. To address these foundational questions, we study populations of thousands of networks, with com- monly used RNN architectures, trained to solve neuroscientifically motivated tasks and characterize
    [Show full text]
  • Statistical Mechanics of Deep Learning
    CO11CH22_Ganguli ARjats.cls February 13, 2020 10:27 Annual Review of Condensed Matter Physics Statistical Mechanics of Deep Learning Yasaman Bahri,1 Jonathan Kadmon,2 Jeffrey Pennington,1 Sam S. Schoenholz,1 Jascha Sohl-Dickstein,1 and Surya Ganguli1,2 1Google Brain, Google Inc., Mountain View, California 94043, USA 2Department of Applied Physics, Stanford University, Stanford, California 94035, USA; email: [email protected] Annu. Rev. Condens. Matter Phys. 2020. 11:501–28 Keywords First published as a Review in Advance on neural networks, machine learning, dynamical phase transitions, chaos, spin December 9, 2019 glasses, jamming, random matrix theory, interacting particle systems, The Annual Review of Condensed Matter Physics is nonequilibrium statistical mechanics online at conmatphys.annualreviews.org https://doi.org/10.1146/annurev-conmatphys- Abstract 031119-050745 The recent striking success of deep neural networks in machine learning Copyright © 2020 by Annual Reviews. raises profound questions about the theoretical principles underlying their All rights reserved success. For example, what can such deep networks compute? How can we train them? How does information propagate through them? Why can they generalize? And how can we teach them to imagine? We review recent work Annu. Rev. Condens. Matter Phys. 2020.11:501-528. Downloaded from www.annualreviews.org in which methods of physical analysis rooted in statistical mechanics have begun to provide conceptual insights into these questions. These insights yield connections between deep learning and diverse physical and mathe- Access provided by Stanford University - Main Campus Robert Crown Law Library on 06/23/20. For personal use only. matical topics, including random landscapes, spin glasses, jamming, dynam- ical phase transitions, chaos, Riemannian geometry, random matrix theory, free probability, and nonequilibrium statistical mechanics.
    [Show full text]
  • We Live in a World
    We live in a world in which science, from mathematics through to biology and computer science, affects us all. By encouraging the full development of science across disciplines we help to shape the future. –Michael Atiyah TATA INSTITUTE OF FUNDAMENTAL RESEARCH CONTENTS FROM THE DIRECTOR’S DESK PAGE 2 THE ROAD TRAVELLED PAGE 4 ICTS AT TEN PAGE 5 RESEARCH PAGE 6 PROGRAMS PAGE 12 OUTREACH PAGE 18 ORGANISATION PAGE 22 CAMPUS PAGE 24 BrochurePAGE 21 Editorial Team–Ananya Dasgupta, Parul Sehgal, Renu Singh Design–Anisha Heble, Juny K Wilfred I would describe ICTS with three words: Bold, Deliberate, Effective. Bold in its vision for its role in the Indian and international scientific community. Deliberate in its assessments of opportunity and in charting its path. Effective in supporting its faculty to achieve the full potential. –Stan Whitcomb, Caltech FROM THE DIRECTOR'S DESK “In our acquisition of knowledge of the universe (whether As an institution in its childhood, at ICTS there is a mathematical or otherwise) that which renovates the quest notion of playfulness and, perhaps, naivety in our is nothing more or less than complete innocence ... approach to all matters. We have a brand new campus It alone can unite humility with boldness so as to allow us to like a new toy in the hands of our youthful faculty and penetrate to the heart of things ... ” students as well as enthusiastic admin staff - who are all Alexander Grothendieck (From “Reaping and Sowing”) eager to try new things, to do things differently. In short, to create a different ethos.
    [Show full text]
  • Arxiv:2012.04728V2 [Cs.LG] 29 Mar 2021
    Published as a conference paper at ICLR 2021 NEURAL MECHANICS: SYMMETRY AND BROKEN CON- SERVATION LAWS IN DEEP LEARNING DYNAMICS Daniel Kunin*, Javier Sagastuy-Brena, Surya Ganguli, Daniel L.K. Yamins, Hidenori Tanaka*y Stanford University Physics & Informatics Laboratories, NTT Research, Inc. y ABSTRACT Understanding the dynamics of neural network parameters during training is one of the key challenges in building a theoretical foundation for deep learning. A central obstacle is that the motion of a network in high-dimensional parameter space undergoes discrete finite steps along complex stochastic gradients derived from real-world datasets. We circumvent this obstacle through a unifying theoretical framework based on intrinsic symmetries embedded in a network’s architecture that are present for any dataset. We show that any such symmetry imposes strin- gent geometric constraints on gradients and Hessians, leading to an associated conservation law in the continuous-time limit of stochastic gradient descent (SGD), akin to Noether’s theorem in physics. We further show that finite learning rates used in practice can actually break these symmetry induced conservation laws. We apply tools from finite difference methods to derive modified gradient flow, a differential equation that better approximates the numerical trajectory taken by SGD at finite learning rates. We combine modified gradient flow with our frame- work of symmetries to derive exact integral expressions for the dynamics of certain parameter combinations. We empirically validate our analytic expressions for learning dynamics on VGG-16 trained on Tiny ImageNet. Overall, by exploiting symmetry, our work demonstrates that we can analytically describe the learning dynamics of various parameter combinations at finite learning rates and batch sizes for state of the art architectures trained on any dataset.
    [Show full text]