<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nicolau Ballesté on Medium]]></title>
        <description><![CDATA[Stories by Nicolau Ballesté on Medium]]></description>
        <link>https://medium.com/@nickballeste?source=rss-62a6f04d378d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZzYEMHUsjaz8IEtYIIW6mw.png</url>
            <title>Stories by Nicolau Ballesté on Medium</title>
            <link>https://medium.com/@nickballeste?source=rss-62a6f04d378d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:24:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nickballeste/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deepfakes are chewing everything we Know — Part 2]]></title>
            <link>https://medium.com/@nickballeste/deepfakes-are-chewing-everything-we-know-part-2-60cb17fa0e97?source=rss-62a6f04d378d------2</link>
            <guid isPermaLink="false">https://medium.com/p/60cb17fa0e97</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deepfakes]]></category>
            <category><![CDATA[epistemology]]></category>
            <category><![CDATA[fake-news]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Nicolau Ballesté]]></dc:creator>
            <pubDate>Fri, 29 Mar 2024 18:42:48 GMT</pubDate>
            <atom:updated>2024-04-02T20:56:04.863Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*HfpXPCTr0CVRcvGhxWn9cA.png" /><figcaption>I just renewed my ChatGPT Plus. If I’m not using it for the writing, at least I’m using it for something</figcaption></figure><h3>Deepfakes are chewing everything we Know — Part 2</h3><h3>Recap—Do you Know what you’ve read?</h3><p>In <a href="https://medium.com/@nickballeste/deepfakes-are-chewing-everything-we-know-part-1-101a704baaf2"><strong>part 1</strong></a> we went through a epistemological definition of “<strong>Knowledge</strong>” known as <strong>JTB: Justified True Belief</strong>. We then laid out some categories of offenders to it and the differences between them: lies, honest mistakes, evidently wrong opinions.</p><p>I briefly exposed how those offenders became its famous “contemporary” formats, misinformation, disinformation and fake news, as societies developed in complexity. We saw how Artificial Intelligence as a whole, Generative AI and, even more specifically, <strong>Deepfakes came into the picture and how they present not a entirely new epistemic societal challenge but instead an aggravation of its predecessors by orders of magnitude</strong>, as they able mostly anyone to create and disseminate highly credible evidence at scale, reducing the amount of information carried by any previously reliable source of knowledge.</p><p>In this <strong>second part</strong>, first I’ll go deeper in the actual <strong>Deepfake’s problem definition</strong> and then I’ll get you acquainted with <strong>concrete examples</strong> of how the usage of the technology is deteriorating our capability to trust evidence and build Knowledge.</p><p>Lastly, in <strong>the third</strong> part, I’ll try to provide some of currently circulated ideas on how to mitigate the worst case scenarios. At the end of it, you’ll leave with a little puzzle piece to your overall mental picture of the terrifying informational challenge we’re heading into in the next five years.</p><p>Again I must warn you: <strong>you won’t find happy endings here</strong>.</p><h3>Intro — Can you believe in it?</h3><p>For some people on the more conservative end of the political spectrum, but especially for most people who believe that the general population lives in a meritocracy — spoiler alert: no, we don’t — , inequality is not a problem in itself, assuming there’s no poverty and misery attached to it. This perspective treats inequality as inherent to our capitalist system and even as a source of incentive for people to try to overcome themselves and “work harder”.</p><p>Now, on other parts of the spectrum, there’s another point of view, which states that high levels of economic inequality and the lack of social mobility can contribute to “<strong>fuel instability</strong>” <strong>and tear the social and democratic fabric apart</strong>.</p><p>The concrete meaning of this sentence is that at highly socially and economically “unfair” situations — among other factors — there’s a significantly increased risk of people starting to kill each other more and of societies to tend more <a href="https://www.princeton.edu/~cboix/economic-roots-of-violence.pdf"><strong>toward civil wars</strong></a>. There’s solid research in economics and social science showing inequality and the <a href="https://journals.sagepub.com/doi/pdf/10.1177/0022002717723434">lack of social mobility actually increase the levels of political violence</a> and make nation-states tend toward a depreciation of institutions and even full-blown conflicts.</p><p>Following this line of thought, when the general population helplessly watch a few people getting obscenely rich and rewarded while themselves keep getting trampled and smashed on a daily basis, a <strong>collective sense of injustice</strong> is created. People’s lack of perspective of their lives getting remotely easier, even in the long-term, while ruling classes enjoy immeasurable luxury, grows in resentment. This resentment can disorderly grow into violence and than social chaos.</p><p>The loss of one crucial aspect of socialization is the primer igniter of the more violent “reactions” — which, sometimes, can be pretty justified — to the constant oppressing sense of unfairness imposed by high inequality and socially immobile settings. This aspect ought to be <strong>Trust.</strong> Trust in the social consensus that the State and public power should be responsible for — varying on each individual’s position on the political spectrum — , at least, a minimum welfare cushion that should serve as a groundwork for people to pursue better living standards in a “fair” and “equalized” way.</p><p>Another way of putting it is: the <strong>collective assumption that liberal democracies will provide material conditions for citizens to live a somewhat “<em>free</em>” life is one of the main pillars on what modern non-authoritarian Western nation-states count to keep existing</strong>. If this Belief is repeatedly shown not to be Justified nor True, those institutions tend to shake.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PdkbJVTKgycbGO9a" /><figcaption>Photo by <a href="https://unsplash.com/@elimendeinagella?utm_source=medium&amp;utm_medium=referral">Elimende Inagella</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Should you Believe in it?</h3><p>Concurrently to the previously mentioned, there’s another “<strong>foundational collective trust element</strong>” to the same liberal democracies that is totally interdependent with the forementioned trust in the possibility of social mobility. It’s the <strong>shared trust in underlying social facts</strong>. One of the sustaining pillars for this second element is also another kind of “implicit confidence”, this time in <strong>our capacity, as members of societies, to witness agreeable truth or some form of consensus when faced with logically credible evidence about an event</strong>.</p><p>This “factual trust” element and the forementioned capacity associated with it are already currently challenged by — at least — two important processes:</p><ul><li>Firstly, a “positive” one if you consider the construction of more robust Knowledge about the world to be an desirable outcome. It’s the development of <strong>legitimate, divergent and mutually exclusive narratives</strong> and the processing of clashing them among each other, on which social movements, politicians, scientists and people in general dispute analyses and interpretations of historical facts and attribute different causes to observed effects. We can witness this a lot in the divergent interpretation of political and economic phenomena. Although this process helps to build knowledge, on an individual level, it already creates an intricate enough environment for you to say you actually <strong>know</strong> something. This is another topic I’m writing specifically about and will release it as soon as possible.</li><li>The second, already mentioned, challenger to the “<em>shared trust in social facts</em>” element, is the “traditional” <strong>created/fake facts</strong> coming from big media-corporations and from fringe, small groups facilitated by social media platforms like Facebook, YouTube, Reddit and TikTok. Inside this sources of disinformation, there’s both the gathering of evidence — or what it seems to be evidence — for the formation of opinions and the process of analysis and “theory construction” to why this alleged evidence is the way it is.</li></ul><p>Fueled by both of these underlying processes, the <strong>sub-process of individualization of realities</strong> seems to be accelerating. In the last eighty or so years, we’ve seen TV and Radio — broadcast media in general — bringing specific viewpoints to the spotlight more than others. They function like “big bias bubbles”. This means they are indeed informational bubbles but they are also still collective, even though they’re already signaling this “shattered glass” of reality, fitting massive groups in each piece.</p><p>Social media seems to bring a smaller hammer to the room and break those big pieces into really tiny ones. Parallelly and ironically, social media provides a way for these tiny fragments to connect to each other and and together they create shared perspectives and even entire cultures as we’ve seen many times now.</p><p>So the reinforcement of my individual point of view which has specific aspects in common with someone else’s can inflate the “small bias bubbles” <strong>from fringe conspiracy-theorists gatherings to sources of worldwide national-elections destabilization</strong>.</p><p>A huge amount of these theories and perfectly logical explanations of how specific aspects of the world work emerge on mainstream social media platforms like Facebook or TikTok. Some firstly appear in relatively more specialized communities inside Reddit, 4Chan. Others in even more hermetic environments in messaging platforms like Telegram and WhatsApp. And, if any one of those outgrows its initial bubble, it can reach <a href="https://www.nytimes.com/2022/05/15/us/replacement-theory-shooting-tucker-carlson.html">massive media channels</a> and create great confusion and damage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*MSlmD4NtW7UnQYRNTZxSrQ.jpeg" /><figcaption>Let’s make it worth it.</figcaption></figure><p>Independently from where is the birthplace of any narrative, one thing they’ll certainly share every single time is an initial set of evidences. In the case of flat-earth-like tales, I’d say a tin-hat facts starter pack. The spreading potential of such stories will depend on factors like</p><ul><li>the <strong>credibility and authority</strong> <a href="https://www.nbcnews.com/tech/tech-news/how-three-conspiracy-theorists-took-q-sparked-qanon-n900531">its pioneers</a> can convey to their first few followers,</li><li>on how chosen facts have an <a href="https://physicsworld.com/a/fighting-flat-earth-theory/"><strong>inner self-sustained logic</strong></a> that cloud people’s vision about its premisses,</li><li>the ability of influencers and of the bought-in influenced ones to <strong>keep feeding it</strong>,</li><li>and, also on how each of the <strong>first “facts” and posteriorly-added ones are verisimilar,</strong> contribute to the <strong>plot’s complexity</strong> and plug <strong>more nuances</strong> to it.</li></ul><h3>Believable Fringe Theories À La Carte</h3><p>Generally, Generative AI, in all of its formats, intensifies the process of fake-narrative development even more, and brings more “fake proof” to the table to robustly confirm the initial point of view. Introduce the specific Deepfakes layer to the scenario I’m outlining here, and you’ll have not only <strong>Justified Belief</strong> but also a kind of <strong>“True”</strong> one.</p><p>In this setting you’ll have plausible video evidence to confirm every Pizzagate-like plausibly-real fiction that’s out there. And if everyone sees the piece in YouTube or Facebook, and it is simply impossible to distinguish from a legit one in the eyes of the general public, to cyber-forensic experts or even to AI algorithms, than it’s <em>kind of</em> true. Or we’ll have to admit that every single clip is not trustworthy at all.</p><p>In the good ol’ days , if the tree went to the ground an nobody was there to witness, we couldn’t affirm it actually produced sound. In the next few years, when you least expect it you won’t be able to affirm anything about the tree fall even if you watch it going down livestreamed from Instagram. If you’ve heard the “<em>pics or didn’t happen</em>” before somewhere on the Internet, at this point you already noticed that this phrase just lost it’s meaning.</p><p>Different kinds of contexts and situations will present opportunities for this epistemic harm. We already have evidence of deepfakes creeping up in civil society apparently isolated and non-related situations, or of it being used as political tool by institutions and even in war. It’s really hard to get to the source of it sometimes and even harder to predict the next use case.</p><p>One of the main social aspects of the impact from deepfakes is the ubiquity with which it will cut through everyday situations and common people’s lives. Besides the attack aimed at celebrities and public people, ordinary day-to-day situations, criminal or non-criminal, are at eminent threat of being modulated by this technology.</p><p>From police officers beating a a black man to your boyfriend cheating on you, now we have this double-edged sword for every situation that’s on camera: they’ll always possibly be deepfakes and therefore they’ll fit the “there’s people are trying to incriminate me” type of narratives or they’ll actually be forged media and innocent people could be charged base on this “lies on steroids”.</p><p>Other clear use case for deepfakes will be critical political events the usage by individuals with a perspective and a goal, or by actual institutions. As we’ll see in the next section the usage can be intendedly harmful, or it might be instrumentalized by the AI generated content sole producers.</p><p>In a general sense, as <strong>Mustafa Suleyman</strong> argues in <strong>The Coming Wave</strong> and I can tell in this case I 100% agree with him: the problem will not be in the sophisticated Hollywood-like Deepfakes. Instead, it will be in the 240p security camera footage of your neighbor punching an elderly person, or your uncle committing a pedophile act, or your candidate for mayor accepting a bribe two days before the ballot. And you won’t have a good way to tell if your neighbor, your uncle or preferred candidate are innocent or not, no matter how many times you rewatch it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CWN7VA86T-C3-BWs" /><figcaption>Photo by <a href="https://unsplash.com/@joshua_j_woroniecki?utm_source=medium&amp;utm_medium=referral">Joshua Woroniecki</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Deepfakes, Deepfakes Everywhere!</h3><p>I’ll now get you through some examples so you get a sense of the extent of the usage of the technology for deliberately harmful purposes and some of it’s nuances. I’ll start with more details from two interesting cases and then just supply you with a quick list of many others.</p><p>I didn’t choose this first two for any special reason, but just because they were related to elections which tend to be one of the most critical moments for any nation-states, loaded with a lot of tension, and because they could be seen as archetypical for lots of ther cases .</p><h3>Fake-Cheating Slovakia’s election</h3><p>In 1993, Slovakia signed its independency and separated from Czech becoming. It’s been a sovereign nation, a parliamentary democracy and a republic since then. In 2004 it became an member of both the EU and of NATO. Since the early 2000’s <a href="https://ec.europa.eu/eurostat/cache/digpub/european_economy/bloc-1a.html?lang=en">it has been gradually reducing inflation and unemployment rates, and it’s been growing at a faster pace than the EU itself</a>. I know just too little about the Slovakian political scenario or economics but I guess it’s not absurd to affirm that it has a relatively well established institutional setting, despite probably having many challenges as any other country.</p><p>Nevertheless, in Slovakian’s 2023 parliamentary elections, Progressive Slovakia party’s candidate Michal Šimečka <a href="https://www.wired.co.uk/article/slovakia-election-deepfakes">was targeted with two AI generated pieces of content</a>, that are said by western media to be part of Russian disinformation campaign across Europe. Both pieces weren’t even videoclips but just audio-recordings. One of Šimečka colluding with a journalist from a famous local newspaper to rig the elections at voting day and the other of him saying he would double the price of beer if he won the polls. Two institutional aspects aggravating the plot:</p><ul><li>Meta’s content moderation policy only applied to videos or pictures, not audios, so it was a lot harder to counter the “attack”;</li><li>The first audio was released during the 48-hour period when neither politicians nor media outlets can talk politics.</li></ul><p>In the end, the same mechanisms that should protect democratic institutions — private sector platform policy and electoral rules — from this kinds of problems were the ones responsible for driving it to be even more harmful, which signals to how unprepared political systems actually are to deal with this kind of situations. And even though is still hard to evaluate the impact of these kinds of events — which is a problem in itself — <a href="https://12ft.io/api/proxy?q=https%3A%2F%2Ffakty.afp.com%2Fdoc.afp.com.33WY9LF">what we know is one Facebook’s post with the audio was shared at least 3,000 times</a>. And no, Šimečka was not elected.</p><p>In this cases the audios were quickly <a href="https://edition.cnn.com/2024/02/01/politics/election-deepfake-threats-invs/index.html">confirmed fake by independent agencies</a>, but the noise with just this little stimuli is already enormous. Think about it: people who like Šimečka will advocate for his innocence and say it’s obviously fake. People who dislike him will say “Of course he’s saying it’s fake! Too easy to say this when you get caught!” and will even probably accuse the agencies of being partisans with him. Even if they agencies were actually clean and the audios were definitely fake, the effect on public opinion is chaos. And soon enough, investigations about these “media artifacts” won’t be able to reach clear conclusions in some cases just based on the available evidence.</p><h3>India’s Elections “<em>Positive</em>” Deepfakes</h3><p>India’s recent accumulation of human capital and highly skilled knowledge workers, as much as its software industry growth in the last years, because of tech exports to regions such as the US and the EU, is already common-sense worldwide. This kind of development also drives culture with it. In this case, a tech-savvy kind of culture in many ways.</p><p>As much as India’s tech explosion brings all kinds of benefits to its population, it also brings all the contradictions and challenges associated with it. In this case, it’s now obvious that a country with this size, ethnical differences, political divergencies and complexity, it’s expected to see the frontier-tech related problems.</p><p>On February of 2020, we saw the first widely known use of Deepfakes in India’s elections where BJP’s president, Manoj Tiwari, <a href="https://www.vice.com/en/article/jgedjb/the-first-use-of-deepfakes-in-indian-election-by-bjp">Deepfaked himself</a>. He first released an original clip criticizing the the incumbent Delhi government. In this video, he was speaking in a Hindi dialect of Haryanvi, which is able to reach a specific audience in a multi-language country like India. Then the <a href="https://www.deeplearning.ai/the-batch/issue-241/">campaign manipulated the original video</a> to make Tiwari speak in perfect English — which Tiwari didn’t speak — , increasing the video’s distribution power. The production was created by a partnership of BJP and the company The Ideaz Factory “<em>to create ‘positive campaigns’ using deepfakes to reach different linguistic voter bases</em>”.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F88GUbuL89bQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D88GUbuL89bQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F88GUbuL89bQ%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/fb4361c4f58da6b0b17b260b7efa3115/href">https://medium.com/media/fb4361c4f58da6b0b17b260b7efa3115/href</a></iframe><p>This case raises a <a href="https://en.wikipedia.org/wiki/Ship_of_Theseus">philosophical question</a> about until what point a content piece can be altered before becoming totally fake. When is just a aesthetic choice and when does it become a lie? Every information transmission involves some degree of manipulation, no matter the emitter’s intent. The camera catches one specific angle, the presenter — sometimes unconsciously — uses more or less aggressive or soft words, the picture freezes peoples’ faces at different expressive timings. At which point, this kind of implicit manipulation starts becoming false?</p><h3>Well, it’s already a long list and surely a long road ahead of us</h3><p>I’ll briefly showcase other AI Generated content challenging situations around the world to give you the sense of ubiquity I mentioned before. Each of these could generate its own specific debates and lots of issues can stem from them. But this is just an over view. So, here are they:</p><ul><li>The time when Argentinian presidency’s <a href="https://english.elpais.com/international/2023-11-11/argentinas-presidential-campaign-enters-the-muck-of-electoral-fraud-allegations.html">candidate Sergio Massa deepfaked into sniffing coke</a> during election’s race;</li><li>And <a href="https://www.theguardian.com/world/2024/feb/05/hong-kong-company-deepfake-video-conference-call-scam">when a finance worker paid about U$25million to a fraudster</a> — yes, you read it correctly — after a video call with multiple people which she had met online before (!) and with the alleged CFO of a client. The scammers had probably recorded videos from the participants before and were able to trick the clerk into completing the transactions. Well, you could assume it was probably a really dumb or careless person. Or it’s just a really clever combination of tech with social engineering that would be capable of fooling you in a near future as well. The only certain thing we know about this is <a href="https://www.nytimes.com/2023/08/30/business/voice-deepfakes-bank-scams.html">it’s going to be a trend</a>;</li><li>There was also this time when a really famous reporter from the main news outlet in Brazil saying former president and candidate for reelection Jair Bolsonaro was <a href="https://noticias.uol.com.br/confere/ultimas-noticias/2024/03/03/deepfake-uso-inteligencia-artificial-eleicoes-argentina-estados-unidos.htm">in front on election surveys</a> which was not true;</li><li>Also, at the biggest Brazilian city, São Paulo’s 2018 mayor’s election in which one of the main candidates, the conservative João Doria, was filmed in a “orgy situation”. There’s some real doubt, to this day, if the video was actually a deepfake. <a href="https://istoedinheiro.com.br/laudo-da-pf-diz-que-nao-ha-sinais-de-adulteracao-em-video-intimo-atribuido-a-doria/">Federal Police said there was no actual clue of it being manipulated</a>. Even if it was real, the issue still holds since <a href="https://www.brennancenter.org/our-work/research-reports/deepfakes-elections-and-shrinking-liars-dividend">lying is now easy and it pays big time</a>, even when they got you on camera.</li><li>Recently, Father Julio Lancelotti, a catholic priest, also from São Paulo, which is a symbol of the fight for better life conditions for the poor and fierce critic of the capitalist oppression among the left and a unwelcomed — to say the least — figure among the right, was accused of performing sexual acts aimed at minor in a video call. The case is currently under investigation and you can find both perspectives <a href="https://revistaforum.com.br/politica/2024/1/15/padre-julio-pericia-desmonta-farsa-do-video-pode-levar-criminosos-cadeia-veja-integra-152201.html">for</a> and <a href="https://revistaoeste.com/politica/perito-da-forum-muda-versao-e-admite-que-video-de-julio-lancellotti-nao-e-montagem/">against</a> him figuring at media outlets. Now, imagine a public person having to go through a process of disproving that they’ve committed some horrific crime and not having any specific alibi or any counter-proof to go against it? Or in the other hand, if this person actually committed that crime and he’s using the “haters-are-deepfaking-me” argument, how would we ever know what’s true or not? All we can see is confusion, noise and bubbles of confirmation bias.</li><li>In another instance, <a href="https://www.motherjones.com/politics/2019/03/deepfake-gabon-ali-bongo/">Gabon’s government almost suffered a military coup</a>, after its president, Ali Bongo, appeared in a deepfake video looking inapt for the job.</li><li>You also got these three girls at school age, in <a href="https://g1.globo.com/rj/rio-de-janeiro/noticia/2023/11/01/alunos-de-colegio-na-barra-sao-suspeitos-de-usar-inteligencia-artificial-para-fazer-montagens-de-colegas-nuas-e-compartilhar.ghtml">Brazil</a>, <a href="https://www.vice.com/en/article/j5ynkg/student-in-mumbai-arrested-for-editing-girls-face-onto-porn-and-threatening-to-share-it-on-social-media2-03e4db0b7d4c42baad1958d6c7b8c10f">India</a> and the <a href="https://www.technologyreview.com/2023/12/04/1084271/meet-the-15-year-old-deepfake-porn-victim-pushing-congress">USA</a> went through the exact same horrific problem: non-consensual porn generated by their male classmates.</li><li>The <a href="https://theconversation.com/deepfakes-in-warfare-new-concerns-emerge-from-their-use-around-the-russian-invasion-of-ukraine-216393">famous surrender video from Zelensky</a> during the Ukraine and Russia war, which still had some flaws in the technique and it was possible to distinguish from a real one, but already points to a much scarier scenario.</li><li><a href="https://apnews.com/article/new-hampshire-primary-biden-ai-deepfake-robocall-f3469ceb6dd613079092287994663db5">Joe Biden’s New Hampshire robocalls</a> asking for people to not get out in the streets on the election day. Alongside with this specific case, the USA is already at the forefront of political deepfake interventions and some more examples can be found in this <a href="https://www.notion.so/Mutually-Exclusive-Perspectives-405fe00e4af14ee0a87414faa03d2300?pvs=21">collection</a>.</li></ul><p>I’m not even close to exhaust the examples I’ve seen myself in my individual research for this article. I also ran my eyes through many more examples I ain’t got time to explore. The main goal here was to start approximating you from these cases so you can start to get a grasp and get a little more “intimate” of the complexity of the mess we’re heading into and also feel the growing distress I’m feeling about how the deepfakes problem will start hitting us from every single angle, when we least expect. I hope I have achieved this somehow.</p><p><em>In the </em><strong><em>next and — finally — last part</em></strong><em> of this essay, I’ll try to break my “no happy endings” promise a little bit and show some glimpses of solutions or at least of efforts I stumbled upon during the research for this article.</em></p><p><em>I can’t say I fully believe the initiatives being taken, but there’re people way more qualified then I am in matters like Law, Tech, Communication and Politics who are closely trying to handle the overall picture. I said I’ll just </em><strong><em>try </em></strong><em>not to follow through with my word, because despite the last part being about ways forward and you could say “hope”, I think I won’t be able to convey a positive spirit into it. I don’t even know if I want to. But part of that’s going to be up to you.</em></p><p><strong><em>Please leave your comments and feedbacks so I can improve the quality of the content I’m aiming to produce.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60cb17fa0e97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deepfakes are chewing everything we Know — Part 1]]></title>
            <link>https://medium.com/@nickballeste/deepfakes-are-chewing-everything-we-know-part-1-101a704baaf2?source=rss-62a6f04d378d------2</link>
            <guid isPermaLink="false">https://medium.com/p/101a704baaf2</guid>
            <category><![CDATA[fake-news]]></category>
            <category><![CDATA[generative]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[deepfakes]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Nicolau Ballesté]]></dc:creator>
            <pubDate>Sun, 25 Feb 2024 18:56:29 GMT</pubDate>
            <atom:updated>2024-04-02T13:36:31.858Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Man with hood and wolf’s mask in a snowy landscape" src="https://cdn-images-1.medium.com/max/1024/0*JtcJC61O7U-cetg-" /><figcaption>Photo by <a href="https://unsplash.com/@tregubov?utm_source=medium&amp;utm_medium=referral">Mihail Tregubov</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>How do you know this is an Introduction?</h3><p>How do we know things? What can be known and what is “knowing”? In which situations are we able to say we actually know something is true? How much evidence is needed to conclude that? Even, what is “truth” and what is knowledge? What does it mean to make “progress” in knowing things?</p><p>These questions are core to this article, they are behind everything else I plan to write in this blog and are constants in my mind since I can remember. That being said, obviously I do not intend to answer them in the following lines. Not even a single one of them completely. Those are extensive and complex inquiries of epistemology and I promise to deeply explore them long-term.</p><p>In this specific two-parts article I’ll focus on a narrower topic, but still a massive one: <strong>Generative AI</strong> and <strong>Deepfakes</strong>, and on <strong>how these new technologies pose great perils to Knowledge production, consumption and flows</strong>. After going through these lines, if I’m successful, you’ll have built one more layer of understanding about these <em>hot-topics</em> that are gradually flooding every — tech-specialized or not — news outlet. You’ll also gain a little more insight on the broader epistemic inquiries I first mentioned — this endless quest for knowing things — as you add the perspective of one of it’s antagonists.</p><p><em>In this </em><strong><em>first part</em></strong><em> I’ll explore this subject’s “problem side” and focus more on a conceptual facet than on a concrete one. The </em><strong><em>second part</em></strong><em> will be a lot more illustrative and I’ll fill it with the some of the scary examples already occurring. In the </em><strong><em>last part</em></strong><em> I’ll present the solutions being proposed so far and ways forward. However, I’ll warn you right from start: do not expect happy endings.</em></p><h3>First Things First, Epistemi-what?</h3><p>Epistemology is the field which investigates and theorizes about what knowledge is. It’s funny how sometimes this field seems to be build by questions a child could casually make: “How are you sure 2 + 2 = 4?” or “Does my dog thinks the way I think?”. But also, more sophosticated questions like “What’s the difference between knowledge and a belief?”, “What is a good justification for a belief I’ve got?”, or even “What is more reliable: our senses, rationality or intuition?” and so many more.</p><p>Thinkers like Plato, Aristotle, David Hume, John Stuart Mill, Karl Popper, Thomas Kuhn and many, many more have been exploring a great amount of the most diverse topics surrounding epistemology.</p><figure><img alt="A statue of plato with a lollipop in his right hand a watter bottle in the left, using mirrored colorful sunglasses." src="https://cdn-images-1.medium.com/max/1024/1*o78ZjwLwNJZwlNiPwdvzUg.png" /><figcaption>Plato said so.</figcaption></figure><p>One of most commonly used definitions of knowledge, possibly proposed by Plato, is the <a href="https://www.youtube.com/watch?v=SzJ_JaMMbuo"><strong>Justified True Belief (JTB)</strong></a>. I’ve already understood in my journey through this subject JTB has been already <a href="https://en.wikipedia.org/wiki/Gettier_problem">philosophically challenged</a> and is no longer consensus among epistemologists, nor the state-of-the art in terms of the debate going on the field right now. That being said, I’ll still use the JTB definition here because it seems simple, practical and enough to illustrate the problem that’s aggravated by generative AI and deepfakes. I’ll do a deep dive in this concept in another post.</p><p><strong>JTB</strong> means in order to be considered knowledge an assertion about something needs to be</p><ol><li>a <strong>Belief</strong>, meaning you have to really believe in the veracity of it;</li><li>it needs to be <strong>True</strong>, that signifying it can only be considered knowledge if it’s a evidently a fact — and, of course, we could discuss how to verify it and what defines a fact ;</li><li>And it needs to be <strong>Justified</strong> by some “good” reason.</li></ol><p>Just to get to a “concrete” example on how this concept applies: If you are inside a building and just happen to believe there’s an elephant outside at the street, even if you cannot see it, this is not knowledge. In this case all you’ve got is a Belief which it’s not <strong>J</strong>ustified and probably not True.</p><p>On the other hand, if the elephant is actually there but you didn’t see any evidence of it so you don’t develop a Belief in it, the fact the quadruped is there is <strong>T</strong>rue, but it’s not something you believe in. So it’s also not a <strong>Knowledge</strong> you possess by JTB “standards”. You can’t Know something without believing in it.</p><p>Now suppose you open <em>Xwitter </em>and sees a video of an elephant walking on the streets just outside your building. It seems realistic enough for you, so you “construct” a <strong>Belief</strong> it’s there. Now, since you have a good piece of evidence you’re <strong>Justified</strong> in believing in it, só you have justification. And it’s also <strong>True</strong>, and since this is my line of thought you’re following, you can verify it’s true because I am telling you so.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//twitter.com/khaleejtimes/status/1456289727728873476&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/f90c885ac75235b23cc5c6e4420b1e74/href">https://medium.com/media/f90c885ac75235b23cc5c6e4420b1e74/href</a></iframe><p>Since we got past this weird example — sorry about that, it was the best I could do after long hours of work — for simplicity’s sake, assume Justified True Belief is the minimum you’ve got to have about any proposition or situation in order to say you really <strong><em>know</em></strong> it.</p><h3>Old Adversaries of Knowledge</h3><p>There are some “obstacles” to the best effort that individuals are able to make on a daily basis to develop what we just saw as a definition of <strong>knowledge</strong> about the world.</p><p>The first obstacle is the plain <strong>lie</strong>. Someone tells another some fact that didn’t happen or give some information about something that they don’t actually believe in, in order to obtain some advantage, or for some kind of playful or sadistic mockery, or even when the liar’s intention is to help someone by dodging truth. Simple lie. Everyone of us is acquainted with it somehow.</p><p>Another adversary of knowledge is the old “<strong>honest mistake</strong>”. This one happens when I believe whatever I’m saying but it’s simply not true. At least not true to the extend we, as limited humans, are able to verify empirically. For example, maybe I think it’s raining outside because I’m listening to some rain-like sound and it’s just my neighbor watering his plants.</p><p>Even a third one, which is really connected to the second, is an <strong>evidently wrong opinion</strong>. It’s not the same as a honest mistake, since it’s not just a perceptual mistake. An opinion is constructed by a whole rationale built on top of premises that lead me to have a perspective about some complex topic. This will depend on my world views, the way I was raised, my familiar context and what I studied, felt, saw or heard throughout life. Opinion’s formation is absurdly multifactorial and subjected to the full blown of cognitive biases. And sometimes it’s just wrong. Or maybe it’s correct if and only if it’s based on some non-factual premises, therefore, wrong once more.</p><p>I guess any other categories of objections to <strong>Justified True Belief</strong> comes from one of those forementioned adversaries. That’s surely debatable and I’ll also approach more epistemological discussions on other specific posts.</p><p>A relevant point to be made is that the confusion derived by the conflict of divergent and mutually exclusive well-founded opinions won’t be considered as an challenger to knowledge since even if they’re can be pretty hard to tell apart from the poorly grounded ones, they usually foster knowledge production. This is a incredibly deep topic on its own to be uncovered in future.</p><p>I also think I need to add that, as <a href="https://www.researchgate.net/publication/260603130_Edgar_Morin_and_Complex_Thought">Edgar Morin</a> puts it, any narrative creation, any analysis, or any cutout of world facts is necessarily a <em>mutilator</em> of reality. What this means is any point of view or single perspective poses a challenge willfully or not, to what we’re loosely calling <strong>knowledge</strong> and any individual perspective will necessarily be an challenger to it somehow. There’s no possibility for absolutes in this discussion.</p><h3>Despicable Obstacles We See Nowadays</h3><p>As societies develop, everything about them gets more complex. Population grows, the diversity of economic activities increase, multiple organized political groups emerge with shared interests and with vindications conflicting with pre-established norms. A myriad of new technology is created which in turn gives birth new necessities and new economic activities. This is a huge generalization, but you got the overall idea.</p><p>As this process happens, new information and knowledge hit people. And with it, the challengers to our capacity of knowing things. Lies, honest mistakes and divergent opinions, including, of course, the non-factual ones, make this informational and knowledge space absolutely messy to analyze and make sense of. It’s difficult to know what to <strong>Believe </strong>in, hard to verify what’s actually <strong>True </strong>and a bumpy and far from straight road towards <strong>Justification</strong>.</p><p>Think about it, if you have more information — different people, tales, cultures, situations, activities — , humans, as master narrative-builders, have more raw material to create their own versions of fake stories on top of it.</p><p>And, no matter what the motive behind it was, both incentives to create these fake stories and the <a href="https://www.brennancenter.org/our-work/research-reports/deepfakes-elections-and-shrinking-liars-dividend">Liar’s Dividend</a> grew by the day as communication technologies got more sophisticated throughout the 20th century. Today is the best time to lie and the best time to say any allegations against you are fake news. And this growth curve is now getting even steeper as the ratio between “levels of credibility, reach and impact I’m able to give a piece of fake information” x “the effort and costs to produce it” increases.</p><figure><img alt="A hand-drawn line graph with the label “Fake Information Production” for the Y-axis and “Reach, Impact and Credibility divided by Costs, Effort and Barriers” for the X-Axis. The plotted curve is an accelerating ascendant one." src="https://cdn-images-1.medium.com/max/1024/1*H2Dgfu9bTAI1MvKEsz7VcQ.png" /><figcaption>It&#39;s getting easier and more rewarding to credibly lie.</figcaption></figure><p>This “incentive growth” itself propels the creation of narratives. If the reward on propagating fake narratives is amplified, why wouldn’t people do it?</p><p>Perhaps three of the main contemporary categories of these JTB challengers, or types of “anti-information”, are the notorious <strong>disinformation</strong>, <strong>misinformation</strong> and <strong>fake news</strong>. Just a quick differentiation here:</p><ul><li><strong>Fake News</strong> are any stories that appear to be what’s considered “legitimate” news. And I know lots of room for discussion in here</li></ul><p><strong>Misinformation</strong> and <strong>disinformation</strong> would be any kind of information that is misleading or divergent from facts that spread among society. The difference between both is commonly said to be related to “intention”.</p><ul><li><strong>Disinformation</strong> is used intentionally, as propaganda, which can be funded and spread by States, corporations, media companies, political or terrorist groups or what else. It’s been used to manipulate people to believe and behave in certain ways and as weapons in most wars, to cause panic or confusion.</li><li><strong>Misinformation</strong> is spread by people, with no intention to deliberately manipulate others. It might be originated by Disinformation if agents willfully disseminate fake stories and then people reproduce them thinking they’re benefitting others. But sometimes it’s just your well intentioned uncle repeating eggs are as bad for your health as cigarettes because he heard this from his well intentioned friend.</li></ul><h3>Welcome the Generative AI years</h3><p>Since a long time, people all over have this idea of machines behaving like humans, producing speech and anthropomorphic cognitive expressions. This idea of language generation is not new. Combine that with the possibility to mechanically produce images as we do with photography or film and it’s almost an obvious thought pathway that machines could produce not only verbal communication, but visual and audio as well. Mix this ideas with lots of behavioral data collected for years, the personal computation revolution, digitalization of all media, a huge amount of processing power, cloud computing, sophisticated algorithms and great amounts of investment and we have what’s now called <strong>Generative AI</strong>.</p><p>As we can now observe, this machine media generation didn’t come in form of one humanoid robot speaking, painting and playing instruments. Not even in the form of a monolithic “software brain” capable of performing all of those. At least not yet. But this artificial media production is already here in the form of specialized software. Each one focusing on one specific function at a time: producing human-like speech or text, creating images or videos. And it can already do it with high-fidelity. We’re also already starting to see what the industry calls “<strong>multimodality</strong>”: text inputs that can generate image, audio, video or non-textual output. That’s still really fresh and exploratory but trust me: the developments in the next few months will be shockingly astounding.</p><p>It’s important to contextualize how technology is developing right now and what the next steps are so we understand the capacity it will have on creating massive impact on knowledge and perception.</p><p>This process of specialization in software’s responsibilities is a principle aligned with tech industry’s abstract concept of <strong>Artificial Narrow Intelligence</strong> (ANI). And it’s relevant to mention the idea of <strong>ANI </strong>only makes sense in relation and in contrast with <strong>Artificial Capable Intelligence</strong> (ACI) — aka <strong>Artificial General Intelligence</strong> (AGI) — and <strong>Artificial Super-Intelligence</strong> (ASI). All of these categories help us organize thought for practical purposes even though they lack in precision. I’ll go through them briefly.</p><p><strong>ANI </strong>are systems with “learning” capabilities that can improve performance in a single specialized task. ANI is great at predicting next words on your keyboard’s autocomplete function; <strong>or </strong>at naming the <a href="https://whatsthebigdata.com/best-ai-stock-trading/">next best stock trade</a> based on a combination of assets on your portfolio and market signals; <strong>or </strong>at classifying an marketing email as spam; <strong>or </strong>even at playing chess, <a href="https://www.youtube.com/watch?v=iB4PoNJuXzc">League of Legends</a> or <a href="https://deepmind.google/technologies/alphago/">Go</a>; <strong>or </strong>at generating language, code, audio, images or videos — and recently even transitioning between these different formats.</p><figure><img alt="Professional Go player Lee Sedol thinking over Go board" src="https://cdn-images-1.medium.com/max/1024/0*rLzF_qwpvpUvQ9eW.jpg" /></figure><p>Systems like these can only optimize it’s decision output for one of those activities and although it’s incapable to learn the plurality of the forementioned tasks, it can perform way better than the most well-trained person at any single one of them.</p><p><a href="https://inflection.ai/">Inflection.ai</a> and <a href="https://deepmind.google/">DeepMind</a>’s co-founder, Mustafa Suleyman, in his 2023 book, <a href="https://www.the-coming-wave.com/"><strong>The Coming Wave</strong></a>, and many others specialists in the field, argue the next stop for AI is <strong>ACI</strong>/<strong>AGI. </strong>That’s<strong> </strong>namely when AI will be able to perform every task a human can but with higher performance and combine those to achieve multiple kinds of goals. These systems could A great deal of AI professionals argue that with such capabilities ACI’s would start developing themselves at a really fast pace and then conduct its own evolutionary process to a really sci-fi-<em>ish</em> scenario of <strong>Artificial Super Intelligence</strong> (ASI): AI that is <strong>orders of magnitude</strong> more capable than humans and it could become by far the most intelligent “species” on the planet. <a href="https://waitbutwhy.com/2015/01/artificial-intelligence-revolution-1.html">It could impose a greater intelligence abyss than the one we currenlty present to chimps or dogs</a>.</p><p>To situate the stage we’re currently at, scientific frontier is now exploring possibilities in the realm of Artificial Narrow Intelligence: <a href="https://www.youtube.com/watch?v=HK6y8DAPN_0">Large Language Models capable of multimodality</a> and that <a href="https://www.adept.ai/">can perform actions on external systems</a> are the first significant steps in <strong>ANI</strong> that signals a plausible transition to <strong>ACI</strong>. Everything after this, is yet too speculative. But I and others working and studying the field have a somewhat <strong>Justified Belief</strong> this next phase actually happening. We’ll se about <strong>Truth</strong>.</p><p>Now let’s get back to how these fast-pace developments will affect our perception of reality.</p><h3>“Anti-information” on A.I.-Steroids</h3><p>Looking specifically at image manipulation, since 2017 or so, a few people were already able to create seemingly realistic videos swapping faces of famous people with bodies of other ones. Consistently and bizarrely following <a href="https://en.wikipedia.org/wiki/Rule_34">rule 34#</a>, the first remarkable appearance of deepfakes was on 2017 in Reddit, when a user named — ha, you guessed it — “<em>deepfakes</em>” <a href="http://www.jatit.org/volumes/Vol97No22/7Vol97No22.pdf">uploaded</a> non-consensual pornography claimed to be from celebrities like Scarlett Johansson, Gal Gadot, Taylor Swift and a few more. Of course it was not real, but the user propagated video files manipulated by deep learning algorithms that really looked they were legitimate.</p><p>Scroll down to 2023, and you now have ChatGPT’s, Claude’s, LLama’s, Sora’s, Stable Diffusion’s, MidJourney’s and many other Artificial Intelligence multi-modal language and media generators <a href="https://www.namepepper.com/chatgpt-users">largely</a> available to people. You and I can to go to a website and create images of people we have never met and that don’t exist or images of people we’ve met or that simply exist performing actions they’ve never had performed. More technically proficient users can already download some open-source easy-to-use codebase and do this in massive scales. By the field’s development’s pace, you could safely say in a couple months anyone will be able to just ask in plain natural language for some of these models to perform a face-swap and they’ll easily do it with perfect results. No barriers, high quality. And what we’re witnessing is just the tip of the iceberg.</p><p>As <a href="https://www.youtube.com/watch?v=X6Uv-XcAtYI">Nina Shick</a> argues, Deepfakes and synthetically generated media don’t necessarily pose a conceptually “new” societal challenge. They simply aggravate a problem that already challenges every Nation-State. They increase risk by a magnitude never seen before.</p><p><strong>Broadcast Media</strong> like TV and Radio increased reach, impact and credibility of any piece of information — including fake ones — to a huge extent, but all of this at a high cost of production and distribution and therefore centralization because of it. <strong>Social media</strong> distributed these components — reach, impact and credibility — and diluted them as well as costs to any single individual to produce content.</p><p>Deepfakes use the momentum of this recent developments in content creation and distribution to disrupt the acceleration in evolution of the credibility component. They make it technically possible to create synthetic media that is more real-looking than ever before. Deepfakes make the quality of the final media product absolutely indistinguishable from non-synthetic media. Along with this “qualitative” aspect, as I say earlier, this technology is getting so cheap the barriers to produce this highly credible results are getting close to non-existent.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWzK1MBEpkJ0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWzK1MBEpkJ0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWzK1MBEpkJ0%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/295bca53bfdd2dd6c4b9a183f8858533/href">https://medium.com/media/295bca53bfdd2dd6c4b9a183f8858533/href</a></iframe><p>This video above is already old. The tech is already a lot better and more accessible than it was and with a simple Youtube search, you can find <a href="https://www.youtube.com/watch?v=yVEhrIMc-ps">many</a> <a href="https://www.youtube.com/watch?v=WFc6t-c892A">more</a> <a href="https://www.youtube.com/watch?v=DsLYrFwUHpw">examples</a>. This is also a small sample of the power the technology presents since it’s aimed at a really narrow case: face-swaps. Soon enough we’ll be seeing entire video pieces created from “scratch”: scenario, situation, people, dialogs and so on.</p><h3>The Big Scary Deepfaked Wolf</h3><p><a href="https://link.springer.com/article/10.1007/s13347-020-00419-2">As professor Don Fallis suggests</a>, using <a href="https://en.wikipedia.org/wiki/Brian_Skyrms">Briam Skyrm</a> framework of analysis:</p><blockquote>A <strong>signal</strong> carries information about an <strong>event</strong> when the likelihood of the given signal being sent is greater when the event actually happens than when it doesn’t happen.</blockquote><p>Putting it simpler, it’s like Peter and the Wolf. <strong>Peter’s scream</strong> (signal) about the wolf only says something about the <strong>Wolf coming </strong>(event) or not, if Peter screams more often when the Wolf is coming that when it’s not.</p><p>If, for example, Peter screams every single day and the Wolf is coming every other day, Peter’s screaming is no more than random noise since he only gets it right half of the time. Relying on Peter is just like tossing a coin to predict the Wolf’s behavior. In case above, his screaming will happen whether or not the Wolf is coming so you can’t trust Peter’s screaming as a reliable source of information about the Wolf. Peter is not giving us any good <strong>Justification </strong>to <strong>Believe </strong>that the Wolf’s arrival is <strong>True</strong>.</p><figure><img alt="The big wolf from Peter and the Wolf Disney Animation with his mouth open and teeth showing." src="https://cdn-images-1.medium.com/max/1024/1*zVPbkM_6mGVNjNXSrbeZZA.png" /><figcaption>Is it arriving or not, Peter?</figcaption></figure><p>Fallis also says the <strong>amount of information</strong> a signal carries is also related to the <em>probability of it being sent after it’s originator event actually happened</em>. So if the Wolf comes in a really random fashion, and Peter’s tells it correctly every single time, you can possibly rely on Peter. If he get’s it right 80% of the time, you can somewhat trust him. His screaming now carries a little less information about the Wolf coming than it did when he was getting it right every single time but it’s still better than nothing. Our <strong>Belief </strong>would be a little more <strong>Justified </strong>even when not <strong>True</strong>.</p><p>This Skyrm’s concept of “<strong>information carrying</strong>”, as Fallis argues, applies to synthetic generated media, but in this case tampering with one of the most reliable forms of evidence we used to have until current days: <strong>videos recordings</strong>. The most reliable source information about an event should be watching it happen live, with your own eyes. Next to it, it’s video recording of events. Video recordings usually tell a more “complete” story about a situation than still pictures or audio formats.</p><p>Now, say you artificially generate a video of Ryan Gosling’s face in Michael Jackson’s body or of Meryl Streep sitting in the back of a pink flying giant dog, <strong>these kinds of videos don’t carry any information about these events </strong>actually having happened. They’re just jokes and it’s obvious they’re just jokes.</p><p>Now if you have a supposedly leaked video of a famous actor having sexual relations with someone other than her spouse or a recording of a famous politician accepting a bribe, how much that says to you about the probability of those events having actually taken place? I mean, they could have, it’s not at all impossible. Until recently, you’d be well <strong>Justified</strong> in believing those facts after watching videos about them even if they weren’t <strong>True </strong>at all.</p><p>So before Deepfakes and GenAI, any video like this would carry lots of information about those possibly true events unless when inserted in a context of, let’s say, professional high-budget cinema, in which producing such Ryan Gosling’s or Meryl Streep’s videos would cost millions in SFX. Besides that any video, specially those with an amateur feel to it would almost always mean reliable evidence.</p><p>Now all of this has changed. With <em>undistinguishable-from-true</em> artificially generated media, you can’t say anything anymore about the “actual happening” of almost any single event just because you have a video of it. It’s becoming easier and easier for us to <strong>Believe in </strong>something that isn’t <strong>True </strong>and still being <strong>Justified </strong>in<strong> </strong>doing so. What the next months and years hold is really cloudy, but we’re certainly going to see lots of conflicts in different scales originated by AI-powered misinformation and disinformation. “Pics or didn’t happen” doesn’t work anymore. Not even with a perfectly legit-looking smartphone video. <strong>The Wolf has won</strong>.</p><p>If software have already eaten our world, Deepfakes will chew our reality.</p><p><em>I know all of this sounds confusing and scary but I warned you: no happy endings. The future looks messy and opaque. And trust me, I’m not less worried than you should be right now.</em></p><p><em>In the </em><strong><em>next part</em></strong><em>, I’ll deep-dive in already live examples of the sh*tshow we’re already seeing and what does the future looks like from where I and people much more qualified than me on this subject can see. If we want to have any hope to solve or at least midly-attenuate this mess, we have to understand the context we’re immersed in and how big the problem is and how big it’s gradually and rapidly becoming.</em></p><p><strong><em>Please leave your comments and feedbacks so I can improve the quality of the content I’m aiming to produce.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=101a704baaf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[O seu primeiro chatbot mais simples que você respeita.]]></title>
            <link>https://medium.com/botsbrasil/o-seu-primeiro-chatbot-mais-simples-que-voc%C3%AA-respeita-75decf6c1536?source=rss-62a6f04d378d------2</link>
            <guid isPermaLink="false">https://medium.com/p/75decf6c1536</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[bots-brasil]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[desenvolvimento]]></category>
            <category><![CDATA[bots]]></category>
            <dc:creator><![CDATA[Nicolau Ballesté]]></dc:creator>
            <pubDate>Mon, 25 Sep 2017 12:01:01 GMT</pubDate>
            <atom:updated>2018-09-18T13:46:54.067Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*ADfT0WNAGLxu0wv1IGqOTQ.png" /><figcaption>Bem-vindos ao universo das Interfaces Conversacionais.</figcaption></figure><h4>Um guia para a criação de um chatbot no Messenger, usando o Howdy’s Botkit, em apenas alguns minutos.</h4><h4>Introdução</h4><p>Vou direto ao ponto. Este é um guia para quem já possui alguma familiaridade com conceitos de programação, apesar de não exigir grande experiência.</p><p>Este texto, tem como prioridade ser um passo-a-passo prático de como desenvolver seu primeiro <em>chatbot </em>para o Messenger, usando o Botkit e não uma discussão dos aspectos conceituais, justamente por ser parte de um <strong>manifesto à experimentação da tecnologia*</strong>.</p><h4>Chatbots</h4><p>São serviços assim como aplicativos e entregam informações para os usuários, porém não o fazem por meio de uma interface gráfica, mas por meio de uma <strong><em>interface conversacional</em></strong><em>.</em></p><p><a href="https://medium.com/luneta/seus-novos-parceiros-do-dia-a-dia-os-assistentes-inteligentes-bots-843120909aed">Neste artigo</a>, o <a href="https://medium.com/u/4184bb608175">Pedro Rocha</a> explica muito bem alguns dos conceitos fundamentais para entendermos o que são <em>chatbots</em>.</p><h4>Botkit</h4><p>O <a href="https://botkit.ai/">Botkit </a>é um <em>framework open-source </em>para Node.js, voltado para a construção de <em>chatbots, </em>que possibilita a integração com diversas plataformas de mensagens como <a href="https://slack.com/">Slack</a> e <a href="https://www.messenger.com/">Messenger</a>, bem como com API’s voltadas para o <a href="https://medium.com/botsbrasil/o-que-%C3%A9-o-processamento-de-linguagem-natural-49ece9371cff">processamento de linguagem natural (PLN)</a> entre outros.</p><h4>Iniciando</h4><p>Tendo em vista que a ideia deste guia é que você consiga ver seu primeiro <em>chatbot</em> funcionando rapidamente, vamos basear o bot em um <em>template </em>desenvolvido pela comunidade do Botkit — lembrando que o <em>framework</em> é <em>open-source — </em>que já prepara toda a lógica de conexão com a API do Messenger, faz a inicialização do Express WebServer e dá algumas funcionalidades ao robô.</p><p>Basicamente, esse <em>starter kit </em>deixa toda a estrutura pronta para que qualquer um possa baixar o projeto, criar uma página no Facebook e um configurar um aplicativo na sessão de Desenvolvedores do Messenger e já poder conversar com o bot.</p><p>O template a ser utilizado foi uma edição no código do <a href="https://github.com/howdyai/botkit-starter-facebook">Botkit Starter Kit for Facebook Bots</a> e pode ser encontrado <a href="https://github.com/nickballeste/tutorial-first-chatbot"><strong>nesse link</strong></a><strong>.</strong></p><h4>Configurando um aplicativo do Messenger</h4><p>Essa parte é extremamente simples, mas pode dar alguma dor de cabeça quando você ainda não conhece minimamente a plataforma do Messenger.</p><p>A API do Messenger está em constante atualização — eu tenho desenvolvido há 3 meses apenas e já vi a documentação ser aprimorada e incrementada muitas vezes, bem como o surgimento de novas funcionalidades quase semanalmente — e <a href="https://developers.facebook.com/docs/messenger-platform">possui todas as suas <em>features</em> e questões muito bem documentadas</a>.</p><p>Quando estiver desenvolvendo seu próprio bot, com funcionalidades mais complexas e interessantes do que este exemplo — muito básico — que eu estou demonstrando aqui, é fundamental estar fluente na linguagem do Messenger e ficar por dentro de toda a documentação. Essa é das dicas que pode parecer óbvia, mas ter ela em mente pode salvar muito tempo.</p><p>Indo ao que interessa, você pode acessar a seção de desenvolvedores do Facebook, já na plataforma do Messenger, por <a href="https://messengerdevelopers.com/">este link</a> e realizar o login com a sua conta do Facebook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zqPp6GW_BvqJ3mvW7VImpw.png" /></figure><p>Acesse a aba “Meus Aplicativos” e crie um novo aplicativo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MVb0Pm6LGs96_MflcO_6Yw.png" /></figure><p>Dê um nome e um email de contato para o seu app e selecione a opção para a criação de um número de identificação.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*LklbKIKI6f7TmElJCGjfRw.png" /><figcaption>E agora você já é um desenvolvedor da plataforma do Facebook Messenger e possui um app. Viu? Moleza! ;)</figcaption></figure><p>Agora, você vai ser redirecionado para a página em que deve escolher as ferramentas, ou os produtos que vai utilizar no seu robô.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nw-KeGu7prVYeY0r7rDm9g.png" /></figure><p>Dentre todas as opções, as únicas que são necessárias para você ter um bot funcional são as de <a href="https://developers.facebook.com/docs/messenger-platform/webhook"><strong><em>Webhooks </em></strong></a>e a do <strong><em>Messenger</em></strong>. Selecione a opção para configurar cada um destes tópicos.</p><p><strong>Configurando o tópico do Messenger</strong></p><p>Na aba de configurações do Messenger. Vá até a seção para a <strong>Geração de <em>Token</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*xPxyxxdoRoH-EhrbBEX0rg.png" /></figure><p>Agora você deve criar uma página no Facebook. Sim, como faria com uma página de memes, ou qualquer outra. Selecione a opção para criar uma nova página e você será redirecionado para cá:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*3lYjw2e4LqdM9FuAuqwZYA.png" /></figure><p>Escolha qualquer um desses tópicos. Ele serve para categorizar sua página para fins de SEO, não para este tutorial. Dê um nome, selecione uma subcategoria e crie a página.</p><p>Atualize a página em que havia a seção para a geração de <em>tokens</em>, e selecione a sua página recém-criada, e assim, um <em>token</em> será gerado:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*Jhe6A8lpnOhpTgtIbQ2J9A.png" /></figure><p>Copie este <em>token</em> e agora chegou a hora de configurar o seu <a href="https://braziljs.org/blog/gerenciamento-de-variaveis-de-ambiente/">arquivo de ambiente</a>. Abra o projeto que você clonou do github no seu editor de texto e vá até o arquivo .env.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*P2cvWxpJNWZgqLCYplmrBw.png" /></figure><p>Agora é só preencher estas lacunas. Cole o <em>token </em>gerado pela plataforma do Messenger no campo PAGE_TOKEN e escolha um <em>token</em> de verificação para usar no campo VERIFY_TOKEN . Sim, pode ser o que você quiser.</p><p>O arquivo .env vai ficar parecido com este:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*TFckH0zgifcjx9Tc4z0Kfw.png" /></figure><p>Agora abra uma aba no terminal, navegue até o diretório da sua aplicação onde está contido o arquivo bot.jse use o comando node bot.js . Você deve ver algo assim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*cjf55d7npyOQebYH5pxB3A.png" /></figure><p>Que indica que sua aplicação está rodando e que algumas das features foram incializadas com sucesso. E será possível também verificar que sua aplicação está funcionando no localhost:3000</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UN_nBW3MF9hNVe_MFKvq5g.png" /><figcaption>Funcionando! ;)</figcaption></figure><h4>Pausa para o ngrok!</h4><p>Uma das coisas legais de desenvolver projetos com pessoas bem mais experientes que você, é que você é apresentado a ferramentas, conceitos e técnicas novas o tempo inteiro. Uma dessas ferramentas que eu conheci foi o <a href="https://ngrok.com/"><strong>ngrok</strong></a>.</p><p>O ngrok é uma ferramenta muito simples que permite que você crie Túneis SSH para expor, de maneira segura, uma porta na sua máquina local — seu <em>local webserver</em>, no caso — para a web, permitindo que outras pessoas ou aplicações tenham acesso à ela.</p><p><a href="https://ngrok.com/download">Após baixar a ferramenta</a>, você pode seguir as instruções na página de download ou <a href="https://stackoverflow.com/a/36759493/6050202">instalá-la globalmente</a> — e cada sistema operacional vai possibilitar uma maneira diferente de fazê-lo — para então poder utilizá-la no terminal.</p><p>Para criar um túnel e expor sua máquina local use o seguinte comando:</p><pre>ngrok http 3000</pre><blockquote>Obs.: A porta 3000 foi arbitrariamente escolhida na configuração do webserver Express na aplicação em si, mas poderia ser modificada a qualquer momento.</blockquote><p>E o terminal aonde você está rodando o ngrok vai mostrar esta tela:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*pHqQgzGwvc8ARTgFDjiO5A.png" /></figure><p>Agora você pode verificar as requisições HTTP que sua máquina está recebendo através do localhost:4040 em uma aplicação do ngrok, com uma interface mais bonita e completa que a linha de comandos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*81Iq9wSiozHTC7D1aIf_6A.png" /></figure><h4>Configurando o Webhook</h4><p>Para você que, assim como eu não sabia quando estava começando, ainda não sabe o que é um <em>webhook</em>, <a href="https://blog.vindi.com.br/o-que-sao-webhooks/">aqui vai uma rápida e excelente explicação</a>.</p><blockquote>É uma forma de recebimento de informações quando um evento acontece. O webhook na prática, é a forma de receber informações entre dois sistemas de uma forma passiva.</blockquote><p>Você deverá configurar um <em>webhook, </em>assim como fez com o tópico Messenger, para receber os retornos das chamadas à API do Messenger. A grosso modo, é para onde o Messenger vai enviar as respostas ao que você pedir para ele.</p><p>Ainda na aba de configuração do Messenger, vá até seção de Webhooks — logo abaixo da seção de geração de <em>token — </em>, selecione a opção para configurar um webhook. Uma pop-up vai surgir solicitando as seguintes informações: <strong>URL de retorno </strong>e o <strong><em>token </em>que de verificação</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*NCvPsDXDY-0LlEJnZSQ01g.png" /></figure><p>O <em>token </em>de verificação deve ser o mesmo que você definiu no arquivo .env , anteriormente.</p><p>Agora, duas coisas devem ficar esclarecidas, para que ninguém tenha os mesmos problemas bobos que eu tive:</p><ul><li>O Botkit configura o <a href="https://pt.stackoverflow.com/a/86402/75151"><em>endpoint</em></a><em> </em>da aplicação onde o seu chatbot está rodando para ter o sufixo /facebook/receive.</li><li>O Messenger exige que o protocolo utilizado seja o <a href="https://robertheaton.com/2014/03/27/how-does-https-actually-work/"><em>HTTPS</em></a> ao invés do <em>HTTP</em> convencional, para enviar as requisições para a sua aplicação.</li></ul><p>O ngrok expõe um endereço para sua máquina local no protocolo HTTP e também no HTTPS, e o segundo é que deve ser utilizado.</p><p>Desta maneira, a URL que você vai utilizar para preencher o campo que o Messenger solicitou vai ser algo parecido com:</p><pre><a href="https://55e99e76.ngrok.io/">https://55e99e76.ngrok.io</a>/facebook/receive</pre><p>Esse caminho é o segundo endereço que está em <em>“fowarding” </em>no ngrok + a especificação de <em>endpoint </em>configurada pelo Botkit.</p><p>Quanto às checkboxes você precisa marcar apenas a messages e a messaging_postbacks em qualquer ocasião.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*nwE7ijwhY1oay0BdIuTJKg.png" /><figcaption>Como escrevi o texto em diferentes momentos, a URL mudou pois instanciei o ngrok novamente, mas a lógica é a mesma.</figcaption></figure><p>O último passo: Selecione <strong>Verificar e salvar</strong> e página será atualizada. Volte à seção de <em>webhooks</em> e Selecione a página que você criou e selecione a opção <strong>Inscrever-se<em>. </em></strong>Para que as solicitações dos usuários — mensagens enviadas ao bot — sejam direcionadas para o seu <em>webhook</em>.</p><blockquote>Note que para poder Verificar e Salvar a sua aplicação <em>bot.js</em> deve estar rodando e o ngrok deve estar fazendo o túnel. Senão a verificação vai retornar um erro.</blockquote><p>Agora é só buscar sua página no Facebook e selecionar a opção para ver a página como visitante, ou abrir o messenger e procurar o nome que você deu à sua página seu bot estará ali, com uma foto de perfil igual à letra inicial do nome que você deu a ele.</p><p>Pronto! Diga um “oi” para o seu bot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*JQl9VnRzfPfnK8xM3W3lrg.png" /><figcaption>Você acabou de criar seu primeiro bot! Esse é o primeiro passo para se tornar um mestre das interfaces conversacionais e da inteligência artificial. Faltam só mais um pouquinho ;)</figcaption></figure><blockquote>Pode ser que ele não responda de primeira, então vale rodar novamente a sua aplicação, ou mesmo esperar um pouco e tentar novamente, pois algo misterioso rola com o Messenger, que ele nem sempre consegue rodar de primeira.</blockquote><h4>Um rápido overview do código</h4><p>O projeto é, em si, muito simples. Uma aplicação que tem seu ponto de entrada no arquivo bot.js que vai chamar todas as outras partes do projeto.</p><p>O diretório components contém alguns arquivos fundamentais para o funcionamento do bot, mas nada que exija preocupação em um primeiro momento.</p><p>A parte interessante está no diretório skills . Este contem os arquivos que representam as habilidades do bot. No caso, as únicas coisas que ele suporta são respostas a comandos de saudação e ao comando “tarefas”.</p><p>Repare que nos dois arquivos gerenciadorDeTarefas.js e saudacao.js a função principal é</p><pre>controller.hears([‘tarefas’], ‘message_received’, function(bot, message) {</pre><p>Ela descreve algo que o bot pode ouvir e compõe toda sua estrutura básica. O primeiro parâmetro é um vetor de palavras que o bot tentará escutar para essa função hears . O segundo é o evento que o Messenger estará disparando quando receber uma mensagem de um usuário e o terceiro argumento é uma função de callback que vai dizer o que fazer toda vez que o robô ouvir aquele tipo de mensagem e ela recebe um argumento bot e um message que vão ser utilizados para responder ao usuário com a funçãobot.reply(message, &quot;resposta&quot;); .</p><p><a href="https://developers.facebook.com/docs/messenger-platform/reference/send-api">O evento </a><a href="https://developers.facebook.com/docs/messenger-platform/reference/send-api">message_received é disparado com inputs de texto do usuário e o evento </a><a href="https://developers.facebook.com/docs/messenger-platform/reference/send-api">facebook_postback é disparado quando o usuário pressiona botões, respostas rápidas etc.</a></p><p>A <a href="https://github.com/howdyai/botkit">documentação do Botkit</a> tem todas as possibilidades de utilização do <em>framework</em>, porém pode ficar um pouco confusa certas vezes e dependendo da arquitetura adotada para o projeto, pode ser um pouco incompleta. Mas para conhecer melhor o projeto e as possibilidades que ele abre é fundamental entender todos os aspectos dela.</p><p>O Botkit permite integrações por meio de <a href="https://github.com/howdyai/botkit/blob/master/docs/middleware.md"><em>middlewares</em></a> com API’s de Processamento de Linguagem Natural, como o <a href="https://www.ibm.com/watson/services/conversation/">IBM Watson Conversation</a> ou a <a href="https://api.ai/">API.ai </a>para tornar o bot mais humano e mais inteligente, bem como API’s de monitoramento das conversas, bancos de dados para salvar dados de usuários e todo tipo de <em>features</em> que você desejar. Por isso um chatbot pode ser uma mídia tão poderosa quanto um app, com a vantagem de não consumir memória adicional dos <em>devices</em> do usuário, bem como de centralizar múltiplas aplicações dentro de um único ambiente, no caso o Messenger.</p><h4>Últimas considerações</h4><p>Chatbots, em um estado tão pouco inteligente e primário, podem parecer pouco empolgantes, mas é interessante pensar nas possíveis aplicações a serem desenvolvidas e nas implicações de mudarmos de um paradigma de Interface Gráfica para um de Interface Conversacional e, em um grau mais sofisticado, no conceito de <a href="https://www.youtube.com/watch?v=VAesMQ6VtK8">Sistema Operacional Conversacional</a> e no leque de possibilidades que estes paradigmas são capazes apresentar.</p><p>Que esse texto sirva não só como um tutorial, mas como parte de um manifesto sobre <strong>fazer</strong>. Sobre tirar ideias do papel e sobre a exploração do conhecimento como atividade potencializadora da nossa capacidade de realização.</p><p>Obrigado e mãos à obra!</p><blockquote><strong>Por último, mas não menos importante:</strong></blockquote><blockquote>Queria deixar explicitado aqui, <strong>como estou feliz de escrever este texto</strong>, que, aparentemente, não teria um motivo em especial para ser escrito. Mas explico: Me pediram para escrever este texto em um momento muito oportuno. Além de ser mais um desses que me ajuda a consolidar as coisas que eu venho aprendendo, ele vem carregado de <strong>algumas implicações interessantes</strong>:</blockquote><blockquote>I <strong>— É o primeiro texto em português</strong> da <strong>recursiveWhileTrue</strong>, o que me fez decidir por traduzir os outros, tanto os que estão em produção quanto os primeiros que foram publicados. <strong>A ideia é disponibilizar todos os textos em inglês e em português visando maior alcance e acessibilidade</strong>.</blockquote><blockquote>II — <strong>É um texto sobre um tema que praticamente não é abordado</strong>, por sua especificidade e por estar contido em um campo do conhecimento muito novo.</blockquote><blockquote>III — (*) Esse texto é a melhor forma de começar a nova <strong>série-manifesto-tutorial</strong> que estou escrevendo: <strong>“Viciados em tecnologia, é hora de sujar as mãos!”</strong> (link em breve). Difícil pensar numa forma mais legal e coerente de iniciar um chamado a todos aqueles que falam sobre tecnologia mas ainda não tiveram o prazer de experienciá-la, do que com um tutorial prático.</blockquote><blockquote>IV — Quaisquer <strong>dúvidas</strong>, <strong>comentários</strong>, <strong>sugestões</strong> para o texto ou para o código, <strong>críticas</strong> e etc. são extremamente <strong>bem-vindos</strong> e tendem a <strong>fortalecer a comunidade</strong> de desenvolvedores, então por favor, <strong>sintam-se à vontade</strong>!</blockquote><h4>Texto originalmente publicado na <a href="https://medium.com/recursivewhiletrue">recursiveWhileTrue</a>, <a href="https://medium.com/recursivewhiletrue/o-seu-primeiro-chatbot-mais-simples-que-voc%C3%AA-respeita-66dc5e1a43e6">neste link</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75decf6c1536" width="1" height="1" alt=""><hr><p><a href="https://medium.com/botsbrasil/o-seu-primeiro-chatbot-mais-simples-que-voc%C3%AA-respeita-75decf6c1536">O seu primeiro chatbot mais simples que você respeita.</a> was originally published in <a href="https://medium.com/botsbrasil">Bots Brasil</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>