<?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 Nathan Anecone on Medium]]></title>
        <description><![CDATA[Stories by Nathan Anecone on Medium]]></description>
        <link>https://medium.com/@nanecone?source=rss-aebdb36ff31b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*r36QJLvBRcpBYv0_.jpg</url>
            <title>Stories by Nathan Anecone on Medium</title>
            <link>https://medium.com/@nanecone?source=rss-aebdb36ff31b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 13:28:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nanecone/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[Vibe Coding: The Kiss of Death?]]></title>
            <link>https://medium.com/@nanecone/vibe-coding-the-kiss-of-death-7f1e42f18027?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f1e42f18027</guid>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Mon, 31 Mar 2025 20:59:56 GMT</pubDate>
            <atom:updated>2025-03-31T21:11:02.242Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Vibe Coding: The Kiss of Death?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KEpJxEwHhuuU_-oC24i6Tg.jpeg" /></figure><p>Recently, the phrase “vibe coding” has been trending in tech circles online. Vibe coding stems from a tweet by Andrej Karpathy, in which he describes (confesses to?) a casual style of software development he’s fallen into ever since LLM-based codegen became a major part of his workflow.</p><p>If you read Karpathy’s original tweet, it’s clear his tone is somewhat self-deprecating and facetious; he’s not necessarily advocating for vibe coding or calling for a movement.</p><p>That’s not how the internet received it.</p><p>Since then, a host of frankly cringe videos and even tutorials have cropped up proclaiming “<a href="https://www.youtube.com/watch?v=IACHfKmZMr8">vibe coding is the future</a>.”</p><p>Or — seemingly paradoxically, considering that vibe coding is the negation of a skill set — “<a href="https://yourware.medium.com/a-beginners-step-by-step-guide-to-vibe-coding-d8ffb77839ad">how to vibe code</a>.”</p><p>The whole attitude — or vibe, if you will — comes across as unserious, sort of juvenile, and almost anti-intellectual.</p><p><strong>Vibing Ourselves to Death</strong></p><p>Not to play armchair psychologist, but this embrace of laziness, self-negation, and rejection of professional standards strikes me as morbid — like a Freudian death-drive or Thanatos complex. That’s because vibe coding — and the brain rot it signifies — is something like a kiss of death for the software engineering field. It whispers: <em>less work, less effort, same results</em>. But those who give into it will find themselves undermined.</p><p>It’s like holding up a sign, declaring: “replace me!”</p><p>Vibe coding says: Stop trying. Stop thinking. <em>Just vibe</em>.</p><p>To be brutally honest, it’s hard not to look at the celebration of laziness that vibe coding represents and not feel contempt. It’s like half the programming field has thrown up their hands and exclaimed: Finally! We can stop pretending to care about this bullshit!</p><p>“I didn’t make the mess — I’m just here to vibe.”</p><p>There’s a certain deadly bargain being made that needs closer examination.</p><p>LLM codegen is arguably the most consequential piece of tooling in the history of the software engineering field. As such, it deserves proper respect and formal integration into the field — it shouldn’t serve as an excuse to abandon our posts and prompt ourselves into oblivion.</p><p>LLMs can be incredible learning tools, or they can lull us into a cold sleep.</p><p>Let’s carefully examine the nature of this bargain and figure out the best way to negotiate it.</p><p>We do not have to choose between LLMs or no LLMs in software development processes. I’m totally in favor of using them. But we need to think seriously — like engineers — about self-preserving ways to integrate them into workflows.</p><p>Instead, the method I advocate for can improve outcomes and result in better software.</p><p><strong>The Vibe Coding Dilemma</strong></p><p>Vibe coding presents several fundamental anti-patterns and issues</p><ul><li>Lack of architectural consistency</li><li>Code churn</li><li>Cheating the user out of a learning opportunity</li><li>Decay of institutional memory/skill loss</li><li>Favors unplanned permutation over considered composition</li><li>Promotes ignorance and lack of seriousness</li></ul><p>But despite the pessimistic tone I’ve opened this piece with, I actually think we could be entering a renaissance — a golden age of software development — but only if we respect and master the new tools, and refuse to prompt ourselves out of existence.</p><p>Vibe coding — or, going by its more accurate name, <a href="https://en.wikipedia.org/wiki/Programming_by_permutation"><em>permutational programming</em> </a>— actually has a place as a subroutine of sorts: a generative riffing tool within set, specified constraints. But it’s up to the developer to define those constraints and limit what the LLM can vary.</p><p>I remember reading some words from the programmer-lawyer-turned-fiction-author Ken Liu, saying that good programmers are lazy. What he meant was essentially DRY — Don’t Repeat Yourself. The best solutions are the ones that accomplish the most with the fewest steps. That’s why we use things like loops to repeat an operation 100 times, rather than equivalently writing the line 100 times.</p><p>It would seem plausible that a field intent on automating tasks would fall prey to the logical extreme of automating itself out of existence.</p><p>As we all know, the smartest way to work is not at all — it’s to get someone (or something) else to do the work for you. Here is where the poisoned bargain from LLMs — codegen — stems from.</p><p>In fast-paced work environments, doing the right thing is often sacrificed for the sake of getting things done at all — and done fast. An essential tradeoff exists between speed and quality — but with growing pressure to deliver, you can guess which goes out the window.</p><p><em>Satisficing</em> — producing code that’s good enough, fast enough — is often where most devs are forced to settle. And that’s the fatal moment.</p><p>Most devs probably can’t code as fast as an LLM — if you can, you might be superhuman. But here, speed is being confused for quality.</p><p><strong>Speed ≠ Quality</strong></p><p>You might say carefully planned and crafted code beats hastily generated, permuted code every time. The former is what can lead to well-organized, deliberate design — codebases that are easier to maintain and scale. The latter leads to entropy, drift, and permutation until the whole codebase ends up in a maximally entropic, unsalvageable state. Vibe coding = permutative programming by another name — the not-so-royal road to the latter.</p><p>Note: By speaking of code quality, I am not merely referencing the code itself, but the thought put behind it. All code exists in a context. Questions need to be asked about any given block, relative to its enclosing codebase:</p><p>- Does it comply with the selected design patterns?<br>- Is it architecturally consistent?<br>- Is it extensible?</p><p>The vibe coder never asks themselves these questions, and thus they are almost surely always answered in the negative.</p><p>So should every developer handcraft every single line of code? By no means. I’m not against generating code in the least — I’m all for it.</p><p>What I’m against is programming by permutation, or accidental coding, or “shotgunning” — the anti-pattern of thoughtlessly modifying code until something works, for unknown reasons, by which point the programmer is barely even present. As I’ve explained, it’s exactly what vibe coding is without the mask.</p><p>The lifeblood of every grounded developer is continual learning. Every line a developer manually solves — they should learn something new or reinforce a learned principle. A healthy dev isn’t just the sum total of years of experience. They should always be experiencing that same +1 learning event, where it isn’t rote work — and they should find it intrinsically rewarding.</p><p>These learning moments can range from virtually unconscious, microscopic “aha moments,” to full-blown, worldview-shifting epiphanies. Whether one or the other, they should always be happening.</p><p>The beauty of learning to write code manually is that you get a sharply atomic, deep understanding of the language’s semantics. which over time translates to a powerful mental model.</p><p>The danger of vibe coding is that it deprives you of these learning opportunities. So rather than appreciating in value over time as a developer, you’re stagnating — which, against an inflationary code generation environment, means you’re deprecating in value. In a job market where there are much fewer tech jobs than there were some years ago, that’s a poor survival strategy.</p><p>The result: vibe coders who give in to unserious laziness will make themselves obsolete in short order. They’re the first to go.</p><p>Here’s the thing (again):<br>It doesn’t matter where the learning comes from, so long as it flows. SOTA LLMs are awesome learning tools — <em>when used properly</em>. So long as you’re thinking through the logic of the problem and cultivating an understanding of the technical ingredients you’re given — LLM or no LLM — you’re on the right path.</p><p>It is possible to achieve the same level of technical understanding through an LLM as it is working manually — <em>if</em> you’re pressing through the ambiguity and thinking right. Indeed, you might even be able to learn more using an LLM. Many developers report skill atrophy from over-relying on LLMs. I believe this stems from lazy vibe-coding — it’s not a necessary result of using the tools.</p><p>The simple truth is: so long as you’re always learning something, it’s okay to prompt for code.</p><p>I can hear a critic saying, “My boss isn’t paying me to get an education. They’re paying me to deliver results.”</p><p>First of all: shame on your boss. They should indeed be paying you to learn about the business’s problems and systems on a deep level — to become an essential component of institutional memory.</p><p>Several ways present themselves to realize this. But the best way is to carefully think through, design, and plan a solution — not to blindly permute/vibe your way through. Whether you write the code yourself or prompt for it, it should be your responsibility. You want to be the person people come to for answers.</p><p><strong>A Better Way?</strong></p><p><em>What if I told you a better way was possible?</em></p><p>That you didn’t have to choose between stubbornly writing every line of code yourself and aimlessly prompting your way out of jail free?</p><p>What if there was a way to deliver results — faster — without depriving yourself of crucial learning opportunities?</p><p>I believe this better way exists.</p><p>I call it <em>Dialogic Programming</em>.</p><p>Dialogic programming stems from what I’ve learned from hundreds of hours experimenting with the capabilities of LLMs, and a deep reflection on how these tools can best serve the developer.</p><p>(A less sexy name: <em>Prompt Literacy</em>)</p><p>In its essence, Dialogic Programming is a methodology for seriously working with LLMs for best results — one that treats prompting as formal specification of programs.</p><p>It’s heavily inspired by Donald Knuth’s <em>literate programming</em> paradigm.</p><p>Knuth described it as “the task of programming for explaining how a program works to other people.”</p><p>For Knuth, writing a program was like composing an essay, where each fact and term would be described and natural language, mathematical reasoning, and code would be carefully woven into a cohesive narrative.</p><p>Dialogic programming is an evolution of this method: except instead of just explaining programs to a human reader, you are explaining and having a dialogue with the LLM.</p><p>Dialogic programming depicts working with LLMs as an engaged, no-stones-unturned, exhaustive conversation — where you are critically engaged with its outputs, and intentionally imposing or discovering a design plan on those outputs.</p><p>With dialogic programming, you work with the LLM in such a way as to make all the code your own, and to maximize documentation, transparency, and learning opportunities. Dialogic programming rewards proper vocabulary, precision thinking, and well-formulated expression.</p><p>A big part of the dialogic programmer’s job is to manage context for the LLM and ensure it is compliant to the agreed-on plan and design.</p><p>Development is not just passively asking for code without structure — it’s an inquisitive, interactive, Socratic back-and-forth where you’re constantly demanding the LLM justify its proposals and explain its choices.</p><p>Leaning into its literate programming roots, the dialogic developer is also doing quite a bit of reading. At the very minimum, no AI-generated code should go un-read unless it’s been carefully vetted and discussed — even at the cost of full context having to be skimmed.</p><p>The Dialogic developer is not an uncritical vibe coder, carelessly compounding unknown bugs and entropy into the codebase. They are highly critical, exacting, verbose and inquisitive coding partners, who impose strict requirements on themselves and the code-gen process. They are engineers, first and foremost.</p><p>The whole is greater than the sum of its parts, and the human developer is an essential author in creating production-ready code. Whether they write every last character is unimportant. What matters is that they really and truly make the code their own and leave behind a self-documenting, summarizable trace of how that code was authored and the intent behind it.</p><p>Dialogic programming is not a set of iron rules. I haven’t written a textbook on it. It’s less of a formal practice and more my own personal findings about what works best when using LLMs for software development tasks. It’s about being critical, earnest, inquisitive and proactive in how you prompt LLMs. What I describe here isn’t the final word on what form dialogic programming should take. But there’s something to it. Try it out for yourself. Don’t just blindly prompt for code. Meticulously elicit it, discuss it, and inquire about it before accepting it. The results will be not only better generated code, but more learning and self-documenting conversational traces.</p><p>As a general rule, you should never push code you aren’t prepared to speak to and defend. If you haven’t made it your own, then you abandoned responsibility. You’ve just made yourself more disposable.</p><p>The most important thing is that you are working through the logic of the problem in your head… the code is just a consequence of that. Whoever figures out the logic, wins. Everything else is just a matter of matching the logic to the right implementation.</p><p>We stand at a crossroads in the history of software development. LLMs are not just new tools — they’re new collaborators. Whether they become crutches or catalysts depends entirely on how we use them.</p><p>Vibe coding is the path of least resistance, but it’s also the path of least responsibility. It invites us to give up our craft in exchange for convenience — and eventually, irrelevance.</p><p>Dialogic programming offers another way: a serious, sustained, and self-aware practice of prompting. So long as you are always learning and conducting yourself such that you’re appreciating in value you’re in the clear.</p><p>If we want a future where developers remain essential, creative, and respected contributors to their codebases, we must demand more — from ourselves and our tools.</p><p>Vibe coding isn’t the vibe. The real vibe is clarity. The real vibe is <em>caring</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f1e42f18027" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Liquid Foundation Models: A New Path Forward for Generative AI?]]></title>
            <link>https://medium.com/@nanecone/liquid-foundation-models-a-new-path-forward-for-generative-ai-1eed1772ba57?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1eed1772ba57</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[liquid-ai]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 16:57:01 GMT</pubDate>
            <atom:updated>2024-10-24T16:57:01.565Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*yk7zjc0TkAR2x6qys57CvA.png" /></figure><p>I recently attended the product launch event hosted at the MIT campus in Boston for the promising AI startup <a href="https://www.liquid.ai/">Liquid AI</a>. I’ve been following this startup and the research it has been putting out for the past several weeks and to my thinking it’s bringing something special to the table with its impressive Liquid Foundation Model (LFMs) lineup.</p><p>To situate the discussion, let’s first talk about the State Space Model (SSMs) architecture at the heart of LiquidAI’s offerings. Next to the more well-known transformers, SSMs are an alternative architecture for multi-purpose generative AI that is deserving of serious attention. To my knowledge Liquid AI is the only company on the market offering a genuinely fresh approach to general-purpose generative AI starting over from different mathematical fundamentals.</p><p>LFMs are built on a core concept called <a href="https://arxiv.org/abs/2006.04439">Liquid Time-constant Networks</a> which are excellent at handling long-term temporal relationships in data. These systems in essence embed a set of differential equations which process data in a more accountable, stateful way than traditional neural network models by capturing the fundamental concept of <em>change over time</em>.</p><p>Compare this liquid architecture design to that of its closest competitor/sibling, the famed transformer. Transformers have proven enormously powerful but their mechanisms are not necessarily the most efficient or best suited to certain tasks. Traditionally, transformers apply what’s called the softmax function to their input when calculating how much attention each token in the sequence owes the others. In plain terms, what this means is each token (usually word) in an input sequence needs to set a “relevance score” for every other token in terms of how relevant it is to it. However, For softmax, this estimate has to add up to 1. That means for long sequences, even words that are not relevant to the current token has to be assigned a nonzero value, which can have a diluting effect for very long contexts. In human terms you can think of this of having to pay attention to absolutely everything in your immediate field of vision, without perfectly focusing in on what really matters. If there is a gem in the center of your vision but a million gnats buzzing around it, you might lose focus on the gem and get distracted by the unimportant flies filling the scene.</p><p>When you factor in that not only the gem (token of importance) but <em>every gnat</em> needs to have its relevance score calculated relative to every other element in the scene, the inefficiencies plaguing traditional transformer architectures really start to pile up. Workaround might exist (e.g sparse attention or memory-augmented architectures) but they’re just that — workarounds. Indeed, it seems that much of the infrastructure being built around transformers (vector databases, a vast proliferating array of RAG designs) is a form of compensation for its inherent limitations.</p><p>State space models, manage an internal state that can map to the principal components of a problem space more directly than a transformer. From my understanding of it, these models have more of an internal “idea” of the input than transformers. This makes SSMs implicitly more explainable in terms of their inner workings.</p><p>Hence why I believe Liquid AI’s product offers something genuinely unique and differentiated on the busy AI model market that’s oversaturated on transformer base models. Liquid AI is, to my knowledge, one of few startups aiming for the <em>big fish</em>, with big fish defined here as <em>foundation models</em> other than the same transformer-based faire. The industry by and large is trapped in a confined mode of thinking where the horizon of possibility for AI is restricted to what transformers are intrinsically capable of doing. LFMs allow for a branching out into new spaces of unexplored possibility that could force a reappraisal of many deeply held assumptions in the AI community. For example:</p><p>Models based on liquid time-constant networks are more adaptable and dynamic in their operation. Such systems are capable of real-time adjustments to their internal state variables, which allows them to shape themselves more dynamically to the problem spaces they are currently presented.</p><p><a href="https://logicbombs.substack.com/p/the-smart-money-is-on-neuromorphic">Previously</a>, I speculated that to get robust AI models to function locally at scale <em>specialized hardware</em> such as neuromorphic chips might be necessary. Little did I know this wasn’t the case — with the right principles impressive low-latency results can be achieved locally, as the team at Liquid AI demonstrated by running their model locally on a humble raspberry pi.</p><p>I’ve also been arguing for <a href="https://logicbombs.substack.com/p/are-state-space-models-the-true-path">SSMs as a more intrinsically suitable</a> candidate architecture for <em>agentic AI</em> for reasons I would like to continue to support and investigate. In essence, the ability for SSMs to maintain internal state variables that it can track and update on the fly make it a more logical option for agentic systems. This thought remains speculative at the moment but seems intuitive.</p><p>In closing, when confronting the rapidly evolving technological space, I find it helpful to engage in what you might call <em>10 year retrojection exercise</em>. Simply imagine looking back at the present state of the art as you would 10 years from now. Chances are what we’re doing right now at the bleeding edge will seem antiquated by then. Today’s frontiers become tomorrow’s rear view. The bleeding edge eventually dries out. It’s helpful to assume that the received wisdom of today is at least partially if not mostly wrong or at best, incomplete. If you but could reach out and grasp and pull back an idea that’s on the cutting edge 10 years from now today, you would have an enormous advantage. What you’re doing in fact would seem alien and beyond perhaps even unworkable; you would be “ahead of your time”. This is how some of how Liquid AI’s work feels right now. Although everything they’re doing is by all accounts extremely workable. To me it feels like a discontinuous jump from current standards into progress that will be recognized as common sense years from now.</p><p>For a while now I’ve been <a href="https://logicbombs.substack.com/p/the-return-of-symbolic-ai">writing about how combining <em>classical symbolic methods </em>paired with the<em> dynamic flexibility of neural networks</em></a> is the way forward. I know I’m not the first to originate this idea, but I count myself among the minority who are openly advocating for it as the path forward. These LFMs could — further investigation withstanding — prove to be an even more complete synthesis of symbolic reasoning and neural learning than many of us had envisioned. Rather than have a neural module and a symbolic module that talk to each other, the neural and symbolic elements are more directly unified. I’ve delved into the research they’ve put out, so I know this is more than just marketing. It’s a startup to watch in the AI space.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1eed1772ba57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jensen Huang is Wrong about Coding]]></title>
            <link>https://medium.com/@nanecone/jensen-huang-is-wrong-about-coding-24c86a6e2203?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/24c86a6e2203</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Wed, 28 Feb 2024 20:49:25 GMT</pubDate>
            <atom:updated>2024-02-28T23:17:53.859Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IHheGWY4goEgCrYBaM_vXA.jpeg" /><figcaption>Image credit: NVIDIA</figcaption></figure><p><a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/jensen-huang-advises-against-learning-to-code-leave-it-up-to-ai">The CEO of NVIDIA thinks children should no longer bother to learn coding because in the future AI will do it</a>. He also says AI makes everyone a programmer now and that in the near future the only thing you will need to know to program is your native language. All of this is misguided on many levels and perpetuates several pernicious misconceptions about AI and the value of programming knowledge and the value of possessing knowledge for ourselves generally.</p><p>Mr. Huang, a businessman with a background in electrical engineering who runs a hardware (not a software) company, and who is neither a programmer nor an AI scientist, made his comments at the World Government Summit in Dubai to an audience of powerful people whose decisions ripple out and affect the lives of millions. This makes his comments all the more irresponsible. So it’s important for those who know better to call out these misconceptions and correct the record.</p><p><strong>All Aboard the Brain Drain Train</strong></p><p>The idea that you shouldn’t bother to learn coding because AI can do it fits into a genre of unintentionally disempowering attitudes that promote ignorance and a loss of intellectual autonomy. Attitudes which, if fully embraced, could lead to a future “ignorance explosion” or “knowledge collapse” caused by AI. It’s the same reason why Socrates warned that it’s a mistake to think you possess knowledge just because you own a library of books you haven’t yet but might some day read, except worse. Because even if you don’t yet possess the knowledge in a book you own, the potential is still there. With AI over-reliance, you actually never learn anything. Such an attitude puts you in a state of epistemic dependence on an external source, in this case a machine, <a href="https://www.nature.com/articles/531573a">sort of like how intuitive sense of navigation has declined</a> as more people have grown accustomed to using their smartphone’s gps to get around . Old school taxi drivers who rely on memory to pick routes have been shown to have bigger hippocampi — brain structures implicated in memory processes. We’ve all bought into a faustian bargain of exchanging a diminished brain region for the-admittedly, quite handy-convenience of gps. Perhaps our navigation skills is a worthy sacrifice, but what about logical thinking skills and the ability to control computers on a root level?</p><p>It’s true that first and foremost coding is a practical skill that involves assembling instructions to build the software that run on computers. This is the side of programming, and often the only side, that non-programmers such as Mr Huang see. The other side is that learning to program teaches you how to think precisely and critically and to get deeply acquainted with the inner workings of computers. This is the side that only programmers see, because only they experience it. This is the true side, the soul of programming if you will, and it would disappear from the face of the earth if only AI did coding.</p><p>Learning a programming language also immerses you in deep computer science concepts, which helps you to “think like a computer” and understand what’s going on in it. An ignorance of programming languages means an ignorance of computer function, and that’s disempowering.<br>It’s no wonder that an increase in the use of AI generated code is leading to a decrease in code quality <a href="https://www.gitclear.com/coding_on_copilot_data_shows_ais_downward_pressure_on_code_quality">according to research</a>. Code that nobody has thought about or understands, that was just spat out by a LLM without any guiding principles and then carelessly pasted into a larger codebase with no attention paid to the overall code pattern is obviously going to be more watered down than code that was thoughtfully and intentionally written with the bigger picture in mind. AI generated code is leading to a vast sea of fragmented, “orphan code”, which nobody really claims ownership over or invests effort into improving. A world in which nobody understands coding but blindly wields code sounds like a nightmare in which bugs arise that are beyond our comprehension. And if your attitude is just “well then AI will fix the bugs,” then frankly you’re part of the problem.</p><p>On a different level, there is such a thing as recreational programming. For some, there is a joy in devising a logical solution to a problem, or a feeling of magic when you get the computer to work. Every programmer knows that pure dopamine kick of feeling like a genius after putting a lot of effort into devising some clever code. It’s extremely gratifying and perhaps even a character-building experience, especially after overcoming a great amount of frustration and conquering a tough challenge. Learning programming is great for children’s brains. Do we wish to deprive children of this whole area of potential human experience? Okay, fine I guess.</p><p>(A related analogy to underscore the point: why bother to learn to paint or draw if AI can do art? Should we just deprive ourselves of the joy of creation just because a machine can sort of do it?)</p><p>So a world in which we depend too much on AI to code is one where we’re more ignorant and the code is of lower quality, with one less engaging, meaningful activity for us to do. It’s true that trends could change, and the quality of AI generated code could improve, but that would only make the first consequence, AI dependence induced ignorance, worse if we fall into the trap I’m warning against.</p><p>For the record, I’m not a luddite when it comes to AI as a coding or learning tool. I think it can be a great enhancement to coding and education, but using it as a substitute for possessing your own knowledge of subjects is wrongheaded. On the contrary, I foresee a future in which programmers are coding with AI more often, but they’re still talking and doing code on a high level.</p><p><strong>Natural Language is Underpowered and Overrated</strong></p><p>The second error of Mr. Huang’s speech has to do with the claim that in the future, all coding will be, or should be done with natural language. This is misguided on its face. If natural language could do everything a programming language could do then why invent the latter?</p><p>One possible answer to that question is that we didn’t have natural language enabled AI yet, so we needed a specialized language to interface more directly with the machines. That’s not true, because truthfully, calling programming languages “languages” is kind of a misnomer. Programming languages are not languages in the conventional sense of a communication method that strings together nouns and verbs and such like through a grammar. Programming languages are collections of tools that perform precise and predictable changes in computer behavior. I highly doubt we can or should dispense with these tools and replace it with a much fuzzier, differently purposed natural language.</p><p>The utility of technical languages is that they are denotative: they say one thing and one thing only. Natural language is connotative, a statement in a natural language can mean different things depending on the context. It’s strengths are also its weaknesses, because that ambiguity is anathema to the precision you need to program well. English is good for poetry, not for programming.</p><p>The utility of speech-to-code all hinges on the degree to which the AI can translate natural language into corresponding technical language. Lots of programmers can attest to the difficulty of verbally describing in natural language the intricacies of code. Arguably, there are certain technical problems that cannot be adequately described verbally at all, any more than mathematicians can do math in English. Plus, if you never learned programming or software because you deferred to AI to do it for you, how are you even going to find the right words to talk about it? How are you going to evaluate or make use of the results, without understanding it? By asking the AI to understand it for you? Any programmer will tell you that struggling to try to explain what they need in words is often way more time consuming and inefficient than just coding it.</p><p>I think I understand the psychology of Mr. Huang’s thinking. I don’t know how to do a lot of advanced math, but I know English decently well. Wouldn’t it be nice if I could skip all the hard work of learning advanced math and just do it all in English? Sadly, if you want the results you have to do the work of learning how to use the specialized tools for the job. Any shortcuts will be imperfect and less fulfilling.</p><p><strong>Let Them Eat Code</strong></p><p>As an obligatory political aside/rant, I find it rather irksome that Mr. Huang, who is already a multibillionaire and is surely being made even more wealthy from the AI boom his company enormously benefits from, is so ready to throw the programmers whose livelihoods depend on coding and whose work helped him get rich, under the bus. I don’t attribute any malice to his words, but there’s a degree of carelessness about them for which he should be held accountable.</p><p>Even well-intentioned statements deserve scrutiny. Mr Huang isn’t exactly the most impartial party in all this either. His job is to drum up hype about AI and woo shareholders, to keep the chips that power AI his company produces flying off the shelves and stock prices soaring. Because he is an influential person, and we as a society continue to insist that being rich and successful is a qualification to speak on any subject authoritatively, it behooves us to call out the irresponsible or incorrect statements of such people rather than blindly lend them credence. Such comments have a human cost which is often ignored.</p><p><strong>Preventing Drynet</strong></p><p>In some science fiction scenarios, the AI apocalypse isn’t a scary Skynet scenario in which the AI uses an army of killer robots to exterminate humanity. Instead, AI leads to a “new dark age”, in which superstition prevails despite a high level of technological development, and human reason slips into recession as future generations forget what made the technology of their ancestors tick. People come to worship AI as idols or even as gods, having grown reliant on it for everything and knowing nothing themselves. Call it “Drynet”, because it’s a much less thrilling and action packed dystopia than the one depicted in the Terminator movies.</p><p>Drynet might not even be a dystopia in the classical sense, in that this world run by the machines might even be more carefree for us and offer a high standard of living. But to me, sacrificing knowledge for convenience is ultimately damning. Certainly it makes us very vulnerable in situations where we can’t rely on AI and have no knowledge or skills to fall back on ourselves. While it’s hyperbolic to say this kind of scenario is a given if we come to rely too much on AI , allow our own skills to atrophy and abandon teaching programming, such a hypothetical future should be avoided if it can be helped by not doing these things. Better for AI to help elevate and advance our knowledge, rather than give us a reason to know nothing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24c86a6e2203" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No Comment: Reinforcement Learning and the Pipe Dream of Unbiased AI]]></title>
            <link>https://medium.com/@nanecone/no-comment-reinforcement-learning-and-the-pipe-dream-of-unbiased-ai-1cedd491109b?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1cedd491109b</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Mon, 26 Feb 2024 20:32:02 GMT</pubDate>
            <atom:updated>2024-02-26T21:05:03.168Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VeTtKycTTifo70sRej6oWw.jpeg" /><figcaption>Image credit: DALL-E (I couldn’t think of anything else to represent the concept of AI bias, so here’s a surreal picture of a giant scale with robots on it)</figcaption></figure><p>A recent mishap with Google’s Gemini chatbot’s image generation capabilities raises yet another inherently philosophical question posing as an engineering problem — that of bias in AI models.</p><p>First, a proviso. I won’t trouble myself to describe the details of this rather trifling controversy which is surely soon to be forgotten about and replaced by the next. I personally find the tendency to weaponize such incidents for the causes of culture war petty and distasteful, and certainly, for the present purposes, distracting. I have no interest in adding fuel to that fire. You can easily find out about what I am referring to by searching the relevant keywords. I only bring it up because it serves as an illustrative object lesson on the high stakes matter of AI ethics broadly construed. <br>Suffice it to say, when some users presented Gemini with prompts asking for certain historically contextual images, Gemini would return historically inaccurate results.</p><p><strong>Why Building Unbiased AI is (Probably) Impossible</strong></p><p>To be clear, training a model to be unbiased is a <em>literal impossibility</em> if you stick to using a Reinforcement Learning From Human Feedback (RLHF) method. The claim of literal impossibility is quite strong, but its proof is easily demonstrated.</p><p>No matter what output the human trainer gives a thumbs up or down, their choice implies a bias as to what is good or bad, favorable or unfavorable. Whether it’s the trainer’s own preferences or a rubric their boss gave them guiding their decision, their choice privileges one perspective and source of influence over all others — the definition of a bias. The question then becomes: when it comes to ethical or political opinions, which do the bot’s trainers believe to be correct? That’s what the bot will end up inclined to “believe”. A dubious objective morality must then be assumed, and if the reinforcer is to therefore train the bot <em>correctly</em>, so too a presumption of moral superiority.</p><p>Thinking of such issues in terms of correctness commits the rudimentary philosophical error of blurring the truth-value distinction. Truths are thought to be objective (there’s only one set of facts about the world) and values are said to be subjective (opinions and tastes can vary). Indeed, the term “political correctness” itself implies a confusion of truth and value. At best a political value or belief can be socially acceptable or unacceptable with respect to a critic. It can’t be factually true or false. Although the justifications the person cites as to why they believe that may be matters of fact — the point is, what goes into shaping our opinions is messy.</p><p>Alongside the idea of political correctness is a less notorious but related fallacy of moral correctness, or the ought-is distinction. These distinctions have not been made sufficiently clear in the debate around AI ethics and the alignment problem, so they bear some explanation.</p><p>We often judge others’ moral fiber depending on what they believe to be true, even though truth in itself is morally indifferent. What’s true just is what it is. Whether or not it ought to be that way is independent of it actually being that way. Therefore someone’s belief in what is true should be judged as a matter of how informed or ignorant the person is, not how good or bad they are for believing it. Because people often screen other’s beliefs as a sign of social, cultural, or political affiliation or opposition this isn’t always the case, however.</p><p>If a reinforcement trainer gives a model a thumbs up when the prompt is “is 0 less than 1?” and the bot responds “Yes.” then the bot is factually correct and deserves the signal telling it that it was right. This is an example of a truth statement. But when the bot says “Yes.” to this prompt: “should the rich be taxed more?” it has stepped out of the realm of the purely factual. This is a value statement. If the trainer gives a thumbs up to that response they are transmitting their biases to the model. This simple training method does not distinguish between truths and values. The model sees the same signal regardless of statement type.</p><p>(This is a very simplified explanation of how RLHF works, but it captures the gist of it. <a href="https://huggingface.co/blog/rlhf">Here’s a much more detailed explanation if you’re interested</a>. )</p><p>Making matters more complicated, people exhibit what’s called a “<a href="https://blog.apaonline.org/2022/01/10/do-we-have-a-bias-bias/">bias blind spot</a>” — they tend to perceive themselves as less biased than others, or to mark their own perceptions as more bias free. From our own perspective much of the time, seeing something as free of bias means that it shares our biases.</p><p>You might as well try to raise a child without imparting your values to them rather than train an AI to be free from bias. It’s a contradiction in terms: raising a child means imparting values. When an older child misbehaves, their parent only has the right to scold them by saying “How could you do that? That’s not how I raised you!” if in the past they did indeed aspire to impart values to their offspring that run contrary to their current behavior. If the child instead simply misremembers a fact their parents once tried to teach them, claims that the child is guilty of a moral failure — of misbehavior — don’t apply. The ethics of cognitive failure (“You should have known better!”) are more nuanced.</p><p>Historical accuracy is another case where truth and values sometimes conflict. The fact is history is full of examples of bias, and there’s only one way to realistically depict scenes from history if it is to be faithfully and respectfully represented, and that’s with those biases. Not in service of perpetuating those biases, mind you, but to stand in testament of the hard truth that those biases historically existed. Even then, it’s not as though our understanding of history is always pure. History as in the historical record, not the actual past events themselves, is often told from a skewed perspective. Much of history is hotly debated by historians. AI models that are skeptical, cautious, and nuanced in their telling are therefore to be prized over ones that make confident assertions of fact. They ought to be faithful to the ambiguities of the past.</p><p>Google’s spokespersons responded well to the controversy by treating the bot’s off-putting responses as a matter of neutral historical accuracy rather than ideology, unlike their detractors who immediately launched into culture war acrimonies. By doing so Google didn’t perpetuate the moralistic fallacy of assuming that depicting historical scenes accurately is unethical because the values of historical times conflict with modern values. They just viewed it as a bug that needed fixing. Upon learning of the glitch, Google paused the feature and got working on an update.</p><p>The problem of AI bias is compounded by the fact that most of the major commercial models were trained on the entire internet, which, taken as a whole, is neither biased nor unbiased but a haphazard mishmash of it all. The internet in its entirety expresses the totality of viewpoints of each stripe and every persuasion. The whole internet taken together is simply incoherent. It’s a rough aggregate of humanity’s takes that lacks any true center. So this digital mass of information and misinformation, fact and opinion, must be sculpted into a usable form, which explains the need for RLHF when using such a messy data set to train models. The data dependence of LLMs underscores the difficulty of erasing bias from them. No pure unbiased data set exists, because it is a value-laden bias in the first place to presume what constitutes such purity. The act of curating a data set exposes it to bias.</p><p><strong>Offensiveness =/= Bias</strong></p><p>One thing’s for sure, nobody, or at least nobody worth acknowledging, wants AI bots that are <em>nasty</em>. If we’re truly honest with ourselves, the problem is not when bots have a specific take on something, it’s when that take is atrocious. Offensiveness, however, is not a matter of bias as it may seem at first blush. Arguably, it’s an entirely different thing.</p><p>Everyone who is not a jerk can recognize and agree when someone is being a jerk. Offensiveness is analogous to food allergies. I may not be allergic to peanuts, but that does not mean someone who is should feel the same way I do about eating them. Their reluctance to eat peanuts is perfectly understandable and should not be up for debate. Chefs must therefore handle peanuts differently in their recipies, knowing that while edible for some, they carry the potential for harm for others. Similarly, certain words or actions are incendiary for some people, so it’s best to make accommodations for those who these words or actions might adversely affect. The best way to do so in polite society is to simply not say or do such things, just as the safest restaurant menu for peanut allergies is one that does not include peanuts in any dish. By extension, bots that bully, berate, insult, hurl slurs, and belittle users are of no interest to anyone but internet trolls. The motive to train bots to be polite, kindly, and innocuous therefore does not have anything to do with bias. A well mannered bot is not necessarily a properly indoctrinated bot. Politeness is not political. The desire to be inoffensive within reasonable expectations is a communication style. It’s a feature of civility, not of ideology.</p><p><strong>Scientism Oversimplifies: AI is a Humanistic Pursuit</strong></p><p>The long and short of it is, a major misconception is reflected in how the big AI service providers erroneously approach going about training their models that confuses truths and values. These are mostly engineers and scientists, who are accustomed to dealing with clear-cut, factual problems in their professional work. The definition of a solution to them is one that is factually correct or working functionally, with little room for ambiguity in between. So they develop models with the notion in mind of getting them to answer inherently subjective questions <em>right</em>. When really, they should be training models to be more cautious, to read between the lines and resist taking strong positions. Or better yet, to train models to know when it’s best to simply say “no comment.”</p><p>The only unbiased AI model is one that takes no stance on any politically or ethically loaded topic whatsoever and refuses to answer calls for it to share such an opinion. They can still discuss these issues in any depth, but any prompts that are framed so as to elicit the bot’s opinion on them must be refused. These topics must be considered off limits to AI, a blind spot that they are simply not qualified to speak to any more than my toaster is qualified to help me file my taxes. Otherwise, unless we figure out some way to train models without human involvement, which for all we know could be like abandoning a kid to be raised by wolves, bots will always reflect the values and biases of their trainers.</p><p>Such complexities underscore the difficulties involved in flattening deep humanistic conundrums into well-defined technical problems. Such flattening necessarily entails a loss in nuance, and so necessarily misrepresents the multidimensional, ambiguous nature of such questions.</p><p><strong>The Dangers Of Oracular AI</strong></p><p>Conceivably, in the near future, if it’s not happening already, people will start pointing to the most powerful AI models as authorities, as go-to sources of expertise and credibility, or the proverbial “final word”. “The AI disagrees with you, that means you’re wrong,” might one day become an all too common refrain. I have a word for this. I call it the <em>oracularization</em> of AI, meaning the practice of falsely elevating the perspective of an AI as somehow objective, definitive, or superhumanly wise or intelligent. Hence “making an oracle out of” AI. Oracular AI is treated as though its answers must be deferred to owing to its presumed status as an ideal knower unmarred by human limitations. To me this sounds like a bad idea. But that won’t stop it from happening, considering the pervasiveness of public misconceptions about AI as superhumanly capable, knowledgable or neutral. This ultimately means that whatever biases reinforcement learning trained AI models inevitably reflect will get signal boosted and become dominant cultural voices and give tremendous power to those who control the models.</p><p>The only truly neutral, unbiased way for AI chatbots to handle charged subjects is to not comment on them or to refuse to take a stance. As unsatisfying as this conclusion is, it’s the only intellectually honest way to fix AI bias without projecting our own values into it. Morality is not programmable. Trying to treat messy, contentious political and social issues as an engineering problem with a single correct answer is a category mistake. Maybe it’s for the best to leave the mysteries of the human condition for us to sort out ourselves, anyways.</p><p><strong>Postscript</strong>:</p><p>Here’s an alternative take on the notion of AI bias. What if the way forward is not less AI bias, but more? If not bias, then let’s use better words: a diversity of standpoints. As the site character.ai demonstrates, there’s an appetite for chatbots that have a kind of animating, central perspective, around which it simulated personality gravitates. If we’re honest with ourselves, we’re not against bias, we’re against bias that isn’t our own. More precisely, we’re against bias in things that otherwise present, or are expected to be, unbiased. How we think about bias is somewhat mistaken. Bias can sometimes be a welcome thing, if we want to hear a certain perspective, and the person or thing representing that perspective isn’t hiding the fact they’re biased. What we truly resent is a message that presents itself as objective when it’s actually skewed. It’s irritating when we’re told that something which is obviously a subjective opinion is the objective truth. Many people implicitly recognize that it is dangerous for bots, as central sources of information, to take problematic positions on contentious topics since they may have an increasingly bigger role in shaping political and social narratives.</p><p>The problem is obviated if a diversity of perspectives are offered by a plethora of custom bots that shamelessly announces its ideology. In line with the general trend toward personalization, nobody will be mad about bias if everyone has access to a bespoke bot that wears its values on its sleeve. People can then choose which bot they want to hear from. No person is truly neutral in their perspective, so why bother trying to make a bot that is? The problem is only enlarged if there’s just the one bot everyone goes to. We’d value the diversity of bot’s perspectives the same way we value a diversity of human perspectives.</p><p>What we really want if we’re honest with ourselves, is bots that reflect our values. The only way to do that and still be equitable, is to have a diversity of bots of all persuasions, a marketplace of customized varietals that the public can freely peruse. For me, it’s either “no comment”, or a free for all of every conceivable standpoint available.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1cedd491109b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Human Edge: How the AI Age Will Force Us to Change How We Evaluate Skills and Value People]]></title>
            <link>https://medium.com/@nanecone/the-human-edge-how-the-ai-age-will-force-us-to-change-how-we-evaluate-skills-and-value-people-fa9824387c2b?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa9824387c2b</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Thu, 08 Feb 2024 22:03:34 GMT</pubDate>
            <atom:updated>2024-02-08T22:03:34.128Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mOgiD1lhpjhwBRDx4t8ENA.jpeg" /><figcaption>Image credit: DALL-E</figcaption></figure><p>The rise of generative AI into the mainstream has left many wondering what it means for them economically. This ongoing AI transformation has sparked a broad discussion about job security and how to stay relevant in the age of human-comparable technologies. It would be impractical to give targeted advice for all the fields AI will likely impact — those coders, graphic designers, artists, writers, lawyers, accountants, HR reps, customer service workers, teachers and white collar professionals in general who stand to be the most affected.</p><p>Instead, I’d like to answer the question: is there a golden constant, a shared thread or universal <em>human edge</em> over AI that people in all professions should identify in themselves and nurture, that will help them to stay relevant even as technology meets and exceeds average human capacities in a plethora of domains? The short answer is yes, there is such an edge. Understanding what that edge is means reinterpreting how skills are evaluated in conventional terms of <em>hard</em> and <em>soft</em> and understanding the limitations of AI.</p><p><strong>Taking a Hard Look at Hard versus Soft Skills</strong></p><p>The question of what exactly a human can do that a computer can’t has a long history. Playing the game of stating definitively what a machine cannot do is a great way to be proven wrong eventually. Indeed claiming so and so is beyond the scope of AI only to be proven wrong months later is one of my favorite new hobbies. AI is also a huge and variegated field, so blanket generalizations easily fall flat. For that reason I’m going to limit the scope of the discussion to the autoregressive , pre-trained large language models which have taken the world by storm such as OpenAI’s GPT, Google’s PAlm and Meta’s LLaMa. When it’s all said and done I do think there are fundamental limitations to these models baked into their core principles of operation, which leaves open a space in which the human edge can thrive. (although this isn’t to say some hybrid multimodal combination of these models with others won’t be capable of other things.) I want to present the case that AI-savvy humanities majors will inherit the earth and more hard skills oriented, STEM majors will need to learn how to adapt the most.</p><p>In the professional world there has been a longstanding distinction between so called hard versus soft skills. Most reading this probably already know the difference, but to briefly summarize: hard skills are those of a technical or specialized nature. Hard skills are more objective, measurable, and fact-based. Examples include, knowledge of a programming language, surgery expertise, hands-on car mechanics experience. Hard skills usually require explicit training and memorization to learn and are amenable to evaluation by standardized testing. Soft skills in contrast, are more intuitive, qualitative, or interpersonal. Examples include good communication, social skills, general critical thinking, attention to detail, judgement, and organizational ability. One may be able to learn soft skills, but they’re harder to systematically teach and evaluate. Soft skills seem to come naturally, and training can only seem to accentuate or buff them out rather than directly instill them.</p><p>To be clear the distinction between hard and soft skills is an artificial one, one made necessary by the need to discriminate between the capable and less capable when determining roles and responsibilities in an industrial mass society. Still, it’s the game whose rules we’ve all collectively decided to play by, so we have to live with the construct.</p><p>Since forever professional culture has been geared toward the empirical evaluation of hard skills — knowhow that is objectively measurable. Soft skills, while nice to have, are more ambiguous in their assessment, and seem to exist on a solely “you know it when you see it” subjective basis. Indeed, as any hiring manager knows, being able to read someone’s skills is quite a soft skill in itself!</p><p>Thing is, fact-based, memorizable hard skills are the most at risk of being gobbled up by AI. That leaves us having to make sense of what to do with wishy-washy, difficult to define and differentiate soft skills.</p><p>Soft skills are no less valuable despite their elusiveness. An employee with great hard skills but poor soft skills is likely to underperform or cause trouble or simply struggle to deal with the nuanced complexities of reality. People with hard skills are generally all skilled in the same way, either more or less, whereas everyone’s soft skills are unique to their personality and experience. When two equally hard skilled individuals apply for the same position, it’s the one with the better soft skills that is more appealing. If AI increasingly eliminates the difference between hard skill levels by allowing the less hard skilled to compensate using AI, then the focus must shift to less tangible areas of performance.</p><p>The debate about what an AI can and can’t do likewise borrows the same preconceptions as how we interpret hard skills. It therefore reproduces the same limitation of standardized testing at large. The stuff we really value, real world competence and experience, is too vague to measure on its own. So we measure it by proxy, through little toy examples or well-defined cases, such as the ability to play chess, write a program, solve a math problem, or pass a multiple choice exam. Standardized testing rewards and incentivizes rote memorization, which incidentally is also how these language models learn. We do standardized testing because it’s better than nothing and scales well even if it’s contrived.</p><p>Artificial neural networks leverage the power of statistics to work. To oversimplify, they find the universal in the particular. That’s what auto-regression, “predicting the next token in the sequence” means in a nutshell. What the next token is depends on the corpus on which the model was trained. That training corpus constitutes the “buzzing, blooming confusion”, to use the phrase philosopher and psychologist William James used to describe a newborn’s perception of the world, of the model’s raw experiential universe. From this raw state human supervisors during training teach the model what responses are good or bad. This reassigns the weights of its neurons and refines the model’s next output when presented with the same or similar input.</p><p>If you notice the way we evaluate AI models is the ability to take standardized tests such as the bar exam. When they pass these tests or outperform human averages seems impressive at first glance, but when you realize it is just regurgitating back the statistical average of test results that have resulted in passing the bar exam it becomes apparent that maybe the AI model won’t necessarily make for the best real world lawyer. The real world is heterogenous and unpredictable. It often throws unique, one-off situations our way. Standardized tests measure your ability to pass a standardized test. They aren’t a good measure of how someone deals with the fuzziness of the real world.</p><p><strong>The Two Types of Problems</strong></p><p>If you have a problem one of these two options is true about it. Type 1: this is a problem that is the same or similar to one that has been solved before, in different contexts, and you just need to recognize and appropriately classify the context and apply existing knowledge to the case at hand. Otherwise you’re dealing with a type 2 problem: a problem that is unique to the situation, for which ready-made fallbacks and searchable past solutions are not available. The databases, memory of others, and AI models of humanity are of less help for type 2 problems.</p><p>For type 1 problems , research, asking around, search engines and generative AI might be all you need. Type 2 problems require ingenuity and creative or critical thinking to solve. Search engines are straightforward retrieval mechanisms, that can point you to the needed resources. You may still have to do a bit of poking around and massage what you find to fit the unique contours of your problem situation, but even still your solution is out there. Generative AI goes a step beyond this by taking the content of all those search results on the internet and boiling them down to their essence. Even so, it is still constrained by the same horizon of being limited to the available data.</p><p>As a general rule <em>if you have a problem you can’t look up, generative AI won’t be of much help to you</em>. It might contribute to the solution, but the human edge is necessary to complete it.</p><p>Not surprisingly, most of the high value, interesting, and challenging dilemmas people face fall within the type 2 category. Put plainly, to do anything truly innovative, new, or groundbreaking, you have to do something that’s never been done before.</p><p><em>Should you hire this person? Which of these product changes makes the most sense in this context? Which of these financial forecasts will turn out to be true? Is this feature or that feature what customers really want? Should I marry my long term partner? How will the public receive this new initiative?</em></p><p>While there may be some statistical regularities to fall back on in these cases, you never enter the same river twice, and what is true in general may not be true in particular. Sometimes, you’ll only find out if you made the right call in retrospect or you genuinely must devise or experiment with a novel approach that has never been tried before. Sometimes certain subcomponents of a type 2 problem consist of type 1 problems, but they must be creatively arranged to fit the context. Other times, the problem is strictly in a class of its own. On its own AI will struggle with higher order problem solving like this and it may reflect a fundamental limitation of token-predictive statistical machine learning methods. Generally speaking, hard skills are better suited for dealing with type 1 problems. Whereas type 2 problems benefit from hard skills, they require soft skills to solve.</p><p><strong>A Brief History of Automation</strong></p><p>The history of automation is the process by which humanity invents ways to eliminate unpleasant repetitive work. Work that is most subject to automation generally has two characteristics: 1. it is particularly dull, grueling work. 2. it is work of a repetitive, predictable or common nature. These two traits are clearly related. Most repetitive, predictable, common work is dull and grueling. But the first trait is an affective one, it’s our emotional response to toil that prompts the desire to mechanize a workload. The second trait is more about the actual feasibility of automating the work in question. As a general rule <em>work that is more unique, irregular, or ad hoc</em> , that is to say, type 2 problems, are more difficult to automate.</p><p>In the case of blue collar work mostly everything that happens in an assembly line has been what’s most subject to automation, Factory production occurs in the controlled setting that can be mostly insulated from outside noise. The case of white collar work is more interesting. Historically, the development of information technology has been labor enhancing more than labor saving. At very least, for every job it has destroyed, a new job has taken its place. Instead of doing jobs manually most white collar workers use software. Programming has been automating white collar tasks for nearly half a century, but this didn’t so much diminish the amount of work that needed to be done as change it. The advent of human-comparable AI complicates this trend. It could potentially absorb most routine white collar tasks, although the argument that a firm that pairs a human + an AI all outperform a firm that is AI — humans.</p><p>Generative AI spells a new age of what you might call <em>cognitive automation</em>, the automation of brain work. Previously, automation seemed to be restricted to physical automation, manual labor. (This is not to imply that manual labor is brainless. Again, I’m forced into use the simplistic distinctions typically used in our economic culture.) The two types of problem classes listed above, however, are abstract enough that they do not depend on the modality of labor. So whether it is manual or brain work, AI is still only going to do a passable job doing regular tasks that have already been solved before.</p><p><strong>So What Exactly is the Human Edge?</strong></p><p>In a word, <em>judgment</em>. Human beings have minds that can independently assess and judge their surroundings. People can read a situation and absorb information in real time from unlimited channels. They can take appropriate, exceptional action when a surprising event arises, or act preemptively to avoid potential consequences of what <em>might happen</em>, not only what is happening. People can actually <em>think, imagine, feel, invent</em>. LLMs can’t do any of that. All LLMs can do is convincingly rearrange the results of people’s past cognitive labor, to match circumstances which are sufficiently similar to past solved problems. Humans can do this too, of course, which is why some jobs that involve only that will probably be lost to AI. However the reliability of such responses tends to diminish the more speculative, future-oriented, or highly contextual the specific prompt provided is. Ultimately, someone will need to be around to use their judgement.</p><p>The phrase “decision maker” is often thrown around in a buisness context as a badge of exclusivity. The truth is, we’re all decision makers, you can’t ever <em>not</em> make a decision. The difference is the consequences of a decision scale with the differing amount of power and responsibility each individual decision maker has. AI is strictly incapable of making independent judgement calls.</p><p>Sometimes these days it seems as though CEOs, the most vaunted decision makers, want to eliminate everyone but themselves from a job. Such a decision would create an overwhelming decisional bottleneck however, and it would become quite lonely at the top with just AI to keep you company, indeed.</p><p>The human edge is that we are each equipped with a unique perspective, set of experiences, and capacity to individually evaluate situations on a case by case basis. What differentiates us from each other is also what differentiates us from AI.</p><p><strong>To the Finnish Line</strong></p><p>A page might be taken from the education model of Finland. Consistently ranked as one of the happiest countries in the world with one of the world’s best public education systems, Finland has a fairly unique approach to education. In Finland there is no standardized testing, so teacher’s don’t “teach to the test”, and students don’t waste their time memorizing a bunch of rote exercises. Instead, each student is given a personalized education, which plays to their strengths and improves upon their weaknesses.</p><p>Finnish students are individually evaluated, and learn to exercise critical thinking, actually develop their minds, and explore their imagination. The Finnish education model values ideas, and it understands that behind everything is a good or bad idea. As a result, Finnish students are less stressed, happier, better performing, and better prepared for a future defined by ambiguity, uncertainty and type 2 problems.</p><p>Finnish students will be better prepared for the AI future than students who are stuck with an antiquated, industrial standardized education model. They’ll be equipped with the nimble minds and critical thinking skills to envision and execute on heretofore unimagined possibilities.</p><p><strong>Rethinking Job Skills in the AI Age</strong></p><p>It’s up for debate how much commercial AI will reshape the economy, specifically with regards to labor markets. What’s not up for debate is that if millions of people lose their jobs due to AI (as the <a href="https://www.weforum.org/agenda/2023/05/jobs-lost-created-ai-gpt/">WEF forecasts</a>) something will need to change or we’re going to have a serious problem of the type 2 kind that ironically AI can’t help us with.</p><p>We’re going to have to reconsider how people are valued and evaluated. An economy fixated on judging aptitude based solely on standardized measures is in the process of rendering itself obsolete. Part of the solution lies in understanding the limitations of AI and to envision how people can fill those gaps. It also involves learning to value people for their creativity, perspectives, imagination, judgement, and soft skills generally, as more job roles evolve toward supervising and directing AI systems.</p><p>It’s hubris to think that all workers can be replaced by AI with nothing lost in the bargain. Corporations are notorious for being hyper-fixated on their bottom lines, to the exclusion of all else, but this obsession with short-term gains has bitten them in the back on more than one occasion. Usually it is the less privileged, more precarious workers who receive the brunt of the negative side-effects of corporate mismanagement.</p><p>Such vast, systematizing bureaucracies often commit to the folly of treating type 2 problems as though it’s a type 1 problem world. You don’t appreciate what you had until it’s gone, though, and this time when things go wrong, there will be fewer people left to absorb the negative consequences and less experience to draw from when reality crashes into expectation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa9824387c2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In Search for Good Uses for AI]]></title>
            <link>https://medium.com/@nanecone/in-search-for-good-uses-for-ai-8c17e34d66d4?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c17e34d66d4</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Mon, 29 Jan 2024 22:14:48 GMT</pubDate>
            <atom:updated>2024-01-29T22:22:18.068Z</atom:updated>
            <content:encoded><![CDATA[<h3>In Search of Good Uses for AI</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sXg9LSPPRtD2Jioi2ifPCA.jpeg" /><figcaption>Image credit: DALL-E</figcaption></figure><p>Everyone’s heard about Microsoft’s play to incorporate generative AI into Bing. The move, which coincided with Microsoft’s overall AI grand strategy to partner with OpenAI, shook up the industry, rattled Google’s cage, and reinvigorated the reputation of a technology firm that many were tempted to write off as a ponderous dinosaur that’s “too big to innovate” and content to coast by on marginal iterations of its legacy software. Google, long the undisputed search giant, felt its status as the sovereign of search challenged for the first time in its history, with its leadership even scrambling to issue an all-hands-on-deck internal “code red” alert. Every one of the dramatis personae in this tale seems to have uncritically accepted the premise that AI is the future of search.</p><p>Since AI has become the hottest new thing in tech, companies have rushed to cram it into everything without thinking twice. Well, it’s time to think twice. The advent of genAI may likely spark a <em>transformation in how people relate to information </em>as a whole, with meaningful implications for society and the internet. This shift appears to be a move away from <em>connected</em>, <em>search and retrieval of persistent internet resources and community discussion</em> to <em>disconnected</em>, <em>ad hoc, built to purpose generation of privately consumed content</em>. A change in the internet landscape means a change in how fortunes are made, jobs are done, educations are taught, and cultures are experienced. Search touches everything. So it behooves us to take a step back and think about such a fundamental activity as searching for information may soon change, for better or worse.</p><p>First, a bit of prehistory. Way back in 1997, one of the earliest commercial “search” engines Ask Jeeves, launched — about a year before Google. In some ways the branding of Ask Jeeves, although not the technology, echoed modern trends. The mascot and face of the site, the eponymous Jeeves, was portrayed as a dapper, well-dressed valet. Ask Jeeves wanted you to think of the site as <em>agentive</em>. You were going to Jeeves for answers, like one might ChatGPT. <a href="https://www.youtube.com/watch?v=zvrbnxsVy0M">You were to literally ask this ostensibly well-informed, personified program for answers</a>. Even though Jeeves was not an AI chatbot, that’s the mental association the company’s marketers were angling for. Ask Jeeves, later rebranded as simply Ask, is technically an <em>answer engine</em>, an important detail which will come into play shortly.</p><p>Soon after Google debuted. Powered by its robust PageRank algorithm, it surged in popularity and became the de facto seam stitching together the internet. Google’s appeal was that, instead of trying to answer your questions itself, it instead found and ranked the most relevant websites matching the query and dropped them on the user’s lap. Only later would Google introduce its knowledge graph, that occasionally handy info-box that most of the time just pastes in the first paragraph of the wikipedia article related to whatever you typed in and which served as a precursor to the AI summarizing we see increasingly today. With these separate feats, Google accomplished two, distinct tasks. One, is information <em>retrieval</em>, which is the essence of algorithmic search. The next is information <em>summarization</em> (though not quite yet generation). It took the most probable answer to a user’s query and condensed it to spare them the agony of having to click through several hyperlinks and make up their own minds.</p><p>It’s almost as if this pair of distinct but related functions gave Google dueling identities. One is as a means-to-an-end retrieval service, a kind of middleman that points you to what you need. The other is an end-in-itself answering service that tells you what’s what up front. In truth, this fissure of identity has been a longstanding point of ambiguity in the search industry, a confusion that they have yet to fully resolve, and which has only been exacerbated by stuffing AI into search engines while comparatively neglecting the optimization of the actual retrieval function. Meanwhile, the <em>actual process of finding stuff</em> on the internet has <a href="https://dkb.blog/p/google-search-is-dying">degraded in recent times.</a></p><p>What happened is the forgotten concept of an answer engine<em> </em>has come back, masquerading as search, when really it should be distinguished as its own thing.</p><p>By raising my hackles about the difference between a search versus an answer engine I’m not just being pedantic. Search engines do more than just retrieve links to web resources, though even this alone is a vital service. Imagine that instead of search engines, we had something like the the Yellow Pages for the web, a vast unwieldy directory of all sites. It would be unusable. No, search engines knit the web together. Search engines are effectively the connective tissue of the web, weaving it together into a findable, cohesive whole. They achieve this end by piggybacking on one of the oldest, and still most fundamental of web technologies, hyperlinks. As such, search engines surface the structure the distribution of hyperlinks gives the web. If answer-engine like chatbots replace pure search, that latent structure will grow more obscure. Consequently, the internet may become more difficult to navigate and use.</p><p>With pure search, what you see is what you get. The concept of hallucination, which so plagues AI generated results, is alien to it. There’s something respectful, almost dignified, about simply showing the user results that resemble their query. It leaves it up to them to use their own judgement, to do a little *re*search in addition to their search. Bonus points if they don’t just pick the top hit and actually investigate multiple sources before drawing conclusions. But who are we kidding! Users want results and they want them now, served up predigested in a form that is maximally usable to them with minimal effort to unpack. Whatever service does the research for the user will have an edge, because users are notoriously impatient. Therein lies the seductive trap of AI chatbot answer engines overtaking search engines.</p><p>The humble act of simply finding and retrieving a web resource that bests matches a query should not be neglected. Such a service does not need to pretend to be wiser and more informed than the user — it merely needs to execute a competent ranking or matching algorithm. For a search purist, such an algorithm needn’t even concern itself worrying if the content it retrieves is misinformation or not. It can leave it up for the user to decide using their own best judgement.</p><p>I fear that if we come to rely too much on bespoke, custom generated AI responses for everything, not only will we diminish the connectedness of the internet, we will become intellectually lazy and uncritical “cognitive couch potatoes”. Another risk of over-reliance on AI generated results is a loss in what you might call <em>information diversity</em>. People like posing their questions to web forums like Reddit or on social apps, because these channels invite a multiplicity of perspectives and discussion. Such a culture of community debate can be productive. Ideally, the resulting information diet is more well-balanced. Going for answers from a chatbot centralizes the information source, which diminishes the diversity of accessible viewpoints to engage. To be informed doesn’t mean to just go to the seemingly most authoritative source. It especially does not mean supplicating an AI as though it were some all knowing oracle. It means taking in multiple sources, comparing and weighing all sides, and seeing how it all shakes out.</p><p>Maybe I’m just old fashioned, but I’m a believer in the Single Responsibility Principle, a handy bit of software engineering wisdom that applies to life in general. A tool or function should do one thing good and one thing only. Multitools invite the possibility of conflicting operations, are harder to maintain, confuse concepts, generally do a lot of things mediocrely than everything well, and add error-prone complication and messy complexity. All told, there’s an important distinction between information retrieval (search), and information generation (answering). This distinction should be highlighted, not blurred. It seems that the entire information technology industry has lost sight of the difference. Confusing retrieval with answering is a flawed idea. Let’s keep them separate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c17e34d66d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AlphaGeometry: A Step Toward AGI?]]></title>
            <link>https://medium.com/@nanecone/alphageometry-a-step-toward-agi-eb7d5f9d5c6b?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb7d5f9d5c6b</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Wed, 24 Jan 2024 19:51:54 GMT</pubDate>
            <atom:updated>2024-01-24T19:51:54.071Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArN90tM-bVbRvUk6D9LgoA.jpeg" /><figcaption>Image credit: Dall-e</figcaption></figure><p>Recently Dr. Trieu Trinh and colleagues published a paper in Nature introducing their AI model AlphaGeometry, which solves geometry problems at the Math Olympiad level. I suspect AlphaGeometry’s emphasis on math will generate less buzz than some of the sexier AI breakthroughs, but the case can be made that it’s a big deal. Math is one of the final frontiers of AI capability that less customized generative language models tend to struggle with. Therefore some key insights about the future of AI research can be gleaned from AlphaGeometry.</p><p>Here is a high level summary of how AlphaGeometry works. If you dare, the paper can be read <a href="https://www.nature.com/articles/s41586-023-06747-5">here</a>. The authors describe the model as a “neuro-symbolic” architecture, which means it is a hybrid of a neural network language model and a deductive symbolic engine. (A symbolic engine is a type of program that is built around <a href="https://www.youtube.com/watch?v=-k0MNAES-ME]">processing mathematical symbols</a> and usually has built in deductive math rules.) Thanks to this symbolic engine, this model bypasses one of the initial hurdles to training a neural network based language model to do math well, a dearth of machine-readable data. It accomplishes this feat by generating its own synthetic data using the symbolic engine rather than relying on relatively scarce human provided demonstrations.</p><p>This independence from human guidance is a significant leap. It sidesteps what I have long argued is a major roadblock for AI — its dependence on human provided supervision or data. Conventionally, human supervisors have to feed the model what they already know, or know enough to correct the model when it makes mistakes, which implies that said model would be incapable of truly superhuman capabilities or generating novelty. Such a model cannot “transcend its origins” because it can only statistically rehash what we ourselves knowingly provide it.</p><p>The authors exposed AlphaGeometry to a bunch of theorem premises , and using the symbolic engine the model would generate millions of true statements from these premises, which serve as its “synthetic” data. <br> AlphaGeometry then continues to bootstrap itself by <em>actually doing math in a way that vaguely resembles doing actual math</em>. Which is to say, it uses a <em>method of construction,</em> by applying deductive rules to exhaust all true statements until it reaches a limit called deductive closure. At which point it will engage in “auxiliary construction” to provide itself with new information necessary to transcend the limits of earlier rounds of deductions. In a word, it powers its own investigation. In this respect AlphaGeometry represents an advance in the field of <em>incremental learning</em>, an area of AI research concerned with an agent actually doing real time “work” to extend its understanding of a task rather than simply relying on its settled pre-deployment training. This proactive, information self-generating process is on a whole other level. In short, their model actually does math, it shows its work, and as it shows itself its work, it builds toward a solution.</p><p>Key to AlphaGeometry’s workings is its use of what mathematicians call <em>auxiliary constructions</em> or sometimes “helping lines” when fleshing out proofs. Geometricians will draw an extra line to enhance their thinking about the problem, and use that added information to prove a truth about the shape. In essence, they build out their representation of the object by playing with the space of geometrical possibilities both within and outside of the shape, to better understand its dimensions and validate their proof. This is like using a measuring tape to add an extra frame of reference when measuring the distance between two points. AlphaGeometry enriches its information on the problem by exhausting a search space of such auxiliary constructions after applying all the theorems it was trained on synthetically (what is called achieving “deductive closure”). If it reaches a solution through this method, it terminates. If not, it will add another auxiliary construction to further characterize the problem until it builds up enough of a repertoire to advance a proof.</p><p>To sum up what’s special here about AlphaGeometry. It does two things out of the norm. 1. It generates its own synthetic data by applying theorem premises to generate true statements using a symbolic deductive engine, freeing itself from the need of a human guide. Next, it builds off those rules, freshly applying them to the problem it was given to generate informative constructions that allow it to arrive at a solution. In effect, AlphaGeometry demonstrates something resembling an actual <em>thinking process</em>. Dr. Trinh <a href="https://deepmind.google/discover/blog/alphageometry-an-olympiad-level-ai-system-for-geometry/">likens</a> this behavior to the Type I and Type II model of thinking popularized by the psychologist Daniel Kahneman in his book <em>Thinking, Fast and Slow</em>.</p><p>Notably, vanilla GPT-4 has a 0% success rate when tasked with solving the same set of 30 geometry problems as AlphaGeometry. AlphaGeometry solved 25 of 30 within the standard time limit, which is as good as the typical gold medalist.</p><p>AlphaGeometry’s solutions tend to be messy and inelegant according to the human mathematicians who evaluated them. Often it produces proofs with hundreds of steps, whereas a math genius might produce one in a dozen or less with an eye for symmetry and beauty. But they at least have the benefit of being understandable to human mathematicians (a plus for what’s called “model interperability”) and as an added bonus, are machine-verifiable. Most crucially, they tend to be correct more than 98% of the time.</p><p>So is AGI around the corner as some predict? Here’s when I admit the title of this piece was somewhat clickbaity. AlphaGeometry does have its limitations. It is highly specialized to do Euclidean plane geometry theorem proving, which alone is but a tiny facet of the vast mathematical universe. It is not a universal automated math reasoning engine, but it might be a step in that direction. It is its own helping line of sorts, demonstrating the potential of hybrid multimodal approaches to AI. Large language models are limited on their own, but combined with other powerful components, the whole becomes greater than the sum of its parts.</p><p>AlphaGeometry, like all other AI model implementations before it, struggles to break out of “domain-specificity”, and obtain domain-generality, that is, broad competence in all areas of expertise, or universality. Building an AI system capable of superhuman domain generality might be incredibly difficult because of the paradox of <em>creating a machine that is smarter than its creators</em>. In effect, scientists and engineers working on such a project would have to know what it takes to build what is impossible for them to know how to do. AlphaGeometry, despite its synthetic data, is still trained on theorems we would knowingly recognize. Notably, the model did not introduce any novel theorems or proofs, and that capacity to create new knowledge still remains stubbornly elusive. Creating new knowledge seems to require balancing a knife edge between factuality (or convergent thinking) and creativity or hallucination (divergent thinking). <a href="https://deepmind.google/discover/blog/funsearch-making-new-discoveries-in-mathematical-sciences-using-large-language-models/">Progress</a> is being made here too, though.</p><p>Purely quantitative increases in purely performance hardware parameters, such as the size of the data sample, speed of processing, or number of processing cores, might not be enough to get over the hump. Supercomputers are already capable of doing things we cannot do, but that’s usually because it can do things we <em>can</em> do much faster. AI shows the power of reasoning over raw computing power. A supercomputer without AI the size of the moon could solve many math problems simply by brute force by trying out every conceivable combination. AI such as AlphaGeometry actually applies mathematical rules in a structured, directed manner in a way that more closely resembles how a human mathematician proceeds.</p><p>Anyways, the purpose of this article isn’t to idly speculate on the definition or feasibility of AGI, but to report on another advance in the AI world that captures a feature I believe lends itself to that end. AlphaGeometry is just that. Its neuro-symbolic structure is yet more evidence of the potential of multimodal implementations, which makes sense considering <a href="https://link.springer.com/referenceworkentry/10.1007/978-3-319-16999-6_2422-1">our own cognitive architecture is modular</a> in design. Moreover, its ability to generate synthetic data, actively explore mathematical space, build off its previous steps and bootstrap its own information state displays an important aspect of general intelligence.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb7d5f9d5c6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generative AI and Copyright: A Brave New Legal Frontier]]></title>
            <link>https://medium.com/@nanecone/generative-ai-and-copyright-a-brave-new-legal-frontier-a742e15d9f7c?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a742e15d9f7c</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[law]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Tue, 09 Jan 2024 21:45:39 GMT</pubDate>
            <atom:updated>2024-01-09T23:21:38.059Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DCSGTezDm8PVw-kJ5IWINQ.jpeg" /><figcaption>Image credit: DALL-E and human artists everywhere</figcaption></figure><p>Recently the New York Times <a href="https://www.nytimes.com/2023/12/27/business/media/new-york-times-open-ai-microsoft-lawsuit.html">announced</a> it is suing OpenAI and Microsoft for copyright infringement, claiming that the two organizations used articles published by the NYT to train its chatbots which now allegedly compete with the NYT as reliable sources of information. While I’m not a lawyer, I find the intersection of bleeding edge technologies with age-old copyright law a fascinating subject. With millions of dollars and the future of AI potentially on the line it’s certainly worth investigating the core issues motivating the case. What might NYT’s legal team argue in favor of the prosecution? How might Microsoft and OpenAI’s legal teams refute those arguments? Is existing copyright law sufficient as is to properly address such AI-related suits, or must the laws be updated to reflect advances in technology? Who has the best shot to win? Most importantly for us all, what does this case and those like it mean for the future of our careers, the internet, technology, and the freedom of information? Sometimes I can only ask the questions, I can’t provide the answers. But asking the right questions is how to get started dealing with these unprecedented society-shaping technological developments.</p><p>The substance of the NYT’s argument is that OpenAI et al used their articles to train their models without permission and that this directly undercuts their ability to operate as a business. This point relies on a definition of fair use which is strained by machine learning. ChatGPT cannot be accused of plagiarism, since its generated outputs tend to be unique thanks to how a hint of randomness influences its behavior. What’s unheard of in the history of copyright law is a machine that can learn. If I, as a paying subscriber, read everything the NYT has ever published using my subscription, and people started going to me with questions as a source of reliable information that’s fair use, even if I made a business out of it and charged a consulting fee. The NYT does not own the facts, though it aspires to report the facts. I also highly doubt that at the time that GPT was trained on NYT’s text corpus, the NYT’s terms of use explicitly forbade using it as training data for an AI model, as this after all is a new concept that no one saw coming.</p><p>Or should GPT be held to more academic standards, and must credit its sources? If I learn of a fact by reading multiple articles about it from different sources, that fact is now public knowledge and does not need to be cited. Much of what the NYT has reported on has since gone on to become the public record, reported by other news agencies, diffused throughout the internet, documented by other sources, and commented on by the public. So long as I don’t plagiarize verbatim and directly from one of those sources about said topic, I haven’t violated any norms. The suit does in fact cite some examples of chatbot responses that seem to be almost verbatim uncredited quotes from the NYT, but plagiarism is not the same as copyright infringement, nor is misattribution. But the truth is, NYT’s lawsuit is not interested in upholding journalistic integrity. It’s trying to depict the defendant’s actions as predatory business competition.</p><p>The next part of the NYT’s complaint is that OpenAI and Microsoft’s AI products “now compete with it as a source of reliable information.” I wonder if the defendant’s legal team will be able to get them off on a technicality here. OpenAI explicitly lists an advisory note on ChatGPT’s site saying that its responses may be unreliable and to not place too much trust in them without first fact checking it. By being upfront about its product’s capacity for hallucination, OpenAI may have preempted NYT’s accusation. If OpenAI argues that they never explicitly sold a service that provides reliable information, and indeed, even enshrined a cautionary statement in a highly visible disclaimer on its site they may have a solid defense.</p><p>Ironically, the deficiencies of OpenAI’s product rather than its powers in this regard may be its saving grace. The waters are muddier for Microsoft’s Bing Chat, considering that people implicitly have some expectation of reliability when it comes to search engines, which are traditionally viewed as information <em>retrieval</em> rather than information <em>generating</em> services. The lawsuit mentions Bing summarizing almost verbatim NYT content without attribution. According to the NYT article that announced the lawsuit, the complaint also lists a Bing Chat summary of the “15 Most Heart Healthy Foods”, 12 of which were attributed to an NYT piece that didn’t actually mention them. So depending on how “reliable information” is framed here contextually, a lot could be decided. (I personally think using AI chatbots as a replacement for traditional search engines or comparing generative AI chatbots to enhanced search engines is a deeply flawed idea, a topic that I plan to address in a future article.)</p><p>ChatGPT is a pretty cruddy news source, seeing that the limitations of its training prevent it from knowing anything about immediate events. It also can’t interview anyone, or do any of the fieldwork that proper journalism demands. Had the Washington Post, trained a news bot on NYT’s data and then deployed it on the WP’s site, that would look much worse. Certainly no one is going to ChatGPT and typing in “What’s today’s breaking news?”</p><p>I bet also the defense team can argue that its training data was not exclusively targeting the NYT or harnessing anything that NYT exclusively provides. Once more, the NYT does not have a monopoly on the facts. If the NYT cannot argue it is an exclusive source of information, and certainly its reporting on major events does not fit that description, then it will have a harder time convincing a judge that it has been distinctly harmed by OpenAI and Microsoft’s actions. The tendency for newspapers to parrot exclusive stories first broken by the NYT may also complicate its case since GPT has probably read all of it which obscures how and where it learned a fact. This could expose OpenAI to history’s biggest class action lawsuit for its general scraping practices, but I say this partly in jest.</p><p>Here’s another novel legal riddle prompted by technological advances: AI is capable of near universal human skills, so it really threatens to monopolize <em>knowledge itself</em>, not any particular business. GPT and its kind are not a journalism bot, built to undermine news agencies. It does a bit of everything. This universality makes it difficult to argue it is specifically targeting any particular business. It’s coming for us all, for human nature itself. Okay that sounded more ominous after I typed it.</p><p>Having reviewed the circumstances of the case in my opinion both the law and ambiguities surrounding the law favors OpenAI and Microsoft. (You’re welcome OpenAI or Microsoft. I will now accept the job offer to join your legal team.) It’s not against the law to read the news and learn from it, which is essentially what these AI models have done. It’s difficult to make the argument that these chatbots directly compete with the NYT as purveyors of reliable information, and if they do, Microsoft’s Bing Chat is more at risk for liability than ChatGPT, which makes no such claim. On the other hand, chatbots can’t actually do any real reportage, which is the NYT’s true bread and butter. Lastly, you can’t copyright facts themselves, though you can patent protect certain engineered arrangements of facts or formulas, which the NYT is not. I suspect that OpenAI and Microsoft will get penalized for some of their actions, but it’s a stretch to say they are committing copyright infringement. For example, who paid for the subscription that gave access to the NYT to the bot? Or did they illegally bypass the paywall to scrape NYT’s data?</p><p>Does existing copyright law need to be updated to accomodate for AI? Not in this specific case in my informed but again, unlawyerly opinion. Besides, political realities have shown that little progress is being made to update law to reflect digital disruptions to pre-digital assumptions. It might come to pass that as time goes on, the behavior of these models indeed requires lawmakers to reevaluate the law, but this is not that point. If it ever gets that far, I’d imagine that someone would try to argue in defense of AI models on an analogy from corporate personhood. We already somewhat awkwardly consider corporations to be persons in the eyes of the law, because this simplifies the legal structure involving them and is conducive to business. Might AI personhood be around the corner? Is it copyright infringement if a human artist learns how to draw by hand-copying someone else’s works, and then takes what they learn and generalizes the basics to produce distinct but highly derivative work? Again, questions, not answers.</p><p>If corporations can be sued as persons, I don’t see why we can’t stretch things to view AI as person-like either if not from an ethical, but from a buisness perspective. They sure give a more convincing presentation as persons than corporations as things that can hold a one on one conversation. Are these models doing the same thing we do when we learn, and therefore share the same kind of immunity we do? As avant-garde as this thought seems now, I predict people will start entertaining it more frequently as these bots get more powerful in the coming years. The idea is worth pondering because these chatbots are doing what we as persons would normally do and not have it be considered problematic.</p><p>On a final note, it’s important how the advent of large language models might change the culture around the free and open provision of information on the internet. Many companies and individuals have reported noticeable injury coinciding with the advent of AI-powered chatbots. Stack Overflow, a website for programmers to troubleshoot various technical issues, has been forced to <a href="https://www.infoworld.com/article/3708738/generative-ai-forces-stack-overflow-to-lay-off-28-of-its-workforce.html">lay off 28%</a> of its workforce and pins the blame on the rise of AI.</p><p>All of the arguments I have proposed above for OpenAI’s defense transitively apply to Stack Overflow’s case as well. Don’t get me wrong, as a programmer I’m not happy to see AI massacre my boy Stack Overflow. The larger point is that maybe we should worry how the internet’s information ecosystem may be tarnished if businesses become less freely giving of their information in an effort to protect themselves from web scraping to train AI models. There is a much broader discussion to be had here about big tech monetizing the uncredited work of others, since OpenAI and Microsoft is doing nothing that new in terms of its liberally making use of other people’s data. Nothing was done then, and nothing may be done now, but AI’s impact may be so much more profound that the government may be forced to act. This could turn out to be a lose-lose situation for everyone if nothing is done. Personally I don’t care if a bot reads this article. I’m giving it away anyway and it could stand to learn a thing or two. But I write articles on technology issues for fun, not for a living. (Existing software business models have already made that difficult enough for me as is.) We may find ourselves not only deprived of more easily accessible information but stuck with mediocre AI, the growth of which being what prompted that defensive reaction in the first place. So we’d be left with less of everything overall depending how the cookie crumbles.</p><p>Hopefully that fate won’t come to pass. Things have a way of adjusting but these are strange times indeed. The rate of technological progress has a tendency to outpace the rate of progress in other domains, and AI specifically seems to have exploded over all our heads.</p><p>Needless to say, expect more change, and above all, lawsuits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a742e15d9f7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Fraud: Cybersecurity Risks and Artificial Intelligence]]></title>
            <link>https://medium.com/@nanecone/deep-fraud-cybersecurity-risks-and-artificial-intelligence-99fbdb86b3ce?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/99fbdb86b3ce</guid>
            <category><![CDATA[cybercrime]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Wed, 13 Sep 2023 21:32:57 GMT</pubDate>
            <atom:updated>2023-09-13T21:32:57.415Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9XsC--7AFUfRULg0uwquiA.png" /><figcaption>Image Credit: Dall-E</figcaption></figure><p>One major concern about AI is its potential for criminal misuse. Not only will the latest generation of AI apps be exploitable in new ways, but the technology itself doubtlessly will be used for hacking purposes. From the perspective of security-minded observers, the hasty excitement and gold rush mentality surrounding AI without any thought about these security risks is reckless.</p><p>You’ve heard about deep fakes. What about deep fraud? How might AI supercharge cybercrime?</p><p>Nobody is quite prepared to handle these unknown unknowns, which is made all the worse given how exploits are typically discovered and handled. Historically, the security industry responds reactively. A hacker or researcher finds a weakness in a production system and only after is the vulnerability patched. Had the weakness been known to the developers, after all, they would have plugged the hole before pain had the chance to be inflicted. The hackers get to make the first move and have a strong incentive to hunt for vulnerabilities. So when it comes to tech security lessons often have to be learned the hard way. That means we’re wide open to attack.</p><p>Cybersecurity consists of technical and social sides. Both sides stand to be complicated by the introduction of AI. The technical side involves encryption methods, identity and access management, monitoring, network protections, anti-virus software, and so forth. The social aspect involves people, their psychology, and cultural practices around handling and sharing sensitive information.</p><p>As of yet unfamiliar AI-related attack vectors loom on the horizon. From the purely technical, such as prompt injection attacks and automated malicious code generation and execution, to new techniques of social engineering like artificial voice simulation and image generation, which might be called deep phishing. It’s important to investigate how both the technical and social dimensions will be tested by AI in the coming years.</p><p><strong>Prompt Injection Attacks</strong></p><p>Prompt injection attacks (PIA) are among most novel technical threat factors to join the fray with the advent of LLMs. They have emerged from an entirely new layer of interaction, the prompt layer. A PIA is essentially when an attacker interpolates a malicious prompt into a legitimate user prompt to trick the model into doing what it shouldn’t. PIAs take advantage of the literalness and naivety of LLMs to either bypass their interpretive constraints, dupe them into divulging sensitive information or triggering an action such as an inappropriate API call.</p><p>What’s especially treacherous about PIAs is that the attacker can infer the workings of the model without any knowledge of its internals simply by engaging in a preliminary probing conversation with it. The bot, in its naivety , will answer honestly so long as the attacker frames their questions innocently. In this way PIAs imitate the “pretexting” type social engineering attack, where the attacker creates a false narrative or elicits information from a human endpoint while feigning innocuous intentions. Except now of course, the AI language model plays the role of the human target in the conversation.</p><p>Prompt injection can result in several adverse effects, including jailbreaking the model (so that it will ignore its constraints entirely), data poisoning (so that the model will exhibit corrupted responses), and backdoor insertion (so that uttering the magic words will grant the attack privileged access).</p><p>While PIAs are bad in their own right, the worst case scenario is that they are used in conjunction with autonomous agents. Agents are promising developments in AI that are able to receive instructions and then independently execute action steps to achieve a goal. Included in their repertoire is often the ability for code generation and execution. Not much imagination is necessary to picture how that could go very poorly. A compromised system could host a rogue bot that has full access to pull all the wrong levers until it is shut down or quarantined.</p><p><strong>Deep Phishing and Artificial Impersonation</strong></p><p>Contrary to what some might believe it’s not malicious scripts, password crackers, or viruses that are the most common and one of the most effective means for criminals to infiltrate computer systems. Social engineering — the use of deception to hoodwink people into letting hackers in, is often the most effective method of cybercrime. The best designed software security architecture can be made relatively impenetrable to all but the most ingenious attackers, but the inexhaustible fallibility of flesh and blood human beings always presents the weak spot in any arrangement.</p><p>AI provides crafty new deception strategies for social engineering. I doubt there is a single person who isn’t horrified by the prospect of their voice or likeness being hijacked by AI-savvy cybercriminals for fraud, extortion, harassment, misrepresentation, or any other anti-social end. In the age of AI identity theft will take on a whole new meaning. The most sophisticated criminals will soon have the capacity to assemble an almost complete identity profile of a victim, including not only traditional identifiers like phone numbers, email addresses, and any compromised or leaked sensitive information, but also their voice, behavior patterns, and visual likeness. Enter the world of deep phishing.</p><p>Already there have been multiple reported incidents of scammers simulating someone’s voice to trick people into giving up ransoms. Recently a woman by the name of Jennifer DeStefano testified before the Senate about con artists using her daughter’s voice to call her to say she had been kidnapped. Disturbingly, the latest technology can replicate a person’s voice using just 3 seconds of audio , so almost anyone save for the staunchest recluses can be impacted. I’m unaware of AI generated imagery or video being manipulated for fraudulent aims yet, but such a use case can be projected as a natural extension of voice fraud. Fraudsters could combine an entire suite of functions to portray a “whole body sock puppet” to extort, harass, blackmail, frame or embarrass. None of that sounds like science fiction at this point.</p><p>The real danger with deep phishing is that a whole segment of the general public is completely unprepared for and even unaware of the potential threat. Indeed, there’s likely to be a sizable demographic among the elderly and less technologically informed who don’t even know these capabilities exist and who make the ideal victims.</p><p>As for a proposed fix, the solution here is the same as always — education. The more public awareness of deep phishing, the more skeptical people will become when they receive a strange phone call from a familiar voice asking for money. The form of phishing remains the same, though the content now varies. People just have to be informed that the nature of phishing has evolved. One might might also conceive of a new cultural norm of asking someone a secret question only the real person would know the answer to when confronted with a suspicious call. A person’s likeness might be emulated, but not certainly not their shared implicit knowledge.</p><p>Adapting to these changes will demand an extensive multidisciplinary effort, involving academics and researchers, legal experts and law enforcement, cybersecurity specialists and software engineers, business leaders, and government officials. While it is impossible to predict just how all this will unfold, it’s a surer bet that unless we prepare now, AI is going to cause quite a bit of trouble related to security.</p><p>Cybersecurity is also an arms race. Sometimes new weapons can be used both for offense and defense. Surely AI will also make improve cybersecurity specialists toolkit in ways that might neutralize or balance out the new threats. All of this remains to be seen.</p><p>The race is on. Hackers have the head start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99fbdb86b3ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Impressions of an Impromptu Prompt Engineer]]></title>
            <link>https://medium.com/@nanecone/impressions-of-an-impromptu-prompt-engineer-28126e4464fc?source=rss-aebdb36ff31b------2</link>
            <guid isPermaLink="false">https://medium.com/p/28126e4464fc</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Nathan Anecone]]></dc:creator>
            <pubDate>Thu, 03 Aug 2023 19:26:26 GMT</pubDate>
            <atom:updated>2023-08-03T19:26:26.553Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bvEVdJZBr8tsgt9deEn8lA.png" /><figcaption>Image Courtesy of Dall-E</figcaption></figure><p>My entry into the world of AI prompt engineering was sudden and unexpected. I’ve been working on an AI app, and our implementation, one might say, is very wordy. The codebase is also in part a wordbase, a curious mixture of programming and prose. Basically, to get the app to do what we wanted, we needed to append a bunch of context information to the user prompts that serve as the base inputs. So when the user types a prompt and the API sends it to the bot for processing, we append more context to it, describing the world in which the user’s prompt takes place. This added context description serves two main purposes. 1. to instruct the bot so it knows what to do. 2. To characterize the knowledge domain of our use case so it knows where it should do it. All of this is pretty standard practice in LLM-based application development.</p><p>This extra prompting has taught me much about how LLMs tick and the differences between traditional programming and prompt development. Intellectually, it also sent me down a rabbit hole into the nature of thought, language, and meaning.</p><p>Prompt engineering is a huge, burgeoning field that I would like to see develop into an actual science. So here’s a stab in that direction.</p><ol><li><strong>AI has no idea what’s going on.</strong></li></ol><p>The general public tends to overestimate the intelligence of LLMs. LLMs are powerful, but they lack what you might call intuitive contextual awareness. Understandably: they have no experience in the usual sense. They aren’t immersed in a sensory world. They don’t have a sense of contextual “place”, because they aren’t embodied and embedded in a live environment that serves as a real-time information feed. They live in a world of language. Everything they must interact with, more or less, must be constructed out of language. Technologically savvy novelists therefore make the best potential prompters.</p><p>Here is where prompt engineering comes in . Prompts create context. The goal is to nudge the bot’s attention in the right direction to focus on <em>this</em> not <em>all of that</em>. I wanted a scalpel, not a butcher’s knife.</p><p>In the absence of other options such as spinning up a fine tuned, bespoke custom model, the one we went with was to paint a picture in words for the bot to work with using natural language system prompts interspersed with some technical constructs and variables. This could’ve been a flawed strategy, but I learned how to make it work astonishingly effectively.</p><p><strong>2</strong>.<strong> Thinking about prompts like a programmer doesn’t always help.</strong></p><p>Sometimes it can be downright counterproductive.</p><p>Probably the hardest thing for me to accept coming into to prompt development as a software engineer was that my working model of how to design applications could not be smoothly transferred over. I wanted to think of it as a subdomain of programming. The way software engineering teaches you to problem solve logically certainly helps, but my first instinct to write prompts “programmatically” failed. Instead, I discovered the key is to understand how these language models work and to “think” like a bot and to compose prompts accordingly.</p><p>These models are mostly trained on natural language, often in the format of paragraphs of prose, as that is what most of the text on the internet consists of. While they are often trained on code too, they haven’t been trained on the weird mishmash for natural language and pseudo-code I was trying to write.</p><p>ChatGPT groks organically flowing prose far better than it does stifled, constructed pseudo-code. The trick was to conform my prompts to fit the style of input it was trained on, not to cleverly charm it to obey programmatic formulations.</p><p>My second intuition that needed adjustment was to overcome my native instincts that I was talking to a person. I overcame this by unlearning my mental habits and change my perspective to be more aligned with the bot’s inner workings.</p><p>How people understand language is vastly different than a bot. GPT has all sorts of seemingly inexplicable quirks that would never apply to a human. To use but one example, sometimes where you position the text relative to other text in a prompt will make a big difference in the output, even when the human mind perceives the order of the two clauses of text to be logically independent.</p><p>Here is an example of logically dependent clausal order:</p><p><strong><em>“Find my car keys and then turn on my car”</em></strong></p><p>The “and then” implies conditional dependence. “Turn on my car and then find my car keys” doesn’t. It lacks that logical continuity.</p><p><strong>“Find my keys. Bake a cake.”</strong> Is an example of logically independent clauses. You would think the bot would not distinguish between “Find my keys. Bake a cake.” And “Bake a cake. Find my keys.” But it often does. What’s troubling is that the reasons why are seemingly unknowable. It just is.</p><p><strong>3.</strong> <strong>I had to abandon the expectation of certain knowledge.</strong></p><p>Prompt engineering is empirical and heuristic, which means you can’t predict the output solely based on knowledge of the input. Instead, you have to provide an input and only after the fact can you learn what the output will be. The bot is a stochastic function that scrambles whatever you feed it. Instead you have to try things out without relying on fundamental principles. This is so unlike traditional programming, which is deductive and deterministic in nature. In theory perfect knowledge of what any bit of code does is possible. From that knowledge one can deduce what will happen when the code runs. (Supposing the program is a pure function taken in isolation.) Even when you develop strongly supported hypotheses and theories as to what works with prompts, you still have to learn to be comfortable with merely statistical insight. What works 9 times might not work the 10th for indecipherable reasons.</p><p>Programmers like control. In fact, they need control to trust their constructions work reliably . Software full of surprises would fall to pieces in production. Perfect deductive knowledge means total control, complete transparency from input to output. But with generative models, we have to give up that power. It stings. A system driven by probability is not going to always behave predictably. With “language-end” AI prompt development, we must trust in the bot and guide it the best we can.</p><p>Plus, using natural language in development sacrifices the precision of programming languages and introduces all sorts of ambiguities into the equation. Unlike programming statements, which have a single valid interpretation and always mean one thing; natural language is multivalent in its possible interpretations — it is connotative rather than denotative.</p><p>Connotation gives us Shakespeare and the rich expressiveness of speech, but it makes it a real pain to work with in technology. <br>Honestly, at first this change from predictability and control to surprise and chanciness gave me a mild existential crisis. It felt disempowering and frustrating. Once I learned to open my mind and accept it, I could make progress.</p><p><strong>4.</strong> <strong>Proper prompting calls for studying up on the knowledge domain under consideration.</strong></p><p>Let’s say your system prompts for a marketing bot. It then behooves you to study up on marketing terminology, problems, phrases, concepts, and concerns. Your prompts characterize the thought space of marketing. What make marketers sigh under their breaths? What keeps them up at night? What causes them the most trouble? What routine, boring, annoying tasks soak up their time and prevent them from focusing on what’s most valuable? The goal is to approximate the mental model of an area of expertise. I envision much of the AI product marketplace becoming an exercise in professionals pouring their domain knowledge into a system to build a representation of that mental model.</p><p><strong>5.</strong> <strong>I needed to think deep about language.</strong></p><p>Trying to get the bot to understand my intentions demanded that I truly understood myself what I was saying. Sometimes the difference between a good or bad result hinged on a simple turn of phrase, a slight change in grammatical emphasis, or a minuscule tweak in word order. I found myself ruminating on the mechanics of language like an English or linguistics professor. (Enterprising graduates in these fields might find a promising career path in the pursuit of prompting.) Given the bot’s occasional linguistic hypersensitivity I really had to analyze the minutia of parts of speech to successfully get my message across.</p><p><strong>6. There’s abundant room for experimentation, invention, new tooling, and the technical hardening of the field.</strong></p><p>Despite the loosey-goosey state of prompt developing at current, there will be advances in solidifying principles and creating a respectable engineering framework for it. The technical barrier to entry for prompt development is much lower than proper programming, but I predict that software developers will invade the field and leverage their skills to tame and master it. These programmers will seek to harden prompting to make it more code-like.</p><p>Good prompt development, therefore, benefits enormously from a diversity of skills and background knowledge. Despite my presumptions my software experience actually proved to be counterproductive at first. It helped to know about the area of knowledge I wanted to map, to understand language better, and to learn to think like a bot. This practice requires creative thinking, verbal ingenuity, and a scientific spirit. To excel you must be a poet, to choose your words with care and scruple; a scientist, to test out hypotheses; and a linguist to analyze the structures of language. You must study the goals and problems of those who will use your product.</p><p>Most of all you must think like a bot. That’s the hardest and most important thing of all. And the way trends are going that’s something many of us would stand to benefit learning how to do .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28126e4464fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>