<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Juan Carlos Kuri Pinto on Medium]]></title>
        <description><![CDATA[Stories by Juan Carlos Kuri Pinto on Medium]]></description>
        <link>https://medium.com/@jckuri?source=rss-76ba76ae1a9e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*S4DMYfvJ8LAE_WpDbDwULA.jpeg</url>
            <title>Stories by Juan Carlos Kuri Pinto on Medium</title>
            <link>https://medium.com/@jckuri?source=rss-76ba76ae1a9e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:45:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jckuri/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Learning Curves of Federated Learning with a Trusted Aggregator]]></title>
            <link>https://medium.com/secure-and-private-ai-writing-challenge/the-learning-curves-of-federated-learning-with-a-trusted-aggregator-8a7bd4589a32?source=rss-76ba76ae1a9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a7bd4589a32</guid>
            <category><![CDATA[federated-learning]]></category>
            <category><![CDATA[pytorch]]></category>
            <category><![CDATA[openmined]]></category>
            <category><![CDATA[pysyft]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Juan Carlos Kuri Pinto]]></dc:creator>
            <pubDate>Sun, 25 Aug 2019 06:28:33 GMT</pubDate>
            <atom:updated>2019-08-25T06:28:33.608Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RwwAkpucTIq5g7yG" /></figure><h3><strong>Abstract</strong></h3><p>In this essay, we will explore the learning curves of federated learning with a trusted aggregator. Why? Because they give us a good understanding of what federated learning is. These learning curves were generated when training 4 datasets of 4 different hospitals. The datasets contain features and 2 diagnoses of 2 urinary diseases: <strong>Inflammation of urinary bladder</strong> and <strong>nephritis of renal pelvis origin</strong>. This medical dataset truly needs privacy! Because we cannot divulge the sexually-transmitted diseases of patients. So, what we learned about PySyft and OpenMined is applied in this project. Federated learning will protect the privacy of datasets in each hospital and at the same time, a more robust machine learning model will benefit all hospitals.</p><p>All the ideas in this essay are based on my final project for the <strong>Secure &amp; Private AI Challenge (SPAIC)</strong>, which you can study and download from this website:</p><p><strong>Diagnosing Acute Inflammations of Bladder</strong><br><a href="https://github.com/aksht94/UdacityOpenSource/tree/master/Juan%20Carlos%20Kuri%20Pinto">https://github.com/aksht94/UdacityOpenSource/tree/master/Juan%20Carlos%20Kuri%20Pinto</a></p><h3><strong>Relevance &amp; Potential</strong></h3><p>Machine learning projects are great to improve our world, to solve problems, and to take informed decisions. This project could help doctors to diagnose diseases of the urinary tract correctly. And then doctors could take the appropriate actions to cure such diseases. In fact, this machine learning system is 100% accurate; whereas human doctors can commit mistakes when diagnosing these 2 diseases. However, forgotten aspects of machine learning are security and privacy. This machine learning is not only very useful and accurate; but it also protects the privacy of datasets in each hospital by using federated learning. Moreover, some patients could be ashamed of their urinary diseases and can consult the diagnosis of this machine learning system before visiting a human doctor.</p><p>This machine learning system also has a lot of potential for the future. The code of this ML system is an useful pattern that can be copied and extrapolated to more complex kinds of diagnoses for other diseases. For example, we can change the logistic regression algorithm for a convolutional neural network capable of dealing with datasets of medical images. And the logic to protect the privacy of datasets in each hospital will be the same.</p><h3><strong>DATASET</strong></h3><p><strong>Acute Inflammations Data Set</strong><br><a href="https://archive.ics.uci.edu/ml/datasets/Acute+Inflammations">https://archive.ics.uci.edu/ml/datasets/Acute+Inflammations</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/0*g34ip1iaKuMHfFWZ.jpg" /></figure><p>Data Set Characteristics: Multivariate<br>Attribute Characteristics: Categorical, Integer<br>Associated Tasks: Classification<br>Number of Instances: 120<br>Number of Attributes: 6<br>Number of Diagnoses: 2<br>Missing Values? No<br>Area: Life<br>Date Donated: 2009–02–11</p><p><strong>Source:<br></strong>Jacek Czerniak, Ph.D., Assistant Professor<br>Systems Research Institute<br>Polish Academy of Sciences<br>Laboratory of Intelligent Systems<br>ul. Newelska 6, Room 218<br>01–447 Warszawa, Poland<br>e-mail: <a href="/service/mailto:jacek.czerniak@ibspan.waw.pl">jacek.czerniak@ibspan.waw.pl</a> or <a href="/service/mailto:jczerniak@ukw.edu.pl">jczerniak@ukw.edu.pl</a></p><p><strong>Data Set Information:<br></strong>The main idea of this data set is to prepare the algorithm of the expert system, which will perform the presumptive diagnosis of two diseases of urinary system. It will be the example of diagnosing of the acute inflammations of urinary bladder and acute nephritises. For better understanding of the problem, let us consider definitions of both diseases given by medics.</p><p><strong>Acute inflammation of urinary bladder</strong> is characterised by sudden occurrence of pains in the abdomen region and the urination in form of constant urine pushing, micturition pains and sometimes lack of urine keeping. Temperature of the body is rising, however most often not above 38C. The excreted urine is turbid and sometimes bloody. At proper treatment, symptoms decay usually within several days. However, there is inclination to returns. At persons with acute inflammation of urinary bladder, we should expect that the illness will turn into protracted form.</p><p><strong>Acute nephritis of renal pelvis origin</strong> occurs considerably more often at women than at men. It begins with sudden fever, which reaches, and sometimes exceeds 40C. The fever is accompanied by shivers and one- or both-side lumbar pains, which are sometimes very strong. Symptoms of acute inflammation of urinary bladder appear very often. Quite not infrequently there are nausea and vomiting and spread pains of whole abdomen.</p><p>The data was created by a medical expert as a data set to test the expert system, which will perform the presumptive diagnosis of two diseases of urinary system. Each instance (each line of the text file) represents an potential patient. The data is in an ASCII file. Attributes are separated by TAB. Each line of the data file starts with a digit which tells the temperature of patient.</p><p><strong>Attribute Example:<br></strong>For example, ‘35,9 no no yes yes yes yes no’</p><p>Where there are 6 features and 2 diagnoses (8 columns):</p><p><strong>‘35,9’</strong> Temperature of patient<br><strong>‘no’</strong> Occurrence of nausea<br><strong>‘no’</strong> Lumbar pain<br><strong>‘yes’</strong> Urine pushing (continuous need for urination)<br><strong>‘yes’</strong> Micturition pains<br><strong>‘yes’</strong> Burning of urethra, itch, swelling of urethra outlet</p><p><strong>‘yes’ </strong>decision: Inflammation of urinary bladder<br><strong>‘no’</strong> decision: Nephritis of renal pelvis origin</p><p><strong>Attribute Information:<br></strong>There are 6 features and 2 diagnoses (8 columns):</p><p><strong>a1</strong> Temperature of patient { 35C-42C }<br><strong>a2 </strong>Occurrence of nausea { yes, no }<br><strong>a3 </strong>Lumbar pain { yes, no }<br><strong>a4 </strong>Urine pushing (continuous need for urination) { yes, no }<br><strong>a5</strong> Micturition pains { yes, no }<br><strong>a6 </strong>Burning of urethra, itch, swelling of urethra outlet { yes, no }</p><p><strong>d1</strong> decision: Inflammation of urinary bladder { yes, no }<br><strong>d2</strong> decision: Nephritis of renal pelvis origin { yes, no }</p><p><strong>Relevant Paper:<br></strong>J.Czerniak, H.Zarzycki, Application of rough sets in the presumptive diagnosis of urinary system diseases, Artifical Inteligence and Security in Computing Systems, ACS’2002 9th International Conference Proceedings, Kluwer Academic Publishers, 2003, pp. 41–51</p><h3><strong>Federated Learning with a Trusted Aggregator</strong></h3><p>In this demo, there are 4 hospitals. The 4 hospitals cannot share the cases of their patients because they are competitors and it is necessary to protect the privacy of patients. Hence, the ML model will be learned in a federated way.</p><p>How? Federated learning is iterated 1000 times. At each iteration, a copy of the shared model is sent to all the 4 hospitals. Each hospital trains its own local model with its own local dataset, in 5 local iterations. Each local model improves a little bit in its own direction. Then we compute the local losses and local accuracies to keep track of them and to make graphs of them. We send the local models to the trusted aggregator that will average all the model updates. This averaged model is the shared model that is sent to all the 4 hospitals at the begining of each iteration.</p><p>In this way, only the ML model will be shared. Whereas the local cases of each hospital will be kept private and they will be used to train model updates in a local way. Federated learning will protect the privacy of datasets in each hospital and at the same time, we will generate a more robust machine learning model, which will benefit all hospitals. This shared ML model preserves the privacy of individual patients and at the same time, reveals important statistics of stereotypical cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/0*GCzCrRtj_tZeAIAG.png" /><figcaption>Federated Learning — Image taken from <a href="https://www.intel.ai/federated-learning-for-medical-imaging/">https://www.intel.ai/federated-learning-for-medical-imaging/</a></figcaption></figure><p>The whole process is done in a trusted aggregator, in 1000 iterations. (We can vary the number of iterations.) At each iteration, a copy of the shared model is sent to all the 4 hospitals. Each hospital trains its own local model with its own local dataset, in 5 local iterations. (We can vary the number of local iterations.) Each local model improves a little bit in its own direction. Then we compute the local losses and local accuracies to keep track of them. So, we will able to create graphs of the learning curves: <strong>Training Losses versus Iterations</strong> and <strong>Training Accuracies versus Iterations</strong>. We send the local models to the trusted aggregator that will average all the model updates. This averaged model is the shared model that is sent to all the 4 hospitals at the begining of each iteration.</p><p>We train the machine learning model to diagnose the <strong>Inflammation of Urinary Bladder</strong>, in a federated way. As you can see in the graphs, the training losses of each hospital drop quickly to almost zero and the training accuracies of each hospital reach the 100%. The testing accuracy is also 100%. Notice that this machine learning system diagnoses this disease in a perfect way; whereas human doctors can commit mistakes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hlTmCyCfi20wn4ssignUnQ.png" /></figure><p>We train the machine learning model to diagnose the <strong>Nephritis of Renal Pelvis Origin</strong>, in a federated way. As you can see in the graphs, the training losses of each hospital drop quickly to almost zero and the training accuracies of each hospital reach the 100%. The testing accuracy is also 100%. Notice that this machine learning system diagnoses this disease in a perfect way; whereas human doctors can commit mistakes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iW1a5TWBHhw43P7k8w6U2g.png" /></figure><p>The learning curves <strong>Training Losses versus Iterations</strong> and <strong>Training Accuracies versus Iterations</strong> have 4 colors for all 4 hospitals. Each graph has 4 curves of different colors: Blue, orange, green, and red. The curves are not lines; they are rather regions. Why? Because each iteration of federated learning is complex: First, 5 local iterations in each virtual worker (each hospital) to train each local model. Each local model improves a little bit in its own direction. Then, the 4 different models are sent to the trusted aggregator that averages them. Finally, the averaged model is sent back to the 4 hospitals. Such averaged model can have lower performance in comparison to the local models, which are more locally adapted to the local datasets. That’s why the progress in the learning curves goes back and forth. Moreover, the graph has 1000 iterations. That’s why the curves becomes regions. Because the curves go back and forth too often and are quite dense.</p><h3><strong>Thanks for your time!</strong></h3><p>I hope you have enjoyed the explanations of this machine learning system with federated learning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a7bd4589a32" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secure-and-private-ai-writing-challenge/the-learning-curves-of-federated-learning-with-a-trusted-aggregator-8a7bd4589a32">The Learning Curves of Federated Learning with a Trusted Aggregator</a> was originally published in <a href="https://medium.com/secure-and-private-ai-writing-challenge">Secure and Private AI Writing Challenge</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Make Deep Learning many Orders of Magnitude Faster]]></title>
            <link>https://medium.com/secure-and-private-ai-writing-challenge/how-to-make-deep-learning-many-orders-of-magnitude-faster-1897b000d9a9?source=rss-76ba76ae1a9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1897b000d9a9</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[neuroscience]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[functional-analysis]]></category>
            <category><![CDATA[gradient-descent]]></category>
            <dc:creator><![CDATA[Juan Carlos Kuri Pinto]]></dc:creator>
            <pubDate>Sat, 24 Aug 2019 04:09:42 GMT</pubDate>
            <atom:updated>2019-08-24T21:53:58.646Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r01asOfzI93y3B7s" /></figure><p>Deep Learning needs no big introduction due to its wild popularity. Deep Learning or deep neural networks are a very useful set of machine learning algorithms that have become super popular thanks to their wide range of applications and to the AI breakthroughs they have produced.</p><p>However, training a deep neural network with many layers, many hidden neurons, and tons of data is computationally expensive. Is there a way to accelerate this process? The answer is yes. However, you should be a mathematical genius to solve this extremely complicated problem.</p><p>First, you need to read this seminal paper:</p><p><strong>Exact solutions to the nonlinear dynamics of learning in deep linear neural networks</strong><br>By Andrew M. Saxe, James L. McClelland, Surya Ganguli<br><a href="https://arxiv.org/abs/1312.6120">https://arxiv.org/abs/1312.6120</a></p><p>I had the same idea many years before this paper was published. But I never published intermediate results, i.e. solving intermediate problems. I wanted to solve the whole problem. But I was stuck and I am stuck. Because the whole problem is really hard.</p><p>So, what is this problem all about? First, we need to understand the gradient descent technique. Gradient descent is a technique to minimize the error expressed as a loss function. In each iteration, we descend ⍺ steps in the direction of the loss function’s gradient, where ⍺ is the learning rate. It is much more intuitive to see it in a graphical way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*cfazScfGBCDY7Mkn.png" /></figure><p>The gradient descent technique</p><p>There are multiple algorithms to adjust the learning rate. Some of these techniques are:</p><ul><li><strong>Momentum</strong> starts with a big learning rate to avoid getting stuck in very suboptimal local minima. The changes in weights are big at the beginning. But then the changes get slower and slower in order to converge properly.</li><li>Another technique is to use <strong>simulated annealing</strong>. So, the statistical properties of simulated annealing makes the neural network <strong>try</strong> to converge to the global minimum.</li><li>The <strong>Adam optimizer</strong> uses different learning rates for each parameter. And this algorithm makes the learning rates adapt to different amounts of variation. If some values of learning rates prove to be better, the Adam optimizer will use them.</li></ul><p>All these techniques are iterative numerical methods. But, what about using symbolic methods to solve this problem?</p><h3>Learning as a Differential Equation System</h3><p>Let’s make a valid analogy. Imagine we have 2 negative electric potentials. They create equipotential surfaces. And according to Maxwell equations, electric field lines are perpendicular to equipotential surfaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*7aI6Md4U1EjW7g7g" /></figure><p>Equipotential surfaces are analogous to the surfaces in which the loss function of deep learning have equal values. And electric field lines are analogous to the trajectories deep learning would take if the learning rate ⍺ were infinitesimally small. In like manner, the trajectories of gradient descent are perpendicular to the surfaces in which the loss function of deep learning have equal values.</p><p>This is the iterative equation of gradient descent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/0*gFEv6g768vh7jHX7.png" /></figure><p>And this is the formula to compute derivatives in a numerical way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jgZG8gpX0RE7t8Dr.png" /></figure><p>What happens when the learning rate ⍺ tends to zero?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/0*cwsZwlwBMxmXgSS7.png" /></figure><p>Let’s make another valid analogy. See this generalized equation of movement. In this case, <strong>v</strong> is the velocity vector which is a vectorial field that depends of the location <strong>x</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/0*uO4FvjaPx9rqatik.png" /></figure><p>This generalized equation of movement is analogous to the iterative equation of gradient descent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/0*pu1fACh8R51CvAu1.png" /></figure><p>The parameters to optimize 𝚹 are analogous to the location <strong>x</strong>. The learning rate ⍺ is analogous to the time <strong>t</strong>. And the gradient of the loss function is analogous to the velocity vector <strong>v</strong>.</p><p>Let’s algebraically manipulate both equations at the same time. By moving terms, we obtain:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*2ww8F5P05zI7X7mX.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/0*ARcwhXT3tjBdJ98l.png" /></figure><p>What happens when time <strong>t</strong> and the learning rate <strong>⍺</strong> tend to zero? We obtain 2 differential equation systems: One for generalized movement and another for the learning curve of deep learning. They look simple. But movement can be tridimensional and deep learning systems could actually have <strong>millions of dimensions</strong>. Hence, each differential equation system have many equations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qfi6kpnBA4Tpdig9.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yJz2qqSWHEUwZRNc.png" /></figure><p>Behind the simplicity and elegance of this differential equation system for deep learning, you can find an enormous amount of complexity. A deep learning system could actually have hundreds, thousands, or millions of dimensions. Hence, this differential equation system could also have hundreds, thousands, or millions of equations. Moreover, the loss function J(𝚹) could be incredibly complex, convex, multidimensional, and bizarre. It could have lots of local minima. Even the slightest experience (1 sample) could modify its topology in a significant way. A minimal change in the neural architecture could modify its topology in unexpected ways. You can only perceive this huge complexity when you try to solve this differential equation system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/0*6SDgAipRWOh9fGV_.png" /></figure><p>We can easily prove that deep learning is a generalization of linear regression. So, I suggest you to do the following experiment. By using the least squares method as the loss function for linear regression and by solving this differential equation system, try to obtain the exact solutions for linear regression that we all know:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/0*j6GMJVIVOamaQW1w.jpg" /></figure><p>This is an alternative way to derive these formulae. But it works. It is surprising and reaffirming that both methods, <strong>direct algebraic manipulation</strong> and <strong>solving this differential equation system</strong>, converge to the same formulae.</p><p>In the paper “<strong>Exact solutions to the nonlinear dynamics of learning in deep linear neural networks”</strong> (by Andrew M. Saxe, James L. McClelland, Surya Ganguli), they found the exact solutions for the differential equation system of deep <strong>linear</strong> neural networks. However, even McClelland, one of the godfathers of neural networks, <strong>could not solve the general problem</strong>, which is finding the exact solutions for the differential equation system of deep <strong>nonlinear</strong> neural networks.</p><p>What about recurrent neural networks, convolutional neural networks, and deep reinforcement learning? Such differential equation systems are even more complicated. Moreover, finding exact solutions will allow us to overcome the <a href="https://en.wikipedia.org/wiki/Vanishing_gradient_problem">vanishing gradient problem</a> of recurrent neural networks, which are infinitely deep. And enabling one-shot learning will make deep reinforcement learning even more powerful.</p><p>How relevant is the solution for this problem? By analogy, we can compare the performance of computing the exact solutions of linear regression <strong>versus</strong> iterating the least squares method as the loss function for linear regression. <strong>The method of exact solutions is many orders of magnitude faster than iterative numerical methods. </strong>Moreover, solutions are exact, not approximations like the ones iterative numerical methods generate.</p><p>In like manner, nowadays, deep learning is a numerical method which is hunger of the power of GPUs and TPUs. Finding exact solutions for deep learning could lower the computational complexity of deep learning in a dramatic way. We would need only the small computational power of cellphones to learn from complex data instead of exploiting the cloud. By solving this complex problem, we will save a lot of electricity required to do all the complex iterations of deep learning algorithms, which will be daily run in billions of computational devices around the world. So, the solution of this complex problem will be <strong>eco-friendly</strong>. I also predict that one-shot learning would be possible by doing algebraic manipulations of the exact solutions.</p><p>I’m actually trying to solve this really complicated problem by using <a href="https://ocw.mit.edu/courses/mathematics/18-102-introduction-to-functional-analysis-spring-2009/">functional analysis</a>. My artificial mathematician is exploiting patterns of functional analysis in infinitely dimensional Banach spaces. Taylor series dissolve mathematical problems into infinitely small grain of sands, which are easier to handle algebraically. Artificial mathematicians are now a reality and they easily outperform the analytical power of human mathematicians:</p><p><strong>Google AI system proves over 1200 mathematical theorems</strong><br><a href="https://mathscholar.org/2019/04/google-ai-system-proves-over-1200-mathematical-theorems/">https://mathscholar.org/2019/04/google-ai-system-proves-over-1200-mathematical-theorems/</a></p><p>I will make a final analogy. When Évariste Galois and Niels Henrik Abel tried to find a solution for the general quintic equation, they created a new kind of mathematics called <a href="https://en.wikipedia.org/wiki/Abstract_algebra">Abstract Algebra</a>. I predict <a href="https://en.wikipedia.org/wiki/Lie_group">Lie groups</a> will play a key role at understanding the fields of convergence, the Banach fixed points. Lie groups are a subfield of abstract algebra capable of dealing with differential continuous manifolds, like the ones the loss function of deep learning generates. I created this Facebook group many years ago, in order to talk about these topics:</p><p><strong>Categories &amp; the Geometry of Mind (Facebook Group)</strong><br><a href="https://www.facebook.com/groups/categories.and.geometry.of.mind/">https://www.facebook.com/groups/categories.and.geometry.of.mind/</a></p><p>There is probably no neuroscientific evidence that the brain uses gradient descent. But, what if evolution found a way to implement exact solutions inside brains instead? After all, with sufficient time and experiments, evolution by natural selection can converge to whatever kinds of causal geometries, no matter how complex they are. For further investigation, you can read this paper:</p><p><strong>Towards Biologically Plausible Deep Learning</strong><br>By Yoshua Bengio, Dong-Hyun Lee, Jorg Bornschein, Thomas Mesnard, Zhouhan Lin<br><a href="https://arxiv.org/abs/1502.04156">https://arxiv.org/abs/1502.04156</a></p><p>P.S. The ideas of this essay were taken from <strong>this specific part (1:03:51) </strong>of my Deep RL webinar:</p><p><strong>Webinar on Deep Reinforcement Learning (Secure &amp; Private AI Scholarship Challenge)</strong><br><a href="https://youtu.be/oauLZG9nAX0?t=3831">https://youtu.be/oauLZG9nAX0?t=3831</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z5_7FLXdl_TBIrGf.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1897b000d9a9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secure-and-private-ai-writing-challenge/how-to-make-deep-learning-many-orders-of-magnitude-faster-1897b000d9a9">How to Make Deep Learning many Orders of Magnitude Faster</a> was originally published in <a href="https://medium.com/secure-and-private-ai-writing-challenge">Secure and Private AI Writing Challenge</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Make Deep Learning many Orders of Magnitude Faster]]></title>
            <link>https://medium.com/secure-and-private-ai-math-blogging-competition/how-to-make-deep-learning-many-orders-of-magnitude-faster-4891204c54bc?source=rss-76ba76ae1a9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4891204c54bc</guid>
            <category><![CDATA[neuroscience]]></category>
            <category><![CDATA[gradient-descent]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[functional-analysis]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Juan Carlos Kuri Pinto]]></dc:creator>
            <pubDate>Sat, 24 Aug 2019 02:54:21 GMT</pubDate>
            <atom:updated>2019-08-24T21:55:14.322Z</atom:updated>
            <content:encoded><![CDATA[<p>Deep Learning needs no big introduction due to its wild popularity. Deep Learning or deep neural networks are a very useful set of machine learning algorithms that have become super popular thanks to their wide range of applications and to the AI breakthroughs they have produced.</p><p>However, training a deep neural network with many layers, many hidden neurons, and tons of data is computationally expensive. Is there a way to accelerate this process? The answer is yes. However, you should be a mathematical genius to solve this extremely complicated problem.</p><p>First, you need to read this seminal paper:</p><p><strong>Exact solutions to the nonlinear dynamics of learning in deep linear neural networks</strong><br>By Andrew M. Saxe, James L. McClelland, Surya Ganguli<br><a href="https://arxiv.org/abs/1312.6120">https://arxiv.org/abs/1312.6120</a></p><p>I had the same idea many years before this paper was published. But I never published intermediate results, i.e. solving intermediate problems. I wanted to solve the whole problem. But I was stuck and I am stuck. Because the whole problem is really hard.</p><p>So, what is this problem all about? First, we need to understand the gradient descent technique. Gradient descent is a technique to minimize the error expressed as a loss function. In each iteration, we descend ⍺ steps in the direction of the loss function’s gradient, where ⍺ is the learning rate. It is much more intuitive to see it in a graphical way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*IL2gygqmfLcW2eKa.png" /><figcaption>The gradient descent technique</figcaption></figure><p>There are multiple algorithms to adjust the learning rate. Some of these techniques are:</p><ul><li><strong>Momentum</strong> starts with a big learning rate to avoid getting stuck in very suboptimal local minima. The changes in weights are big at the beginning. But then the changes get slower and slower in order to converge properly.</li><li>Another technique is to use <strong>simulated annealing</strong>. So, the statistical properties of simulated annealing makes the neural network <strong>try</strong> to converge to the global minimum.</li><li>The <strong>Adam optimizer</strong> uses different learning rates for each parameter. And this algorithm makes the learning rates adapt to different amounts of variation. If some values of learning rates prove to be better, the Adam optimizer will use them.</li></ul><p>All these techniques are iterative numerical methods. But, what about using symbolic methods to solve this problem?</p><h3><strong>Learning as a Differential Equation System</strong></h3><p>Let’s make a valid analogy. Imagine we have 2 negative electric potentials. They create equipotential surfaces. And according to Maxwell equations, electric field lines are perpendicular to equipotential surfaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*BCuQKzIuAZcKUPNL" /></figure><p>Equipotential surfaces are analogous to the surfaces in which the loss function of deep learning have equal values. And electric field lines are analogous to the trajectories deep learning would take if the learning rate ⍺ were infinitesimally small. In like manner, the trajectories of gradient descent are perpendicular to the surfaces in which the loss function of deep learning have equal values.</p><p>This is the iterative equation of gradient descent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*fxRYMJreIi9X52UvSOsv5w.png" /></figure><p>And this is the formula to compute derivatives in a numerical way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8fxIrMw1mX9d2MsOQjzVbQ.png" /></figure><p>What happens when the learning rate ⍺ tends to zero?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*dZZH7GhkiP0EJDJPKlResw.png" /></figure><p>Let’s make another valid analogy. See this generalized equation of movement. In this case, <strong>v</strong> is the velocity vector which is a vectorial field that depends of the location <strong>x</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*qhLae8EDoVtoI_Y-E9RqLQ.png" /></figure><p>This generalized equation of movement is analogous to the iterative equation of gradient descent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*fxRYMJreIi9X52UvSOsv5w.png" /></figure><p>The parameters to optimize 𝚹 are analogous to the location <strong>x</strong>. The learning rate ⍺ is analogous to the time <strong>t</strong>. And the gradient of the loss function is analogous to the velocity vector <strong>v</strong>.</p><p>Let’s algebraically manipulate both equations at the same time. By moving terms, we obtain:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*VDMofThAqNrgYLb8iXfgbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*JRFkroL_NfrBUKL3nooBjQ.png" /></figure><p>What happens when time <strong>t</strong> and the learning rate <strong>⍺</strong> tend to zero? We obtain 2 differential equation systems: One for generalized movement and another for the learning curve of deep learning. They look simple. But movement can be tridimensional and deep learning systems could actually have <strong>millions of dimensions</strong>. Hence, each differential equation system have many equations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*114L1U-TKSiBlDLXLmMGJg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QWcfGSBr0qjvt1NBWssU8w.png" /></figure><p>Behind the simplicity and elegance of this differential equation system for deep learning, you can find an enormous amount of complexity. A deep learning system could actually have hundreds, thousands, or millions of dimensions. Hence, this differential equation system could also have hundreds, thousands, or millions of equations. Moreover, the loss function J(𝚹) could be incredibly complex, convex, multidimensional, and bizarre. It could have lots of local minima. Even the slightest experience (1 sample) could modify its topology in a significant way. A minimal change in the neural architecture could modify its topology in unexpected ways. You can only perceive this huge complexity when you try to solve this differential equation system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*euRe4KXAomr4xoC4moAcXg.png" /></figure><p>We can easily prove that deep learning is a generalization of linear regression. So, I suggest you to do the following experiment. By using the least squares method as the loss function for linear regression and by solving this differential equation system, try to obtain the exact solutions for linear regression that we all know:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/0*szKkKf-38efyc_Wo.jpg" /></figure><p>This is an alternative way to derive these formulae. But it works. It is surprising and reaffirming that both methods, <strong>direct algebraic manipulation</strong> and <strong>solving this differential equation system</strong>, converge to the same formulae.</p><p>In the paper “<strong>Exact solutions to the nonlinear dynamics of learning in deep linear neural networks”</strong> (by Andrew M. Saxe, James L. McClelland, Surya Ganguli), they found the exact solutions for the differential equation system of deep <strong>linear</strong> neural networks. However, even McClelland, one of the godfathers of neural networks, <strong>could not solve the general problem</strong>, which is finding the exact solutions for the differential equation system of deep <strong>nonlinear</strong> neural networks.</p><p>What about recurrent neural networks, convolutional neural networks, and deep reinforcement learning? Such differential equation systems are even more complicated. Moreover, finding exact solutions will allow us to overcome the <a href="https://en.wikipedia.org/wiki/Vanishing_gradient_problem">vanishing gradient problem</a> of recurrent neural networks, which are infinitely deep. And enabling one-shot learning will make deep reinforcement learning even more powerful.</p><p>How relevant is the solution for this problem? By analogy, we can compare the performance of computing the exact solutions of linear regression <strong>versus</strong> iterating the least squares method as the loss function for linear regression. <strong>The method of exact solutions is many orders of magnitude faster than iterative numerical methods. </strong>Moreover, solutions are exact, not approximations like the ones iterative numerical methods generate.</p><p>In like manner, nowadays, deep learning is a numerical method which is hunger of the power of GPUs and TPUs. Finding exact solutions for deep learning could lower the computational complexity of deep learning in a dramatic way. We would need only the small computational power of cellphones to learn from complex data instead of exploiting the cloud. By solving this complex problem, we will save a lot of electricity required to do all the complex iterations of deep learning algorithms, which will be daily run in billions of computational devices around the world. So, the solution of this complex problem will be <strong>eco-friendly</strong>. I also predict that one-shot learning would be possible by doing algebraic manipulations of the exact solutions.</p><p>I’m actually trying to solve this really complicated problem by using <a href="https://ocw.mit.edu/courses/mathematics/18-102-introduction-to-functional-analysis-spring-2009/">functional analysis</a>. My artificial mathematician is exploiting patterns of functional analysis in infinitely dimensional Banach spaces. Taylor series dissolve mathematical problems into infinitely small grain of sands, which are easier to handle algebraically. Artificial mathematicians are now a reality and they easily outperform the analytical power of human mathematicians:</p><p><strong>Google AI system proves over 1200 mathematical theorems</strong><br><a href="https://mathscholar.org/2019/04/google-ai-system-proves-over-1200-mathematical-theorems/">https://mathscholar.org/2019/04/google-ai-system-proves-over-1200-mathematical-theorems/</a></p><p>I will make a final analogy. When Évariste Galois and Niels Henrik Abel tried to find a solution for the general quintic equation, they created a new kind of mathematics called <a href="https://en.wikipedia.org/wiki/Abstract_algebra">Abstract Algebra</a>. I predict <a href="https://en.wikipedia.org/wiki/Lie_group">Lie groups</a> will play a key role at understanding the fields of convergence, the Banach fixed points. Lie groups are a subfield of abstract algebra capable of dealing with differential continuous manifolds, like the ones the loss function of deep learning generates. I created this Facebook group many years ago, in order to talk about these topics:</p><p><strong>Categories &amp; the Geometry of Mind (Facebook Group)</strong><br><a href="https://www.facebook.com/groups/categories.and.geometry.of.mind/">https://www.facebook.com/groups/categories.and.geometry.of.mind/</a></p><p>There is probably no neuroscientific evidence that the brain uses gradient descent. But, what if evolution found a way to implement exact solutions inside brains instead? After all, with sufficient time and experiments, evolution by natural selection can converge to whatever kinds of causal geometries, no matter how complex they are. For further investigation, you can read this paper:</p><p><strong>Towards Biologically Plausible Deep Learning</strong><br>By Yoshua Bengio, Dong-Hyun Lee, Jorg Bornschein, Thomas Mesnard, Zhouhan Lin<br><a href="https://arxiv.org/abs/1502.04156">https://arxiv.org/abs/1502.04156</a></p><p>P.S. The ideas of this essay were taken from <strong>this specific part (1:03:51) </strong>of my Deep RL webinar:</p><p><strong>Webinar on Deep Reinforcement Learning (Secure &amp; Private AI Scholarship Challenge)</strong><br><a href="https://youtu.be/oauLZG9nAX0?t=3831">https://youtu.be/oauLZG9nAX0?t=3831</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dClxiK5jc1qERKyfBg3lBQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4891204c54bc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secure-and-private-ai-math-blogging-competition/how-to-make-deep-learning-many-orders-of-magnitude-faster-4891204c54bc">How to Make Deep Learning many Orders of Magnitude Faster</a> was originally published in <a href="https://medium.com/secure-and-private-ai-math-blogging-competition">Secure and Private AI Math Blogging Competition</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How and Why Deep Learning Works]]></title>
            <link>https://medium.com/secure-and-private-ai-writing-challenge/how-and-why-deep-learning-works-1c7232c9db06?source=rss-76ba76ae1a9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c7232c9db06</guid>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Juan Carlos Kuri Pinto]]></dc:creator>
            <pubDate>Fri, 23 Aug 2019 15:10:46 GMT</pubDate>
            <atom:updated>2019-08-24T00:44:45.051Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bxMMpbdvteVCJX98" /></figure><p>Deep Learning or deep neural networks are a very useful set of machine learning algorithms that have become super popular thanks to their wide range of applications and to the AI breakthroughs they have produced.</p><p>However, most people think neural networks are black boxes whose contents cannot be understood. Hence, it is necessary to illustrate the audience about how and why deep learning works.</p><p><strong>Neural networks are homeomorphisms</strong></p><p>Let’s begin by explaining homeomorphisms, which is the most difficult concept behind the inner-workings of deep learning. Please read this article:</p><p>Neural Networks, Manifolds, and Topology<br><a href="https://colah.github.io/posts/2014-03-NN-Manifolds-Topology/">https://colah.github.io/posts/2014-03-NN-Manifolds-Topology/</a></p><p>As a summary of this article, we can infer homeomorphisms are mathematical projections from one multidimensional space to another multidimensional space while preserving the characteristics and neighboring points of the first space.</p><p>In the article, we saw 2 interesting graphs in which we project the first graph, which is not linearly separable in 2 classes (blue and red), into a second graph which is linearly separable, by using a 2D neural network. This projection is a homeomorphism from one Euclidean space toward a bizarre space whose metric is not Euclidean. We do this very simplistic homeomorphism between 2 bidimensional spaces in order to understand how spaces are deformed by neural networks whose purpose is to project spaces into new spaces in which the patterns to classify are linearly separable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*Q2zSxrbkvzuriXzySbzRSw.png" /><figcaption>First graph with 2 classes of patterns (blue curve and red curve) which are not linearly separable. This space is Euclidean because the uniform increments in (X, Y) produce lines and squares.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*ey8no4UZppjP33_KEwgDyg.png" /><figcaption>Second graph with 2 classes of patterns (blue curve and red curve) which are linearly separable in this deformed space, which is a projection or homeomorphism generated by a neural network whose purpose is to deform the first space in order to make the classification linearly separable.</figcaption></figure><p>Look how the squares in the first graph are deformed in the second graph in order to make the second space linearly separable in 2 classes: Blue points and red points.</p><p>This is a very simple example. But you can generalize in your mind, by using your imagination, how this process occurs when using neural networks of thousands of dimensions.</p><p><strong>Deep abstractions as funnels</strong></p><p>Deep learning is like a funnel that generates common features among patterns. This is a new definition of abstraction. We can make an analogy of this process when we find the common factor of a mathematical expression: A*B + A*C = A*(B+C). In a similar manner, deep learning finds the common features of patterns.</p><p>Deep learning makes homeomorphisms toward spaces of less and less dimensions that are mapped in a continuum. It allows to make ANALOGIES in continuous spaces of FEATURES. Features are generated automatically, unlike other algorithms of machine learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yfro5D_6xMwZz5dh27jBmg.png" /></figure><p>This is more alchemy than science because there is no mathematical proof, yet. It is cargo cult science because biological neural networks were imitated, without fully understanding them.</p><p>Douglas Hofstadter wrote an interesting book about analogy-making called: “Surfaces and Essences — Analogy as the Fuel and Fire of Thinking”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*F2_bphhRcBH1-XS05KF7AQ.png" /></figure><p>Analogies are a flexible way of thinking. Analogies extrapolate patterns and avoid of type-2 errors. However, analogies increase the number of type-1 errors. Life is too complex and the amount of patterns is so infinite that it is impossible to deal with all individual patterns. Hence, we need to cluster patterns by similarity because similar patterns produce similar outcomes. In the context of Deep Reinforcement Learning (we will study it in few minutes), complex states cluster individual patterns in order to make the network of transitions between complex states more computationally tractable. So, similar complex states and similar actions produce similar outcomes.</p><p>Mathematics professors of technological institutes encourage students to find exact solutions to mathematical problems. If the answer to a numerical approximation is slightly different, you obtain zero points. That’s not the way brains work. Brains are rather flexible and use intuition. For example, robots should be able to handle a huge variety of doors. If a robot says “this pattern is not a door because it is not exactly equal to my model of door”, then that robot will commit a type-2 error and will not be able to handle such door in an appropriate way.</p><p>Hofstadter summarized it well in a quote:</p><p>“The entire effort of artificial intelligence is essentially a fight against computers rigidity.” — Douglas Hofstadter</p><p>In the last chapter of Hofstadter’s book, he proved by using many logical arguments that analogy-making is the same exact thing as categorization! And we already have formal methods of categorization (or classification) like deep learning. So, deep learning is a computational tool to make machines capable of making analogies.</p><p><strong>The 2 purposes of non-linear activation functions</strong></p><p>Non-linear activation functions have 2 purposes:<br>- to make the mapping non-linear as real-world problems;<br>- and to cut bizarre regions of the pattern space.</p><p>Real-world problems are chaotic, nonlinear, multidimensional, multicausal, complex, and bizarre. Hence, neural networks cannot be linear because neural networks are supposed to adapt to non-linear causal geometries.</p><p>Non-linear activation functions usually have 2 very different parts that separate the activation region and the non-activation region. So, non-linear activation functions cut the pattern space into complex states and serve to model the frontiers of patterns.</p><p><strong>Cybenko’s Universal Approximation Theorem</strong></p><p>Single layer perceptrons can only separate patterns by using linear functions. So, they are very limited. In fact, Marvin Minsky wrote a critique against perceptrons, telling that perceptrons cannot solve the XOR problem. And that paper created the AI winter.</p><p>Two-layer neural networks can represent convex open or closed regions of the pattern space, which are more sophisticated. However, they are not versatile enough to characterize the frontier of arbitrary patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*aKLg3vTys5oxbPb-5YRqGQ.png" /></figure><p>In 1998, Cybenko wrote a paper explaining the Universal Approximation Theorem which states that three-layer neural networks with sufficient hidden neurons can characterize the frontier of arbitrary patterns. In other words, sufficiently large neural networks are adaptive and shapeless like amoebas that can take any shape through adaptation.</p><p><strong>Neural networks are both discriminative classifiers and generative classifiers</strong></p><p>Discriminative classifiers model the frontier of patterns. They have less parameters and occupy less memory. An example of a discriminative classifier is the perceptron:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TjfGo0Ig6DYN3vDCm-4GGQ.png" /><figcaption>How the perceptron works as a classifier whose frontier is linear.</figcaption></figure><p>Generative classifiers model the stereotype of patterns. They have more parameters and occupy more memory. An example of a generative classifier is k-nearest neighbors, which memorize everything and classify by clustering the nearest neighbors in order to make a stereotype of the class:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*kE2zABHFssO5GxOXWf0kYQ.png" /><figcaption>Example of k-nearest neighbors</figcaption></figure><p>Neural networks are both discriminative and generative classifiers. The most famous example of this are auto-encoders that act as pattern compressors. Auto-encoders have an encoding part that does dimensionality reduction (or compression) and have a decoding part that reconstructs the original pattern, proving that neural networks are also generative classifiers. Autoencoders model both the frontiers and the stereotypes of patterns. They have a decent amount of parameters and occupy a decent amount of memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vWkkmscb8my1xHkpjoJ4Ng.png" /><figcaption>Example of an auto-encoder.</figcaption></figure><p>Neural networks, PCA, ICA, eigen vectors, and eigen values belong to the same family of algorithms. You can google “eigen faces” and you will notice that the stereotype is more beautiful than the samples. Why? Because beauty can be expressed as a consequence of the least-action principle. Patterns that produce the least neuronal resistance, or the least difference when compared to the neural stereotypes, are considered more beautiful by brains. In the case of faces, classical faces are more beautiful. All artists know this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*zyHOox-EVFTPvBiM45lq_A.png" /><figcaption>An eigen face</figcaption></figure><p><strong>Is deep learning inspired by biology?</strong></p><p>The Hodgkin–Huxley model of the squid neuron was the first serious attempt to characterize the properties and dynamics of biological neurons. However, the most realistic model of human neurons is the Izhikevich model, which characterizes spikes, bursts, low frequencies, and high frequencies of brain activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*5TyauUfU5zj8dHJYvyTEYg.png" /><figcaption>Izhikevich model</figcaption></figure><p>Spiking neural networks are more sophisticated than artificial neural networks. Because spiking neural networks can model other aspects of cognition, i.e. neuronal synchronization. However, artificial neural networks are more practical and work well because they are more computationally tractable than spiking neural networks.</p><p>Artificial neural networks are based on the McCulloch-Pitts perceptron. Each neuron (or unit) has some synapses (or weights) to represent the strength of connections to other neurons. Synapses are the parameters that vary when using the gradient descent technique. The adaptation of synapses produces learning. Synapses (or weights) are multiplied by the inputs, the signals coming from other neurons. Big positive weights excite the neuron. Whereas big negative weights inhibit the neuron. Small weights or zero weights are indifferent. The resulting excitatory or inhibitory signals are summed up inside the neuron body and finally an activation function computes the final output of the neuron which is connected to other neurons, and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KidHneHIgIhpfi__xvICew.png" /><figcaption>McCulloch-Pitts perceptron</figcaption></figure><p>In the online course Computational Neuroscience at Coursera, Prof. Rajesh Rao made some assumptions and algebraic manipulations to demonstrate that there is indeed a mathematical connection between spiking neural networks and the McCulloch-Pitts perceptron. Perceptrons operate in the frequency domain. Hence, the numbers they represent are frequencies of activations. Bigger numbers represent bigger frequencies of activation. And smaller numbers represent smaller frequencies of activation. Remember that Fuster defined consciousness as the high-frequency activations of cognits, beyond the threshold of awareness. Cognits with lesser frequencies of activation represent the subconscious, which are the parts of the brain which are silent in a particular moment, waiting for the proper sensory stimuli to be activated to represent thoughts corresponding to phenomena in the real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1jEo0Fo0vNGTumLV4WQRQw.png" /><figcaption>A slide of a lecture in the online course Computational Neuroscience at Coursera.</figcaption></figure><p>“Now you know that this equation that people in the artificial intelligence community have been using for a very long time as, in fact, a simplification of the rich dynamics that one has in the synaptic current, as well as the dynamics of the output firing rate.” — Rajesh Rao, professor of computational neuroscience at Cousera</p><p><strong>Deep Reinforcement Learning</strong></p><p>Deep Reinforcement Learning (or Deep RL) is the perfect synergy between 2 worlds: Reinforcement learning and deep learning.</p><p>Reinforcement learning comes from the family of search algorithms which are general problem solvers. So, these algorithms are very powerful, versatile, and expressive. They represent the world as a network of states. At each state, the agent can take many actions whose outcomes are other states, with an associated probability of occurrence and a reward (R) or cost ©. A cost is a negative reward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*EHqzBYRD205HZqnBMJGG3Q.png" /><figcaption>A network of states (S), actions (a), probabilities (P), and costs ©.</figcaption></figure><p>Deep RL attaches a deep neural network to sense the world through sensors and learns the most appropriate actions that maximizes the rewards and minimizes the costs. It is a pretty elegant and powerful solution to many problems.</p><p>Deep RL can learn from the world by exploring it in an unsupervised way. However, the environment is the teacher or supervisor of the deep neural network (which is a supervised method). The environment punishes or rewards the actions taken by the agent at each specific state. The agent constantly operates in the environment in real time through the perception-action cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iNPcycpyUF-DLK5Aw2I1Ug.png" /></figure><p>The neural network used by Deep RL can be very complex and very deep as this convolutional neural network used by DeepMind Technologies to make a Deep RL agent play a lot of Atari videogames. Notice that the sensed state is as complex as the pixels in the screen of an Atari videogame and the actions are all the possible combinations of actions that a Atari joystick can take.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pAfw8k4FNP8KwPT9KQQL3Q.png" /><figcaption>Graph taken from a paper of DeepMind Technologies.</figcaption></figure><p>So, the Deep RL agent learns how to maximize the reward points by seeing the Atari screen and experimenting random actions of the joystick. At the beginning, the exploration of actions is random and at the end the explorations of actions is driven by a greedy algorithm (i.e. epsilon greedy) which seeks to maximize the reward.</p><p><strong>Learning inverses instead of deducing them</strong></p><p>That introduction to Deep RL was necessary to explain an important strategy of deep learning: Learning inverses instead of deducing them.</p><p>For example, in my undergraduate thesis I modeled a robotic arm by using Lagrangian mechanics. Here is the physical model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*D_cbhYn6emMWd-DBaV2PIA.png" /></figure><p>And here are the Lagrangian, the partial derivatives, and the differential equation system generated from this physical model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4hD4LIbx13H7-UnKKQl_9Q.png" /></figure><p>This differential equation system is so complex that we cannot generate a symbolic solution. We should use numerical methods like Runge-Kutta to generate approximations of the inverse.</p><p>In the real world, animals know neither mathematics nor Lagrangian mechanics. However, they can move and walk. They learn to move by intuition. They learn the inverse to control their movements rather than deducing the inverse.</p><p>Perception also has an inverse. We perceive by using causal induction that goes from effects (sensations) to causes (perceptions). Almost everything in the field of artificial intelligence is causal induction. That’s why Solomonoff induction is very important to solve Artificial General Intelligence (AGI).</p><p>An example of perception is vision. Animals know neither mathematics nor projective geometry nor linear algebra. However, they can see. They learn to see by intuition. They learn the inverse directly to see rather than deducing the mathematics of computer vision. They exploit the abilities of neural networks to characterize both the stereotypes of objects (generative models) and the frontiers of complex patterns (discriminative models).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*B660o4slHCGj0wkttvgXwA.png" /></figure><p>In like manner, only 10 world experts are capable of modeling human speech and room acoustics. However, animals who don’t know anything about mathematics can hear and infer things from sounds. They learn to hear by intuition.</p><p>So, we have a heated debate: Reductionism (rationality) versus holism (intuition), the irrational approach of Hinton. Jitendra Malik is an expert in computer vision who uses reductionism to crack computer vision. He is the opposite of Geoffrey Hinton, who uses the artificial intuition of neural networks to solve computer vision. And the winner was intuition. The subconscious, reflexology, and intuition are the opposite of deduction and rationality.</p><p>Correlation does not imply causation. Reductionist scientists repeat it all the time. However, intuition suggests us that correlation helps to infer causation. If some events are highly correlated, we can start to suspect they are causally connected. And if they are correlated in all the cases, we can safely infer causation.</p><p>Moreover, neural networks are not black boxes. Experts in causation like Judea Pearl often criticize deep learning by saying that deep learning cannot do causal induction. But we can trace and track the neural activations of Deep RL in order to infer the weird causal pathways inside of it. So, Deep RL can do causal induction as well, in a bizarre way.</p><p>P.S. These ideas were taken from my webinar on Deep RL:</p><p>Webinar on Deep Reinforcement Learning (Secure &amp; Private AI Scholarship Challenge)<br><a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fyoutu.be%2FoauLZG9nAX0%3Ffbclid%3DIwAR0aKns9jQrXiVuwJXyqk2D977JaThItgRtp7fJw31Xn6jNfwnWOP-iBpA0&amp;h=AT3Lt1I8CJzqBmekHUUfIjHRaeGMhO0Ol2D3WUAoZ9de5wRSbEYzef55j-9eUlQM5sHdM5c1dbEwUJO1CXvKxUxsvIYFF2cYd5iYzQme4iARB-FqPF69vJ6HE7LgmAabd1jY6AHXYFxMBQA4pltJVYY3jA">https://youtu.be/oauLZG9nAX0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c7232c9db06" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secure-and-private-ai-writing-challenge/how-and-why-deep-learning-works-1c7232c9db06">How and Why Deep Learning Works</a> was originally published in <a href="https://medium.com/secure-and-private-ai-writing-challenge">Secure and Private AI Writing Challenge</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How and Why Deep Learning Works]]></title>
            <link>https://medium.com/secure-and-private-ai-math-blogging-competition/how-and-why-deep-learning-works-60df8093e19f?source=rss-76ba76ae1a9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/60df8093e19f</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neuroscience]]></category>
            <category><![CDATA[deep-rl]]></category>
            <dc:creator><![CDATA[Juan Carlos Kuri Pinto]]></dc:creator>
            <pubDate>Sat, 10 Aug 2019 23:07:42 GMT</pubDate>
            <atom:updated>2019-08-11T04:03:51.518Z</atom:updated>
            <content:encoded><![CDATA[<p>Deep Learning or deep neural networks are a very useful set of machine learning algorithms that have become super popular thanks to their wide range of applications and to the AI breakthroughs they have produced.</p><p>However, most people think neural networks are black boxes whose contents cannot be understood. Hence, it is necessary to illustrate the audience about how and why deep learning works.</p><p><strong>Neural networks are homeomorphisms</strong></p><p>Let’s begin by explaining homeomorphisms, which is the most difficult concept behind the inner-workings of deep learning. Please read this article:</p><p>Neural Networks, Manifolds, and Topology<br><a href="https://colah.github.io/posts/2014-03-NN-Manifolds-Topology/">https://colah.github.io/posts/2014-03-NN-Manifolds-Topology/</a></p><p>As a summary of this article, we can infer homeomorphisms are mathematical projections from one multidimensional space to another multidimensional space, while preserving the characteristics and neighboring points of the first space.</p><p>In the article, we saw 2 interesting graphs in which we project the first graph, which is not linearly separable in 2 classes (blue and red), into a second graph which is linearly separable, by using a 2D neural network. This projection is a homeomorphism from one Euclidean space toward a bizarre space whose metric is not Euclidean. We do this very simplistic homeomorphism between 2 bidimensional spaces in order to understand how spaces are deformed by neural networks whose purpose is to project spaces into new spaces in which the patterns to classify are linearly separable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*Q2zSxrbkvzuriXzySbzRSw.png" /><figcaption>First graph with 2 classes of patterns (blue curve and red curve) which are not linearly separable. This space is Euclidean because the uniform increments in (X, Y) produce lines and squares.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*ey8no4UZppjP33_KEwgDyg.png" /><figcaption>Second graph with 2 classes of patterns (blue curve and red curve) which are linearly separable in this deformed space, which is a projection or homeomorphism generated by a neural network whose purpose is to deform the first space in order to make the classification linearly separable.</figcaption></figure><p>Look how the squares in the first graph are deformed in the second graph in order to make the second space linearly separable in 2 classes: Blue points and red points.</p><p>This is a very simple example. But you can generalize in your mind, by using your imagination, how this process occurs when using neural networks of thousands of dimensions.</p><p><strong>Deep abstractions as funnels</strong></p><p>Deep learning is like a funnel that generates common features among patterns. This is a new definition of abstraction. We can make an analogy of this process when we find the common factor of a mathematical expression: A*B + A*C = A*(B+C). In a similar manner, deep learning finds the common features of patterns.</p><p>Deep learning makes homeomorphisms toward spaces of less and less dimensions that are mapped in a continuum. It allows to make ANALOGIES in continuous spaces of FEATURES. Features are generated automatically, unlike other algorithms of machine learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yfro5D_6xMwZz5dh27jBmg.png" /></figure><p>This is more alchemy than science because there is no mathematical proof, yet. It is cargo cult science because biological neural networks were imitated, without fully understanding them.</p><p>Douglas Hofstadter wrote an interesting book about analogy-making called: “Surfaces and Essences — Analogy as the Fuel and Fire of Thinking”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*F2_bphhRcBH1-XS05KF7AQ.png" /></figure><p>Analogies are a flexible way of thinking. Analogies extrapolate patterns and avoid of type-2 errors. However, analogies increase the number of type-1 errors. Life is too complex and the amount of patterns is so infinite that it is impossible to deal with all individual patterns. Hence, we need to cluster patterns by similarity because similar patterns produce similar outcomes. In the context of Deep Reinforcement Learning (we will study it in few minutes), complex states cluster individual patterns in order to make the network of transitions between complex states more computationally tractable. So, similar complex states and similar actions produce similar outcomes.</p><p>Mathematics professors of technological institutes encourage students to find exact solutions to mathematical problems. If the answer to a numerical approximation is slightly different, you obtain zero points. That’s not the way brains work. Brains are rather flexible and use intuition. For example, robots should be able to handle a huge variety of doors. If a robot says “this pattern is not a door because it is not exactly equal to my model of door”, then that robot will commit a type-2 error and will not be able to handle such door in an appropriate way.</p><p>Hofstadter summarized it well in a quote:</p><p>“The entire effort of artificial intelligence is essentially a fight against computers rigidity.” — Douglas Hofstadter</p><p>In the last chapter of Hofstadter’s book, he proved by using many logical arguments that analogy-making is the same exact thing as categorization! And we already have formal methods of categorization (or classification) like deep learning. So, deep learning is a computational tool to make machines capable of making analogies.</p><p><strong>The 2 purposes of non-linear activation functions</strong></p><p>Non-linear activation functions have 2 purposes:<br>- to make the mapping non-linear as real-world problems;<br>- and to cut bizarre regions of the pattern space.</p><p>Real-world problems are chaotic, nonlinear, multidimensional, multicausal, complex, and bizarre. Hence, neural networks cannot be linear because neural networks are supposed to adapt to non-linear causal geometries.</p><p>Non-linear activation functions usually have 2 very different parts that separate the activation region and the non-activation region. So, non-linear activation functions cut the pattern space into complex states and serve to model the frontiers of patterns.</p><p><strong>Cybenko’s Universal Approximation Theorem</strong></p><p>Single layer perceptrons can only separate patterns by using linear functions. So, they are very limited. In fact, Marvin Minsky wrote a critique against perceptrons, telling that perceptrons cannot solve the XOR problem. And that paper created the AI winter.</p><p>Two-layer neural networks can represent convex open or closed regions of the pattern space, which are more sophisticated. However, they are not versatile enough to characterize the frontier of arbitrary patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*aKLg3vTys5oxbPb-5YRqGQ.png" /></figure><p>In 1998, Cybenko wrote a paper explaining the Universal Approximation Theorem which states that three-layer neural networks with sufficient hidden neurons can characterize the frontier of arbitrary patterns. In other words, sufficiently large neural networks are adaptive and shapeless like amoebas that can take any shape through adaptation.</p><p><strong>Neural networks are both discriminative classifiers and generative classifiers</strong></p><p>Discriminative classifiers model the frontier of patterns. They have less parameters and occupy less memory. An example of a discriminative classifier is the perceptron:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TjfGo0Ig6DYN3vDCm-4GGQ.png" /><figcaption>How the perceptron works as a classifier whose frontier is linear.</figcaption></figure><p>Generative classifiers model the stereotype of patterns. They have more parameters and occupy more memory. An example of a generative classifier is k-nearest neighbors, which memorize everything and classify by clustering the nearest neighbors in order to make a stereotype of the class:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*kE2zABHFssO5GxOXWf0kYQ.png" /><figcaption>Example of k-nearest neighbors</figcaption></figure><p>Neural networks are both discriminative and generative classifiers. The most famous example of this are auto-encoders that act as pattern compressors. Auto-encoders have an encoding part that does dimensionality reduction (or compression) and have a decoding part that reconstructs the original pattern, proving that neural networks are also generative classifiers. Autoencoders model both the frontiers and the stereotypes of patterns. They have a decent amount of parameters and occupy a decent amount of memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vWkkmscb8my1xHkpjoJ4Ng.png" /><figcaption>Example of an auto-encoder.</figcaption></figure><p>Neural networks, PCA, ICA, eigen vectors, and eigen values belong to the same family of algorithms. You can google “eigen faces” and you will notice that the stereotype is more beautiful than the samples. Why? Because beauty can be expressed as a consequence of the least-action principle. Patterns that produce the least neuronal resistance, or the least difference when compared to the neural stereotypes, are considered more beautiful by brains. In the case of faces, classical faces are more beautiful. All artists know this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*zyHOox-EVFTPvBiM45lq_A.png" /><figcaption>An eigen face</figcaption></figure><p><strong>Is deep learning inspired by biology?</strong></p><p>The Hodgkin–Huxley model of the squid neuron was the first serious attempt to characterize the properties and dynamics of biological neurons. However, the most realistic model of human neurons is the Izhikevich model, which characterizes spikes, bursts, low frequencies, and high frequencies of brain activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*5TyauUfU5zj8dHJYvyTEYg.png" /><figcaption>Izhikevich model</figcaption></figure><p>Spiking neural networks are more sophisticated than artificial neural networks. Because spiking neural networks can model other aspects of cognition, i.e. neuronal synchronization. However, artificial neural networks are more practical and work well because they are more computationally tractable than spiking neural networks.</p><p>Artificial neural networks are based on the McCulloch-Pitts perceptron. Each neuron (or unit) has some synapses (or weights) to represent the strength of connections to other neurons. Synapses are the parameters that vary when using the gradient descent technique. The adaptation of synapses produces learning. Synapses (or weights) are multiplied by the inputs, the signals coming from other neurons. Big positive weights excite the neuron. Whereas big negative weights inhibit the neuron. Small weights or zero weights are indifferent. The resulting excitatory or inhibitory signals are summed up inside the neuron body and finally an activation function computes the final output of the neuron which is connected to other neurons, and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KidHneHIgIhpfi__xvICew.png" /><figcaption>McCulloch-Pitts perceptron</figcaption></figure><p>In the online course Computational Neuroscience at Coursera, Prof. Rajesh Rao made some assumptions and algebraic manipulations to demonstrate that there is indeed a mathematical connection between spiking neural networks and the McCulloch-Pitts perceptron. Perceptrons operate in the frequency domain. Hence, the numbers they represent are frequencies of activations. Bigger numbers represent bigger frequencies of activation. And smaller numbers represent smaller frequencies of activation. Remember that Fuster defined consciousness as the high-frequency activations of cognits, beyond the threshold of awareness. Cognits with lesser frequencies of activation represent the subconscious, which are the parts of the brain which are silent in a particular moment, waiting for the proper sensory stimuli to be activated to represent thoughts corresponding to phenomena in the real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1jEo0Fo0vNGTumLV4WQRQw.png" /><figcaption>A slide of a lecture in the online course Computational Neuroscience at Coursera.</figcaption></figure><p>“Now you know that this equation that people in the artificial intelligence community have been using for a very long time as, in fact, a simplification of the rich dynamics that one has in the synaptic current, as well as the dynamics of the output firing rate.” — Rajesh Rao, professor of computational neuroscience at Cousera</p><p><strong>Deep Reinforcement Learning</strong></p><p>Deep Reinforcement Learning (or Deep RL) is the perfect synergy between 2 worlds: Reinforcement learning and deep learning.</p><p>Reinforcement learning comes from the family of search algorithms which are general problem solvers. So, these algorithms are very powerful, versatile, and expressive. They represent the world as a network of states. At each state, the agent can take many actions whose outcomes are other states, with an associated probability of occurrence and a reward (R) or cost (C). A cost is a negative reward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*EHqzBYRD205HZqnBMJGG3Q.png" /><figcaption>A network of states (S), actions (a), probabilities (P), and costs (c).</figcaption></figure><p>Deep RL attaches a deep neural network to sense the world through sensors and learns the most appropriate actions that maximizes the rewards and minimizes the costs. It is a pretty elegant and powerful solution to many problems.</p><p>Deep RL can learn from the world by exploring it in an unsupervised way. However, the environment is the teacher or supervisor of the deep neural network (which is a supervised method). The environment punishes or rewards the actions taken by the agent at each specific state. The agent constantly operates in the environment in real time through the perception-action cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iNPcycpyUF-DLK5Aw2I1Ug.png" /></figure><p>The neural network used by Deep RL can be very complex and very deep as this convolutional neural network used by DeepMind Technologies to make a Deep RL agent play a lot of Atari videogames. Notice that the sensed state is as complex as the pixels in the screen of an Atari videogame and the actions are all the possible combinations of actions that a Atari joystick can take.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pAfw8k4FNP8KwPT9KQQL3Q.png" /><figcaption>Graph taken from a paper of DeepMind Technologies.</figcaption></figure><p>So, the Deep RL agent learns how to maximize the reward points by seeing the Atari screen and experimenting random actions of the joystick. At the beginning, the exploration of actions is random and at the end the explorations of actions is driven by a greedy algorithm (i.e. epsilon greedy) which seeks to maximize the reward.</p><p><strong>Learning inverses instead of deducing them</strong></p><p>That introduction to Deep RL was necessary to explain an important strategy of deep learning: Learning inverses instead of deducing them.</p><p>For example, in my undergraduate thesis I modeled a robotic arm by using Lagrangian mechanics. Here is the physical model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*D_cbhYn6emMWd-DBaV2PIA.png" /></figure><p>And here are the Lagrangian, the partial derivatives, and the differential equation system generated from this physical model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4hD4LIbx13H7-UnKKQl_9Q.png" /></figure><p>This differential equation system is so complex that we cannot generate a symbolic solution. We should use numerical methods like Runge-Kutta to generate approximations of the inverse.</p><p>In the real world, animals know neither mathematics nor Lagrangian mechanics. However, they can move and walk. They learn to move by intuition. They learn the inverse to control their movements rather than deducing the inverse.</p><p>Perception also has an inverse. We perceive by using causal induction that goes from effects (sensations) to causes (perceptions). Almost everything in the field of artificial intelligence is causal induction. That’s why Solomonoff induction is very important to solve Artificial General Intelligence (AGI).</p><p>An example of perception is vision. Animals know neither mathematics nor projective geometry nor linear algebra. However, they can see. They learn to see by intuition. They learn the inverse directly to see rather than deducing the mathematics of computer vision. They exploit the abilities of neural networks to characterize both the stereotypes of objects (generative models) and the frontiers of complex patterns (discriminative models).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*B660o4slHCGj0wkttvgXwA.png" /></figure><p>In like manner, only 10 world experts are capable of modeling human speech and room acoustics. However, animals who don’t know anything about mathematics can hear and infer things from sounds. They learn to hear by intuition.</p><p>So, we have a heated debate: Reductionism (rationality) versus holism (intuition), the irrational approach of Hinton. Jitendra Malik is an expert in computer vision who uses reductionism to crack computer vision. He is the opposite of Geoffrey Hinton, who uses the artificial intuition of neural networks to solve computer vision. And the winner was intuition. The subconscious, reflexology, and intuition are the opposite of deduction and rationality.</p><p>Correlation does not imply causation. Reductionist scientists repeat it all the time. However, intuition suggests us that correlation helps to infer causation. If some events are highly correlated, we can start to suspect they are causally connected. And if they are correlated in all the cases, we can safely infer causation.</p><p>Moreover, neural networks are not black boxes. Experts in causation like Judea Pearl often criticize deep learning by saying that deep learning cannot do causal induction. But we can trace and track the neural activations of Deep RL in order to infer the weird causal pathways inside of it. So, Deep RL can do causal induction as well, in a bizarre way.</p><p>P.S. These ideas were taken from my webinar on Deep RL:</p><p>Webinar on Deep Reinforcement Learning (Secure &amp; Private AI Scholarship Challenge)<br><a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fyoutu.be%2FoauLZG9nAX0%3Ffbclid%3DIwAR0aKns9jQrXiVuwJXyqk2D977JaThItgRtp7fJw31Xn6jNfwnWOP-iBpA0&amp;h=AT3Lt1I8CJzqBmekHUUfIjHRaeGMhO0Ol2D3WUAoZ9de5wRSbEYzef55j-9eUlQM5sHdM5c1dbEwUJO1CXvKxUxsvIYFF2cYd5iYzQme4iARB-FqPF69vJ6HE7LgmAabd1jY6AHXYFxMBQA4pltJVYY3jA">https://youtu.be/oauLZG9nAX0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60df8093e19f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/secure-and-private-ai-math-blogging-competition/how-and-why-deep-learning-works-60df8093e19f">How and Why Deep Learning Works</a> was originally published in <a href="https://medium.com/secure-and-private-ai-math-blogging-competition">Secure and Private AI Math Blogging Competition</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>