<?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 Alexandre Ramé on Medium]]></title>
        <description><![CDATA[Stories by Alexandre Ramé on Medium]]></description>
        <link>https://medium.com/@alexandreram?source=rss-fea582b547bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EDlxEBcPaAcnt9P2KFXQkg.jpeg</url>
            <title>Stories by Alexandre Ramé on Medium</title>
            <link>https://medium.com/@alexandreram?source=rss-fea582b547bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 10:03:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alexandreram/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[PRAIRIE Artificial Intelligence Summer School: key takeaways]]></title>
            <link>https://medium.com/@alexandreram/prairie-artificial-intelligence-summer-school-key-takeaways-593af03d7351?source=rss-fea582b547bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/593af03d7351</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[image-recognition]]></category>
            <category><![CDATA[summer-school]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Alexandre Ramé]]></dc:creator>
            <pubDate>Tue, 24 Jul 2018 08:20:19 GMT</pubDate>
            <atom:updated>2018-07-25T07:17:07.164Z</atom:updated>
            <content:encoded><![CDATA[<h4>What I learnt about Deep Learning from Yann Lecun, Leon Bottou, Rémi Munos, Cordelia Schmid, Hugo Larochelle, Andrew Zisserman &amp; many more</h4><p>I was lucky to participate in the <strong>PAISS summer school organized by Inria Grenoble and Naver Labs Europe in France.</strong> During one week, several Deep Learning stars shared their latest research.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cH2ru9CgDv6J13cOukglLg.jpeg" /></figure><p>In this blog post, my goal is to give <strong>AI enthusiasts &amp; researchers</strong> who missed the summer school the opportunity to see what has been discussed, provide a few details about the <strong>ongoing projects/advances</strong> in the different fields of <strong>Deep Learning</strong> and references to the <strong>must-read papers</strong> in case you want to <strong>explore by yourself</strong> what I quickly introduce. I will not be able to sum up 40 hours of conference, instead I will focus on what particularly interested me.</p><p>Most of the slides are now available: h<a href="https://project.inria.fr/paiss/program/">ttps://project.inria.fr/paiss/program/</a></p><ol><li>Deep Learning explained with metaphors</li><li>Visual Search</li><li>Weak and Unsupervised Learning for Image Analysis</li><li>Video Understanding</li><li>Natural Language Processing</li><li>Theoretical Analysis</li><li>On the road to Artificial General Intelligence</li></ol><p>Let’s go</p><h3>1. Deep Learning explained with metaphors</h3><p>Yann Lecun is the king, among other things, of <strong>metaphors</strong>: here is a non exhaustive list of its favorite. If you often need to explain Deep Learning basic principles, these metaphors may help you.</p><ul><li>The “classical” <strong>cake</strong> of Yann Lecun</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/0*SHvUMXhUZIoTLPdj" /></figure><ul><li>Back propagation as a tuning of radio <strong>potentiometers</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0WoB7rEvPyOLpJu9q0C-OA.png" /></figure><p>You can compare weights of your network with the potentiometers of an old radio: a step of backpropagation when trying to output the good label is similar to a slight change of the potentiometers when trying to have a good output frequency.</p><ul><li>Gradient Descent as a descent in the <strong>fog</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*zpsQz3HBciOIVEAD3O_gIQ.png" /><figcaption>Thanks to Jeremy Howard /@fast.ai for this image</figcaption></figure><p>Imagine you are at in a foggy mountain, and you try to reach the nearest village. You can only see few meters away, but you know that the village is at low altitude. A good heuristic would be to see around you the steepest slope and continue iteratively. This is exactly what Gradient Descent does.</p><h3>2. Visual Search</h3><p>Given an image, you somehow <strong>compute an embedding and find the most similar item</strong> inside a catalog with a basic dot product. The one million dollar question is: <strong>how do you extract these features</strong> ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*52KdHoXlqlAZwPmYpI1QsQ.png" /></figure><h4>A. Basic Image Features Extraction</h4><p>Some “old fashioned” methods used <strong>low level cues (</strong>color histogram, textures, shape, …) or <strong>local quantized descriptors</strong> (SIFT, SURF [1]). Finally techniques such as Fisher Vector [2] or Vlad aggregate local descriptors to obtain <strong>global descriptors</strong>.</p><p>But that was before the deep learning success. Now a <strong>convolutional neural network trained on IMAGENET </strong>is the most frequently used <strong>features extractor</strong>. Note that hybrid methods have been tested by adding a Vlad layer [3, 4] or a Fisher Layer at the end of a CNN.</p><blockquote>[1] Karami, E., Prasad, S., &amp; Shehata, M. (2017). Image matching using SIFT, SURF, BRIEF and ORB: performance comparison for distorted images. <em>arXiv preprint arXiv:1710.02726</em>.</blockquote><blockquote>[2] Perronnin, F., Sánchez, J., &amp; Mensink, T. (2010, September). Improving the fisher kernel for large-scale image classification. In <em>European conference on computer vision</em> (pp. 143–156). Springer, Berlin, Heidelberg.</blockquote><blockquote>[3] Delhumeau, J., Gosselin, P. H., Jégou, H., &amp; Pérez, P. (2013, October). Revisiting the VLAD image representation. In <em>Proceedings of the 21st ACM international conference on Multimedia</em> (pp. 653–656). ACM.</blockquote><blockquote>[4] Arandjelovic, R., Gronat, P., Torii, A., Pajdla, T., &amp; Sivic, J. (2016). NetVLAD: CNN architecture for weakly supervised place recognition. In <em>Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</em> (pp. 5297–5307).</blockquote><h4>B. How to do better than IMAGENET embeddings ?</h4><p>An end-to-end methodology to “distinguish between particular objects, even if they belong to the same semantic class” (inspired from [5]) would be:</p><ul><li>create a <strong>dataset by google queries </strong>(in order to have several photos of the same object) and<strong> clean it automatically</strong> by discarding the large amount of mislabeled images using old fashioned methods (described earlier) in an offline mode, while keeping matching boxes</li><li>“regional maximum activations of convolutions” (<strong>RMAC</strong>) features [6] with pooling over several regions and where features are normalized, shifted/projected and then normalized again</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*z-A4kUiZOrb0g0NGARwvVQ.png" /><figcaption>RMAC features extractor</figcaption></figure><ul><li>learn how to choose these regions with<strong> Region Proposal Network</strong> like in Faster RCNN [7]</li><li>fix the alignment issue with <strong>Spatial Transformer Network</strong> [8]</li><li>do not use a classification loss but a <strong>ranking loss</strong> (such as the triplet loss) with curriculum learning and hard negative mining</li><li><strong>embedding compression</strong> with product quantization for faster query</li><li>iteratively leverage the topology of the catalog dataset with query <strong>expansion/diffusion</strong></li><li>handle <strong>high resolution</strong> (or multi-resolution), data augmentation and keep the images undistorted</li></ul><p>If you want to make “semantic” identification, you can benefit from weak information inside the text. That’s why in [9], they use multimodal dataset and try to <strong>reconstruct the human captions as a proxy for image embedding</strong>.</p><blockquote>[5] Gordo, A., Almazan, J., Revaud, J., &amp; Larlus, D. (2017). End-to-end learning of deep visual representations for image retrieval. <em>International Journal of Computer Vision</em>, <em>124</em>(2), 237–254.</blockquote><blockquote>[6] Paulin, M., Douze, M., Harchaoui, Z., Mairal, J., Perronin, F., &amp; Schmid, C. (2015). Local convolutional features with unsupervised training for image retrieval. In <em>Proceedings of the IEEE international conference on computer vision</em> (pp. 91–99).</blockquote><blockquote>[7] Ren, S., He, K., Girshick, R., &amp; Sun, J. (2015). Faster r-cnn: Towards real-time object detection with region proposal networks. In <em>Advances in neural information processing systems</em> (pp. 91–99).</blockquote><blockquote>[8] Jaderberg, M., Simonyan, K., &amp; Zisserman, A. (2015). Spatial transformer networks. In <em>Advances in neural information processing systems</em> (pp. 2017–2025).</blockquote><blockquote>[9] Gordo, A., &amp; Larlus, D. (2017, July). Beyond instance-level image retrieval: Leveraging captions to learn a global visual representation for semantic retrieval. In <em>IEEE Conference on Computer Vision and Pattern Recognition (CVPR)</em>.</blockquote><h3>3. Weak and Unsupervised Learning for Image Analysis</h3><p>As labellisation is the bottleneck of most deep learning techniques, we should aim at the “Genoise” of Lecun ‘s cake</p><h4>A. Benefit from Internet’s data</h4><p>Internet is full of weak labels, <strong>collected automatically without human annotations</strong>, such as metadata for image recognition.</p><p>Indeed, only <strong>image level labels</strong> are needed for cosegmentation [10] to separate objects from background. Similarly, [11] learns to name character in video thanks to the weak labels given by the script of the video in the TV show Buffy while [12] exploits temporal constraints.</p><p>Furthermore, at Heuritech we published [13] where we learn a multimodal embedding of text and image by matching e-commerce image with their description. More recently [14] takes weak supervision to a whole new level, and learns to predict hashtags on 3.5 billion Instagram images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*B85dNtce_wAwBRLo9gLVug.png" /><figcaption>Leveraging weakly annotated data for fashion image retrieval and label prediction [13]</figcaption></figure><blockquote>[10] Joulin, A., Bach, F., &amp; Ponce, J. (2012, June). Multi-class cosegmentation. In <em>Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on</em> (pp. 542–549). IEEE.</blockquote><blockquote>[11] Sivic, J., Everingham, M., &amp; Zisserman, A. (2009, June). “Who are you?”-Learning person specific classifiers from video. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on (pp. 1145–1152). IEEE.</blockquote><blockquote>[12] Bojanowski, P., Lajugie, R., Bach, F., Laptev, I., Ponce, J., Schmid, C., &amp; Sivic, J. (2014, September). Weakly supervised action labeling in videos under ordering constraints. In <em>European Conference on Computer Vision</em> (pp. 628–643). Springer, Cham.</blockquote><blockquote>[13] Corbiere, C., Ben-Younes, H., Ramé, A., &amp; Ollion, C. (2017, October). Leveraging weakly annotated data for fashion image retrieval and label prediction. In <em>Computer Vision Workshop (ICCVW), 2017 IEEE International Conference on</em> (pp. 2268–2274). IEEE.</blockquote><blockquote>[14] Mahajan, D., Girshick, R., Ramanathan, V., He, K., Paluri, M., Li, Y., … &amp; van der Maaten, L. (2018). Exploring the Limits of Weakly Supervised Pretraining. <em>arXiv preprint arXiv:1805.00932</em>.</blockquote><h4>B. Self-supervised learning</h4><p>It’s a form of unsupervised learning where the data provides the supervision: in general, you withhold some part of the data, and task the network with predicting it. The task defines a proxy loss, and the network is forced to learn what we really care about, e.g. a semantic representation, in order to solve it. The challenge is to find the most meaningful proxy task</p><p>If you have a dataset of images, you can try to learn:</p><ul><li><strong>relative positioning</strong>: given 2 patches of an image, try to know how they are positioned relatively</li><li><strong>colorization</strong>: try to find the RGB colors of a grey image</li><li><strong>exemplar networks</strong>: learn to match different data augmentations of the same image</li><li><strong>image transformations</strong>: which image has the correct rotation [15]</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*_VYOmaE_XTiNQhIoR4pryw.png" /><figcaption>Unsupervised Representation Learning by Predicting Image Rotations [15]</figcaption></figure><p>When you have a dataset of videos, you can use the temporal information:</p><ul><li>is this <strong>sequence of frames real or fake</strong>? [16]</li><li>is the video <strong>going forward or backward</strong> ? [17]</li><li>try <strong>to colorize the video</strong> given the first colorized frame by learning soft assignment from frame to the original frame by implicit tracking</li></ul><p>It becomes really funny when we use the implicit constraint of video and sound:</p><ul><li>is the <strong>sound appropriate</strong> or not with the video? [18], with triplet loss</li><li>is the <strong>sound synchronized</strong> or not with the video ? [19]</li></ul><blockquote>[15] Gidaris, S., Singh, P., &amp; Komodakis, N. (2018). Unsupervised Representation Learning by Predicting Image Rotations. <em>arXiv preprint arXiv:1803.07728</em>.</blockquote><blockquote>[16] Misra, I., Zitnick, C. L., &amp; Hebert, M. (2016, October). Shuffle and learn: unsupervised learning using temporal order verification. In <em>European Conference on Computer Vision</em> (pp. 527–544). Springer, Cham.</blockquote><blockquote>[17] Wei, D., Lim, J. J., Zisserman, A., &amp; Freeman, W. T. (2018). Learning and Using the Arrow of Time. In <em>Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</em>(pp. 8052–8060).</blockquote><blockquote>[18] Arandjelović, R., &amp; Zisserman, A. (2017). Objects that sound. <em>arXiv preprint arXiv:1712.06651</em>.</blockquote><blockquote>[19] Chung, J. S., &amp; Zisserman, A. (2016, November). Out of time: automated lip sync in the wild. In <em>Asian Conference on Computer Vision</em> (pp. 251–263). Springer, Cham.</blockquote><h4>C. Unsupervised Features Extraction</h4><p>Some researchers, such as Joulin, even aim at learning images features with no supervision at all.</p><ul><li>[20] fixes a set of target representations and constrain the deep features to align to them. This domain agnostic approach avoids the standard unsupervised learning issues of trivial solutions and collapsing of features.</li><li>DeepCluster [21] is a clustering method that jointly learns <strong>the parameters of a neural network </strong>and <strong>the cluster assignments of the resulting features</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*6OnVdaua7VvBOal4cPEE_A.png" /><figcaption>Deep Clustering for Unsupervised Learning of Visual Features [21]</figcaption></figure><blockquote>[20] Bojanowski, P., &amp; Joulin, A. (2017). Unsupervised learning by predicting noise. <em>arXiv preprint arXiv:1704.05310</em>.</blockquote><blockquote>[21] Caron, M., Bojanowski, P., Joulin, A., &amp; Douze, M. (2018). Deep Clustering for Unsupervised Learning of Visual Features. <em>arXiv preprint arXiv:1807.05520</em>.</blockquote><h3>4. Video Understanding</h3><h4>A. Optical Flow</h4><p>Cordelia Schmid introduced <strong>optical flow as the pattern of apparent motion</strong> of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer and a scene.</p><p>A solution to the optical flow problem was proposed in the Lucas Kanade algorithm with assumptions such as brightness consistency, motion consistency, small motion, optical flow consistency for nearby points and with constraints on gradient.</p><p>Recently, U-Net networks was used to predict optical flow in <strong>Flownet2</strong> [22] and <strong>FlyingThings3D</strong> [23]. Interestingly, they initialize their network with synthetic data and then fine tune with a custom small dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/0*Jt1Sn8rMhamAS4J5" /><figcaption>Flownet</figcaption></figure><blockquote>[22] Ilg, E., Mayer, N., Saikia, T., Keuper, M., Dosovitskiy, A., &amp; Brox, T. (2017, July). Flownet 2.0: Evolution of optical flow estimation with deep networks. In IEEE conference on computer vision and pattern recognition (CVPR) (Vol. 2, p. 6).</blockquote><blockquote>[23] Mayer, N., Ilg, E., Hausser, P., Fischer, P., Cremers, D., Dosovitskiy, A., &amp; Brox, T. (2016). A large dataset to train convolutional networks for disparity, optical flow, and scene flow estimation. In <em>Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</em> (pp. 4040–4048).</blockquote><h4>B. Action Recognition</h4><p>The goal is to identify <strong>the main action of a video</strong>, using RGB frames along with optical flows (computed with Flownet) as inputs.</p><p>Zisserman [24] studied a number of ways of fusing ConvNet towers both spatially (RGB with 3 channels) and temporally (externally computed optical flows inputs with 2 channels) in order to best take advantage of this <strong>spatio-temporal information</strong>. [25] got better results with <strong>3D ConvNet</strong>.</p><p>[26] made a review of all methods and introduce a new <strong>Two-Stream Inflated 3D ConvNet</strong> (I3D) that is based on 2D ConvNet inflation: filters and pooling kernels of very deep image classification ConvNets are expanded into 3D, making it possible to <strong>learn seamless spatio-temporal feature extractors from video while leveraging successful ImageNet architecture </strong>designs and even their parameters. Performances are judged according to the kinetics human action video dataset [27], with 400 human action classes and over 400 clips per class collected from realistic, challenging YouTube videos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/0*Ontt53HOzBrrv9kd" /><figcaption>Review of possible fusing methods between spatial and temporal information from[26]</figcaption></figure><blockquote>[24] Feichtenhofer, C., Pinz, A., &amp; Zisserman, A. (2016). Convolutional two-stream network fusion for video action recognition. In <em>Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</em> (pp. 1933–1941).</blockquote><blockquote>[25] Tran, D., Bourdev, L., Fergus, R., Torresani, L., &amp; Paluri, M. (2015). Learning spatiotemporal features with 3d convolutional networks. In <em>Proceedings of the IEEE international conference on computer vision</em> (pp. 4489–4497).</blockquote><blockquote>[26] Carreira, J., &amp; Zisserman, A. (2017, July). Quo vadis, action recognition? a new model and the kinetics dataset. In <em>Computer Vision and Pattern Recognition (CVPR), 2017 IEEE Conference on</em> (pp. 4724–4733). IEEE.</blockquote><blockquote>[27] Kay, W., Carreira, J., Simonyan, K., Zhang, B., Hillier, C., Vijayanarasimhan, S., … &amp; Suleyman, M. (2017). The kinetics human action video dataset. <em>arXiv preprint arXiv:1705.06950</em>.</blockquote><h4>C. Video Tracking</h4><p>The goal is to <strong>track an object in different consecutive frames</strong>.</p><p>[28] introduces a <strong>motion RPN</strong> (from optical flows) which generates high-quality proposals and is complementary to the <strong>appearance RPN</strong> (from RGB), and then link frame-level detections with the Viterbi algorithm.</p><p>But the best networks learn everything <strong>end to end and leverage the temporal continuity of videos</strong> instead of operating at the frame level. As input [29, 30] <strong>take a sequence of frames and output sequences of bounding boxes with associated scores</strong>. Inspired from [28] and [26], [31] localizes atomic visual actions, and handles multiple annotations for each person in the video.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/0*DFGMLvVytOG0-q6C" /><figcaption>[31] A video dataset of spatio-temporally localized atomic visual actions</figcaption></figure><blockquote>[28] Peng, X., &amp; Schmid, C. (2016, October). Multi-region two-stream R-CNN for action detection. In <em>European Conference on Computer Vision</em> (pp. 744–759). Springer, Cham.</blockquote><blockquote>[29] Kalogeiton, V., Weinzaepfel, P., Ferrari, V., &amp; Schmid, C. (2017). Action tubelet detector for spatio-temporal action localization. <em>ICCV, Oct</em>, <em>2</em>.</blockquote><blockquote>[30] Hou, R., Chen, C., &amp; Shah, M. (2017, October). Tube convolutional neural network (T-CNN) for action detection in videos. In <em>IEEE international conference on computer vision</em>.</blockquote><blockquote>[31] Gu, C., Sun, C., Ross, D. A., Vondrick, C., Pantofaru, C., Li, Y., … &amp; Schmid, C. (2017). AVA: A video dataset of spatio-temporally localized atomic visual actions. <em>CoRR, abs/1705.08421</em>, <em>4</em></blockquote><h3>5. Natural Language Processing</h3><h4>A. Machine Reading with attention</h4><p>The Stanford Question Answering Dataset is a set of 10,000 questions pertaining to some 500 Wikipedia articles. The answer to each question is a particular span of text from the corresponding piece of writing.</p><p>Whereas CNN has been the cornerstone of latest success in Image recognition, <strong>attention models</strong> had lot of success recently for NLP in machine reading. The key idea is to get embeddings for the question and the elements in the documents (using GRU or word embeddings), them merge them with attention, in order to have a <strong>question aware representation</strong>, and output the final answer.</p><p>Naver Labs, led by Julien Perez, made an impressive demo where given a question, their model is able to find the good span of text in a set of documents [32]. With memory network, you can also perform reasoning [33].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*mmzYS-fC-aBCTP2DUsBx-g.png" /><figcaption>Text understanding with the attention sum reader network [32]</figcaption></figure><blockquote>[32] Kadlec, R., Schmid, M., Bajgar, O., &amp; Kleindienst, J. (2016). Text understanding with the attention sum reader network. <em>arXiv preprint arXiv:1603.01547</em>.</blockquote><blockquote>[33] Liu, F., &amp; Perez, J. (2017). Gated end-to-end memory networks. In <em>Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers</em> (Vol. 1, pp. 1–10).</blockquote><h4>B. New breakthroughs in Machine Translation</h4><p>Like in many other area, old fashioned methods (Statistical Machine Translation) are now beaten by open source purely deep learning techniques. For example, Kyunghyun Cho adverts the FAIR library FairSeq in Pytorch.</p><p>Interesting new ideas raise my attention:</p><ul><li>[34] learns to <strong>translate in real time</strong>: the decoder does not need to wait the final output of the encoder to begin to translate</li><li>[35] uses <strong>purely attention</strong> without GRU</li><li>learning of an universal encoder decoder for <strong>multilingual translation</strong></li><li>[36] does not even use parallel data for translation in a purely <strong>unsupervised way</strong></li><li>[37] finds the best architecture with <strong>meta learning</strong></li></ul><blockquote>[34] Gu, J., Neubig, G., Cho, K., &amp; Li, V. O. (2016). Learning to translate in real-time with neural machine translation. <em>arXiv preprint arXiv:1610.00388</em>.</blockquote><blockquote>[35] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., … &amp; Polosukhin, I. (2017). Attention is all you need. In <em>Advances in Neural Information Processing Systems</em>(pp. 5998–6008).</blockquote><blockquote>[36] Lample, G., Denoyer, L., &amp; Ranzato, M. A. (2017). Unsupervised machine translation using monolingual corpora only. <em>arXiv preprint arXiv:1711.00043</em>.</blockquote><blockquote>[37] Zoph, B., &amp; Le, Q. V. (2016). Neural architecture search with reinforcement learning. <em>arXiv preprint arXiv:1611.01578</em>.</blockquote><h4>C. Biologically inspired Speech to Text</h4><p>Speech to text is now present in our everyday life, with tools such as Siri/Alexa. First method got inspired by the <strong>biological process</strong> of the human ear, consequence of generations of <strong>natural selection. </strong>Our ear makes frequency compression, dynamic range compression, short term compression, and contrast enhancement. The scientists adapted it to time windowing,<strong> fourier transform</strong>, mel filterbank, log scaling, and discrete cosine transform. But now with deep learning (and GRU), no need to such handmade pipelines [38].</p><blockquote>[38] Graves, A., Mohamed, A. R., &amp; Hinton, G. (2013, May). Speech recognition with deep recurrent neural networks. In <em>Acoustics, speech and signal processing (icassp), 2013 ieee international conference on</em> (pp. 6645–6649). IEEE.</blockquote><h3>6. Theoretical Analysis</h3><h4>A. Deep Learning in Non Euclidean Space</h4><p>Convolutional Layers enabled deep learning to make huge breakthroughs in 1D, 2D, or 3D euclidean spaces. But we <strong>can generalize CNN architectures to non-Euclidean domains</strong> (graphs and manifolds) with <strong>geometric deep learning</strong>. The basic idea is to define a convolution as the element wise product of the Fourier Transforms of two signals (the convolution theorem) [39]. You can learn more about it in: <a href="http://geometricdeeplearning.com/">http://geometricdeeplearning.com/</a></p><blockquote>[39] Bronstein, M. M., Bruna, J., LeCun, Y., Szlam, A., &amp; Vandergheynst, P. (2017). Geometric deep learning: going beyond euclidean data. <em>IEEE Signal Processing Magazine</em>, <em>34</em>(4), 18–42.</blockquote><h4>B. Theoretical Optimization Guaranteed magically transferred to Deep Learning</h4><p>When trying to solve a machine learning problem, our loss is composed of the sum of 3 terms</p><ul><li>we minimize over a class of functions and not over all possible functions: <strong>approximation error</strong></li><li>we minimize over our training set and not the true distribution: <strong>estimation error</strong></li><li>the optimization process may not reach the global minimum: <strong>optimization error</strong></li></ul><p>The goal of optimization researchers is to reduce as quick as possible and as much as possible the optimization error. But as machine learning researchers, we are less interested by how the training loss decreases than by how a model generalizes over new samples. [40] develops a theoretical framework that takes into account the effect of approximate optimization on learning algorithms, and proves that there is no need to optimize below a statistical error. So you can stop your learning process when the loss is close to 0.</p><p>From a theoretical point of view, given a function that is <strong>smooth</strong> (its gradient is L lipschitz) and <strong>convex</strong>, Gradient Descent has a convergence rate in 1/nb_step if we have a perfect learning rate of 1/L. L can be computed (with a line search) because the largest value of the Hessian matrix of the loss function is an upper bound of L. If you add a regularization function that is not smooth, it still works with a proximal gradient [41]. <strong>Momentum</strong> such as Nesterov improves the convergence rate.</p><p>But as complete computation of the gradient is intractable, we often use <strong>Stochastic Gradient Descent </strong>with a theoretical convergence rate in 1/ sqrt(nb_step) [42]. It is even quicker with less parameters tuning when using <strong>better estimation of the gradient </strong>like in Stochastic Average Gradient [43]: at each step, you refine the gradient of the corresponding training sample and then sum over all training samples.</p><p>But in Deep Learning,<strong> the loss is not even convex</strong>! fortunately for us, <strong>everything works fine</strong>. Here are some common tricks to get good optimization processes [44]:</p><ul><li><strong>reduce the learning rate </strong>by 10 whenever your loss is not decreasing anymore</li><li>use <strong>small batch size</strong> (Yann Lecun made it very clear in [45] that the only reasons we do not use batch size 1 are hardware limitation) even if it’s controversial</li><li><strong>optimizer with momentum works</strong>, maybe because it benefits from local convexity, convexity along trajectories or escape more easily from saddle points</li><li>use <strong>adaptive learning rate</strong> (like Adam [46])</li></ul><blockquote>[40] Bottou, L., &amp; Bousquet, O. (2008). The tradeoffs of large scale learning. In <em>Advances in neural information processing systems</em> (pp. 161–168).</blockquote><blockquote>[41] Schmidt, M., Roux, N. L., &amp; Bach, F. R. (2011). Convergence rates of inexact proximal-gradient methods for convex optimization. In <em>Advances in neural information processing systems</em> (pp. 1458–1466)..</blockquote><blockquote>[42] Moulines, E., &amp; Bach, F. R. (2011). Non-asymptotic analysis of stochastic approximation algorithms for machine learning. In <em>Advances in Neural Information Processing Systems</em> (pp. 451–459).</blockquote><blockquote>[43] Schmidt, M., Le Roux, N., &amp; Bach, F. (2017). Minimizing finite sums with the stochastic average gradient. <em>Mathematical Programming</em>, <em>162</em>(1–2), 83–112.</blockquote><blockquote>[44] Bottou, L. (2012). Stochastic gradient descent tricks. In <em>Neural networks: Tricks of the trade</em> (pp. 421–436). Springer, Berlin, Heidelberg.</blockquote><blockquote>[45] Masters, D., &amp; Luschi, C. (2018). Revisiting Small Batch Training for Deep Neural Networks. <em>arXiv preprint arXiv:1804.07612</em>.</blockquote><blockquote>[46] Kingma, D. P., &amp; Ba, J. (2014). Adam: A method for stochastic optimization. <em>arXiv preprint arXiv:1412.6980</em>.</blockquote><h4>C. Correlation is not Causation</h4><p>Leon Bottou stated that our networks are not good enough at reasoning and do not use structure. That’s why, most of our algorithms are <strong>not able to generalize to images in the wild</strong> and rely way too much on correlation rather than on causation.</p><h3>7. On the road to Artificial General Intelligence</h3><h4>A. Meta Learning: Learning to Learn</h4><p>While the goal of few shot learning is to design an algorithm that generalizes well on small dataset, <strong>meta learning aims at directly learning this algorithm</strong>. We will have a meta train set that is composed of several train-test datasets on which we learn the meta algorithm (the loss being the one of the test datasets), and a meta test set that is composed of other train/test datasets on which we apply our meta learning algorithm. The overall test loss is the average loss on the test datasets of the meta test datasets.</p><p>To define a meta learner, you can take inspiration from a known learning algorithm: [47] is similar to Nearest Neighbours, [48] to Bayesian classifier or [49] to gradient descent. Or you can derive it from a black box neural network, such as [50] and [51]</p><blockquote>[47] Vinyals, O., Blundell, C., Lillicrap, T., &amp; Wierstra, D. (2016). Matching networks for one shot learning. In <em>Advances in Neural Information Processing Systems</em> (pp. 3630–3638).</blockquote><blockquote>[48] Snell, J., Swersky, K., &amp; Zemel, R. (2017). Prototypical networks for few-shot learning. In <em>Advances in Neural Information Processing Systems</em> (pp. 4077–4087).</blockquote><blockquote>[49] Ravi, S., &amp; Larochelle, H. (2016). Optimization as a model for few-shot learning.</blockquote><blockquote>[50] Santoro, A., Bartunov, S., Botvinick, M., Wierstra, D., &amp; Lillicrap, T. (2016). One-shot learning with memory-augmented neural networks. <em>arXiv preprint arXiv:1605.06065</em>.</blockquote><blockquote>[51] Mishra, N., Rohaninejad, M., Chen, X., &amp; Abbeel, P. (2018). A simple neural attentive meta-learner.</blockquote><h4>B. Deep Reinforcement Learning</h4><p>Reinforcement Learning refers to a kind of Machine Learning method in which the agent receives a delayed reward in the next time step to evaluate its previous action (see [52] for an overall introduction). Remi Munos gave an inspiring speech about the spirit you should have when doing research in RL (or any science in fact): <strong>when facing a need, his goal is to find an idea that will have a theoretical benefit in a simplified setting and that gives numerical performance on real data.</strong></p><p>He was facing the limitations of traditional Reinforcement Learning algorithms.</p><ol><li><strong>off-policy gradient</strong> such as Deep Q Network (DQN [53])</li></ol><ul><li>pros: any kind of exploration schema, dissociation from acting with learning, prioritized experience replay</li><li>cons: 1 step bootstrapping, slow to propagate information, accumulate errors, no RNN</li></ul><p>2. <strong>on-policy gradient</strong> such as Asynchronous Advantage Actor-Critic (A3C [54])</p><ul><li>pros: multi steps training (fast propagation of information), asynchronous (parallelization), possible use of RNN</li><li>cons: no memory replay, no exploration</li></ul><p>We would like to enjoy the benefits from dissociating acting and learning from DQN while being able to do multi steps rewards like A3C. He does so by defining a <strong>behavior policy that is different from its target policy</strong>, and using an importance sampling weighted schema that gives an unbiased estimate of the Value Function: they <strong>reweight the traces of the trajectory</strong> by a smart ratio that maintains stability while being efficient. The behavior policy will enable <strong>the exploration of new states</strong>: if it ends up being a good idea, the value of the previous states will be updated accordingly, but otherwise they will not decrease too much.</p><p>This theoretical approach called RETRACE [55] enabled several new architecture at Deepmind such as REACTOR [56], and was further improved in V-TRACE for IMPALA [57].</p><blockquote>[52] Li, Y. (2017). Deep reinforcement learning: An overview. <em>arXiv preprint arXiv:1701.07274</em>.</blockquote><blockquote>[53] Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., … &amp; Petersen, S. (2015). Human-level control through deep reinforcement learning. <em>Nature</em>, <em>518</em>(7540), 529.</blockquote><blockquote>[54] Mnih, V., Badia, A. P., Mirza, M., Graves, A., Lillicrap, T., Harley, T., … &amp; Kavukcuoglu, K. (2016, June). Asynchronous methods for deep reinforcement learning. In <em>International conference on machine learning</em> (pp. 1928–1937).</blockquote><blockquote>[55] Munos, R., Stepleton, T., Harutyunyan, A., &amp; Bellemare, M. (2016). Safe and efficient off-policy reinforcement learning. In <em>Advances in Neural Information Processing Systems</em> (pp. 1054–1062).</blockquote><blockquote>[56] Gruslys, A., Azar, M. G., Bellemare, M. G., &amp; Munos, R. (2017). The Reactor: A sample-efficient actor-critic architecture. <em>arXiv preprint arXiv:1704.04651</em>.</blockquote><blockquote>[57] Espeholt, L., Soyer, H., Munos, R., Simonyan, K., Mnih, V., Ward, T., … &amp; Legg, S. (2018). IMPALA: Scalable distributed Deep-RL with importance weighted actor-learner architectures. <em>arXiv preprint arXiv:1802.01561</em>.</blockquote><h4>C. Robots are hard to train</h4><p>Martial Hebert clearly states that whereas you can be satisfied with a 95 % accuracy for image reasoning, robots can not fail ! they need a huge level of reliability. This is highly complicated because a robot needs <strong>perception, interpretation </strong>and even<strong> reasoning</strong>.</p><p>The idea is to have an explicit representation of the failure that could monitor the system: it would rather do nothing than a mistake. During training, we reweight our training dataset similarly to boosting, train several predictors, and at test time an <strong>adaptive planning networks</strong> chooses which predictor to use. It becomes really meta when you need a <strong>meta planner</strong> to select which planner to use (to select with predictor to use).</p><p>This algorithm also needs to be <strong>anytime algorithm</strong> [58], meaning that they should respect</p><ul><li>interruptibility: give answer at any time</li><li>monotonicity: answers do not get worse over time</li><li>diminishing returns: initial improvements are more useful</li></ul><p>Nicolas Mansard shows we have hard time transferring breakthroughs in Deep Learning to Motion generation for robots, because the space is too big to explore with DRL and that we need to give some prior to mechanics, otherwise it fails miserably. In conclusion, it is really difficult to use Reinforcement Learning for Robots: research is still in progress ! Remember that <strong>Pure RL is hard to use in the real world</strong>, because anything you do in the real world can kill you and that you can’t run the real world faster than real time.</p><blockquote>[58] Zilberstein, S. (1996). Using anytime algorithms in intelligent systems. <em>AI magazine</em>, <em>17</em>(3), 73.</blockquote><h3>Conclusion</h3><p>You may have noticed that a general pattern emerged: <strong>experimental Deep Learning is replacing theoretical old fashioned methods</strong>. Even if theoretical verification would be much appreciated, the progress made recently in very different domains are absolutely amazing!</p><p>Here at <strong>Heuritech</strong> <a href="https://www.heuritech.com/">https://www.heuritech.com/</a> we use plenty of these methods in our R&amp;D team when developing our visual recognition system for real world images. We empower fashion teams to monitor in real time both products and trends through cutting-edge image recognition technology applied on millions of social media images every day.</p><p>Join the fun!</p><p>Alexandre Ramé</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=593af03d7351" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>