<?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[Indulgentsia - Medium]]></title>
        <description><![CDATA[\Art, pronounced “backslash art”, supports bleeding edge technological interventions into artistic practice. As this year’s fellows, this is our journey. - Medium]]></description>
        <link>https://medium.com/art-ying-ben-michael?source=rss----5a7b5eae77c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Indulgentsia - Medium</title>
            <link>https://medium.com/art-ying-ben-michael?source=rss----5a7b5eae77c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:12:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/art-ying-ben-michael" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Emergent Conformity]]></title>
            <link>https://medium.com/art-ying-ben-michael/emergent-conformity-f73d0b3f2661?source=rss----5a7b5eae77c---4</link>
            <guid isPermaLink="false">https://medium.com/p/f73d0b3f2661</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[design-thinking]]></category>
            <dc:creator><![CDATA[ben W hwang]]></dc:creator>
            <pubDate>Mon, 02 Mar 2020 20:22:21 GMT</pubDate>
            <atom:updated>2023-07-10T20:14:20.484Z</atom:updated>
            <content:encoded><![CDATA[<p>A discussion about simulation and an introduction to the end</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*u_b6RTF63XgTWUXn_Uv1tQ.jpeg" /><figcaption>Flocking of Birds as a form of Emergent Behavior</figcaption></figure><p><strong>Transitioning</strong></p><p>We started working with various methods and models for <a href="https://medium.com/art-ying-ben-michael/underconstrained-d3dcd9c5df73">visualizing data</a> to <a href="https://medium.com/art-ying-ben-michael/gans-and-plans-e328f2117e42">generating fake propaganda</a> images. We even spent some time generating lyrics for an <a href="https://medium.com/art-ying-ben-michael/ai-lyric-generation-how-i-learned-to-rap-like-mao-3d746898841e?source=collection_detail----5a7b5eae77c-----0-----------------------">R&amp;B pop song</a>. All of our pivots and “mini”-projects have made us look at the piece from different technological lenses. This included thinking about how we could start synthesizing these technologies and techniques to better express aspects of the Chinese Social Credit system. What technologies would provide the best canvas to illustrate ideas like ideological vagueness and the credit system’s call for behavioral conformity?</p><p>A new direction materialized when our artist Ying brought up the idea of simulation as a possible technology. She had been recently looking into various simulation based works and became intrigued with the idea of a constantly evolving nature and its potential for resulting emergent behavior.</p><p><strong>Thematic Development</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*hVOPNCvx6UML6bGTSb7cWw.gif" /><figcaption><a href="http://yoong-cut-and.blogspot.com/2016/01/">Crowd Simulation</a></figcaption></figure><p>During our research we sought to explore thematic relationships surrounding the social credit system and various aspects of simulation. This naturally prompts several questions: What are we simulating? What are we trying to accomplish with this technique, and what behaviors are we trying to observe? For our piece, we addressed these questions by exploring these concepts with respect to computational modeling of psychological phenomena, machine learning, and algorithmic simulation.</p><ol><li><strong>Stockholm Syndrome through Computation Modeling</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*HPsdem8zeJiyqo8zIrTa2w.jpeg" /><figcaption>Image of the six-day hostage drama inside the Swedish bank which christened the psychological phenomenon known as “Stockholm Syndrome</figcaption></figure><p><a href="https://onlinelibrary.wiley.com/doi/abs/10.1002/9780470061589.fsa310">Stockholm syndrome</a> is a psychological disorder coined after a six day hostage situation in Sweden. It is a phenomena where hostages begin identifying with their captor, and eventually become amicable towards their aggressors. This idea intrigued us as a potential metaphor for how individuals can grow to identify and become grateful for pervasive technologies — like surveillance and censorship — even though they infringe upon the rights of the individual. This metaphor maps directly to how citizens of China recognize the level of censorship and monitoring that the government imposes, but view it favorably as a means of preserving their well-being and prosperity.</p><p>In order to create a simulation we need to have an underlying understanding of the processes related to Stockholm syndrome. While Stockholm syndrome has been observed in<a href="https://journals.sagepub.com/doi/full/10.1080/00048670701261178"> numerous instances</a>, there is no absolute consensus on what mechanisms cause the transition of a victim to ultimately side and collaborate with their captor. Researchers have sought to break it down into physiological, psychological, and context dependent factors (see relevant papers <a href="https://www.tandfonline.com/doi/abs/10.1300/J173v04n01_02">1</a>,<a href="https://journals.sagepub.com/doi/full/10.1080/00048670701261178"> 2</a>,<a href="https://www.ncbi.nlm.nih.gov/pubmed/8555117"> 3</a>,<a href="https://onlinelibrary.wiley.com/doi/abs/10.1002/9780470061589.fsa310"> 4</a>). With this in mind, we aggregated and examined the features that psychologists have proposed can cause such a transformation. With this in mind we discussed how we could meaningfully represent these factors into a virtual simulation.</p><p>2.<strong> Learning Conformity through Machine Learning</strong></p><p>In the Social Credit System, you are given a score that represents how “good” of a citizen you are in society. As you can imagine, depending how you define good can radically influence the resulting behaviors. Likewise, depending on how you frame the rewards and punishments you create a means to control the behavior of a society. Given this framing, we saw a very clear parallel to the idea of Reinforcement Learning.</p><p>At a high level, machine learning approaches such as Reinforcement Learning use a defined reward to<a href="https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=4445757"> guide the behavior and actions of agents</a> (agents typically being virtual simulacrums of people or machines) with respect to some goal or task. The power of Reinforcement learning is that rather than explicitly instructing the agent what behavior is desirable at each decision step — like supervised learning — you specify a set of high level goals, associated rewards, and punishments to guide the agents behavior towards a desired effect. For example, say we made the overall objective of our agent winning a game of Starcraft. To help guide it to that outcome you might specify rewards for ‘trying to stay closer to allies’ (<a href="https://ieeexplore.ieee.org/abstract/document/6374183">1</a>,<a href="https://www.nature.com/articles/s41586-019-1724-z">2</a>,<a href="https://ieeexplore.ieee.org/abstract/document/8280949">3</a>) as a means to help it learn how to win. Eventually, over millions of simulated Starcraft matches the agent begins to shape their actions to conform to these goals. The exciting part about this process is that the agent’s actions towards achieving this goal are emergent and can produce unexpected results. This idea of guidance under loosely or vaguely defined goals embodies how we could re-imagine the idea of simulation to generate interesting behaviors.</p><p>3. <strong>Algorithmic Conformity from Emergent Behavior</strong></p><p>One distinguishing characteristic that we wanted to address was emergent behavior in the context of herding. Controlling and influencing how crowds move and cluster can create interesting effects. We viewed this aspect as having potential to thematically express the use of the social credit system.</p><p>Abstractly, the idea of emergent behavior is that the outcome of a system cannot be understood by its individual parts, but, rather through their interaction. One can imagine this effect in flocking, or swarming behavior.</p><p>This effect can be created algorithmically through algorithms such as the ones used in the <a href="https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Game Of Life</a> and <a href="https://en.wikipedia.org/wiki/Boids">Flocking with Boids</a>. By defining a set of rules for each individual, you can get group behaviors that are unexpected or unintended. For example, flocking behavior results from <a href="https://en.wikipedia.org/wiki/Boids">three simple rules</a>:</p><ul><li><strong>separation</strong>: <a href="https://en.wiktionary.org/wiki/steer#Verb_2">steer</a> to avoid crowding local flock-mates</li><li><strong>alignment</strong>: steer towards the average heading of local flock-mates</li><li><strong>cohesion</strong>: steer to move towards the average position (center of mass) of local flock-mates</li></ul><p>None of these rules enforce the individual to flock, but because of these rules a form of unintended herding occurs. Relating back to the social credit system, we thought about how the rules enforced could cause unintentional changes to the social dynamic of communities within China.</p><p><strong>Conclusion and Going Forward:</strong></p><p>By examining and synthesizing different themes and technologies, we have realized that the concept of people’s behaviors evolving over time is incredibly compelling. Throughout our experience so far, we have tried to abstract aspects of the social credit system by using different machine learning and visualization techniques. Each approach helped us think more critically about what our narrative is and how technology can enhance how it is expressed. Next time we will begin to illustrate how we applied simulation to these themes and the technologies involved.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f73d0b3f2661" width="1" height="1" alt=""><hr><p><a href="https://medium.com/art-ying-ben-michael/emergent-conformity-f73d0b3f2661">Emergent Conformity</a> was originally published in <a href="https://medium.com/art-ying-ben-michael">Indulgentsia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Lyric Generation: How I learned to rap like Mao]]></title>
            <link>https://medium.com/art-ying-ben-michael/ai-lyric-generation-how-i-learned-to-rap-like-mao-3d746898841e?source=rss----5a7b5eae77c---4</link>
            <guid isPermaLink="false">https://medium.com/p/3d746898841e</guid>
            <category><![CDATA[art]]></category>
            <category><![CDATA[lyrics]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Michael Barron]]></dc:creator>
            <pubDate>Thu, 30 Jan 2020 17:43:00 GMT</pubDate>
            <atom:updated>2020-03-02T21:05:38.135Z</atom:updated>
            <content:encoded><![CDATA[<p>Lyric generation, Social Commentary, And Text Based Style Transfer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wOJL7su9Zy9DO4TduqmPkA.png" /></figure><p>Whereas before we asked the question what would <a href="https://medium.com/art-ying-ben-michael/gans-and-plans-e328f2117e42">Maoist Jesus look like </a>from an AI’s perspective, we now wished to examine the equally pressing question, what would Maoist Jesus sing like?</p><p>Previously, we explored the parallels of the Chinese social credit system, and medieval indulgences. Particularly, we sought to survey how to express the relationship through the use of <a href="https://medium.com/art-ying-ben-michael/gans-and-plans-e328f2117e42">image generation</a>. In this post, we take a familiar, but distinct approach using lyric generation.</p><p><strong>The Goal</strong></p><p>At a high level, the intent of this piece was to examine and blend themes from different bodies of work. What kind of texts can one generate to symbolize ideas such as the social credit social system, social influence and the themes of manipulation? Similarly, how could one thematically represent the advent of AI, and its influence on our society?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FW2E7nMj4zCPXdZ6EWv2QQ.jpeg" /><figcaption>AI taking our jobs</figcaption></figure><p><strong>Technologies Explored</strong></p><p>Once again we returned to the usage of neural networks, particularly for use in text generation. Much like in our post “<a href="https://medium.com/art-ying-ben-michael/gans-and-plans-e328f2117e42">GANs and Plans</a>”, Neural Networks have also been used for <a href="https://arxiv.org/pdf/1703.09902.pdf">text generation for quite some time </a>and have become more compelling with examples such as <a href="https://openai.com/blog/better-language-models/">GPT-2</a>.</p><p>In the context of text generation, neural networks follow much of the same fundamental design, except for the key distinction of capturing and representing time. Whereas in the case of image generation, one might sample some images to create a new one, for text, there must be some form of memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*aYFiVvnVS7Vlq3iXYXgMww.jpeg" /><figcaption>Abstraction of a LSTM unit</figcaption></figure><p>While there are various architectures, and structures (LSTMs, RNNs, Seq2Seq, Autoencoders, Attentional networks — <a href="https://arxiv.org/pdf/1708.02709.pdf">see this review paper if you want a technical review</a>) the essence of the idea is: “to know what I should say now, I need to know what was said before”. In this way, these networks take thousands or millions of documents, lyrics, or any input with some consistent syntactic and semantic structure and learns to emulate and create similar patterns.</p><p><strong>Why we chose it</strong></p><p>Our interest in using neural networks for text generation is ironically for their imperfections. Without extensive tuning, and architecture design, typically these networks only capture short term dependencies.</p><p>Rather than create a coherent piece of text, our idea was to capture a feeling along with a distinct style. To that end, we used an LSTM network to create new text that syntactically sounds correct, with allusions to particular themes — it creates an almost <a href="https://www.youtube.com/watch?v=-GsVhbmecJA">aphasic</a>-like quality. In other words, the syntax and style is largely captured, but the meaning is not.</p><p>For example we generated the following blurb:</p><blockquote>the surplus — value of the industry of the old fashioned appears to be a rise in the value of the of the world.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-GsVhbmecJA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-GsVhbmecJA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-GsVhbmecJA%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/62921b8a2193d3e2c5a0fc974c345db0/href">https://medium.com/media/62921b8a2193d3e2c5a0fc974c345db0/href</a></iframe><p><strong>Data</strong></p><p>As the famous rapper Data D once said Mo data Mo problems, however, in our case, the issue was what data should we use to express and mix different themes?</p><p>For instance, if one were to select a large corpus of R&amp;B, the generated text would have an R&amp;B flavor, yet we also want to incorporate references to AI centralized control, or say China’s social credit system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*mJnvPb5suurph8iR7LZ53w.png" /><figcaption>Snippets of different text corpora we sought to mix</figcaption></figure><p>To create this effect, we examined various sources of text such as:</p><ol><li>Video Transcripts of B.F. Skinner: A psychologist focused on methods of operant conditioning to influence behavior</li><li>Communist Manifesto: Objectives of the communist party</li><li>Chinese Social Credit System Benefits: The goals and objectives of the Chinese Credit System</li><li>Kanye West: A famous musical producer and songwriter</li><li>R&amp;B Lyrics: A data set of popular R&amp;B lyrics from various artists</li><li>Trump Speeches: Speeches by President Trump</li><li>Bossy Boss: A melodramatic Chinese drama</li></ol><p>Each of the listed sources provides a distinct flavor in both what they discuss thematically, and how they sound and feel .</p><p><strong>Mixing the Texts</strong></p><p>A neural network can emulate how two texts sound, but if the datasets are too distinct it won’t necessarily learn how to combine them. It only learns how to transition from the style and content of text to the style and content of the other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*XC-MkKje-tGT9w0RYRChNw.png" /><figcaption>Here you can see how the beginning source lyrics transition abruptly into more rigid political thought</figcaption></figure><p>Instead we sought to create a blend. To create the effect of mixing the style of one author/artist with the content of the other we extracted relevant noun objects and verbs from one text and swapped it into the other text based on their similarity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SyY1GT1GvKifzpyLc18YEg.png" /><figcaption>Word2Vec example</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*rmaRJUgwcKYiGt9uSLvS-g.png" /><figcaption>*NOTE* There are ways to <a href="http://papers.nips.cc/paper/7259-style-transfer-from-non-parallel-text-by-cross-alignment.pdf">achieve this effect that lead to a more coheren</a>t mapping, but this was not our goal.</figcaption></figure><p>With this blended dataset/corpus, we then trained a word to word LSTM to produce new variations.</p><p><strong>Results:</strong></p><p>After exhaustively examining the of various mixtures trained via different LSTM networks, we begun the process of selecting generated text that could be compelling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*OZfwsb9n5JajisYXkHo9tQ.png" /><figcaption>A small example of generated text trained from R&amp;B lyrics mixed with B.F Skinner transcripts</figcaption></figure><p>We ended up selecting a fairly interesting blend consisting of R&amp;B and B.F. Skinner transcripts:</p><p><strong>Lyrics</strong></p><blockquote><strong>Intro:<br></strong>We are beautiful like diamonds in the sky, we might fall.<br>So don’t you say no tonight<br>You know you belong to me<br>Your individual physiology<br>shows your beautiful factors<br>I have you sequenced<br>You’re keeping me alive<br>I’m Keeping you alive<br>The stimuli is your eye<br>Your stimuli is my dissonance</blockquote><blockquote><strong>Verse 1:<br></strong>You changed my sympathy<br>I can’t face the questions<br>I’m just a behavior<br>I don’t think about her cause I believe in love forever<br>So darling I love you and I don’t need no conditioning</blockquote><blockquote><strong>Chorus:<br></strong>I want to wake up from me<br>I think I’m a process<br>This is the purpose<br>I will always be your kind contrast<br>Love is on the selection</blockquote><blockquote><strong>Verse 2:<br></strong>Stay with me<br>With your practical fire<br>Contact the culture that we used to be</blockquote><blockquote><strong>Bridge:</strong><br>Shine your autonomy on me<br>I hear the initiation coming<br>You made me feel culture</blockquote><blockquote><strong>Chorus:<br></strong>I want to wake up from me<br>I think I’m a process<br>This is the purpose<br>I will always be your kind contrast<br>Love is the only selection</blockquote><p>Finally, merging these lyrics with a speech RNN, we generated audio! So wow, but, also, not true. We actually had a singer put their take on it. And without further ado. <strong>*This had to be taken down until after another gallery release, so look forward to it again in late April*</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F375265410%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F375265410&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F833981175_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="360" frameborder="0" scrolling="no"><a href="https://medium.com/media/58a0ee1c03de0bff6529284e43402b8b/href">https://medium.com/media/58a0ee1c03de0bff6529284e43402b8b/href</a></iframe><p><strong>Conclusion Final Thoughts</strong></p><p>There were a lot more ideas and technologies we wished to explore, but, due to the great equalizer of time, we had to stop. Still, the full piece is currently being shown at the <a href="https://ucca.org.cn/">UCCA Centre of Contemporary Art</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d746898841e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/art-ying-ben-michael/ai-lyric-generation-how-i-learned-to-rap-like-mao-3d746898841e">AI Lyric Generation: How I learned to rap like Mao</a> was originally published in <a href="https://medium.com/art-ying-ben-michael">Indulgentsia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GANs and Plans]]></title>
            <link>https://medium.com/art-ying-ben-michael/gans-and-plans-e328f2117e42?source=rss----5a7b5eae77c---4</link>
            <guid isPermaLink="false">https://medium.com/p/e328f2117e42</guid>
            <category><![CDATA[generative-art]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[ben W hwang]]></dc:creator>
            <pubDate>Fri, 06 Dec 2019 18:34:30 GMT</pubDate>
            <atom:updated>2019-12-06T18:34:29.799Z</atom:updated>
            <content:encoded><![CDATA[<p>Using Neural Networks to explore thematic content</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*HkPTevD8s3cnUhYn-IVfQg.png" /><figcaption>One of our Generative Collages explained below</figcaption></figure><p>Continuing from where we last left off (a little over two months ago now) we have spent time exploring themes surrounding the Chinese Social Credit System and we have surveyed possible technologies that might provide us with some interesting tools and ways of exploring these themes.</p><p><strong>The Old Indulgences</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*n10pPVcOiWQblScz3pfw0w.jpeg" /><figcaption><em>A Question to a Mintmaker</em>, woodcut by <a href="https://en.wikipedia.org/wiki/J%C3%B6rg_Breu_the_Elder">Jörg Breu</a></figcaption></figure><p>One concept that our artist explored was drawing parallels between the medieval tradition of Catholic <a href="https://en.wikipedia.org/wiki/Indulgence">indulgences</a> and the social credit system. When we think of indulgences today, we generally think of it as a form of enjoying oneself through splurging; however, in the medieval era indulgence had a much more significant meaning. Indulgence was “<em>a way to reduce the amount of punishment one has to undergo for sins</em>” and an indulgence could be obtained by performing a “good” act or deed. This generally constituted prayer, public works, and donations for Catholic works. The donation part is where — as you can imagine— things got out of hand and gave the catholic practice of indulgences a reputation of abuse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*BTnM5lOgXcZXwky9KYqTQA.png" /><figcaption>One of our style transfer examples…More on this below</figcaption></figure><p><strong>Indulgence &amp; Social Credit</strong></p><p>Similar to the proposed Chinese Credit System, indulgences were structured as a way to compel citizens to perform good works with the hope that it would benefit society. Replace sin with score and the parallels are evident, especially when watching this <a href="https://www.youtube.com/watch?v=Dkw15LkZ_Kw">Vice News broadcast</a>. Aside from getting rewards for performing good deeds, if you watch around the 4:00 minute mark there is footage from a local community office where citizens can make donations — which the government says will go to charity — to raise their credit scores. Sound familiar? Hence this point of comparison became the basis for our first set of experiments using neural networks to explore the intersection of these two themes.</p><p><strong>Neural Networks: GANs, Neural Style Transfer, and… a Collage Builder?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XKanAdkjQbg1eDDMF2-4ow.png" /><figcaption>General Architecture of A Generative Adversarial Network</figcaption></figure><p>So why Neural Networks? Neural Networks are a state of the art branch of machine learning that, until relatively <a href="https://en.wikipedia.org/wiki/Timeline_of_machine_learning">recently</a>, have become usable due to the increased availability of huge amounts of data and significant improvements in computer hardware technology. In our <a href="https://medium.com/art-ying-ben-michael/underconstrained-d3dcd9c5df73">previous post</a> we had begun exploring ideas about visualizing data and how it could be representative of the Social Credit System.</p><p>This led us to the parallel where, like Neural Networks, surveillance and other types of monitoring — i.e. the <a href="https://www.theverge.com/2013/7/17/4517480/nsa-spying-prism-surveillance-cheat-sheet">NSA’s PRISM</a> program — are becoming more effective because of huge sources of data and the ability to process such data with more advanced technologies and models. Like the NSA, big data is making the idea of an advanced social credit system possible. Hence we decided that Neural Networks could be a reasonable medium and analogy to generate visualizations that related to theme of Indulgence and Social Credit.</p><p><strong>Generative Adversarial Networks (GANs):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*iykKKixvyQfFcDw4FjERmA.gif" /><figcaption>GAN training to produce fake faces</figcaption></figure><p>In our first approach we examined the use of Generative Adversarial Networks (GANs). A GAN is a method where you train two competing neural networks: one which generates fake data, and one which discerns whether or not that generated data is a fake or real example. The generator consistently tries to create better fakes whereas the discriminator tries to learn how to better differentiate real from the fake outputs of the generator.</p><p>The GIF above shows what that training process looks from the beginning where you start out with random noise (the rainbow pixels) to something that starts to take shape once the generator has started learning enough to produce more and more reliable fakes. We applied this approach with a data set of old Chinese propaganda images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*nMkPWDr_8udTr0cQhDI3eA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Ib0AxwFTzFOj6r1c9loiBw.gif" /><figcaption>Random sample of training images vs one of our Generative Adversarial Network (GAN) models in training</figcaption></figure><p>The GIF on the right is our model in the process of training and as you can see at a low resolution (these are 64 x 64 pixels) you can start seeing how the fake images are becoming discernible relative to the training images that we fed the network. This was a promising result; however, GANs are notoriously difficult to train and although we got images that began to look promising, a huge challenge — if this were to be used in an art piece — is getting fake images to be generated at a high enough resolution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxEGlYGbk5e368m_Uz3peA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wWYbVuY4vbE7iUo8RrtN7g.png" /><figcaption>Static results from after our model had trained for a considerable number of hours</figcaption></figure><p>As you can see above our fake generated images look pretty decent at a low resolution. What happens when you take a closer look?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*eMWhi3abWO7zkSmLtYH89Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*ES-r7cjEDwy2Tppt5zBpTg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*Z9_8T2g8sfPfZB9rjwEdeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*I8RP8PYR6z_Wa8j89wqlSw.png" /><figcaption>Zoomed results…stuff of nightmares</figcaption></figure><p>Now this shouldn’t be too surprising since these were generated at a very low resolution, but if it were to be usable we would definitely need to increase the resolution significantly. This is not a simple problem. While we could alter our model to accept larger resolution inputs — as a means to output higher resolution fakes — this makes the model much larger and more difficult to train. For context, Nvidia created a high resolution GAN called <a href="https://github.com/NVlabs/stylegan">StyleGAN </a>that produces incredible high resolution fakes; however, take a look at the expected training times posted below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*qrQur7-a-m5Tlr-Nkzn-Tw.png" /><figcaption>These train for a long time and those Tesla V100 graphics cars are not <a href="https://www.google.com/search?q=tesla+v100&amp;rlz=1C1CHBD_enUS814US814&amp;sxsrf=ACYBGNR1Xb50JjD6_z_PiOho0tp1iaO4Yg:1575489009922&amp;source=lnms&amp;tbm=shop&amp;sa=X&amp;ved=2ahUKEwiwqKL24ZzmAhUinuAKHcoeDsUQ_AUoAXoECAsQAw&amp;biw=1920&amp;bih=1008">cheap</a></figcaption></figure><p>Up to 41 days to reproduce their results! This also doesn’t take into consideration the days of tweaking parameters and all of the debugging that comes along with implementing such an approach for a unique data-set, or the fact that most of our prototyping was being done on a free cloud GPU.</p><p>This clearly was a dilemma given our limited time; but in the spirit of exploration, we were off to setup the next experiment.</p><p><strong>Neural Style Transfer</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Qoh7eiCEP8Nv_gQ_sMkPQ.jpeg" /><figcaption>Typical Style Transfer Example</figcaption></figure><p>Next on the docket was testing another common neural network approach known as Neural Style Transfer. Generally, Neural Style Transfer utilize a pre-trained convolutional neural network (i.e. <a href="https://www.mathworks.com/help/deeplearning/ref/vgg19.html;jsessionid=294b20bc88d2dd297cb4cb33e872">VGG-19</a>, <a href="https://www.mathworks.com/help/deeplearning/ref/resnet50.html">ResNet-50</a>, etc.) to decompose an image and then calculate a set of loss values between an input image and a target style image.</p><p>These pre-trained neural networks were designed to classify images (for example differentiate a dog from a cat) and they do so by abstracting an image into different layers (illustrated below) which the computer can use to make sense of what the image contains. For a simple example, one layer might contain information about the outline of objects in a scene and another might have color information or focus on specific parts of an image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*pYNL-_eQbCNvb1bE" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/0*iWePHKMj7PlPr4p0" /><figcaption>Simple example of a convolutional layers visualized</figcaption></figure><p>Without getting too in-depth, the quick summary is that we can use these layers to then take an input image (such as the corgi above) and create a new image which then tries to maintain the content of the input image while also trying to re-colorize / re-stylize the generated image so that it is close to the desired style target. This balancing act is represented as a difference or loss which a neural network then tries to minimize (More detailed explanation <a href="https://towardsdatascience.com/light-on-math-machine-learning-intuitive-guide-to-neural-style-transfer-ef88e46697ee"><strong>here</strong></a>).</p><p>Now that you have a general sense of the approach, it is probably pretty obvious that this would be a relatively simple and cool way to mix imagery relevant to the Social Credit System and the Catholic indulgences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*k5FjlPhp3LNk9zU6EqnSNw.png" /><figcaption>Mao figure stylized with Medieval Mosaic</figcaption></figure><p>You can see in the examples above and below that the results vary quite a bit but overall they are decent for a first pass.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*Y7Rcd0ZWyoCggJvjOCUHAw.png" /><figcaption>Medieval figure stylized with Mao</figcaption></figure><p>What we did come to realize through this exercise is that for both medieval and propaganda image sets that we were using, each individual picture contained a lot of objects in its scene. This produces an issue because the target style image has a lot of color variations due to it containing a lot of varying objects. The reason why paintings like the Starry Night (used to stylize the corgi at the beginning of this section) map so well to an input image is because they don’t contain a lot of object information, but rather have more of a texture or pattern and are less focused on specific objects.</p><p>Aside from this issue, neural transfer has also been ad nauseam<strong> </strong>and while the results were interesting, we figured that there wasn’t much to build upon if we pursued this technique further. That being said another related approach which we didn’t implement arose. There were some papers that had the idea of inserting (or removing) objects into an image or painting and using that image’s style to then blend the object seamlessly. We won’t go into detail but you can take a look <a href="https://github.com/JiahuiYu/generative_inpainting"><strong>here</strong></a><strong>.</strong></p><p><strong>Generative Collages</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*UA0MoV5tSCqHfyTsW5IT_A.png" /><figcaption>Collage Generated using a Mask R-CNN model to segment image objects</figcaption></figure><p>Lastly, we experimented with the idea of using object recognition and segmentation to generate collages that mixed different objects from different images. Object recognition is another area where neural networks have not only become the benchmarks for machine learning, but have also managed to <a href="https://www.forbes.com/sites/michaelthomsen/2015/02/19/microsofts-deep-learning-project-outperforms-humans-in-image-recognition/#6f12fc25740b">outperform human eyes</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*5sysC-kAspxOoqMx" /><figcaption>Simple Object Detection Example</figcaption></figure><p>In order to accomplish this task, we leveraged a model known as a Mask R-CNN (Region-Convolutional Neural Network). This model uses a Neural Network to first identify all objects in a scene and then creates a bounding box around that object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R-HUWTLUMBk3Han_.png" /><figcaption>Image Classification and Image Segmentation from Mask R-CNN</figcaption></figure><p>Once it has identified the general location of those objects it then uses another network to predict where the object actually is within those confines and thus giving us a “mask” of that object which is illustrated above in the different colors illustrated. This differentiation of objects in a picture is known as image segmentation.</p><p>Using this approach we then applied this principle to our own set of images. In order to make this work, we first used the model to identify the object masks in our medieval and Chinese propaganda image sets. Once we did that, we added additional functionality to cut out the masked object and then save it as an individual png file. Once we standardized this procedure, we processed all of our images to create a set of images from both sets. Finally, we created a separate script that then took a list of png files and randomly selected and pasted those images in random locations. Voila.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*tclOUYXdLk0ALMHdbgotEw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*bTVWpvCv8iUgVr0v7aqRug.png" /><figcaption>Some other examples of our Generative Collages</figcaption></figure><p>Unfortunately most of the images in our sets only contained people so most of our resulting object bank is filled with cutouts of people figures. Either way we were pleased with the results.</p><p><strong>Conclusion</strong></p><p>In this post we talked in depth about how we took parallels between the Social Credit System and Catholic indulgences and then explored those themes using three different types of Neural Network approaches. We did not go into great technical detail or explain fully all of the work that went into setting up these models, but we hope that this overview gave some insight into our thought process and how we rapidly explored and prototyped different ideas. None of these approaches provided enough traction to become the focus for our final piece, but we learned quite a bit and are currently continuing to iterate through ideas and mediums.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e328f2117e42" width="1" height="1" alt=""><hr><p><a href="https://medium.com/art-ying-ben-michael/gans-and-plans-e328f2117e42">GANs and Plans</a> was originally published in <a href="https://medium.com/art-ying-ben-michael">Indulgentsia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[underconstrained]]></title>
            <link>https://medium.com/art-ying-ben-michael/underconstrained-d3dcd9c5df73?source=rss----5a7b5eae77c---4</link>
            <guid isPermaLink="false">https://medium.com/p/d3dcd9c5df73</guid>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[china]]></category>
            <dc:creator><![CDATA[ben W hwang]]></dc:creator>
            <pubDate>Wed, 25 Sep 2019 17:56:54 GMT</pubDate>
            <atom:updated>2019-09-25T18:06:17.810Z</atom:updated>
            <content:encoded><![CDATA[<h4>conversation and inspiration</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*nia81HyrJSXbN5_U.gif" /></figure><p>You’re given a blank canvas and there are no rules, no expectations, and no pressure. Just three individuals with the task to create <strong><em>something</em></strong>.</p><p>So where do we start?</p><p>Well in our case it started with a lot of…well… chatting. Talking about random things: current events, personal interests, <a href="https://en.wikipedia.org/wiki/Eastern_State_Penitentiary">Pennsylvania prisons</a>. It didn’t feel like anything was about to coalesce or that there was any major push towards clarity. It just felt like people getting to know each other. Which was casual, but important because we needed to form an initial understanding what each of us could bring to the table. This included skills, things we’ve worked on, and possible visions for the project which is what Ying (our artist) shifted our attention to next.</p><h4><strong>Themes</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*jB54mjB-C2IhAk4A.gif" /><figcaption>Excerpt from Ying’s work <a href="https://www.chinternetplus.com/">Chinternet Plus</a></figcaption></figure><p>Ying’s prior work has mostly been contemporary commentary about <a href="https://anthology.rhizome.org/blind-spot">Chinese censorship</a> and internet culture behind China’s infamous great firewall. With China-US relations being a constant source of gaffes and headaches there is certainly a lot of current material to work with; however, amid all the trade war news there is one development that is of particular interest to us: implementation of the <a href="https://en.wikipedia.org/wiki/Social_Credit_System"><strong>Chinese Social Credit System</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KndHpGP1G1aJCH2GBsJhzA.jpeg" /><figcaption>Screenshot from the Black Mirror episode Nosedive</figcaption></figure><p>In a nutshell, China’s major plan is to create a comprehensive credit system where it can use any and all sources of information about individuals to assign them a score. This score then dictates what privileges and restrictions that could be imposed. For example, a citizen with a low score could be restricted from access to air travel, denied certain job prospects, or even be subjected to public shaming.</p><p>If this sounds like a familiar dystopia, you probably have seen or heard about the Black Mirror episode <a href="https://www.imdb.com/title/tt5497778/"><em>Nosedive</em></a><em>. </em>In their version of a social credit system people are given the ability to rate their fellow neighbors, colleagues, or friends based on how positive or negative they view an interaction — akin to an Uber user rating a driver and vice versa. Even if you haven’t seen this episode you can imagine how restrictive — and potentially unfair — such a system could be; but at least there is some level of transparency afforded to the user. They can immediately see who is affecting their score and, based on their interaction, can understand why someone rated them as such. This is the key difference between this fictional depiction and China’s proposed system: <strong>Transparency</strong>.</p><blockquote>This concept of China’s methodology being shrouded in ambiguity became our first source of inspiration which resulted in us experimenting with abstract data visualization</blockquote><p>In China’s system you are rated by the Government based on data that they have aggregated across various sources, but if you try to find a detailed explanation of what exact data is being used and how it’s being weighted it is <a href="https://www.wired.co.uk/article/china-social-credit-system-explained">unclear</a>. This concept of China’s methodology being shrouded in ambiguity became our first source of inspiration which resulted in us experimenting with abstract data visualization.</p><h4><strong>Ideas and Initial Visualizations</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pvZgy_DVQlTRepR0pvTijQ.png" /><figcaption>Various abstract data visualization tests we built using <a href="https://d3js.org/">D3</a>.js</figcaption></figure><p>The purpose of visualizing data is generally to communicate a clear message to the viewer. In this case, our motivation was not to communicate an obvious message. Instead, we wanted to use data to illustrate a concept in an abstract and layered way which in some sense emulated the ambiguity of the social credit system. In order to attempt this we looked at various different data sets and visualization tools to get a sense of what might be visually appealing — some of which is illustrated above.</p><p>This is great and all, but there is one fundamental issue to consider: if we pursue this further, how will we get any relevant data? The social credit system itself is a mystery and it would more than likely close to impossible to get access to relevant public data sets. This prompted us to discuss the idea of convincing data generation which — as one thing leads to another — steered our conversation towards current trends in machine learning.</p><h4>Moving Forward</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*jPbYosNFuw_5rZINewf5Aw.png" /><figcaption>Neural style transfer applied to one of our contour visualization</figcaption></figure><p>Similar to how our initial conversations had begun before, we transitioned seamlessly into an exchange of knowledge and ideas. My partner Michael and I helped get Ying up to speed about the current applications and capabilities of today’s machine learning algorithms which opened new doors and opportunities for experimentation. Techniques like Generative Adversarial Networks (GANs) and Neural Style Transfer quickly set our sights beyond simply creating visualizations of fake data. We were now throwing out ideas like: “What if we generated fake people that was seeded by a fake credit score…What if we made a bot that learns to judge people’s chat correspondences and patronize them accordingly…What if we try to mix Brad Pitt’s face with China’s leader Xi Jinping?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*Ethq0cLi22krXWsKdshE1A.jpeg" /><figcaption>done on a third party website just for demonstration sake…and the lols</figcaption></figure><p>While we probably won’t be able to explore all the what-ifs we posited over the past weeks, we have filled our blank canvas with a variety of ideas, thoughts, and visuals from which we can explore and develop.</p><p>Next we will be delving deeper into more nuanced thematic content (see Ying’s <a href="https://medium.com/art-ying-ben-michael/indulgence-3baedd30bb61">post</a> to get an initial sense) and the machine learning techniques we used to explore this content.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3dcd9c5df73" width="1" height="1" alt=""><hr><p><a href="https://medium.com/art-ying-ben-michael/underconstrained-d3dcd9c5df73">underconstrained</a> was originally published in <a href="https://medium.com/art-ying-ben-michael">Indulgentsia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[\Art ‘19— In the Beginning]]></title>
            <link>https://medium.com/art-ying-ben-michael/art-19-in-the-beginning-6d1109514b24?source=rss----5a7b5eae77c---4</link>
            <guid isPermaLink="false">https://medium.com/p/6d1109514b24</guid>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[creative-process]]></category>
            <dc:creator><![CDATA[ben W hwang]]></dc:creator>
            <pubDate>Mon, 16 Sep 2019 16:12:09 GMT</pubDate>
            <atom:updated>2019-09-19T18:31:33.217Z</atom:updated>
            <content:encoded><![CDATA[<h3>\Art ‘19— in the beginning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Q1rymu3sLZcXLWbspN0xow.png" /><figcaption>Contour Data Visualization with Style Transfer</figcaption></figure><h3><strong>Introduction</strong></h3><p>You probably think there’s a typo in the title of this publication, but I can assure you the \ is intentional. <a href="https://backslashart.org/">\Art</a> (pronounced backslash art) is a fellowship that supports the intersection of art and cutting edge technology. The goal of this program is to fund an established NYC based artist and two engineering students from <a href="https://tech.cornell.edu/">Cornell Tech</a> to produce a unique piece of art that utilizes the diverse background and expertise of its members. It is an experiment that has been running since <a href="https://backslashart.org/2016/matthew-weinstein-the-living-end/">2016</a> , and we are the the latest team to take on this unconventional and unconstrained journey.</p><h3>The Goal</h3><p>The goal of this project is to combine passions in art and technology that pushes both mediums beyond their current boundaries. This publication will serve as a living document to capture our thoughts and progress as we brainstorm, prototype, build, and repeat along our journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d1109514b24" width="1" height="1" alt=""><hr><p><a href="https://medium.com/art-ying-ben-michael/art-19-in-the-beginning-6d1109514b24">\Art ‘19— In the Beginning</a> was originally published in <a href="https://medium.com/art-ying-ben-michael">Indulgentsia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[indulgence]]></title>
            <link>https://medium.com/art-ying-ben-michael/indulgence-3baedd30bb61?source=rss----5a7b5eae77c---4</link>
            <guid isPermaLink="false">https://medium.com/p/3baedd30bb61</guid>
            <category><![CDATA[trade]]></category>
            <category><![CDATA[indulgence]]></category>
            <dc:creator><![CDATA[Ying Miao]]></dc:creator>
            <pubDate>Thu, 05 Sep 2019 19:49:46 GMT</pubDate>
            <atom:updated>2019-09-12T20:14:35.158Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*1mv6HHC_-0GCh8zBHMgqeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*TiwFPOKuLdKYVZ4vzGnT5Q.png" /></figure><pre>The social credit system is an important part of the socialist market economic system and social governance system. It is based on laws, regulations, standards and contracts. It is based on a sound network of credit members and credit infrastructure that covers society members. It is supported by credit information compliance application and credit service system to establish a culture of integrity and promote the tradition of integrity. Virtue is an internal requirement, and the reward and punishment mechanism is based on trustworthiness and un-trustworthiness, with the aim of improving the integrity and credit level of the whole society.</pre><pre>Accelerating the construction of the social credit system is an important basis for fully implementing the scientific development concept and building a socialist harmonious society. It is an important means to improve the socialist market economic system, strengthen and innovate social governance, and enhance the integrity of social members and create a good credit environment. It is of great significance to enhance the overall competitiveness of the country and promote social development and progress in civilization.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3baedd30bb61" width="1" height="1" alt=""><hr><p><a href="https://medium.com/art-ying-ben-michael/indulgence-3baedd30bb61">indulgence</a> was originally published in <a href="https://medium.com/art-ying-ben-michael">Indulgentsia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>