<?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[Libre AI - Medium]]></title>
        <description><![CDATA[Our mission is to widely disseminate the benefits of Artificial Intelligence (AI) and Machine Learning (ML) and make them accessible to the world. - Medium]]></description>
        <link>https://medium.com/libreai?source=rss----61960a56c56c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Libre AI - Medium</title>
            <link>https://medium.com/libreai?source=rss----61960a56c56c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:57:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/libreai" 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 Joy of Neural Painting]]></title>
            <link>https://medium.com/libreai/the-joy-of-neural-painting-e4319282d51f?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/e4319282d51f</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[digital-art]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[neural-painter]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Sat, 14 Sep 2019 23:30:19 GMT</pubDate>
            <atom:updated>2020-02-27T17:12:08.569Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>Learning Neural Painters Fast! using PyTorch and Fast.ai</p><p><em>by </em><a href="https://www.linkedin.com/in/ernestodiazaviles/"><em>Dr. Ernesto Diaz-Aviles</em></a><em>, Co-Founder and CEO at </em><a href="https://libreai.com/"><em>Libre AI</em></a><em><br>Twitter: </em><a href="https://twitter.com/vedax"><em>@vedax</em></a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FNfZNDB5vkok%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNfZNDB5vkok&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FNfZNDB5vkok%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/61019e3fce63ad67085932c0fb0deb1e/href">https://medium.com/media/61019e3fce63ad67085932c0fb0deb1e/href</a></iframe><blockquote><strong><em>The Code:</em></strong><em> </em>Our implementation can be found at this Github repo: <a href="https://github.com/libreai/neural-painters-x">https://github.com/libreai/neural-painters-x</a></blockquote><p>I am sure you know <a href="https://en.wikipedia.org/wiki/Bob_Ross">Bob Ross</a> and his program <a href="https://en.wikipedia.org/wiki/The_Joy_of_Painting"><em>The Joy of Painting</em></a><em> </em>where he taught thousands of viewers how to paint beautiful landscapes with a simple and fun way, combining colors and brushstrokes, to achieve great results very quickly. Do you remember him teaching how to paint a pixel at the time? of course not!</p><p>However, most of the current generative AI Art methods are still centered to teach machines how to ‘paint’ at the pixel-level in order to achieve or mimic some painting style, e.g., GANs-based approaches and style transfer. This might be effective, but not very intuitive, specially when explaining this process to artists, who are familiar with colors and brushstrokes.</p><p>At <a href="https://libreai.com/">Libre AI</a>, we have started a <em>Creative AI</em> initiative with the goal to make more accessible the advances of AI to groups of artists who do not necessarily have a tech background. We want to explore how the creative process is enriched by the interaction between creative people and creative machines.</p><p>As first step, we need to teach a machine how to paint. It should learn to paint as a human would do it: using brushstrokes and combining colors on a canvas. We researched the state-of-the-art and despite the great works, there was not really a single paper that satisfied our requirements, until we found <a href="https://arxiv.org/abs/1904.08410"><em>Neural Painters: A Learned Differentiable Constraint for Generating Brushstroke Paintings</em></a><em> </em>by Reiichiro Nakano [1]. This finding was quite refreshing.</p><h3>Neural Painters</h3><p>Neural Painters [1] are a class of models that can be seen as a fully differentiable simulation of a particular non-differentiable painting program, in other words, the machine “paints” by successively generating brushstrokes (i.e., <em>actions</em> that define a brushstrokes) and applying them on a canvas, as an artist would do.</p><p>These <em>actions</em> characterize the brushstrokes and consist of 12-dimensional vectors defining the following variables:</p><ul><li><strong>Start and end pressure</strong>: pressure applied to the brush at the beginning and end of the stroke</li><li><strong>Brush size</strong>: radius of the generated brushstroke</li><li><strong>Color</strong>: the RGB color of the brushstroke</li><li><strong>Brush coordinates</strong>: three Cartesian coordinates on a 2D canvas, defining the brushstroke’s shape. The coordinates define a starting point, end point, and an intermediate control point, constituting a quadratic Bezier curve</li></ul><p>A tensor with actions looks like this example:</p><pre>tensor([<br>    [0.7016, 0.3078, 0.9057, 0.3821, 0.0720, 0.7956, 0.8851, 0.9295,   0.3273, 0.8012, 0.1321, 0.7915],<br>    [0.2864, 0.5651, 0.5099, 0.3430, 0.2887, 0.5044, 0.0394, 0.5709, 0.4634, 0.8273, 0.1056, 0.1702], <br>    ...<br>])</pre><p>and these are a sample of some of the brushstrokes in the dataset:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*evJqj9IfKpwXvT7YTWWheg.png" /></figure><p><strong>The goal of the</strong> <strong>Neural Painter is to translate these vectors of actions into brushstrokes on a canvas</strong>. The paper explores two neural architectures to achieve such translation, one based on a variational autoencoder (VAE) and the second one based on a generative adversarial network (GAN), with the GAN-based Neural Painter (Figure 1) achieving better results in terms of quality of the generated brushstrokes. For more details please refer to the paper [1] .</p><h3>Tinkering with Neural Painters</h3><p>The code available to reproduce the experiments is offered by the author in a series of Google’s Colaboratory notebooks available in this <a href="https://github.com/reiinakano/neural-painters/tree/master/notebooks">Github</a> repo and the dataset used is available in <a href="https://www.kaggle.com/reiinakano/mypaint_brushstrokes">Kaggle</a>. The implementation uses <a href="https://www.tensorflow.org/">TensorFlow</a>, which is great in terms of performance, but let’s face it, it is not great fun to digest TensorFlow’s code (specially without Keras ;) ).</p><blockquote>Teaching machines is the best way to learn Machine Learning — E. D. A.</blockquote><p>We played around with the notebooks provided, they were extremely useful to understand the paper and to generate nice sample paintings, but we decided that in order to really learn and master Neural Painters, we needed to experiment and reproduce the results of the paper with our own implementation. To this end, we decided to go with <a href="https://pytorch.org/"><em>PyTorch</em></a><em> </em>and <a href="https://www.fast.ai/"><em>fast.ai</em></a><em> </em>as deep learning frameworks instead of <a href="https://www.tensorflow.org/">TensorFlow</a> as the paper’s reference implementation, to do some tinkering and in the process, hopefully, come with a more accessible piece of code.</p><h4>Learning Neural Painters Faster</h4><p>GANs are great generative models but they are known to be notoriously difficult to train, specially due to requiring a large amount of data, and therefore, needing large computational power on GPUs. They require a lot of time to train and are sensitive to small hyperparameter variations.</p><p>We indeed tried first a pure adversarial training following the paper, but although we obtained some decent results with our implementation, in terms of brushstrokes quality, it took a day or two to get there with a single GPU using a Colaboratory notebook and the <a href="https://www.kaggle.com/reiinakano/mypaint_brushstrokes">full dataset</a>.</p><blockquote><strong>To overcome these known GANs limitations and to speed up the Neural Painter training process, we leveraged the power of Transfer Learning</strong></blockquote><p><strong><em>Transfer learning</em></strong><em> </em>is a very useful technique in Machine Learning, e.g., the ImageNet models trained as classifiers, are largely used as powerful image feature extractors, in NLP, word embeddings, learned unsupervised or with minimal supervision (e.g., trying to predict words in the same context), have been very useful as representations of words in more complex language models. In Recommender Systems, representations of items (e.g., book, movie, song) or users can be learned via Collaborative Filtering and then use them not only for personalized ranking, but also for adaptive user interfaces. The fundamental idea, is to learn a model or feature representation on a task, and then transfer that knowledge to another related task, without the need to start from scratch, and only do some fine-tuning to adapt the model or representation parameters on that task.</p><p>More precisely, since GANs main components are the <em>Generator</em> and <em>Critic </em>the idea is to pre-train them independently, that is in a <em>non-adversarial</em> manner, and do transfer learning by hooking them together after pre-training and proceed with the adversarial training, i.e., GAN mode. This process has shown to produce remarkable results [2] and is the one we follow here.</p><p>The main steps are as described as follows:</p><pre>(1) <strong>Pre-train the Generator with a non-adversarial loss</strong>, e.g., using a feature loss (also known as perceptual loss)</pre><pre>(2) <strong>Freeze the pre-trained Generator weights</strong></pre><pre>(3) <strong>Pre-train the Critic as a Binary Classifier</strong> <br>(i.e., non-adversarially) using the pre-trained Generator (in evaluation mode with frozen model weights) to generate `fake` brushstrokes. That is, the Critic should learn to discriminate between real images and the generated ones. This step uses a standard binary classification loss, i.e., Binary Cross Entropy, not a GAN loss</pre><pre>(4) <strong>Transfer learning for adversarial training (GAN mode)</strong>: continue the Generator and Critic training in a GAN setting. Faster!</pre><p><strong>More in detail:</strong></p><p><strong>(1) Pre-train the Generator with a Non-Adversarial Loss</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J2OzYMRV2_dArAYIPnsjjQ.jpeg" /><figcaption><strong>Figure 1. Pre-train the Generator using a (Non-Adversarial) Feature Loss.</strong></figcaption></figure><p>The training set consists of labeled examples where the <strong>input</strong> corresponds to an <em>action vector </em>and the corresponding <em>brushstroke image</em> to the <strong>target</strong>.</p><p>The input <em>action vectors</em> go through the Generator, which consists of a fully-connected layer (to increase the input dimensions) and of a Deep Convolutional Neural Network connected to it.</p><p>The output of the Generator is an image of a brushstroke. The loss computed between the images is the <strong>feature loss</strong> introduced in [3] (also known as perceptual loss [4]). The process is depicted in Figure 1.</p><p><strong>(2) Freeze the pre-trained Generator</strong></p><p>After pre-training the Generator using the non-adversarial loss, the brushstrokes look like the ones depicted in Figure 2. A set of brushstrokes images is generated that will help us pre-train the Critic in the next step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXs8zwQdD_Ddd1eIjyr8pg.jpeg" /><figcaption><strong>Figure 2 . Sample Brushstrokes from the Generator Pre-trained with a Non-Adversarial Loss.</strong></figcaption></figure><p><strong>(3) Pre-train the Critic as a Binary Classifier</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n5QvC2Q6f_w-6g0vh9ZnLw.jpeg" /><figcaption><strong>Figure 3 . Pre-train the Critic as a Binary Classifier.</strong></figcaption></figure><p>We train the Critic as binary classifier (Figure 3), that is, the Critic is pre-trained on the task of recognizing <em>true</em> vs <em>generated</em> brushstrokes images (Step (2)).</p><p>We use is the <a href="https://pytorch.org/docs/stable/nn.functional.html#torch.nn.functional.binary_cross_entropy">Binary Cross Entropy</a> as binary loss for this step.</p><p><strong>(4) Transfer Learning for Adversarial Training (GAN mode)</strong></p><p>Finally, we continue the Generator and Critic training in a GAN setting as shown in Figure 4. This final step is much faster that training the Generator and Critic from scratch as a GAN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PLyNs7HzVdsEixgi8DBZbg.jpeg" /><figcaption><strong>Figure 4 . Transfer Learning: Continue the Generator and Critic training in a GAN setting. Faster.</strong></figcaption></figure><p>One can observe from Figure 2 that the pre-trained Generator is doing a decent job learning brushstrokes. However, there are still certain imperfections when compared to the true strokes in the dataset.</p><p>Figure 5 shows the output of the Generator after completing a single epoch of GAN training, i.e., after transferring the knowledge acquired in the pre-training phase. We can observe how the brushstrokes are more refined and, although slightly different to the true brushstrokes, they have interesting textures, which makes them very appealing for brushstrokes paintings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7THotBj4DvW-UGnqMrhHWg.jpeg" /><figcaption><strong>Figure 5 . Sample Brushstrokes from the Generator after Adversarial Training (GAN mode).</strong></figcaption></figure><h4>From Brushstrokes to Paintings</h4><p>Once the Generator training process is completed, we have a machine that is able to translate vectors of actions to brushstrokes, but how do we teach the machine to paint like a <a href="https://en.wikipedia.org/wiki/Bob_Ross">Bob Ross</a>’ apprentice?</p><p>To achieve this, the Neural Painters paper [1] introduces a process called <em>Intrinsic Style Transfer</em>, similar in spirit to Neural Style Transfer [6] but which does not require a <em>style</em> image. Intuitively, the features of the content input image and the one produced by the Neural Painter should be similar.</p><p>To implement the process we freeze the Generator model weights and learn a set of action vectors that when input to the Generator will produce brushstrokes, that once combined, will create a painting given an input content image.The image features are extracted using a VGG16 [7] network as a feature extractor, denoted as CNN in Figure 6, which depicts the whole process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CMsmwpbpm8W9ItNPv-qcUA.png" /><figcaption><strong>Figure 6. Painting with Neural Painters using Intrinsic Style Transfer.</strong></figcaption></figure><p>Note that the optimization process is targeted to learn the tensor of actions, while the remaining model weights are not changed, that is, the ones of the Neural Painter and CNN models. We use the same Feature Loss as before [3].</p><p>Finally, given an input image for inspiration, e.g., a photo of a beautiful landscape, the machine is able to create a brushstroke painting for that image :) ∎</p><blockquote><em>This Neural Painters implementation is the core technique used in our collaboration with the collective </em><a href="http://diavlex.com/"><em>diavlex</em></a><em> for their Art+AI collection </em><a href="https://cuevagallery.com/collections/residual-collection-by-diavlex"><strong><em>Residual</em></strong></a><em> at </em><a href="https://cuevagallery.com/"><strong><em>Cueva Gallery</em></strong></a><em>.</em></blockquote><h4>Notes</h4><ul><li><strong>For blending the brushstrokes</strong>, we follow a <em>linear blending strategy to combine the generated strokes</em> in a canvas, this process is described in detail in a very nice post titled <a href="https://reiinakano.com/2019/01/27/world-painters.html"><em>Teaching Agents to Paint Inside Their Own Dreams</em></a> also by Reiichiro Nakano [5]. We are currently exploring an alternative process that uses the alpha channel for blending.</li></ul><h4>Acknowledgements</h4><p>We would like to thank Reiichiro Nakano for helping us clarifying doubts during the implementation of our Neural Painters and for his supportive and encouraging comments and feedback. Thanks a lot Reiichiro! [<a href="https://twitter.com/reiinakano">@reiinakano</a>].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*fxR6k_BUnV2tZDbue-xHCg.jpeg" /><figcaption>Pandas painted by our Neural Painter.</figcaption></figure><h4><strong>References</strong></h4><p>[1] <em>Neural Painters: A Learned Differentiable Constraint for Generating Brushstroke Paintings</em>. Reiichiro Nakano <br><a href="https://arxiv.org/abs/1904.08410">arXiv preprint arXiv:1904.08410</a>, 2019.</p><p>[2] <em>Decrappification, DeOldification, and Super Resolution. </em>Jason Antic (Deoldify), Jeremy Howard (fast.ai), and Uri Manor (Salk Institute) <a href="https://www.fast.ai/2019/05/03/decrappify/">https://www.fast.ai/2019/05/03/decrappify/</a> , 2019.</p><p>[3] <em>Fast.ai MOOC Lesson 7: Resnets from scratch; U-net; Generative (adversarial) networks</em>. <a href="https://course.fast.ai/videos/?lesson=7">https://course.fast.ai/videos/?lesson=7</a> ; Notebook: <a href="https://nbviewer.jupyter.org/github/fastai/course-v3/blob/master/nbs/dl1/lesson7-superres.ipynb">https://nbviewer.jupyter.org/github/fastai/course-v3/blob/master/nbs/dl1/lesson7-superres.ipynb</a> [Accessed on: 2019–08]</p><p>[4] <em>Perceptual Losses for Real-Time Style Transfer and Super-Resolution</em><br>Justin Johnson, Alexandre Alahi, Li Fei-Fei <a href="https://arxiv.org/abs/1603.08155">https://arxiv.org/abs/1603.08155</a> , 2016</p><p>[5] <em>Teaching Agents to Paint Inside Their Own Dreams</em>. Reiichiro Nakano. <br><a href="https://reiinakano.com/2019/01/27/world-painters.html">https://reiinakano.com/2019/01/27/world-painters.html</a> , 2019</p><p>[6] <em>A Neural Algorithm of Artistic Style. </em>Leon A. Gatys, Alexander S. Ecker, Matthias Bethge. <a href="https://arxiv.org/abs/1508.06576">https://arxiv.org/abs/1508.06576</a>, 2015</p><p>[7] <em>Very Deep Convolutional Networks for Large-Scale Image Recognition. </em>Karen Simonyan, Andrew Zisserman. <a href="https://arxiv.org/abs/1409.1556">https://arxiv.org/abs/1409.1556</a>, 2014</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4319282d51f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/the-joy-of-neural-painting-e4319282d51f">The Joy of Neural Painting</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Glimpse into Deep Learning for Recommender Systems]]></title>
            <link>https://medium.com/libreai/a-glimpse-into-deep-learning-for-recommender-systems-d66ae0681775?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/d66ae0681775</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[collaborative-filtering]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 12 Dec 2018 14:04:49 GMT</pubDate>
            <atom:updated>2018-07-28T13:50:04.014Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<p><a href="https://www.linkedin.com/in/ernestodiazaviles/"><em>Dr. Ernesto Diaz-Aviles</em></a><em>, Chief Scientist at</em><a href="http://libreai.com/"><em> Libre AI</em></a><em>.</em></p><p>Deep Learning (DL) is one of the next big things in Recommender Systems (RecSys). During the past few years deep neural networks have shown tremendous success in computer vision, speech recognition, and natural language processing (NLP). Deep learning methods are also becoming a powerful tool to tackle Recommender Systems tasks such as music, news, fashion articles, and mobile apps recommendation.</p><p>This post takes a glimpse of current research in this particular field. The aim is to help identify new opportunities for research and industrial application of Deep Learning to enhance the recommendation experience.</p><h4>Why Recommender Systems?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pxUDUO2uSj647t4275lX1A.png" /></figure><p>Recommender Sytems help us to deal with <a href="https://en.wikipedia.org/wiki/Overchoice">choice overload</a>, a cognitive process in which people have a difficult time making a decision when faced with many options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*0Z-eNKqlXbgOL3HoqT28-A.png" /></figure><p><strong>RecSys are everywhere</strong> and we use them every day, directly or indirectly, in our digital interactions: when we buy that book that Amazon recommends us based on our previous history, when we listen to that playlists tailored to our taste in Spotify, or when we watch with the family that that movie recommended in Netflix, and discover new friend connections in Facebook, or read that news articles we care about that Twitter offers, or when we apply to that ideal job hinted by LinkedIn … Recommender Systems help us finding that valuable item among an ocean of choices.</p><h4>Why Deep?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vdHyRQfjt9__LKGgJsC2Kg.png" /><figcaption>[<a href="https://blogs.nvidia.com/blog/2016/07/29/whats-difference-artificial-intelligence-machine-learning-deep-learning-ai/">https://blogs.nvidia.com/blog/2016/07/29/whats-difference-artificial-intelligence-machine-learning-deep-learning-ai/</a>]</figcaption></figure><p>Deep Learning is a field of Machine Learning that allows computational models that are composed of multiple processing layers of representation and abstraction that help to make sense of data such as images, sound, and text.</p><p>These methods have dramatically improved the state-of-the-art in computer vision, speech recognition, natural language processing (NLP) and many other domains such as drug discovery and cancer cell detection. [<a href="http://www.nature.com/nature/journal/v521/n7553/full/nature14539.html">Deep learning. Nature 521, 436–444 (28 May 2015)</a>]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S8jU7pSVwqxs-HeRmZd-Yw.png" /></figure><p><strong>Is deeper better? </strong>For image classification deeper models with hundreds of layers and novel architecture shave shown impressive improvements reducing the classification error more that 24 percentage points in the last few years.</p><p>What about DL for RecSys? are such improvement in recommendation performance possible?</p><h3>Does Deep Learning work for Recommender Systems?</h3><p>Let’s have a look how RecSys have benefit from DL. In particular, we will explore examples on how Convolutional Newural Networks (CNNs), Recurrent Neural Networks (RNNs), Deep Neural Networks (DNNs) and Auto Encoders (AE) habe been used to enhance the power of RecSys.</p><h3>Convolutional Neural Networks (CNNs)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/0*g_OzuU1E-ZrW1SYe." /></figure><p>CNNs consist of multiple layers of receptive fields that model animal visual perception. They are variations of <a href="https://en.wikipedia.org/wiki/Multilayer_perceptron">multilayer perceptrons</a> designed to use minimal amounts of preprocessing. CNNs receptive filters process portions of the input image. Their outputs of these are then tiled so that their input regions overlap, to obtain a higher-resolution representation of the original image; this is repeated for every such layer. The initial layers, close to the input image, learn basic and low-level features, such as edges, followed by layers that seem to learn more higher order features like shapes. The very last layers seem to learn semantic attributes such as eyes or wheels, which are crucial parts in several categories. The machine learns to represent the objects without the need of hand-crafted features.</p><h3>CNNs for RecSys: Feature Learning to enhance Collaborative Filtering</h3><p>Items’ content features, e.g., visual features, are very valuable in multiple domains such as fashion, retail, or entertainment, and they can complement Collaborative Filtering algorithms. CNNs can be used to extract such visual features automatically. For example, He et al. introduce <a href="https://arxiv.org/abs/1510.01784">VBPR</a>, an approach that re-use a pretrained CNNs to extract a visual features vector that is then embedded and combined with item factors learned by a pairwise matrix factorization using <a href="https://arxiv.org/abs/1205.2618">BPR</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KwchlhNNcpBbSl6n." /><figcaption>[Ruining He and Julian McAuley. 2016. VBPR: visual Bayesian Personalized Ranking from implicit feedback. (AAAI’16).]</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/0*WRfx95r7KFY-YYmn." /></figure><p>The visual features indeed give a boost in performance measured by <a href="https://en.wikipedia.org/wiki/Receiver_operating_characteristic#Area_under_the_curve">AUC</a>, the metric optimized by BPR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JWBrJj592z08L-PM." /></figure><p>The visual embeddings discover semantic associations automatically and are useful for discovering similar items or to tackle cold-start problems, where new items could be paired with existing ones in similar item regions.</p><h4>Deep content-based music recommendation</h4><p>Pioneer work from <a href="https://www.spotify.com/">Spotify</a> also uses CNNs to extract audio features from music tracks. The content features could then used to cluster similar tracks and to produce personalized playlists. [<a href="https://papers.nips.cc/paper/5004-deep-content-based-music-recommendation">Deep content-based music recommendation</a>]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WbNqxyy5WEZWEbQO." /><figcaption>[van den Oord, A. et al. Deep content-based music recommendation (NIPS 2013)]</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ee1HC6WZ3rqPuIuNcbCWhQ.png" /><figcaption>[van den Oord, A. et al. Deep content-based music recommendation (NIPS 2013)]</figcaption></figure><h3>Recurrent Neural Networks (RNNs)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8mABrOOEn6t57Wqc.png" /><figcaption>[<a href="http://colah.github.io/posts/2015-08-Understanding-LSTMs/">Understanding LSTM Networks</a>. <a href="http://colah.github.io/posts/2015-08-Understanding-LSTMs/">colah’s blog</a>.]</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/0*0WW06tsAVJ3lcI-6." /><figcaption>[A Neural Conversational Model. Oriol Vinyals, Quoc Le. (2015). <a href="https://arxiv.org/abs/1506.05869">https://arxiv.org/abs/1506.05869</a>]</figcaption></figure><p>A <a href="https://en.wikipedia.org/wiki/Recurrent_neural_network">recurrent neural network (RNN)</a> is a class of artificial neural network where connections between units form a directed cycle. This creates an internal state of the network which allows it to exhibit dynamic temporal behavior. Unlike feedforward neural networks, RNNs can use their internal memory to process arbitrary sequences of inputs. This makes them applicable to tasks such as unsegmented connected handwriting recognition, speech recognition, or neural conversational models.</p><h3>RNN for RecSys: Session-based Recommendation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tPmvAg640Ef_qz9cNmXl7g.png" /></figure><h3>RNN for RecSys: Multi-task Recommendation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eYkwo7J5-oEj7_78." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hnrjaFY2GRmOrTVs." /><figcaption>[Trapit Bansal, David Belanger, and Andrew McCallum. 2016. Ask the GRU: Multi-task Learning for Deep Text Recommendations. RecSys ‘16]</figcaption></figure><h3>DNNs and Auto Encoders</h3><h4>DNN for RecSys: Google’s Wide &amp; Deep Models</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o60jXJkq_s8hB1mV." /><figcaption>[Cheng et al. Wide &amp; Deep Learning for Recommender Systems. DLRS @ RecSys 2016.]</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*01Fl4KH1hilzBXju." /><figcaption>[Cheng et al. Wide &amp; Deep Learning for Recommender Systems. DLRS @ RecSys 2016.]</figcaption></figure><h4>Auto Encoders for RecSys</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PU5K4Lsmp0Q8rJia." /><figcaption>[Sedhain et al. AutoRec: Autoencoders Meet Collaborative Filtering. (WWW ’15 Companion)]</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-crG6s-ZYKSDWpWT." /><figcaption>Task: Rating prediction. Metric: RMSE [Sedhain et al. AutoRec: Autoencoders Meet Collaborative Filtering. (WWW ’15 Companion)]</figcaption></figure><h3>Conclusion</h3><ul><li><strong>DL (DNN, AE, CNN, RNN)</strong> boosts recommendation performance</li><li><strong>CNNs</strong> ideal for content-based feature learning: ameliorate cold-start problem</li><li><strong>RNNs</strong> very powerful for sequence based recommendation, multi-modal learning, and order-aware distributed representations, trends forecast …</li><li><strong>Is deeper better for RecSys ?</strong></li></ul><h3>Beyond</h3><ul><li><strong>Model</strong> understanding: <strong>Explanation</strong></li><li>Exploration <strong>embedding semantics</strong>:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*-Rhnu_aX2NkqLnj2C5foVQ.png" /></figure><ul><li><strong>Specific Architectures</strong> for RecSys</li><li>Recommendation <strong>Algorithmic Bias</strong></li><li><strong>DL+RecSys</strong> beyond traditional tasks → <strong>Innovative Applications</strong></li><li>Machine as reviewers and critics</li><li><strong>Personalized content generation</strong>: news articles, art, movies, songs, design, fashion, …</li><li><strong>Different verticals</strong></li><li>…</li></ul><h4>Workshop on Deep Learning for Recommender Systems @ ACM RecSys 2017<br><a href="http://dlrs-workshop.org/">http://dlrs-workshop.org/</a><br>Submission deadline: 22 June 2017</h4><p><em>Credits: Material of this presentation is taken from excellent presentations and papers of great Deep Learning researchers and practitioners. All copyrights belong to their respective owners.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d66ae0681775" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/a-glimpse-into-deep-learning-for-recommender-systems-d66ae0681775">A Glimpse into Deep Learning for Recommender Systems</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dreaming of Electric Sheep]]></title>
            <link>https://medium.com/libreai/dreaming-of-electric-sheep-d1aca32545dc?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/d1aca32545dc</guid>
            <category><![CDATA[digital-art]]></category>
            <category><![CDATA[computers-and-society]]></category>
            <category><![CDATA[electric-sheep]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 12 Dec 2018 11:53:07 GMT</pubDate>
            <atom:updated>2019-08-20T17:28:58.970Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>10000 Electric Sheep in a Book created by Artificial Intelligence</h4><p><em>by Dr. Ernesto Diaz-Aviles, Co-founder and CEO at </em><a href="https://libreai.com/"><em>Libre AI</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jEiZuPmvC7iezA2Yzsqczg.png" /></figure><p>We are excited to announce that the book <a href="https://www.amazon.com/gp/product/1731413092"><strong><em>“Dreaming of Electric Sheep”</em></strong></a> is available at Amazon. All royalties will be used to support our initiatives on AI/ML literacy.</p><p>The book contains 10000 sheep drawn by Artificial Intelligence based on Machine Learning (AI/ML).</p><p>The machine, called <em>Laila</em>, was trained using tens of thousands of sheep doodles made by real people [1]. After a while, Laila started to dream of sheep and created drawings that are as good (or as bad and sketchy) as the ones produced by humans :)</p><blockquote>“Do androids dream?” <br>― Philip K. Dick, Do Androids Dream of Electric Sheep?</blockquote><h3>From Artificial Artificial Intelligence to Artificial Intelligence</h3><p>More than 12 years ago, Amazon coined the term <strong><em>artificial artificial intelligence</em> </strong>for processes outsourcing tasks to humans, especially those tasks computers are (or were?) lousy at, e.g., identifying objects in a photograph, writing short product reviews, transcribing podcasts, watching a short film and then describing the emotions it elicits.</p><p><em>Crowdsourcing</em> emerged as a new form of labor on demand [2] and <a href="https://www.mturk.com/">Amazon Mechanical Turk</a> (MTurk) provided the mechanisms to harness the power of a global workforce to complete tasks at scale. It was in this context where Aaron Koblin’s project, <a href="http://www.aaronkoblin.com/project/the-sheep-market/"><em>The Sheep Market</em></a><em>,</em> was born.</p><p>The Sheep Market is a collection of 10,000 sheep created by workers on Amazon’s Mechanical Turk. Each worker was paid $0.02 (USD) to complete the HIT (human intelligence task): “draw a sheep facing left.”</p><p>Back to 2018, AI/ML is currently showing impressive performance in fields such as computer vision and natural language processing. AI/ML is expected to impact many industries, helping us in our tedious tasks or taking our jobs, or something in between.</p><p>This book is an experiment that illustrates how certain crowdsourced tasks, e.g., drawing a sheep using MTurk’s <em>artificial artificial intelligence</em> HITs, can now be completed by machines achieving close to human level performance, which potentially could start taking away those micro-payments from human workers. Workers that, paradoxically, have helped machines to learn from the datasets created by completing micro tasks.</p><p>For example, in creating this book the machine, an AI/ML model, is trained using a dataset of sheep sketches crowdsourced from real people [1] and then is able to generate original sheep drawings on its own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hFaj7022aktoynn6k8U1-A.png" /><figcaption>Page 0x00 of the book showing 100 sheep drawings that are as good (or as bad and sketchy) as the ones produced by humans :)</figcaption></figure><h4>How to teach a machine to draw (electric) sheep?</h4><p>We humans are imperfectly ingenious sketching sheep, remember <a href="http://www.aaronkoblin.com/project/the-sheep-market/"><em>The Sheep Market</em></a> project? or have a look to some of the tens of thousands sheep doodles made by real people in <a href="https://quickdraw.withgoogle.com/data/sheep">The Quick, Draw!</a> experiment.</p><blockquote>“… if every person drew a perfect sheep they would all be the same and it would be a horrible project … it’s the little variations that give the character and make it interesting.” — Aaron Koblin, The Sheep Market project.</blockquote><p>All such variants and diversity humans express when sketching a sheep would be extremely difficult to capture in a program written in Python, Java, or C++.</p><p><strong>AI/ML to the rescue</strong>. If you want to teach the machine to draw a sheep using AI/ML, you won’t tell it to draw the head, then the body with fleece, the face, and eyes. You will simply show it thousands and thousands of drawings of sheep, and eventually the machine will learn and work things out. If it keeps failing, you don’t rewrite the code. You just keep training it.</p><p>For this book, the machine, called <em>Laila</em>, was trained using tens of thousands sheep doodles made by real people [1]. After a while, Laila started to dream of sheep and created drawings that are as good (or as bad and sketchy) as the ones produced by humans :)</p><h3>Why, why, why are we doing this?</h3><p>The answer to this question is multifaceted.</p><ul><li>Experimentation with AI/ML of course, but also an exploration on creating something tangible, a book, generated by a machine. Let’s see if it becomes a best seller :)</li><li>Contrast the crowdsourcing disruption and the current AI/ML disruptive wave</li><li><em>l’art pour l’art </em>and <em>l’ia pour l’ia</em></li></ul><h3>Why Sheep?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cmwSMZb-9910sHyEpAZ8vA.jpeg" /><figcaption>More sheep than people living in Ireland.</figcaption></figure><p>We have been living in Ireland for a couple of years now and you can find <a href="https://www.farmersjournal.ie/more-sheep-than-people-in-ireland-census-2016-271602">more sheep than people in this beautiful island</a> :) , cute sheep inspired the electric sheep dreamed by <em>Laila, </em>which are also made in Ireland with ❤</p><h3>What do you do with a book containing 10000 electric sheep?</h3><p>The possibilities are infinite :), here are some ideas:</p><ul><li>You can count these electric sheep as a way to help you fall asleep, if you reach to 10K and you are still awake, just start over again from a random page</li><li>You can use the book as a coloring book for yourself or your kids (this is what we do ;) )</li><li>You can study the drawing skills of machines</li><li>You can give one as a present to your geeky friend and let her/him figure out what to do with it</li><li>You can practice your scissors cutting skills and cut 5K sheep (pages are printed on both sides)</li><li>You can buy a second copy and then continue practicing your scissors cutting skills and cut the other 5K sheep</li><li>You can use the pages as wallpaper (patent pending)</li><li>… <em>Feel free to add more ideas in your comments below ;)</em></li></ul><h3>How we did it?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Un5DzGKUHHrJdLkXQ-qvg.png" /></figure><p>We use an AI/ML algorithm named <a href="https://arxiv.org/abs/1406.2661">Generative Adversarial Networks (GAN)</a> [3]. GANs are implemented by a system of two deep neural networks contesting with each other in a zero-sum game framework. The two players in the game are called Generator and Discriminator.</p><p>The Generator, as its name implies, generates candidates and the Discriminator evaluates them. The generative network’s training goal is to produce novel synthesized instances that appear to have come from the set of real instances, whereas for the discriminator, its goal is differentiating between true and generated instances.</p><p>You can think of an art analogy of an apprentice-master relationship, where from an empty canvas, the apprentice (Generator) will produce paintings that the master (Discriminator) will judge based on her experience and previous knowledge as real pieces of art or not.</p><p>The apprentice will get better and better based on the master’s feedback, until reaching a level where the master will not be able to discriminate between her apprentice’s work and a good piece of art.</p><p>The following figure illustrates our approach:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ipDawsEfL5uwZqb0m6yrVg.png" /><figcaption>Drawing Electric Sheep with a DCGAN.</figcaption></figure><h4>In a nutshell:</h4><ul><li><strong>The Dataset. </strong>As training set we use the sheep dataset from <a href="https://quickdraw.withgoogle.com/data/sheep">The Quick, Draw!</a> experiment.</li><li><strong>Architecture. </strong>We use a<em> </em><a href="https://arxiv.org/abs/1511.06434"><em>Deep Convolutional Generative Adversarial Networks</em> or <em>DCGAN</em></a><em> </em>[4] to implement our approach.</li><li><strong>Deep Learning Tools.</strong> We use <a href="https://keras.io/">Keras</a> with <a href="https://www.tensorflow.org/">TensorFlow</a> backend for the model implementation and <a href="https://blog.jupyter.org/jupyterlab-is-ready-for-users-5a6f039b8906">JupyterLab</a> for prototyping.</li><li><strong>Models.</strong> After the Generator and Discriminator models are trained, we save them independently.</li><li><strong>From random noise to sheep.</strong> We then use the Generator to produce sheep drawings from random noise. The results are as good (or as bad and sketchy) as the ones produced by humans ;)</li></ul><p>More details on how we did it can be found in this post: <a href="https://medium.com/@libreai/draw-me-an-electric-sheep-9a3e0b5fe7d5">https://medium.com/@libreai/draw-me-an-electric-sheep-9a3e0b5fe7d5</a></p><p><em>~ Fin ~</em></p><p><strong>About the author<br></strong><a href="https://www.linkedin.com/in/ernestodiazaviles/"><em>Dr. Ernesto Diaz-Aviles</em></a><em> is the Co-Founder and CEO at </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>. Twitter: </em><a href="https://twitter.com/vedax"><em>@vedax</em></a></p><h4>Notes</h4><ul><li>In the paper <em>A Neural Representation of Sketch Drawings,</em>by David Ha and Douglas Eck (2017). <a href="https://arxiv.org/abs/1704.03477">https://arxiv.org/abs/1704.03477</a> , a recurrent neural network (RNN) is used to construct drawings based on path strokes and not pixels. We instead used a GANs, since we think it helps the explanation based on the analogy of apprentice-master.</li><li>Our model uses pixel-level information for the images for training and for generating new instances. In order to improve the image quality, we convert the output bitmaps into vector graphics (SVG) using <a href="http://potrace.sourceforge.net/"><em>Potrace</em></a><em>.</em></li></ul><h4>References</h4><p>[1] Quick, Draw! Sheep Dataset. <a href="https://quickdraw.withgoogle.com/data/sheep">https://quickdraw.withgoogle.com/data/sheep</a> ; data made available by Google, Inc. under the Creative Commons Attribution 4.0 International license.</p><p>[2] Jeff Howe. 2016. <em>The Rise of Crowdsourcing</em>. [<a href="https://www.wired.com/2006/06/crowds/">https://www.wired.com/2006/06/crowds/</a>].</p><p>[3] Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. 2014. <em>Generative Adversarial Nets</em>. In Proceedings of the 27th International Conference on Neural Information Processing Systems (NIPS’14)[<a href="https://arxiv.org/abs/1406.2661">https://arxiv.org/abs/1406.2661</a>]</p><p>[4] Alec Radford, Luke Metz, Soumith Chintala. 2015<br><em>Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks</em>. [<a href="https://arxiv.org/abs/1511.06434">CoRR abs/1511.06434</a>]</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1aca32545dc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/dreaming-of-electric-sheep-d1aca32545dc">Dreaming of Electric Sheep</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Draw Me an Electric Sheep]]></title>
            <link>https://medium.com/libreai/draw-me-an-electric-sheep-9a3e0b5fe7d5?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/9a3e0b5fe7d5</guid>
            <category><![CDATA[electric-sheep]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 12 Dec 2018 11:52:39 GMT</pubDate>
            <atom:updated>2019-09-11T09:54:09.832Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p><strong><em>with AI/ML<br></em></strong><em>by Dr. Ernesto Diaz-Aviles</em></p><blockquote>“If you please — draw me a sheep!” <br>— From “The Little Prince” by Antoine de Saint-Exupéry</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4uvY5zufvaZowmwlJw6sNA.png" /></figure><p>Do you remember <a href="https://en.wikipedia.org/wiki/The_Little_Prince">The Little Prince</a> asking the pilot to draw him a sheep? After many attempts; however, the child was not satisfied with the drawings. Being over it, the pilot drew a box and told the prince to imagine the sheep in it. With his creativity, the Little Prince can see it lying down sleeping. It seems that drawing a sheep is not as easy as one might think :)</p><p>What if we want to teach a machine to draw an electric sheep?</p><blockquote>The alleged sheep contained an oat-tropic circuit; at the sight of such cereals it would scramble up convincingly and amble over. <br> — “From Do Androids Dream of Electric Sheep?” by Philip K. Dick.</blockquote><h3>How to teach a machine to draw (electric) sheep?</h3><p>One option to teach the machine is by <em>programming</em> it using your favorite programming language, that is, defining explicit, step-by-step instructions for the computer to follow.</p><p>For instance, the program would have methods to sketch its main characteristics: head, face, hears, coat of fleece on its body, four legs, a tiny tail, its color, etc. Although possible, this program will probably be cumbersome to write and the results will most likely not be approved by critics like the Little Prince.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SwXirTYWtT4dvRa1jQCBbA.png" /><figcaption><strong>Figure 1.</strong> Sheep drawings made by real people in <a href="https://quickdraw.withgoogle.com/data/sheep">The Quick, Draw!</a> experiment.</figcaption></figure><p>But most importantly, we humans are imperfectly ingenious sketching sheep, remember <a href="http://www.aaronkoblin.com/project/the-sheep-market/">The Sheep Market</a> project? or have a look to some of the tens of thousands sheep doodles made by real people in <a href="https://quickdraw.withgoogle.com/data/sheep">The Quick, Draw!</a> experiment (see Figure 1).</p><p>All such variants and diversity humans express when sketching a sheep would be extremely difficult to capture in a program written in Python, Java, or C++. We probably would be better off writing a program that draws a box and claims that the sheep is in it :)</p><h4><strong>AI/ML to the rescue</strong></h4><p>Artificial Intelligence based on Machine Learning (AI/ML) offers an interesting alternative: instead of encoding the machine with instructions, let’s train it.</p><p>If you want to teach the machine to draw a sheep using AI/ML, you won’t tell it to draw the head, then the body with fleece, the face, and eyes. You will simply show it thousands and thousands of drawings of sheep, and eventually the machine will learn and work things out. If it keeps failing, you don’t rewrite the code. You just keep training it.</p><p>For this exercise, we will focus on a AI/ML algorithm named <a href="https://arxiv.org/abs/1406.2661"><em>Generative Adversarial Networks (GAN)</em></a>. GANs are implemented by a system of two deep neural networks contesting with each other in a zero-sum game framework. The two players in the game are called Generator and Discriminator.</p><p>The Generator, as its name implies, generates candidates and the Discriminator evaluates them. The generative network’s training goal is to produce novel synthesized instances that appear to have come from the set of real instances, whereas for the discriminator, its goal is differentiating between true and generated instances.</p><p>You can think of an art analogy of an apprentice-master relationship, where from an empty canvas, the apprentice (Generator) will produce paintings that the master (Discriminator) will judge based on her experience and previous knowledge as real pieces of art or not.</p><p>The apprentice will get better and better based on the master’s feedback, until reaching a level where the master will not be able to discriminate between her apprentice’s work and a good piece of art.</p><p>GANs have shown very impressive results, for example, generating photo-realistic images as the ones shown in Figure 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oUz2bTyycjp2dh40U9R1qQ.png" /><figcaption><strong>Figure 2. </strong>Example of Images generated using the CelebA-HQ dataset. The figure corresponds to Figure 5 as reported in the paper “Progressive Growing of GANs for Improved Quality, Stability, and Variation” by <br>T. Karras, et al. 2018. <a href="https://arxiv.org/abs/1710.10196">https://arxiv.org/abs/1710.10196</a></figcaption></figure><h3>Drawing Electric Sheep with GANs</h3><blockquote>“That doesn’t matter. Draw me a sheep…”<br> — From “The Little Prince” by Antoine de Saint-Exupéry</blockquote><p>Very well, coming back to our task at hand, our goal is to train a GAN to produce human-level sheep drawings. The following figure illustrates our approach:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ipDawsEfL5uwZqb0m6yrVg.png" /><figcaption><strong>Figure 3.</strong> Drawing Electric Sheep with a DCGAN.</figcaption></figure><h4>In a nutshell:</h4><ul><li><strong>The Dataset. </strong>As training set we use the sheep dataset from <a href="https://quickdraw.withgoogle.com/data/sheep">The Quick, Draw!</a> experiment.</li><li><strong>Architecture. </strong>We use a<em> </em><a href="https://arxiv.org/abs/1511.06434"><em>Deep Convolutional Generative Adversarial Networks</em> or <em>DCGAN</em></a> to implement our approach.</li><li><strong>Deep Learning Tools.</strong> We use <a href="https://keras.io/">Keras</a> with <a href="https://www.tensorflow.org/">TensorFlow</a> backend for the model implementation and <a href="https://blog.jupyter.org/jupyterlab-is-ready-for-users-5a6f039b8906">JupyterLab</a> for prototyping.</li><li><strong>Models.</strong> After the Generator and Discriminator models are trained, we save them independently.</li><li><strong>From random noise to sheep.</strong> We then use the Generator to produce sheep drawings from random noise. The results are as good (or as bad and sketchy) as the ones produced by humans ;)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sNsTVCc2IoREs6Gca_0Ldg.png" /><figcaption><strong>Figure 4.</strong> Sheep dreamed by AI/ML. Aren’t they cute? ❤</figcaption></figure><blockquote>“Do androids dream?” <br>― Philip K. Dick, Do Androids Dream of Electric Sheep?</blockquote><p>Figure 4 shows a sample of the sheep our AI/ML model generates — an android dream?</p><p>They do not look like the celebrities in Figure 2, but, aren’t they cute ❤ ?<br>One of my favorites is in row 0, column 2 (zero-based indexing), yes that one facing right with the black face :) … What’s yours?</p><p>~ Fin ~</p><p><strong>About the author<br></strong><a href="https://www.linkedin.com/in/ernestodiazaviles/"><em>Dr. Ernesto Diaz-Aviles</em></a><em> is the Co-Founder and CEO at </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>. Ernesto used some of the ideas in this post to teach his daughter about AI/ML and to draw her as many electric sheep as she demanded, without using the sheep-in-the-box trick. She likes some of them.</em></p><h4>Notes</h4><ul><li>In the paper <em>A Neural Representation of Sketch Drawings,</em>by David Ha and Douglas Eck (2017). <a href="https://arxiv.org/abs/1704.03477">https://arxiv.org/abs/1704.03477</a> , a recurrent neural network (RNN) is used to construct drawings based on path strokes and not pixels. We instead used a GANs, since we think it helps the explanation based on the analogy of apprentice-master.</li><li>Our model uses pixel-level information for the images for training and for generating new instances. In order to improve the image quality, we convert the output bitmaps into vector graphics (SVG) using <a href="http://potrace.sourceforge.net/"><em>Potrace</em></a><em>.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a3e0b5fe7d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/draw-me-an-electric-sheep-9a3e0b5fe7d5">Draw Me an Electric Sheep</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Future / Now] — People Brave Recession with a New Kind of Money]]></title>
            <link>https://medium.com/libreai/future-now-people-brave-recession-with-a-new-kind-of-money-f0f444b2691?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/f0f444b2691</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[journalism]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 01:00:42 GMT</pubDate>
            <atom:updated>2018-11-07T01:00:42.577Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>[Future / Now] — People Brave Recession with a New Kind of Money</h3><p><em>AI+News: stories written by journalists empowered by AI</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*XzM_cGmSJnJgemx1D1TAmw.jpeg" /></figure><p>A new financial crisis hits the world. Blaming banks and big corporations, people find a way to face the recession without relying on traditional financial systems: cryptocurrency. Bitcoin and other cryptocurrencies allow them to buy goods online and be part of an alternative economy that is based on the blockchain, which is decentralized and therefore outside of the control of governments and central banks. <br> <br> This is already happening in countries like Venezuela, where the collapsing economy and the plummeting of the national currency have rendered the banking system completely obsolete. <br> <br> This trend is very likely to continue in other nations facing economic turmoil, but cryptocurrency networks will need to become more accessible and stable in order to manage a bigger volume of transactions.</p><p><em>This story was written by a journalist empowered by AI.</em></p><p><em>The journalist is Giomar Silva (</em><a href="http://twitter.com/G_SV"><em>@G_SV</em></a><em>), founder of Migrante21 (</em><a href="http://twitter.com/Migrante21"><em>@Migrante21</em></a><em>). Giomar has an extensive background as a reporter and editor in Peru and Washington, D.C. After covering stories about human rights, culture, technology and politics in Peru, he focused on immigrant and minorities issues as a web editor at Washington Hispanic, the largest Spanish-language newspaper in the D.C. area. His interest in these topics led him to found Migrante21, a bilingual website that aims to document the immigrant experience in America.</em></p><p><em>The AI is </em><a href="https://libreai.com/minerva"><em>Minerva</em></a><em>, a system created by </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>, that predicts and visualizes the (non-obvious) interconnections of global risks that will be at the core of tomorrow’s news.</em></p><p><em>Minerva leverages news data collections available in the Web and uses Artificial Intelligence based on Machine Learning (AI/ML) to discover the multiple relations among global risks, a data-driven approach that is more appealing in terms of timeliness and efficient discovery of such relations than current methodologies based on opinion surveys.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0f444b2691" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/future-now-people-brave-recession-with-a-new-kind-of-money-f0f444b2691">[Future / Now] — People Brave Recession with a New Kind of Money</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Future / Now] — AI Disrupts the Global Job Market]]></title>
            <link>https://medium.com/libreai/future-now-ai-disrupts-the-global-job-market-1c57e9a26903?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/1c57e9a26903</guid>
            <category><![CDATA[global-risks]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[journalism]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 00:58:50 GMT</pubDate>
            <atom:updated>2018-11-07T00:58:49.893Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>[Future / Now] — AI Disrupts the Global Job Market</h3><p><em>AI+News: stories written by journalists empowered by AI</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*oAJzHgCANKquYF6xIPqzyw.jpeg" /></figure><p>The advancement of technology and Artificial Intelligence generate fear that machines will replace humans in the workplace. The real issue, however, is that technology and AI redefine the dynamics of labor; the big risk, as it often happens with tech-related issues, is to stay dormant. Savvy employers soon understand that, in order to take advantage of AI, their workforce has to be retrained. Employers who do not retrain their workforce and who do not invest in AI are left behind and contribute to a crisis in certain sectors in the global job market. <br> <br> But for all the disruption that AI brings and the jobs it evaporates, it also creates opportunities in industries like healthcare, education, communication, and other sectors that require a human touch. A report by PwC estimates that automation and AI will make about 7 million existing jobs disappear in the United Kingdom by year 2037; at the same time, it will create the need of new jobs in industries like the ones mentioned above, mostly compensating for the lost positions. <br> <br> It is a matter of governments and industries being proactive in generating the workforce they will need in the right industries. That will be the great economic challenge of the upcoming years.</p><p><em>This story was written by a journalist empowered by AI.</em></p><p><em>The journalist is Giomar Silva (</em><a href="http://twitter.com/G_SV"><em>@G_SV</em></a><em>), founder of Migrante21 (</em><a href="http://twitter.com/Migrante21"><em>@Migrante21</em></a><em>). Giomar has an extensive background as a reporter and editor in Peru and Washington, D.C. After covering stories about human rights, culture, technology and politics in Peru, he focused on immigrant and minorities issues as a web editor at Washington Hispanic, the largest Spanish-language newspaper in the D.C. area. His interest in these topics led him to found Migrante21, a bilingual website that aims to document the immigrant experience in America.</em></p><p><em>The AI is </em><a href="https://libreai.com/minerva"><em>Minerva</em></a><em>, a system created by </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>, that predicts and visualizes the (non-obvious) interconnections of global risks that will be at the core of tomorrow’s news.</em></p><p><em>Minerva leverages news data collections available in the Web and uses Artificial Intelligence based on Machine Learning (AI/ML) to discover the multiple relations among global risks, a data-driven approach that is more appealing in terms of timeliness and efficient discovery of such relations than current methodologies based on opinion surveys.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c57e9a26903" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/future-now-ai-disrupts-the-global-job-market-1c57e9a26903">[Future / Now] — AI Disrupts the Global Job Market</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Future / Now] — Many Cities won’t Be Able to Catch Up with Climate Change]]></title>
            <link>https://medium.com/libreai/future-now-many-cities-wont-be-able-to-catch-up-with-climate-change-fc5cb69fccaf?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/fc5cb69fccaf</guid>
            <category><![CDATA[journalism]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 00:57:16 GMT</pubDate>
            <atom:updated>2018-11-07T00:57:15.368Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>[Future / Now] — Many Cities won’t Be Able to Catch Up with Climate Change</h3><p><em>AI+News: stories written by journalists empowered by AI</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*DlsQBgwnXGg-rWJC9DtYQw.jpeg" /></figure><p>Massive natural disasters will happen more often, bringing devastation to urban and rural areas around the world. Critical infrastructure will fail. Reconstruction efforts will be wiped by new disasters, creating cycles of suffering for millions of people, who will have to survive during extended periods of time without water, food supplies, electricity, or a sustained income. <br> <br> Take for example Bangladesh, where the recurrence of floods, typhoons, droughts, and other extreme weather events have created a wave of “climate refugees’’ that have migrated to the capital Dakha, bringing the city to a near breaking point. The Natural Resource Defense Council points out that cities around the world will suffer devastation due to global warming, from Miami Beach to Mumbai, while others, like New York and Mexico City, are taking the right measures to be ready when the next, inevitable strike, occurs.</p><p><em>This story was written by a journalist empowered by AI.</em></p><p><em>The journalist is Giomar Silva (</em><a href="http://twitter.com/G_SV"><em>@G_SV</em></a><em>), founder of Migrante21 (</em><a href="http://twitter.com/Migrante21"><em>@Migrante21</em></a><em>). Giomar has an extensive background as a reporter and editor in Peru and Washington, D.C. After covering stories about human rights, culture, technology and politics in Peru, he focused on immigrant and minorities issues as a web editor at Washington Hispanic, the largest Spanish-language newspaper in the D.C. area. His interest in these topics led him to found Migrante21, a bilingual website that aims to document the immigrant experience in America.</em></p><p><em>The AI is </em><a href="https://libreai.com/minerva"><em>Minerva</em></a><em>, a system created by </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>, that predicts and visualizes the (non-obvious) interconnections of global risks that will be at the core of tomorrow’s news.</em></p><p><em>Minerva leverages news data collections available in the Web and uses Artificial Intelligence based on Machine Learning (AI/ML) to discover the multiple relations among global risks, a data-driven approach that is more appealing in terms of timeliness and efficient discovery of such relations than current methodologies based on opinion surveys.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc5cb69fccaf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/future-now-many-cities-wont-be-able-to-catch-up-with-climate-change-fc5cb69fccaf">[Future / Now] — Many Cities won’t Be Able to Catch Up with Climate Change</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Future / Now] — Water Becomes a Precious Asset]]></title>
            <link>https://medium.com/libreai/future-now-water-becomes-a-precious-asset-50d8802b19cd?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/50d8802b19cd</guid>
            <category><![CDATA[journalism]]></category>
            <category><![CDATA[global-risks]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 00:56:00 GMT</pubDate>
            <atom:updated>2018-11-07T00:56:00.110Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>[Future / Now] — Water Becomes a Precious Asset</h3><p><em>AI+News: stories written by journalists empowered by AI</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*AZx_ra1v9Zt_EI_NN1IZcg.jpeg" /></figure><p>People around the world are using more freshwater than ever. The United Nations indicate that “Water use has been growing globally at more than twice the rate of population increase in the last century, and an increasing number of regions are reaching the limit at which water services can be sustainably delivered, especially in arid regions’’. <br> <br> 70% of the world is covered in water, but only 3% is freshwater, water that is adequate for human consumption. The World Wide Fund for Nature reports that currently “some 1.1 billion people worldwide lack access to water, and a total of 2.7 billion find water scarce for at least one month of the year.” These numbers will only increase as infrastructure cannot keep up with the needs of people and industries, and climate change alters the dynamics of lakes and rivers while causing unexpected draughts in some places and excessive rains in others.</p><p><em>This story was written by a journalist empowered by AI.</em></p><p><em>The journalist is Giomar Silva (</em><a href="http://twitter.com/G_SV"><em>@G_SV</em></a><em>), founder of Migrante21 (</em><a href="http://twitter.com/Migrante21"><em>@Migrante21</em></a><em>). Giomar has an extensive background as a reporter and editor in Peru and Washington, D.C. After covering stories about human rights, culture, technology and politics in Peru, he focused on immigrant and minorities issues as a web editor at Washington Hispanic, the largest Spanish-language newspaper in the D.C. area. His interest in these topics led him to found Migrante21, a bilingual website that aims to document the immigrant experience in America.</em></p><p><em>The AI is </em><a href="https://libreai.com/minerva"><em>Minerva</em></a><em>, a system created by </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>, that predicts and visualizes the (non-obvious) interconnections of global risks that will be at the core of tomorrow’s news.</em></p><p><em>Minerva leverages news data collections available in the Web and uses Artificial Intelligence based on Machine Learning (AI/ML) to discover the multiple relations among global risks, a data-driven approach that is more appealing in terms of timeliness and efficient discovery of such relations than current methodologies based on opinion surveys.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50d8802b19cd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/future-now-water-becomes-a-precious-asset-50d8802b19cd">[Future / Now] — Water Becomes a Precious Asset</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Future / Now] — Global Trade Uncertainty and a New Recession]]></title>
            <link>https://medium.com/libreai/future-now-global-trade-uncertainty-and-a-new-recession-21ce10a131c2?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/21ce10a131c2</guid>
            <category><![CDATA[global-risks]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[journalism]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 00:53:49 GMT</pubDate>
            <atom:updated>2018-11-07T00:53:48.878Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>[Future / Now] — Global Trade Uncertainty and a New Recession</h3><p><em>AI+News: stories written by journalists empowered by AI</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7VNYGCf77sDTvPO3W8MZjw.jpeg" /></figure><p>The trade wars between China and United States have already started. A new trend of trade protectionism, mostly promoted by the Trump administration, will disrupt global markets and most likely affect not only other regional economies, but also the businesses and people in the form of inflation. <br> <br> As a reaction to the tariffs on steel imposed by Trump, 8 countries filed formal complaints with the World Trade Organization. <br> <br> Trade uncertainty creates a climate of instability in the world economy, which will reflect on greater levels of inflation and will affect millions of people. It could be one of the factors triggering a new recession.</p><p><em>This story was written by a journalist empowered by AI.</em></p><p><em>The journalist is Giomar Silva (</em><a href="http://twitter.com/G_SV"><em>@G_SV</em></a><em>), founder of Migrante21 (</em><a href="http://twitter.com/Migrante21"><em>@Migrante21</em></a><em>). Giomar has an extensive background as a reporter and editor in Peru and Washington, D.C. After covering stories about human rights, culture, technology and politics in Peru, he focused on immigrant and minorities issues as a web editor at Washington Hispanic, the largest Spanish-language newspaper in the D.C. area. His interest in these topics led him to found Migrante21, a bilingual website that aims to document the immigrant experience in America.</em></p><p><em>The AI is </em><a href="https://libreai.com/minerva"><em>Minerva</em></a><em>, a system created by </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>, that predicts and visualizes the (non-obvious) interconnections of global risks that will be at the core of tomorrow’s news.</em></p><p><em>Minerva leverages news data collections available in the Web and uses Artificial Intelligence based on Machine Learning (AI/ML) to discover the multiple relations among global risks, a data-driven approach that is more appealing in terms of timeliness and efficient discovery of such relations than current methodologies based on opinion surveys.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21ce10a131c2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/future-now-global-trade-uncertainty-and-a-new-recession-21ce10a131c2">[Future / Now] — Global Trade Uncertainty and a New Recession</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Future / Now] — Man-made Environmental Disasters Become More Likely]]></title>
            <link>https://medium.com/libreai/future-now-man-made-environmental-disasters-become-more-likely-dff14455f3d9?source=rss----61960a56c56c---4</link>
            <guid isPermaLink="false">https://medium.com/p/dff14455f3d9</guid>
            <category><![CDATA[global-risks]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[journalism]]></category>
            <category><![CDATA[climate-change]]></category>
            <dc:creator><![CDATA[Libre AI]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 00:50:52 GMT</pubDate>
            <atom:updated>2018-11-07T00:50:51.719Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>[Future / Now] — Man-made Environmental Disasters Become More Likely</h3><p><em>AI+News: stories written by journalists empowered by AI</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*AA4iEmM2QK9NU62p7kuWxA.jpeg" /></figure><p>Nuclear power reactors provide 11% of the world electricity, and this number is increasing. As of October 2018, there are currently about 50 power reactors being constructed in different parts of the planet, mainly Asia and Russia, as reported by the World Nuclear Association. At the same time, there is a competition among oil-producing nations to become the biggest producer in the world, with the United States projected to reach the first position by year 2019, displacing Russia and Saudi Arabia. <br> <br> Constantly increasing, fast production of nuclear power and oil only means increased risks of a man-made environmental disaster. Factoring in climate change, natural disasters and man-made disasters will eventually overlap. Oil rigs and refineries around the world are amongst the most sensitive types of infrastructure to be damaged by extra-destructive natural events; so are nuclear plants. <br> <br> Another effect of climate change in relation to oil spills can be found in the Arctic, where a recent study published by AMBIO found that “future oil spills in a warming climate will in some cases result in greater areal coverage and increased shoreline exposure, due to reduced ice coverage’”.</p><p><em>This story was written by a journalist empowered by AI.</em></p><p><em>The journalist is Giomar Silva (</em><a href="http://twitter.com/G_SV"><em>@G_SV</em></a><em>), founder of Migrante21 (</em><a href="http://twitter.com/Migrante21"><em>@Migrante21</em></a><em>). Giomar has an extensive background as a reporter and editor in Peru and Washington, D.C. After covering stories about human rights, culture, technology and politics in Peru, he focused on immigrant and minorities issues as a web editor at Washington Hispanic, the largest Spanish-language newspaper in the D.C. area. His interest in these topics led him to found Migrante21, a bilingual website that aims to document the immigrant experience in America.</em></p><p><em>The AI is </em><a href="https://libreai.com/minerva"><em>Minerva</em></a><em>, a system created by </em><a href="https://libreai.com/"><em>Libre AI</em></a><em>, that predicts and visualizes the (non-obvious) interconnections of global risks that will be at the core of tomorrow’s news.</em></p><p><em>Minerva leverages news data collections available in the Web and uses Artificial Intelligence based on Machine Learning (AI/ML) to discover the multiple relations among global risks, a data-driven approach that is more appealing in terms of timeliness and efficient discovery of such relations than current methodologies based on opinion surveys.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dff14455f3d9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/libreai/future-now-man-made-environmental-disasters-become-more-likely-dff14455f3d9">[Future / Now] — Man-made Environmental Disasters Become More Likely</a> was originally published in <a href="https://medium.com/libreai">Libre AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>