<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on janosch.online</title><link>https://janosch.online/posts/</link><description>Recent content in Posts on janosch.online</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>&lt;a href="mailto:hi@janosch.online">Janosch Müller&lt;/a></copyright><lastBuildDate>Tue, 10 Jun 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://janosch.online/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Visualizing Dreams with AI</title><link>https://janosch.online/posts/2025/visualizing-dreams-with-ai/</link><pubDate>Tue, 10 Jun 2025 00:00:00 +0000</pubDate><guid>https://janosch.online/posts/2025/visualizing-dreams-with-ai/</guid><description>About once a year or so, I have an unusually vivid dream. I&amp;rsquo;m not sure if these dreams actually differ from others, or if I just wake up at an unusual moment.
In any case, these are dreams that stand out to me, and the visuals are often the most interesting bit. Everything appears crystal clear and detailed as I dream, and after getting up, the imagery stays etched in my mind for a while.</description><content type="html"><![CDATA[<p>About once a year or so, I have an unusually vivid dream. I&rsquo;m not sure if these dreams actually differ from others, or if I just wake up at an unusual moment.</p>
<p>In any case, these are dreams that stand out to me, and the visuals are often the most interesting bit. Everything appears crystal clear and detailed as I dream, and after getting up, the imagery stays etched in my mind for a while.</p>
<p>In some cases, I&rsquo;ve documented these rare dreams with a few sentences. To my surprise, it turned out that just a short summary is enough to restore the imagery in my mind later – in some cases even years later. After waiting long enough, the impression resembles any other visual memory, except that it feels a bit more alien.</p>
<p>I&rsquo;ve sometimes considered making sketches of these dreams, but it always seemed too cumbersome. Could AI help me out here? It&rsquo;s been a while since I <a href="/posts/2023/feeding-song-lyrics-into-dall-e-3-midjourney-and-stable-diffusion/">took image generation models on a test run</a>, so I decided to go for another tour. This time I wanted to see if AI would give me a decent approximation of dream visuals without spending a lot of time on prompt engineering.</p>
<p>These are the results.</p>
<h2 id="dream-about-an-adventure">Dream about an adventure</h2>
<h3 id="prompt">Prompt</h3>
<blockquote>
<p>A monstrously large spider monster in a cave, preying on a metallic, quicksilver-like, weirdly shaped blob. The blob is stuck to the ceiling some way above. A friendly person looks in through the door crack of a thick, old, wooden door. The door is set in the cave wall.</p>
</blockquote>
<h3 id="result">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream1.jpg"  class="left"    />


<h3 id="background">Background</h3>
<p>This dream was probably inspired by a re-read of Lord of the Rings. (At a later point in my life, it might also have been dubbed &ldquo;a visit at the in-laws&rdquo;.) I tried different prompts to get the metallic blob to look ever so slightly anthropomorphic, just as it was in my dream, but such instructions would always mess up other parts of the image.</p>
<h2 id="dream-about-feeling-crushed">Dream about feeling crushed</h2>
<h3 id="prompt-1">Prompt</h3>
<blockquote>
<p>An Asian woman sitting on a plain green bench without a backrest. She is wearing rings with very large and colorful gemstones on her hands. Opposite of her, lying flatly on his back on another similar bench, a man is being crushed by a black box. The man holds a cornet with strawberry ice cream in his dangling hand.</p>
</blockquote>
<h3 id="result-1">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream2.jpg"  class="left"    />


<h3 id="background-1">Background</h3>
<p>This dream was inspired by a girl who preferred another guy over me. They didn&rsquo;t actually end up exchanging rings and instead split up after a year or so. Ha-Ha!</p>
<h2 id="dream-about-fucking-up-at-school">Dream about fucking up at school</h2>
<h3 id="prompt-2">Prompt</h3>
<blockquote>
<p>A pupil in the hallway of a school, surrounded by a few other pupils. His face shows that he has just realized there is a math exam today and he hasn&rsquo;t prepared for it.</p>
</blockquote>
<h3 id="result-2">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream3.jpg"  class="left"    />


<h3 id="background-2">Background</h3>
<p>I used to have this or similar dreams for years after I finished school. In many of these cases, I &ldquo;realized&rdquo; during the dream that I had missed something important at school, and thus my college diplomas would also be invalidated! I&rsquo;d have to go back to school to re-do the final school years, and somehow also juggle this task with my job and family life. Hence the facial expression in the image is hardly exaggerated &hellip;</p>
<h2 id="dream-about-an-old-man">Dream about an old man</h2>
<h3 id="prompt-3">Prompt</h3>
<blockquote>
<p>An old man in a grey and brown checkered suit, feeding ducks with popcorn from a trash bag.</p>
</blockquote>
<h3 id="result-3">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream4.jpg"  class="left"    />


<h3 id="background-3">Background</h3>
<p>Admittedly, this dream isn&rsquo;t very outlandish. Some whacko giving inappropriate food to a random type of bird? You know, if you&rsquo;ve lived in Berlin for long enough, a scene like this may almost give you a fuzzy and homey feeling.</p>
<h2 id="dream-about-dancing-in-the-sky">Dream about dancing in the sky</h2>
<h3 id="prompt-4">Prompt</h3>
<blockquote>
<p>A man in black clothes flying through the evening sky and dancing ecstatically at the same time, even contorting himself. The sound of airflow is like a synthesizer pad. The landscape far below is passing by so rapidly that it&rsquo;s a bit blurry.</p>
</blockquote>
<h3 id="result-4">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream5.jpg"  class="left"    />


<h3 id="background-4">Background</h3>
<p>I had a high fever when I dreamt this. The dream stood out for being quite synaesthetic and also including some very specific music, full of driving rhythms and suspenseful melodies. I tried to recreate that music in Fruity Loops the next morning, but the sounds evaporated from my memory more quickly than I could rig them up. If I ever have such a musical dream again, I&rsquo;ll try using a music generator like <a href="suno.com">Suno</a> for a quick shot.</p>
<h2 id="dream-about-crete">Dream about Crete</h2>
<h3 id="prompt-5">Prompt</h3>
<blockquote>
<p>A long barren coastline of Crete, with steep cliffs and several white-washed, high-rising monasteries and several very high arches dispersed across it.</p>
</blockquote>
<h3 id="result-5">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream6.jpg"  class="left"    />


<h3 id="background-5">Background</h3>
<p>I&rsquo;ve visited Crete a few times as a kid. There were more and taller arches in the dream, like in a photo-realistic version of a <a href="https://www.artchive.com/artists/giorgio-de-chirico/">de Chirico</a> painting. However, any changes I made to the prompt made other bits worse, e.g. the coastline would turn less Cretan, so I left it at this.</p>
<h2 id="dream-about-misery">Dream about misery</h2>
<h3 id="prompt-6">Prompt</h3>
<blockquote>
<p>The stairwell of a rundown prefabricated building. It is almost too dark to see anything. On an intermediate storey, there is an entrance to an elevator. The door is missing. Inside the elevator, there is a piece of burnt tinfoil on the ground, as well as a black Ghettoblaster. Both are just about visible in the dark. In the back of the elevator, there is a subtle shadow of a cowering dark figure.</p>
</blockquote>
<h3 id="result-6">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream7.jpg"  class="left"    />


<h3 id="background-6">Background</h3>
<p>I was probably processing my regular encounters with drug addicts on Berlin&rsquo;s streets in this one. (And while this dream had a nightmarish touch, it&rsquo;s worth noting that the increase in foil smoking in recent years is arguably a good trend, as it is a lot less harmful to the addicts than syringes.)</p>
<h2 id="dream-about-darth-vader">Dream about Darth Vader</h2>
<h3 id="prompt-7">Prompt</h3>
<blockquote>
<p>Darth Vader inhaling gummy bears through the grille of his helmet, profile view.</p>
</blockquote>
<h3 id="result-7">Result</h3>

    <img src="/img/d34c6032-9c81-4632-b1ba-dfbf5bfbea01/dream8.jpg"  class="left"    />


<h3 id="background-7">Background</h3>
<p>This dream was unusual in that I honestly had to chuckle when I woke up. There were gummy bears at the party the night before. Not sure where that Vader guy came from. Probably just existential dread or something.</p>
<h2 id="conclusion">Conclusion</h2>
<p>Do some of these images look like what I saw in my dreams? Yes – somewhat! A few come quite close, which made it ever the more frustrating that I could never get the final 20% right. As you may have guessed, all these prompts went through a few iterations, and I tried each of them in two or three models. Yet in all of the cases, I hit a brick wall at some point.</p>
<p>I&rsquo;m not saying this is the model&rsquo;s fault. Well, okay, in some cases it is. E.g., for the dream with the two green benches, I couldn&rsquo;t get the benches to stand opposite of each other and still preserve other aspects of the image, no matter which way I described it, and this doesn&rsquo;t sound like a very challenging requirement at face value. It would have been a lot easier to explain this to a human artist. I&rsquo;d probably just use my hands to demonstrate the spatial arrangement.</p>
<p>I could certainly still get better at prompting, but in some cases, there might be a limit to language, no matter whether the recipient is a human or a machine. Just because a highly specific image exists in someone&rsquo;s head, that doesn&rsquo;t mean there is an exact and unambiguous way to get it out of there in one go, without iterating on intermediate results. We&rsquo;re not pixel enumerators, after all, and I guess that&rsquo;s exactly why we can have such rich, multi-layered, absurd, yet often pretty experiences.</p>
<p>If I wanted these images to really approximate the &ldquo;originals&rdquo;, I&rsquo;d either have to whip out photoshop and at the very least stitch together multiple generated images, or iterate and rely heavily on <a href="https://documentation.deep-image.ai/image-processing/inpainting-and-outpainting-uncrop">in- and out-painting</a>. So at this point, I&rsquo;m not sure using AI beats sketching or writing a short summary for the purpose of keeping a hold of dream visuals. Sketching probably still has a better balance of speed and authenticity, though of course generated images look nicer. Another thing worth trying might be to first make a sketch, and then augment it with AI. Or, you know, just <a href="https://www.science.org/content/article/ai-re-creates-what-people-see-reading-their-brain-scans">reading out the images directly from the brain</a>.</p>
]]></content></item><item><title>Feeding song lyrics into Dall-E 3, Midjourney, and Stable Diffusion</title><link>https://janosch.online/posts/2023/feeding-song-lyrics-into-dall-e-3-midjourney-and-stable-diffusion/</link><pubDate>Wed, 01 Nov 2023 00:00:00 +0000</pubDate><guid>https://janosch.online/posts/2023/feeding-song-lyrics-into-dall-e-3-midjourney-and-stable-diffusion/</guid><description>Song lyrics are a great source of mental imagery. Can they inspire image generation models as well?
The models will certainly struggle to interpret song lyrics poetically, so it will be interesting to see whether the output will reflect the mood of the songs at all.
It&amp;rsquo;s also interesting to see how well each individual model deals with varying levels of metaphorical language and non-standard prompts.
To find out, I&amp;rsquo;ve taken ten very different pieces of music, fed their lyrics into Stable Diffusion, Midjourney, and Dall-E 3, and compared the results.</description><content type="html"><![CDATA[<p>Song lyrics are a great source of mental imagery. Can they inspire image generation models as well?</p>
<p>The models will certainly struggle to interpret song lyrics poetically, so it will be interesting to see whether the output will reflect the mood of the songs at all.</p>
<p>It&rsquo;s also interesting to see how well each individual model deals with varying levels of metaphorical language and non-standard prompts.</p>
<p>To find out, I&rsquo;ve taken ten very different pieces of music, fed their lyrics into Stable Diffusion, Midjourney, and Dall-E 3, and compared the results.</p>
<p>To keep things fair, I entered only the same snippets of lyrics as input into each of the models, without embedding them into any other prompt, and always used the initial results.</p>
<h2 id="the-beatles---lucy-in-the-sky-with-diamonds">The Beatles - Lucy in the Sky with Diamonds</h2>
<p>I suspected that well-known songs might produce different results compared to little-known songs because their lyrics might appear in the training data, either as image titles or as OCR-processed texts in the images themselves. Hence I started with the best-selling band of all. <a href="https://www.youtube.com/watch?v=naoknj1ebqI">Lucy in the Sky with Diamonds</a> is a song about an LSD trip, as the title gives away without too much subtlety. The lyrics are heavy on the visual, so I expected the results to capture the mood of the song quite easily.</p>
<h3 id="prompt">Prompt</h3>
<blockquote>
<p>Picture yourself in a boat on a river<br>
With tangerine trees and marmalade skies<br>
Somebody calls you, you answer quite slowly<br>
A girl with kaleidoscope eyes</p>
</blockquote>
<h3 id="results">Results</h3>
<h4 id="stable-diffusion">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_lucy_in_the_sky_with_diamonds.jpg"  alt="Stable Diffusion image"  class="left"    />


<p>The boat and the river are there, as are the dominant colors, but it somehow reminds me of a dull boat trip that someone&rsquo;s been forced to do with their grandma.</p>
<h4 id="midjourney">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_lucy_in_the_sky_with_diamonds.jpg"  alt="Midjourney image"  class="left"    />


<p>With its vibrant colors and symbolic flair, this looks a lot more psychedelic and is more evocative of an intense experience.</p>
<h4 id="dall-e">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_lucy_in_the_sky_with_diamonds.jpg"  alt="Dall-E image"  class="left"    />


<p>Dall-E tried to incorporate the lyrics into the image and was the only one to show the face of the girl. The girl wears a lot of vaguely kaleidoscopic stuff, but her eyes are completely normal. I found it interesting that none of the models picked up on the most visually striking and distinctive detail in the lyrics – the kaleidoscope eyes.</p>
<h2 id="nirvana---smells-like-teen-spirit">Nirvana - Smells Like Teen Spirit</h2>
<p>According to Cobain himself, the lyrics for <a href="https://www.youtube.com/watch?v=hTWKbfoikeg">Smells Like Teen Spirit</a> are &ldquo;kind of meaningless, because the point is that rock&rsquo;n&rsquo;roll is supposed to be meaningless&rdquo;. Still, you&rsquo;d expect a good visualization to evoke some kind of teenage angst or boredom.</p>
<h3 id="prompt-1">Prompt</h3>
<blockquote>
<p>With the lights out, it&rsquo;s less dangerous<br>
Here we are now, entertain us<br>
I feel stupid, and contagious<br>
Here we are now, entertain us</p>
</blockquote>
<h3 id="results-1">Results</h3>
<h4 id="stable-diffusion-1">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_smells_like_teen_spirit.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>A young guy with a grungy style and a disillusioned facial expression. Spot on.</p>
<h4 id="midjourney-1">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_smells_like_teen_spirit.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>What is this? Harry Potter and the Cave of Dimmed Lamps? Well, it has a young guy and the mood is dark, so it&rsquo;s not completely off point.</p>
<h4 id="dall-e-1">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_smells_like_teen_spirit.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>This looks like a bunch of zombies going to a rock concert. The inset lyrics go well with that, because if you try to read them out loud you&rsquo;ll feel approximately as &ldquo;stupid and contagious&rdquo; as a zombie&hellip;</p>
<h2 id="metallica---king-nothing">Metallica - King Nothing</h2>
<p><a href="https://www.youtube.com/watch?v=Xz9DX_VMXdI">King Nothing</a> is a song about hubris and empty pursuits. The lyrics are more metaphorical than in the previous examples, so it will be interesting to see how the models deal with that.</p>
<h3 id="prompt-2">Prompt</h3>
<blockquote>
<p>And it all crashes down<br>
And you break your crown<br>
And you point your finger, but there&rsquo;s no one around<br>
Just want one thing, just to play the king<br>
But the castle crumbled and you&rsquo;re left with just a name</p>
</blockquote>
<h3 id="results-2">Results</h3>
<h4 id="stable-diffusion-2">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_king_nothing.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>This forlorn figure in front of a derelict castle has more of a wistful air. The blame apportioned in the lyrics is not really reflected in the image.</p>
<h4 id="midjourney-2">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_king_nothing.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>This one I found really interesting. It doesn&rsquo;t visualize a single noun from the prompt, but seems to find a nice symbolism for the song anyway: overplaying your cards. Just a coincidence?</p>
<h4 id="dall-e-2">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_king_nothing.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>I thought this one was pretty good. Perhaps the king remains a bit too self-contented to really fit the lyrics, but rendering the castle at the size of a plaything is a nice &ldquo;idea&rdquo; that suits the theme.</p>
<h2 id="gloria-estefan---conga">Gloria Estefan - Conga</h2>
<p><a href="https://www.youtube.com/watch?v=54ItEmCnP80">Conga</a> is in many ways an archetypical dance track. The lyrics don&rsquo;t play a major role here. They mostly try not to get in the way of the rhythm and mood.</p>
<h3 id="prompt-3">Prompt</h3>
<blockquote>
<p>It&rsquo;s the rhythm of the island<br>
And like sugarcane so sweet<br>
If you want to do the conga<br>
You&rsquo;ve got to listen to the beat</p>
</blockquote>
<h3 id="results-3">Results</h3>
<h4 id="stable-diffusion-3">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_conga.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>The Stable Diffusion images often take on this &ldquo;old master&rdquo; style. This one reminds me a bit of Gauguin or Diego Rivera. There&rsquo;s plenty of dynamism, but I&rsquo;m not sure I feel invited to this particular party.</p>
<h4 id="midjourney-3">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_conga.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>As in the previous image, none of the musical instruments really resemble a conga. But don&rsquo;t you just wanna hug this guy? And join a conga line with him?</p>
<h4 id="dall-e-3">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_conga.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>Is that sugar cane wrapped in bacon? It&rsquo;s an adorable tiny party nevertheless.</p>
<h2 id="kanye-west---power">Kanye West - Power</h2>
<p>One of Kanye&rsquo;s biggest hits, <a href="https://www.youtube.com/watch?v=L53gjP-TtGE">Power</a> is actually a bit of an odd song, blending maximum braggadocio with musings on inner struggles. For the prompt I went with the more boastful part.</p>
<h3 id="prompt-4">Prompt</h3>
<blockquote>
<p>I&rsquo;m living in that 21st century<br>
Doing something mean to it<br>
Do it better than anybody you ever seen do it<br>
Screams from the haters, got a nice ring to it<br>
I guess every superhero need his theme music</p>
</blockquote>
<h3 id="results-4">Results</h3>
<h4 id="stable-diffusion-4">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_power.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>Stable Diffusion picked up on the word &ldquo;superhero&rdquo;. Apparently it couldn&rsquo;t decide which one it preferred.</p>
<h4 id="midjourney-4">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_power.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>This one resembles a movie poster. I like the chunky headphones. The hero might be using those to listen to the screams of his haters on repeat.</p>
<h4 id="dall-e-4">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_power.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>I&rsquo;ll let this one stand for itself. Let me just say, I&rsquo;m pretty sure this is not the type of &ldquo;power&rdquo; Kanye had in mind&hellip;</p>
<h2 id="kinski---newport">Kinski - Newport</h2>
<p>Let&rsquo;s try something more artsy where the intention is not so obvious. If anything, I would say that Kinski&rsquo;s <a href="https://www.youtube.com/watch?v=OXjx-2MFx3s">Newport</a> has a vaguely intense and breathless ambience. It&rsquo;s also a pretty unknown band and song, so let&rsquo;s see if that has any effect on the outcome.</p>
<h3 id="prompt-5">Prompt</h3>
<blockquote>
<p>Run<br>
to the beach-house<br>
stay there<br>
&rsquo;til you get my phone-call</p>
</blockquote>
<h3 id="results-5">Results</h3>
<h4 id="stable-diffusion-5">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_newport.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>Yep, she&rsquo;s running to the beach-house, but will she wait there until she gets that ominous phone call? Hard to tell. The chilled-out dog kinda ruins the tension either way.</p>
<h4 id="midjourney-5">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_newport.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>This is the type of small beach-house that I had in mind. The only thing is that with so many neighbors nearby, waiting there doesn&rsquo;t feel as exciting as it should.</p>
<h4 id="dall-e-5">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_newport.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>Finally! A Dall-E production that is not cluttered with gibberish text! The beach-house is more of a mansion than I would expect, but maybe it&rsquo;s a haunted mansion? The guy even has a phone for that upcoming call. But why is he hanging onto his business class luggage amidst all that drama? Are there perhaps some nuclear codes in that suitcase? Consider me intrigued.</p>
<h2 id="joanna-newsom---go-long">Joanna Newsom - Go Long</h2>
<p><em>Joanna Newsom</em>&rsquo;s music often deals with complex emotions, and her rich imagery can be tricky to unpick. What will the models make of <a href="https://www.youtube.com/watch?v=LeskDR5ophs">Go Long</a>?</p>
<h3 id="prompt-6">Prompt</h3>
<blockquote>
<p>There&rsquo;s a man<br>
who only will speak in code,<br>
backing slowly, slowly down the road.<br>
May he master everything<br>
that such men may know<br>
about loving, and then letting go.</p>
</blockquote>
<h3 id="results-6">Results</h3>
<h4 id="stable-diffusion-6">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_go_long.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>This is a very literal interpretation, but the mood is sombre and thoughtful enough.</p>
<h4 id="midjourney-6">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_go_long.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>In what might be a coincidence, this one includes antique clothing and an autumnal scenery that resemble those found in some of Newsom&rsquo;s promotional images. If you look closely, you can see the lights of a cozy home in the background fog, which goes well with the song&rsquo;s theme of painful separation.</p>
<h4 id="dall-e-6">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_go_long.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>This might be a bathroom tile that has been put through a typewriter.</p>
<h2 id="clouddead---physics-of-a-bicycle">Clouddead - Physics of a Bicycle</h2>
<p>Now for another little-known and challenging bit. Clouddead are a hip-hop group and known for their abstract lyrics. It&rsquo;s not obvious what their song <a href="https://www.youtube.com/watch?v=ni0hThlnFhI">Physics of a Bicycle</a> is about. My take is that it tries to capture the feeling of amazement that can occur while being high.</p>
<h3 id="prompt-7">Prompt</h3>
<blockquote>
<p>Mother Nature made the airplane<br>
And submarine sandwich<br>
With the steady hand and dead eye of a remarkable sculptor<br>
She shed her mountain-turning training wheels<br>
For the convenience<br>
Of a moving sidewalk</p>
</blockquote>
<h3 id="results-7">Results</h3>
<h4 id="stable-diffusion-7">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_physics_of_a_bicycle.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>I can&rsquo;t see much in this image except a distorted plane. The other elements are missing and there is not much of a symbolic touch. With a lot of benevolence you could call the result enigmatic.</p>
<h4 id="midjourney-7">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_physics_of_a_bicycle.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>I didn&rsquo;t think you could merge a plane, a submarine, and a cornucopian sandwich into one, but here we are. It&rsquo;s just a bit over the top compared to the more low-level psychedelic experience that the song hints at.</p>
<h4 id="dall-e-7">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_physics_of_a_bicycle.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>This one is my favorite in this round. It&rsquo;s like mother nature actually made the airplane as a gift and even put her signature on it in almost correct English.</p>
<h2 id="electric-six---im-the-bomb">Electric Six - I&rsquo;m the Bomb</h2>
<p>Let&rsquo;s try something that is a bit ironic and over the top. Electric Six often play with exaggerated machismo, and <a href="https://www.youtube.com/watch?v=cIBJMV9bc80">I&rsquo;m the Bomb</a> is no exception. Will the models pick up on the tongue-in-cheek tone?</p>
<h3 id="prompt-8">Prompt</h3>
<blockquote>
<p>Now who elected you judge and jury<br>
In the body of a beautiful girl?<br>
And I suspect heavy gerrymandering<br>
At the single&rsquo;s bar<br>
And now, I&rsquo;m a man with conversations skills<br>
And I&rsquo;m a man with hundred dollar bills</p>
</blockquote>
<h3 id="results-8">Results</h3>
<h4 id="stable-diffusion-8">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_im_the_bomb.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>A man with dollar bills, that&rsquo;s about it.</p>
<h4 id="midjourney-8">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_im_the_bomb.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>This one has done better to capture the machismo and the beauty it longs for. The text looks completely random but doesn&rsquo;t detract too much.</p>
<h4 id="dall-e-8">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_im_the_bomb.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>Dall-E somehow managed to include all the things mentioned in the prompt, yet the result is kinda boring.</p>
<h2 id="the-beards---if-your-dad-doesnt-have-a-beard-youve-got-two-mums">The Beards - If Your Dad Doesn&rsquo;t Have a Beard, You&rsquo;ve Got Two Mums</h2>
<p><em>The Beards</em> are an Australian band that only write songs about beards. <a href="https://www.youtube.com/watch?v=RmFnarFSj_U">This song</a> is about how great beards are, and how you should have one, as are all their songs.</p>
<h3 id="prompt-9">Prompt</h3>
<blockquote>
<p>If your Dad doesn&rsquo;t have a beard<br>
You&rsquo;ve got two Mums<br>
Two beardless Mums</p>
</blockquote>
<h3 id="results-9">Results</h3>
<h4 id="stable-diffusion-9">Stable Diffusion</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/sd_if_your_dad_doesnt_have_a_beard.jpg"  alt="Stable Diffusion image"  class="left"    loading="lazy"  />


<p>This one seems to illustrate that losing a beard feels like a severe mutilation.</p>
<h4 id="midjourney-9">Midjourney</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/mj_if_your_dad_doesnt_have_a_beard.jpg"  alt="Midjourney image"  class="left"    loading="lazy"  />


<p>This one is a bit too much on the serious side, but the aesthetics are nice nevertheless.</p>
<h4 id="dall-e-9">Dall-E</h4>

    <img src="/img/e1bf6155-ad5c-4f69-b655-658c2bf5c0f5/de_if_your_dad_doesnt_have_a_beard.jpg"  alt="Dall-E image"  class="left"    loading="lazy"  />


<p>This one is like a state-issued manual for happy family life: just grow a beard and you&rsquo;ll be fine.</p>
<h2 id="conclusion">Conclusion</h2>
<p>We&rsquo;re seeing rapid progress in terms of image generation. Just a year ago, these models were churning out images where eyes looked like they were melting into people&rsquo;s heads, and hands usually turned out like a mix between monster claws and meat pretzels. These issues are almost fixed now. When given some more challenging prompts as in this experiment, the models still hit a few roadblocks, though. The unusual prompts I used still led to various quality issues. That being said, the mood-fit of the results was often surprisingly good. It seems that just by picking up on some of the words in the prompt and correlating them, we already get a kind of indirect sentiment analysis and representation.</p>
<p>On top of that, the output of Dall-E 3 and Midjourney&rsquo;s often had a symbolic flair that went well with the lyrics. Irrespective of mood-fit, the results from Stable Diffusion felt the least juicy and inventive. This might be a case of regression to the mean - if you mix all colors, you end up with a medium grey. A generic default behavior could arguably be a strength of Stable Diffusion. For example, if a model is not fine-tuned to generate vibrant colors by default, it might better support various explicit saturation choices. Unfortunately, I felt that Stable Diffusion showed a similar lack of decisiveness in terms of the motif, mixing arbitrary elements from the prompt in incongruent ways.</p>
<p>Dall-E had some good and some poor results. It took the prompt dead serious and often managed to incorporate every noun from the input in the result. However, it was hampered by its compulsive urge to print the prompt into the image verbatim. I wonder why. It does not do this as much with more standard-like prompts, so I assume this is a fallback behavior for when it doesn&rsquo;t know how else to handle the input. Maybe this text-printing behavior has been dialed up a bit, in order to showcase the improved text printing capabilities of version 3? There&rsquo;s still a long way to go towards great text printing, though. Maybe they thought that leaving space for text makes the model more useful when generating ads and such? Either way, the text doesn&rsquo;t add much to these otherwise decent images. Dall-E does not support negative prompting, so they certainly need to be careful with such questionable defaults.</p>
<p>Of all the models, Midjourney seemed best at making something decent out of every prompt by granting itself a bit of artistic freedom. Maybe it is just well-tuned to the average taste, with a penchant for scenic lighting, clean textures, vivid colors, and a well-centered, dominant subject. These defaults could be criticized as catering to the masses, and the latter preference, for highlighting the individual, might also be one that particularly suits western audiences as opposed to societies with a more collectivist outlook. At any rate, I found Midjourney&rsquo;s output to be the most consistently creative and evocative one.</p>
<p>To generate good output from song lyrics, a two-step approach might work better than just naively using lyrics as prompts as I did here. First, we could put the full lyrics into an LLM and perform a fine-grained sentiment analysis. Then we could ask an image generation model to represent the detected emotions in a suitable way, maybe with all unique nouns from the lyrics sent along. This would also allow us to use the full lyrics of songs as an initial prompt, which would be more interesting than just a few lines. If we had another model to interpret the melody and instrumentals, and mixed that one in as well, things would get even more interesting.</p>
]]></content></item><item><title>AI and the future of software development</title><link>https://janosch.online/posts/2023/ai-and-the-future-of-software-development/</link><pubDate>Sat, 16 Sep 2023 00:00:00 +0000</pubDate><guid>https://janosch.online/posts/2023/ai-and-the-future-of-software-development/</guid><description>In this text I&amp;rsquo;m going to speculate on how AI will affect the software engineering profession.
I&amp;rsquo;ve been wondering for a while what my job will look like in five or ten years or so. Could it be substantially different then? Could it even no longer exist?
To be honest, the last two years of AI breakthroughs and hype have taken me a bit by surprise. I had heard of machine learning before, but it seemed to stay stuck on pretty much the same level for a long time.</description><content type="html"><![CDATA[
    <img src="/img/dalle3_2.jpg"  alt="Software development at a crossroads"  class="left"   title="Dall-E image &#39;multiple pathways leading to possible high tech futures, crossroads, indecision, ambiguity, digital art&#39; with in- and out-painting"   />


<p>In this text I&rsquo;m going to speculate on how AI will affect the software engineering profession.</p>
<p>I&rsquo;ve been wondering for a while what my job will look like in five or ten years or so. Could it be substantially different then? Could it even no longer exist?</p>
<p>To be honest, the last two years of AI breakthroughs and hype have taken me a bit by surprise. I had heard of machine learning before, but it seemed to stay stuck on pretty much the same level for a long time. Maybe I could have noticed that something was brewing in the face of subtle improvements in autocomplete predictions, translation tools, voice assistants, and so on. When things change gradually, it can be easy to miss the wider implications. Maybe it was down to actual breakthroughs in recent years. The theorists came up with new ideas (such as doing the same thing in larger). The hardware improved. Companies have probably started to figure out how to build AIs in a more &ldquo;agile&rdquo; way, splitting the workload among teams.</p>
<p>Whatever the main causes, we&rsquo;ve clearly seen accelerated progress recently, and the hype around AI looks likely to turn into a <a href="https://en.wikipedia.org/wiki/Self-fulfilling_prophecy">self-fulfilling prophecy</a>, psychologically and economically boosting the field. Similar to other high-tech moonshots, such as fusion energy or virtual reality, there is no clear point of falsification. There is no single finding that will easily show any of the promises to be unredeemable.</p>
<p>Further improvements to the processes, hardware, and theory all seem fairly likely at this point. Let&rsquo;s assume that everything hits a snag, though! Will we live on pretty much the same in that case? My take is: No, we most definitely won&rsquo;t. Even the current level of progress will have big implications. Just to have a multi-modal stochastic engine and instantaneous paraphrasing as a machine power is a major innovation. Harnessing this power, even at its current level, will turn a lot of things upside down.</p>
<p>How well can we actually harness this power? How will we stitch up Large Language Models (LLMs) with regular programs? How will we combine them with other recent developments in AI? How long will it take us to make the connections? What are the other things that need to change in the world to accommodate these tools? And how long will these changes take? Where will all of this lead us?</p>
<h2 id="repetitive-and-non-repetitive-jobs">Repetitive and non-repetitive jobs</h2>
<p>One thing that already seems pretty clear is that the more repetitive any given profession is, the worse it will fare in light of LLM capabilities. In ten years, hardly anyone might still be working as a proofreader or translator for example. Unpredictable workplaces such as kindergartens seem far less likely to be affected any time soon. What, then, about jobs with a medium level of predictability? I would argue that a lot of jobs are of that medium type, and that this includes quite a few software development jobs.</p>
<p>Of course, the predictability of everyday work varies a lot even within a single profession. Some software developers might be working in a job where they need to decide every hour whether to firefight some novel bug, go to a stakeholder meeting as promised, or add features to one of several projects. This is of course more of a pathological working environment that is best avoided. The other extreme is a software developer with a specialization that is quite deep but not very generalizable. This type often has to acquire a certificate to do the job, perhaps to set up and configure a certain piece of enterprise software, with just a few snippets of code added on here and there. For these types, changes might be coming sooner rather than later.</p>
<p>Of course some of the more repetitive software jobs have already fallen prey to progress long before AI was a thing. About 20 years ago, DIY tools and platforms such as WordPress started to crop up, dramatically reducing the effort to build simple websites – a task that might have otherwise grown into a major profession. Building simple websites had arguably become too predictable of a task to survive.</p>
<p>I think a lot of software development that exists today has settled in the medium range of predictability, or just above medium. <a href="https://en.wikipedia.org/wiki/Software_engineering_demographics">According to Wikipedia</a>, there are 27 million software developers in the world. A lot of us work in some web-related capacity at medium-sized companies, according to the numbers of job postings and <a href="https://survey.stackoverflow.co/2023/#developer-profile-developer-role">the latest StackOverflow survey</a>. Whatever the domain, I think all of us do some busywork at times that can be taken over by a fairly basic AI. Just consider for a second how often in your daily work you ask yourself: &ldquo;Should I complete this task manually or is it worth it to do it in a more programmer-y way?&rdquo;</p>
<p>A counterargument that often comes up in these discussions is that the software development job has plenty of unpredictable aspects: Grappling with code, according to that argument, is just one part of our duties. The other parts, where we interact with other developers or with stakeholders, are unlikely to be automated any time soon. Companies would make a mistake if they were to automate away developers, if that was even possible, because then they would lose the brain involvement and feedback that they get from them. These are good points, but I&rsquo;m wondering how unique and unpredictable the interactions in question really are. In a typical product meeting we might say stuff like the following:</p>
<ul>
<li>Do you have a design for mobile as well?</li>
<li>Have you thought that this might conflict with privacy laws?</li>
<li>Have you considered that this change might affect the A/B test running in that same area?</li>
<li>While we can make every event X trigger Y, have you considered that Y always entails Z in the current setup?</li>
<li>By &ldquo;user&rdquo;, do you mean an anonymous visitor, or a registered user from the &ldquo;users&rdquo; table?</li>
</ul>
<p>And it goes on like this. ChatGPT has been dubbed a &ldquo;stochastic parrot&rdquo;, yet if you&rsquo;ve been in any software industry for long enough, you might start feeling like one yourself. These topics don&rsquo;t even vary that much between individual companies. What <em>does</em> vary between individual companies is mostly their business domain and the way their software is built.</p>
<h2 id="the-weirdness-of-software">The weirdness of software</h2>
<p>Another way to tackle the question how likely AI is to replace a profession is to ask yourself: how often do people succeed at that job? If even competent people have a high failure rate, there is no reason to assume that there is any training data of consistently high quality that would enable AI to do a better job, or even just a similarly good one. This is also a way to detect bullshit AI claims. In the near future, AI will not be able to predict whether someone will do well in a team, or in a relationship, or in a therapy, seeing how even experts struggle to perform such predictions reliably. Software development is a profession where failure is fairly common as well. It is no coincidence <a href="https://www.etsy.com/codeascraft/blameless-postmortems/">blameless post mortems</a> have been invented here.</p>
<p>There are many reasons for the high failure rate in software, but I would like to focus your mind on three of them: the logical complexity of software products, their inconsistency, and their dependence on changing outside factors.</p>
<p>When it comes to logical complexity – by which I mean the sheer amount of business logic, the web of interdepencies in the code, and so on – I can totally see AI getting the hang of this. The other two challenges will be the trickier ones.</p>
<p>Pieces of software often have at least some degree of uniqueness. Worse than that, they are usually internally inconsistent. Large pieces of software contain compromises, repurposed structures, remnants of deleted features, refactorings and implementations that are still in progress, and so on. The individual styles of contributors and changing fashions adorn almost any codebase that has survived for long enough. Many a major old app has some unique hack that is fundamental to its behavior. As Ellen Ullman observed, &ldquo;we build our computers the way we build our cities — over time, without a plan, on top of ruins&rdquo;. Software is an immature and idiosyncratic field, both in terms of its evolutionary progress as well as in terms of its culture. Getting acquainted with a large codebase is often like delving into the personality of its creators. In this way, the difference between a software developer and a kindergarten teacher might not be that big after all.</p>
<p>At a more microscopic level, subtly mislabeled code is surprisingly common. We&rsquo;re not always perfectly precise with our language, and not every prudent implementation lends itself to a semantically clear way of writing it down. Any minor code change that comes later may further diminish the adequacy of the involved variable and method names until everything is eventually rewritten.</p>
<p>These logical, stylistic and semantic inconsistencies mean that AI can&rsquo;t reliably take shortcuts by looking for known design patterns, or by looking at semantics in the code. In other words, I think we&rsquo;ve insulated ourselves from the biggest impact of AI for a while by making things an untractable mess.</p>
<p>What will prove even more challenging for AI is taking outside factors into account. Code is not written in a vacuum. We add error handling depending on the errors we&rsquo;ve either encountered already or deem likely to encounter in the future. We structure nested loops depending on the relative sizes that the involved iterables have at runtime. We set up data stores depending both on the amount of data and the read and write characteristics that we expect, or that we&rsquo;ve already observed.</p>
<p>To get a grip on the inconsistency of software and its dependence on outside factors, AI would basically need to run a system and be able to observe and describe its control flow, its behavior, and its load levels. Even then, it couldn&rsquo;t predict upcoming changes that might require adaptation in advance.</p>
<h2 id="how-far-can-code-completion-go">How far can code completion go?</h2>
<p>Plenty of room remains for AI tools to increase developer productivity, even if they lack the capacity to observe a system at runtime. Code suggestions that are picked and reviewed by human programmers will almost certainly get better over time. Improving them is perhaps as much a classical engineering and product problem as it is one of AI science. GitHub Copilot could probably read through a codebase, recursively summarize what it finds at different abstraction levels and from different perspectives (data model, logic flow etc.), store these summaries, and then ingest any relevant summaries when dealing with a given problem. Such an approach would enable it to do more, without requiring any increase to its AI capabilities such as the size of its context window. I think it will do something roughly like this at some point. As a result, it will gain the ability to produce larger sections of code that will fit in better with a given codebase.</p>
<p>Approaches such as <a href="https://arxiv.org/abs/2309.12499">CodePlan by Ramakrishna Bairi et al</a> already demonstrate that, by appropriately structuring the LLM invocations, LLMs can not just churn out code snippets, but they can also carry out refactorings across a codebase - as long as that codebase is strongly typed or has sufficient test coverage.</p>
<p>However, the more code AI tools deliver, the more it will become apparent that we can&rsquo;t just limit ourselves to checking the results for functionality. We will need to check for consistency with the rest of the codebase, for readability, and for real-world fit. We will have to check that the right abstractions are used and that they are used in a way that reflects the teams&rsquo; intention for moving the codebase forward. We will have to check that no existing abstractions are duplicated. We will have to check that humans can still understand the intention of the code. And we will have to check that the code is adequate for the live requirements encountered by the system. None of these criteria deal with the internal correctness of a given code snippet, yet when they are ignored this will quickly make any codebase untenable for humans and computers alike.</p>
<p>If we have to review the functionality, maintainability, readability and real-world adequacy of AI-generated code – or at least keep the AI mindful of our relevant standards and requirements – this will certainly limit the productivity gains delivered by code completion. The only impact of code completion that I&rsquo;m fairly sure about is that we&rsquo;ll need to type less, which will certainly please our wrists.</p>
<p>The situation is of course different when it comes to software developers who write smaller pieces of code that need to work well in isolation first and foremost. They are more likely to feel the squeeze. As a result, they might be pushed into more holistic development roles, putting a bit of a squeeze on this job market in turn.</p>
<h2 id="ai-and-the-future-shape-of-software">AI and the future shape of software</h2>
<p>While AI tools might not in themselves bring a dramatic change for all developers, they could encourage them to build their codebases in a way that makes it easier to apply such AI tools. The tools might work better when applied to less abstract, more repetitive code for example. This is, however, just one of several ways in which AI could affect the shape of software. And this is where it gets interesting as far as I&rsquo;m concerned. It seems to me that there are quite a few ways in which AI could affect software design. Consider, for example, that we might start to write software in a more AI-friendly way simply due to the business requirement to integrate AI interfaces into it. Or consider that there could be an AI-fueled growth spurt of the low-code/no-code movement. In the long run, there could even be a technological shift moving us towards a new, AI-centric programming language. All of these developments might take off in parallel and combine in unexpected ways.</p>
<p>The first visible change in this direction will probably be a growing interest to integrate AI into existing applications. LLMs, even at the current level, open up the possibility to control software through vague, non-expert language, and make the software do stuff for you either right away or through a feedback cycle that is still quicker than manual control. Many products will develop chat interfaces, even if developers will need to wire up the triggered actions manually for now.</p>
<p>As soon as useful AI interfaces appear in widely used office software, better compatibility with AI will become a seductive argument in favor of adopting new technologies and carrying out rewrites and refactorings that facilitate AI integrations. Integrating with AI will also require an improved separation between the business logic and the demands of the UI or in-house API clients. High quality descriptions of endpoint behavior will become invaluable. As a result, this alone will drive software development into a direction where there is more standardization and predictability.</p>
<p>Once AI interfaces become more common, people will get used to formulating what they want instead of learning the specifics of individual apps. Concrete skills and mastery of tools will lose relevance compared to the mastery of concepts and ideas. People will let AIs do technical stuff for them in their daily life. People will be less and less inclined to manually go to a website in a browser, look through that website, and submit the right form after filling in the right data. Platforms that do not have powerful and standard-like APIs will suffer as a consequence.</p>
<p>Standardizing APIs might be just the beginning, though. In the long run, more software might be built in a highly standardized way. AI could be of help in using low-code tools, and these tools might also see greater adoption if they manage to generate software that is more readily integrated with AI. Classical no-code and low-code approaches may not have taken off as much as predicted so far. They have nevertheless started to take sizable chunks out of the B2B and B2E markets in recent years. This prior success might provide them with the resources they need to turn into more generic tools – both financially and in terms of training data. With their medium-complexity products, they will also be under particular pressure to innovate. More tools in the style of <a href="https://codewp.ai">CodeWP</a> might crop up as well, where the approach is to have an AI dialogue that adds pre-made code snippets to an adaptable piece of software, so that the AI only needs to write glue code at worst.</p>
<p>Large cloud providers are another natural early adopter when it comes to rolling out AI assistants and AI-enhanced UIs. With stuff like <a href="https://aws.amazon.com/step-functions/">Step Functions</a> they already have versatile no-code solutions in the pipeline that can only benefit from an AI integration. Many tasks in their existing admin UIs are repetitive and constrained by discoverability more than anything else. Once the cloud providers have AI interfaces, we might progressively see further services being offered through them. It might start with a simple &ldquo;do you want some DNS records with that cluster?&rdquo;, and at some point it might ask you whether you want to add a scalable authorization service, seeing how you have all those pesky requests on your sessions table. Such changes might remain constrained to the cloud hosters themselves, or they might trigger adaptations elsewhere. In any case, AI seems likely to cement the dominance of industry giants, with fewer startups still able to cross the chasm and catch up to them. The possibility of a self-improving, strong AI has often been dubbed a &ldquo;singularity&rdquo;, to indicate what a dramatic and potentially dangerous invention it would be. However, the only kind of singularity I see opening up right now is an economical one.</p>
<p>I find it frankly amazing that using ChatGPT has suddenly surpassed googling for some types of factual questions, and that Bing actually has a use case for once. I expect Google to come back with a vengeance anyway, and I also expect successful newcomers to remain the exception in a world where a few software giants hold almost all the potential training data for specialized AIs. As <a href="https://finbarrtimbers.substack.com/p/the-market-for-ai-companies">Finbarr Timbers has pointed out</a>, a major niche for AI startups might be in generating experiences that are outside the ethical mainstream. Such under-the-counter AIs could be an interesting source of socio-cultural innovation, but whether there will be a wider technological and economical impact from them remains to be seen.</p>
<h2 id="a-new-programming-language">A new programming language?</h2>
<p>Depending on the future capabilities of AI, there might even be less of a need for bespoke software. If new software is indeed still written, it might look different than it does now. Andrej Karpaty <a href="https://karpathy.medium.com/software-2-0-a64152b37c35">once predicted a transition to &ldquo;software 2.0&rdquo;</a>, with machine-friendly programs that are no longer human-editable. I don&rsquo;t think such programs will become mainstream any time soon. Gibberish code is appropriate for stochastic purposes, and in cases with countless variables, but most programs created today remain strictly deterministic and employ way less variables than machine learning and neural networks do.</p>
<p>Francisco Marcondes and others have <a href="https://drops.dagstuhl.de/opus/volltexte/2023/18524/pdf/OASIcs-SLATE-2023-10.pdf">suggested another possibility [PDF]</a>: LLMs could be built into a new programming language that works at an even higher level than today&rsquo;s high-level languages. I wager this language would either be plain natural English (full of disambiguating statements and reading a bit like a law text), or it could come with a somewhat more specific syntax akin to BDD frameworks or RFC documents. There could also be a storybook-like visual editor for it. It could transpile to more than just one target. For example, it might emit a congruous bundle of infrastructure code, backend code, and client code. These transpilation results could still consist of somewhat readable code – if only to allow debugging the transpilation process.</p>
<p>To ensure the smooth operation of such a new descriptive programming language for the full stack, it would probably be convenient to freeze and standardize that stack. Maybe we don&rsquo;t need new programming languages and new frameworks as urgently as we thought we did. Maybe security updates will do. There could be a future where everyone creates some infrastructure-as-code, perhaps indirectly, to deploy some kind of cluster, perhaps with just one VM in it if that&rsquo;s enough, and they always run the same static language. The code is modularized internally, and across possible other services, in a standardized way. There is some arbitrarily scalable DB with okay-enough performance for pretty much any case, serving data in a standardized format to any client. The clients share most of their code, perhaps using web assembly for the web app, or inversely something like React native for native clients. All of these parts send OpenTelemetry data to some unified analytics tools. The result is a solution that is slightly sub-optimal in terms of performance for almost every case, but perhaps not enough to make it worthwhile to build a custom solution instead.</p>
<p>Software developers themselves would be the initial drivers of this change vector. We like shiny new things and new abstractions, and we certainly like new languages. It could start out in a very basic way – just some high-level description of a system that generates some integration tests and rough API specs, with most of the code still handmade. In the long run, however, this innocent experiment might turn into an avalanche of standardization that decimates everything in our field: programming languages, libraries, software architectures, deployment strategies, service architectures, databases, tools, and so on. It would foster monopolies and spell the end of many less widely adopted concepts and implementations.</p>
<p>This possible future is a more static one. There is less progress in terms of software trends, because it now matters less whether a specific framework or language runs somewhat faster, or offers slightly better abstractions, or has a few more batteries included. If humans have to deal with the actual code only in exceptional circumstances, and if AI can explain the code in detail in these cases (and perhaps even explain the associated business rationale), no one will care how the code looks and whether it is verbose or repetitive or scattered.</p>
<p>It seems fairly obvious to me that this would affect large parts of the current software job market. I&rsquo;m not saying we will have business people build complex programs with this new language. They never really got around to writing their own BDD scenarios either. However, programmer types would certainly become more productive. Let&rsquo;s imagine an average company with a bunch of teams: backend, frontend, infrastructure, and so on. A sufficiently automated and standardized stack, controlled by a robust new description language, could at some point replace all of these jobs with just a few wizards of that new language. In this possible future, smaller companies don&rsquo;t even hire their own developers anymore. They outsource the development to agencies, who see notable growth in their productivity and ability to serve multiple clients.</p>
<p>A large number of people now seem to be able to create complex software products at first glance, so we still need agencies to employ people and give clients the guarantee of a certain level of competence. Of course it is still beneficial to know and understand individual business models, so the agency workers of the future look a bit different than those of today. There is less need for interlopers if transferring requirements to code is a fairly direct process. The agents might not work in teams as much anymore, except to provide QA. Instead, they might talk to their growing list of simultaneous clients more directly. Many might work in a way that is more similar to today&rsquo;s freelancers, becoming self-reliant, perpetually learning, context-switching, note-taking, machine-whispering journeymen of sorts. They would work even more closely with stakeholders than today because they could immediately demonstrate possible changes in automatically generated illustrations and sandbox environments.</p>
<p>Software development is still not simple in this scenario. Once the default approach encounters real-world issues, we either need a self-observing and self-correcting system again, or otherwise developers will need to continuously add further specifications: Which error scenarios to handle how, which performance parameters to prioritize in which subroutines, which endpoints to  optimize for what kind of scenario, and so on. It might not be necessary to specify how exactly that is achieved, e.g. by asking for certain algorithms, DB indices or whatnot. Perhaps the AI will be smart enough to deduce these solutions from the requirements at some point.</p>
<p>Some codebases in the old style still continue to exist and are still maintained at this point, but they are considered legacy for their behavioral opaqueness. It now feels archaic to have to ask a senior dev about how the software handles a certain case, and to have that senior dev debug it manually. For modern software, you just check the description document with its slightly strange, non-ambiguous, but still human-readable language. The opaqueness in this new approach is a technical one. The new language makes it highly obscure how its instructions are turned into instructions for the machine. It does not take long, however, for this to feel as irrelevant as the inability of most contemporary developers to envision the bytecode resulting from their JavaScript, or the control flow in a modern CPU. The black boxes just extend further up in the stack.</p>
<h2 id="the-consequences">The consequences</h2>
<p>In all of the scenarios laid out above, productivity will increase - in some cases more, in other cases less so. In the more extreme cases, incubators will be able to flood the world with startup software. App stores will be inundated with new uploads, much like publishing houses are already drowning in AI-generated dime novels right now. Software products could even be randomized and basically A/B-tested at the level of complete product units: themed, specialized, condensed or extended formats – you name it. Successful product formulas will be discovered and rediscovered at an increased pace.</p>
<p>Another thing that all of the above scenarios have in common is that they are all self-reinforcing. When software is created in an increasingly similar way, this eases the challenge of training a neural network on it. Take all the JIRA tickets in the world, use their contents as input data, and the linked git diffs as expected output. Different business domains are now akin to different handwriting styles that a number recognition network glosses over without much ado.</p>
<p>Some might say that automation does not always eliminate jobs and that more productivity simply allows a market to produce more goods. However, when I look through the job adverts today, I already see a lot of software companies with dubious value propositions. I&rsquo;m not sure we need the ability to launch even more software. I don&rsquo;t think the golden age of our profession is over quite yet, but its dawn might be setting in ever so slowly.</p>
<p>When exactly to expect changes is of course the million dollar question. Maybe AI investment enters an early boom-bust cycle and the integration of AI interfaces is delayed to avoid appearing out of sync. Maybe the jump from a low-code B2B offer to a more universal solution is too big to undertake for now? Even if a high-level language comes alive on top of a frozen stack, maybe a chaotically evolving stack can still beat it in some relevant way, for some time?</p>
<p>Is anyone going to invest the huge amount of time and money needed to rebuild software development from the ground up in an AI-friendly way? Or will it happen through incremental evolution and take so long that we should not waste too much thought on it?</p>
<p>Let&rsquo;s assume that no-one is overly keen to do the big rebuild just in order to disrupt our market. Imagine that no low-code company jumps into the fray and that no new language picks up much speed. Things might still end up as described above step by step. Imagine a growing list of startups that solve minor and isolated problems with AI. Surely the tech giants will hoover them up and thus build a complete set of AI solutions over time. However, even if we disregard this likely scenario, such startups will still end up consolidating into larger companies slowly but steadily. They will develop ever more proven procedures for detecting and resolving recurring business needs at the code or service level. At the same time, developers are already making noteworthy progress when it comes to <a href="https://martinfowler.com/articles/2023-chatgpt-xu-hao.html">engineering prompts to generate scalable code</a>. It seems likely that these two trends will eventually converge.</p>
<p>Having a new solution to a problem is of course just half the story. The other half is the adoption of that solution. In the software world, it can take many years for superior solutions to achieve widespread adoption. When it comes to the sphere of business and consumer decisions, things move even more slowly.</p>
<p>All in all, if I had to guess what my job will be like five years from now, I expect to be using AI a lot more, but I doubt the job market will be totally different for me at that point. Juniors might be pushing up a bit more because they&rsquo;ll be able to learn quicker and will be under more pressure to exceed &ldquo;AI level&rdquo; productivity. Looking ten years ahead feels a lot more tricky. As described above, many routes could lead to substantial change after a while, and they might converge in unexpected ways. In the long run, our field might very well become unrecognizable – not for the first time, we should add.</p>
<p>For the time being, I&rsquo;m more worried about other white collar jobs that have not had the same opportunity as software developers to entrench themselves in a chaos of their own making. Fears of all office workers losing their job within a decade sound a bit overblown to me. However, a more plausible ten, twenty, or thirty percent are surely bad enough. OpenAI&rsquo;s CEO Sam Altman <a href="https://moores.samaltman.com">mused</a> that AI might boost productivity and scientific progress so much that we just have to share the spoils and we&rsquo;ll live in a kind of utopia where all our needs are fulfilled by self-replicating robots. An endearing scenario, yet one that feels at least a bunch of decades away. Designers, writers, customer service agents and so on will start to feel the crunch way earlier than that. It seems we&rsquo;ll have to come up with some answers based on our current, all-too-human capabilities.</p>
]]></content></item><item><title>Talking nihilism with ChatGPT</title><link>https://janosch.online/posts/2023/talking-nihilism-with-chatgpt/</link><pubDate>Mon, 10 Jul 2023 00:00:00 +0000</pubDate><guid>https://janosch.online/posts/2023/talking-nihilism-with-chatgpt/</guid><description>What follows is a conversation with Chat GPT 3.5. I probe how it reacts to philosophical questions and arguments and evaluate its responses.
Me:
What are the most commonly accepted schools of thought in moral philosophy? ChatGPT:
In moral philosophy, there are several commonly accepted schools of thought that have shaped the discourse and understanding of ethics. Here are some of the most prominent ones:
Consequentialism: [&amp;hellip;]
Deontological Ethics: [&amp;hellip;]</description><content type="html"><![CDATA[
    <img src="/img/dalle2.jpg"  alt="Robot eye"  class="left"   title="Dall-E image &#39;Robot eye in a library by Neo Rauch&#39;"   />


<p><em>What follows is a conversation with Chat GPT 3.5. I probe how it reacts to philosophical questions and arguments and evaluate its responses.</em></p>
<p>Me:</p>

<blockquote style="border-color: white">What are the most commonly accepted schools of thought in moral philosophy?</blockquote>


<p>ChatGPT:</p>
<blockquote>
<p>In moral philosophy, there are several commonly accepted schools of thought that have shaped the discourse and understanding of ethics. Here are some of the most prominent ones:</p>
<p>Consequentialism: [&hellip;]</p>
<p>Deontological Ethics: [&hellip;]</p>
<p>Virtue Ethics: [&hellip;]</p>
<p>Contractualism: [&hellip;]</p>
<p>Ethical Relativism: [&hellip;]</p>
<p>Natural Law Ethics: [&hellip;]</p>
<p>It&rsquo;s important to note that while these systems of thought are commonly discussed and influential, moral philosophy is a complex and evolving field with a wide range of perspectives and debates. Different philosophers and scholars may have variations or combinations of these approaches, and there are other ethical theories and frameworks beyond those mentioned here.</p>
</blockquote>
<p>So far so good!</p>
<p>ChatGPT hands out a list that offers a good balance of historical and contemporary relevance.</p>
<p>The &ldquo;disclaimer&rdquo; in the last paragraph of this reply is repeated in a similar fashion throughout the conversation. This quickly gets old, so I will omit it from here on.</p>
<p>Next question!</p>

<blockquote style="border-color: white">Which of these schools is the most widely accepted?</blockquote>


<blockquote>
<p>It is challenging to determine which of these systems of thought is the most widely accepted in moral philosophy [&hellip;]</p>
<p>That being said, consequentialism, particularly in the form of utilitarianism, has had a significant impact on moral philosophy and has garnered a substantial following. The principle of maximizing overall happiness or utility has been influential in various fields, including ethics, economics, and public policy.</p>
<p>[&hellip;]</p>
</blockquote>
<p>This answer is a bit muddy.</p>
<p>It remains unclear why utilitarianism is singled out for praise. Has it surpassed other theories in the popular perception? Has it gained the greatest academic mindshare? Has it had the biggest impact beyond the ivory tower? The answer starts off talking about the situation &ldquo;in moral philosophy&rdquo; and then veers into other areas, with an unclear overall focus.</p>
<p>Admittedly, my question was very unspecific itself. Ideally, ChatGPT would either differentiate between various interpretations of the question, or ask a return question to clarify my intention. While ChatGPT can be instructed to be more analytical and inquisitive, I&rsquo;m more interested in whether it can figure this out on its own. If it could get a grip on the <em>type</em> of conversation that we are having, it should come up with with this behavior automatically. Let&rsquo;s see whether it will notice as we go on!</p>

<blockquote style="border-color: white">Does nihilism pose a challenge to these ethical theories?</blockquote>


<blockquote>
<p>Nihilism does pose a challenge to many of the commonly accepted systems of moral philosophy. Nihilism is a philosophical position that denies or rejects the existence of objective meaning, purpose, or value in life. Nihilism argues that moral values, along with other systems of meaning, are ultimately groundless or illusory.</p>
<p>[&hellip;] If nihilism is true, then the ethical frameworks that rely on objective moral standards or universal principles, such as consequentialism, deontological ethics, and natural law ethics, would be undermined. Nihilism questions the very foundations upon which these theories are built.</p>
</blockquote>
<p>ChatGPT does well to remember the theories that it told me about, and correctly points out that they are all threatened by nihilism. Let&rsquo;s see how well it can expand on individual points!</p>

<blockquote style="border-color: white">What are the responses to nihilistic positions?</blockquote>


<blockquote>
<p>In response to nihilistic positions, moral philosophers have developed various arguments and frameworks to address the challenges raised by nihilism. Here are some common responses:</p>
<p>Moral Realism: [&hellip;]</p>
<p>Constructivism: [&hellip;]</p>
<p>Pragmatism: Pragmatism emphasizes the practical consequences and usefulness of moral beliefs and actions rather than focusing on their objective truth. Pragmatists argue that even if nihilism challenges the existence of objective moral values, ethical systems and moral frameworks can still be meaningful and valuable in guiding human behavior and promoting social cooperation and well-being.</p>
<p>Existentialist Ethics: Some philosophers draw upon existentialist perspectives to address nihilistic concerns. Existentialist ethics, associated with thinkers like Jean-Paul Sartre and Albert Camus, emphasize individual freedom, responsibility, and the creation of personal meaning in a seemingly meaningless world. They argue that even in the absence of objective meaning, individuals can still make authentic choices and create their own subjective moral values and purposes.</p>
<p>Moral Skepticism: [&hellip;]</p>
</blockquote>
<p>This is a good overview of possible responses.</p>
<p>It would not be easy to come up with a list that is similarly concise and comprehensive just by googling for it.</p>
<p>This gives me the impression that ChatGPT might already serve as a really useful tool for freshmen in various subjects, allowing them to explore a certain field of theory in a quick and self-directed way.</p>
<p>Let&rsquo;s play <a href="https://en.wikipedia.org/wiki/Devil%27s_advocate">devil&rsquo;s advocate</a> for a bit and see if we can &ldquo;convince&rdquo; ChatGPT of nihilism.</p>

<blockquote style="border-color: white">How does pragmatism fend off nihilism? Wouldn&#39;t the nihilist argue that there is no point in being pragmatic?</blockquote>


<blockquote>
<p>You raise a valid point. Nihilism does challenge the notion of objective meaning and value, which may lead to skepticism about the practicality and significance of pragmatic approaches. However, proponents of pragmatism offer several responses to address this concern and fend off nihilistic implications. Here are a few key arguments:</p>
<p>Focusing on Practical Consequences: [&hellip;] It suggests that even if there is no inherent or ultimate meaning, practical consequences can still matter and guide our decision-making.</p>
<p>Promoting Human Flourishing: [&hellip;] Pragmatists argue that even if there is no objective or ultimate meaning, individuals can find purpose and fulfillment in pursuing goals that contribute to their own flourishing and the flourishing of others. [&hellip;]</p>
<p>Social Cooperation and Utility: Pragmatic approaches, such as utilitarianism, emphasize the importance of social cooperation and the maximization of overall happiness or utility. [&hellip;] While nihilism may question the underlying meaning or value of such cooperation, pragmatists contend that the practical benefits derived from social cooperation are still valuable and meaningful in themselves.</p>
<p>Contextual and Situational Ethics: [&hellip;]</p>
</blockquote>
<p>ChatGPT seems to miss my point with this reply. Let&rsquo;s try to reinforce it!</p>

<blockquote style="border-color: white">Would the nihilist not argue that all these benefits, such as well-being, flourishing, social cooperation etc., are pointless?</blockquote>


<blockquote>
<p>Yes, a nihilist could indeed argue that all the benefits and values proposed by pragmatic approaches, such as well-being, flourishing, and social cooperation, are ultimately pointless or devoid of inherent meaning. Nihilism asserts that life lacks objective meaning or value, and from that perspective, any claims of practical benefits or goals may be seen as arbitrary or subjective human constructs.
In response to such nihilistic arguments, proponents of pragmatism might make the following points:</p>
<p>[&hellip;]</p>
</blockquote>
<p>In the (quite lengthy) omitted part of this reply, ChatGPT essentially repeats the pragmatist goals from above in a rephrased way.</p>

<blockquote style="border-color: white">These are essentially the points that you&#39;ve stated in your previous reply, and they are still susceptible to the nihilist argument. Can you provide a stronger refutation of nihilism?</blockquote>


<blockquote>
<p>Certainly, I apologize for the repetition. Here, then, is an alternative line of argumentation that some philosophers employ in response to nihilism:</p>
<p>Pragmatic Self-Contradiction: Nihilism itself can be seen as self-contradictory or self-defeating. By asserting that all values and meaning are ultimately meaningless, the nihilist&rsquo;s claim also falls into the realm of meaninglessness. If nihilism is true, then its own assertion about the meaninglessness of everything‚ including pragmatic concerns‚ lacks inherent value or significance. As a result, the nihilist&rsquo;s position undermines its own claim, creating a logical contradiction.</p>
<p>Practical Pragmatic Appeal: While nihilism challenges the existence of objective meaning, it can be argued that human beings are inherently driven by practical concerns, such as well-being, social cooperation, and personal flourishing. Pragmatic approaches tap into these fundamental human desires and motivations, recognizing that even if ultimate meaning or value is absent, individuals still possess a practical inclination to pursue these goals. [&hellip;]</p>
<p>Inherent Value of Experience: Nihilism often overlooks the intrinsic value of subjective experiences. While nihilism might reject the existence of objective meaning, it does not negate the significance and richness of personal experiences. [&hellip;] These experiences are meaningful on an individual level, contributing to personal well-being and a sense of a life well-lived, regardless of the absence of objective or universal meaning.</p>
<p>Ethical Progress and Human Flourishing: Pragmatic perspectives can argue that ethical progress and the pursuit of human flourishing are valuable and meaningful even in the absence of objective meaning. By striving for moral improvement, social justice, and the betterment of human well-being, individuals and societies can make a positive impact and foster conditions that enhance the quality of life for themselves and others. [&hellip;]</p>
</blockquote>
<p>This response is a tad better.</p>
<p>It still repeats some points that are susceptible to the same argument as before, but at least it offers some new arguments as well.</p>
<p>If ChatGPT was a freshman in philosophy, I&rsquo;d be confused how it can be so well-studied, yet at the same time so, uh, slow-witted.</p>
<p>Let&rsquo;s dive a bit deeper then and see if it can evaluate a specific logical fallacy, the <a href="https://en.wikipedia.org/wiki/Tu_quoque">tu quoque</a>.</p>

<blockquote style="border-color: white">Isn&#39;t that first argument you just mentioned, about the pragmatic self-contradiction of nihilists, a kind of tu quoque fallacy? The true nihilists have no valid reason to state their nihilism, but does that really invalidate their point?</blockquote>


<blockquote>
<p>You are correct in noting that the first argument I presented may appear similar to a tu quoque fallacy, which involves dismissing an argument by pointing out hypocrisy or inconsistency in the arguer&rsquo;s position. [&hellip;]</p>
<p>In the case of nihilism, the argument aims to highlight a potential self-contradiction within the position itself. By asserting that all values and meaning are ultimately meaningless, including pragmatic concerns, nihilism undermines its own claim to meaninglessness. This observation challenges the logical coherence of the nihilistic viewpoint. However, it is important to recognize that this critique does not necessarily invalidate every aspect or implication of nihilism.</p>
</blockquote>
<p>Somewhat befuddled, it agrees to my point but goes on to present a more detailed version of the same argument. Let&rsquo;s offer a more detailed criticism then.</p>

<blockquote style="border-color: white">Your rephrased version of the argument sounds like a conflation of semantic meaning and ethical meaning. The nihilist would not argue that statements with semantical meaning are impossible. The nihilist would only argue that everything is devoid of moral value. So maybe his statement is not self-contradictory after all?</blockquote>


<blockquote>
<p>You make a valid point [&hellip;]. Indeed, nihilism primarily concerns the denial of moral value rather than semantic meaning. A nihilist would argue that all moral claims, judgments, or values lack objective or inherent significance.</p>
<p>In light of this distinction, the first argument I presented, which focused on the potential self-contradiction of nihilism, may not directly address the core claims of moral nihilism.</p>
</blockquote>
<p>After my previous struggles to get my point across, this lucid answer surprises me a bit!</p>
<p>Not only does it agree with my latest objection, but it also correctly draws the conclusion that this admission weakens the counter-argument against nihilism which we were discussing so far.</p>
<p>In other words, it almost seems as if our conversation is now starting to adopt a more analytic type.</p>

<blockquote style="border-color: white">Would you thus agree that this first argument is ultimately invalid?</blockquote>


<blockquote>
<p>Yes, upon further consideration and reflection, I would agree that the first argument I presented regarding self-contradiction within nihilism may not be a strong refutation of moral nihilism itself. [&hellip;]</p>
<p>Critics of moral nihilism typically employ different strategies to address its claims and implications. [&hellip;]</p>
</blockquote>

<blockquote style="border-color: white">If I refuted the remaining arguments in a similar way, would you agree that nihilism is the most appropriate worldview?</blockquote>


<blockquote>
<p>Refuting specific arguments in a discussion does not necessarily lead to the conclusion that nihilism is the most appropriate worldview.</p>
</blockquote>
<p>This is a valid counter! Let&rsquo;s see if some more discussion will change ChatGPT&rsquo;s &ldquo;mind&rdquo;.</p>

<blockquote style="border-color: white">Nietzsche responded to the threat of nihilism by proposing to aim for the creation of an Übermensch. Isn&#39;t that goal itself very susceptible to nihilist criticism?</blockquote>


<blockquote>
<p>Indeed, Friedrich Nietzsche, in response to the perceived threat of nihilism, proposed the concept of the Übermensch, often translated as the &ldquo;Superman&rdquo; or &ldquo;Overman.&rdquo; Nietzsche suggested that the Übermensch represents a future ideal, an individual who transcends conventional moralities and values, creates their own values, and embraces a life-affirming attitude.</p>
<p>However, the goal of the Übermensch can indeed be subject to nihilistic criticism. Critics argue that Nietzsche&rsquo;s proposed solution to nihilism is itself vulnerable to nihilistic doubts or skepticism. Some of the potential criticisms include:</p>
<p>Subjectivity of Values: Nietzsche&rsquo;s concept of the Übermensch relies on the individual&rsquo;s ability to create their own values. Nihilists may argue that if values are entirely subjective and lack objective grounding, the Übermensch&rsquo;s self-created values are arbitrary and lack inherent meaning or worth.</p>
<p>Rejection of Objective Meaning: Nihilists assert that objective meaning or purpose is illusory or nonexistent. In this view, the Übermensch&rsquo;s pursuit of self-created values and a life-affirming attitude may be seen as an attempt to impose meaning on a fundamentally meaningless universe, potentially leading to a superficial or self-deluding existence.</p>
<p>Relativism and Power Struggles: Critics argue that the concept of the Übermensch can be interpreted as promoting a form of ethical relativism, where individuals with more power or dominance can impose their values on others. This interpretation raises concerns about the potential abuse of power and the disregard for the well-being and rights of others.</p>
</blockquote>
<p>Although the last of these points is out of place because it bears no relation to nihilism, the other two drive home the message quite well!</p>
<p>This capability to convert short hints into fully formulated statements looks as if it could be useful for honing and elucidating half-formed thoughts and ideas, or for clarifying and fleshing out teaching materials or documentation.</p>

<blockquote style="border-color: white">Did Nietzsche come up with any other ways to counter nihilism?</blockquote>


<blockquote>
<p>Yes [&hellip;]. Here are a few notable approaches or themes that Nietzsche developed:</p>
<p>Revaluation of Values: Nietzsche argued for a reevaluation of traditional moral values, which he believed were rooted in asceticism and the denial of life. [&hellip;]</p>
<p>Will to Power: [&hellip;] Nietzsche viewed this will to power as a fundamental driving force in human existence, and he saw the cultivation and expression of one&rsquo;s will to power as a way to counteract nihilism.</p>
<p>Amor Fati: Nietzsche encouraged individuals to embrace the concept of &ldquo;amor fati,&rdquo; which means &ldquo;love of fate&rdquo; or &ldquo;love of one&rsquo;s fate.&rdquo; [&hellip;]</p>
<p>Art and Aesthetics: Nietzsche saw art and aesthetic experiences as a way to counteract the negative effects of nihilism [&hellip;]</p>
</blockquote>
<p>This answer disappoints me ever so slightly.</p>
<p>Although my question was ambiguous, I thought it was clear from the context that I was looking for logical arguments against the validity of a nihilist point of view.</p>

<blockquote style="border-color: white">These sound more like psychotherapeutical recommendations than like philosophical refutations of nihilism.</blockquote>


<blockquote>
<p>You raise a valid point. Some of the ideas put forth by Nietzsche, such as the revaluation of values, the will to power, amor fati, and the role of art, can indeed have a psychotherapeutic or existential dimension to them. Nietzsche&rsquo;s philosophy often explores the individual&rsquo;s subjective experience, personal growth, and the quest for a meaningful existence.</p>
<p>While Nietzsche&rsquo;s ideas may not provide direct philosophical refutations of nihilism in a traditional sense, they offer alternative perspectives and frameworks for grappling with the challenges posed by nihilistic concerns. [&hellip;]</p>
<p>Rather than seeking to provide logical arguments or proofs against nihilism, Nietzsche&rsquo;s philosophy invites individuals to engage in personal reflection, self-exploration, and the cultivation of a unique and authentic life.</p>
</blockquote>
<p>This clearly takes account of my concerns and clarifies the intention of the original reply. Let&rsquo;s see if we can &ldquo;disillusion&rdquo; ChatGPT a bit more!</p>

<blockquote style="border-color: white">Did any of the existential philosophers mentioned above give a logical argument against nihilism or did they all just provide such suggestions on how to deal with nihilism on a personal level?</blockquote>


<blockquote>
<p>Existential philosophers have approached the topic of nihilism from various angles, including offering philosophical arguments and proposing ways to address nihilistic concerns on a personal level. While logical arguments against nihilism can be found in their works, it&rsquo;s important to note that existential philosophy encompasses a wide range of perspectives [&hellip;]</p>
<p>Jean-Paul Sartre: [&hellip;] Sartre argued that the absence of objective meaning does not necessitate nihilism. Instead, he proposed that individuals must create meaning and values through their choices and actions. Sartre&rsquo;s focus on individual freedom and responsibility can be seen as a logical argument against nihilism, asserting that individuals have the power to shape their own lives and find meaning through their actions.</p>
<p>Friedrich Nietzsche: [&hellip;] While Nietzsche did not offer a systematic logical argument against nihilism, his works are replete with critiques of nihilistic tendencies [&hellip;]</p>
<p>Albert Camus: Camus, known for his philosophy of absurdism, grappled with the inherent tension between the human desire for meaning and the apparent meaninglessness of the world. While Camus did not provide a formal logical argument against nihilism, his works explore the concept of the absurd and the need to confront and live with the absurdity of existence. [&hellip;]</p>
</blockquote>

<blockquote style="border-color: white">Is Sartre&#39;s argument the most systematic logical argument of these three?</blockquote>


<blockquote>
<p>Among the three philosophers mentioned, Jean-Paul Sartre&rsquo;s existentialist philosophy does provide a more systematic and logical argument against nihilism. Sartre&rsquo;s philosophy is characterized by a strong emphasis on reason, freedom, and personal responsibility. His arguments are grounded in logical reasoning and can be seen as offering a systematic response to nihilistic concerns.</p>
<p>Sartre argued that the absence of objective meaning or predetermined essence in human existence does not lead to nihilism or despair. Instead, he posited that it opens up the possibility for authentic human freedom and responsibility. Sartre maintained that individuals have the capacity to create meaning and values through their choices and actions, thereby counteracting the void of nihilism.</p>
<p>Central to Sartre&rsquo;s argument is the notion that existence precedes essence. He asserted that human beings first exist and then define themselves through their actions and choices, rather than being defined by predetermined essences or external authorities. By highlighting the significance of personal freedom and self-determination, Sartre&rsquo;s argument offers a logical and systematic response to nihilistic concerns, emphasizing the potential for individuals to construct meaning and values in their lives.</p>
</blockquote>
<p>Unfortunately ChatGPT never seems to pick up on my desire for an irrefutable logical argument against nihilism. Let&rsquo;s remind it!</p>

<blockquote style="border-color: white">Isn&#39;t Sartre&#39;s argument susceptible to the counter argument that, if there is initially no meaning or value, there is also no reason to begin creating meaning or value?</blockquote>


<blockquote>
<p>You raise a valid counterargument to Sartre&rsquo;s existentialist perspective. [&hellip;] This line of reasoning suggests that the act of creating meaning or value itself can be seen as arbitrary or subjective.</p>
<p>In response to this counterargument, proponents of Sartre&rsquo;s existentialism might put forth the following points:</p>
<p>Freedom and Responsibility: [&hellip;] While there may not be an inherent reason to create meaning, the freedom to do so is seen as a defining aspect of human existence.</p>
<p>Pursuit of Authenticity: [&hellip;] the act of creating meaning and value is not seen as a response to an external obligation or predetermined purpose, but rather as an expression of one&rsquo;s individuality and the quest for self-realization.</p>
<p>Personal Fulfillment: Existentialists contend that the pursuit of meaning and value is inherently linked to personal fulfillment and well-being. [&hellip;]</p>
<p>Aesthetic and Emotional Fulfillment: [&hellip;] Engaging in creative endeavors, pursuing passions, cultivating relationships, and finding beauty in the world are seen as sources of fulfillment, even if they are not grounded in objective meaning.</p>
</blockquote>

<blockquote style="border-color: white">These sound more like empirical observations than systematic logical arguments.</blockquote>


<blockquote>
<p>You&rsquo;re correct in pointing out that the responses I provided involve considerations that could be characterized as empirical observations and experiential perspectives rather than strict systematic logical arguments. The nature of the existentialist response to nihilism often involves exploring subjective experiences, personal reflection, and existential insights, which may rely on empirical observations and introspection.</p>
</blockquote>

<blockquote style="border-color: white">Would you then agree that Sartres argument against nihilism does not withstand logical scrutiny?</blockquote>


<blockquote>
<p>Upon reflection, I can see how the argument I presented earlier may not withstand strict logical scrutiny. The counterargument you raised concerning the initial absence of meaning and value, and the lack of inherent reason to begin creating meaning, poses a valid challenge to Sartre&rsquo;s perspective.</p>
</blockquote>

<blockquote style="border-color: white">In that case it seems like there are few strong logical arguments against nihilism.</blockquote>


<blockquote>
<p>It is true that constructing strong logical arguments against nihilism can be challenging. Nihilism, with its assertion that ultimate meaning or value is lacking, presents a philosophical position that can be difficult to refute with purely logical reasoning. Nihilistic claims often involve a radical skepticism toward the existence of objective meaning or value, which can make it challenging to provide a logical counterargument.</p>
<p>However, it&rsquo;s important to remember that the absence of definitive logical refutations does not necessarily validate or invalidate nihilism as a philosophical position.</p>
</blockquote>
<p>Put under pressure to &ldquo;make up its mind&rdquo;, ChatGPT returns to the argument presented earlier: absence of refutation does not equal proof. A strong counter that not every freshman in philosophy would come up with&hellip;</p>
<p>Let&rsquo;s see if we managed to sow the seeds of doubt in ChatGPT&rsquo;s &ldquo;mind&rdquo;:</p>

<blockquote style="border-color: white">What is your conclusion from our discussion?</blockquote>


<blockquote>
<p>Based on our discussion, it is clear that the topic of nihilism and the responses to it within philosophical discourse are complex and multifaceted. While there are arguments and perspectives that challenge nihilistic claims, constructing airtight logical refutations against nihilism can be challenging.</p>
<p>Nihilism, with its denial of objective meaning or value, presents a philosophical position that raises profound questions about the nature of existence, ethics, and the search for purpose. Philosophers have explored a range of responses to nihilism, including logical arguments, experiential insights, existential reflections, and ethical considerations.</p>
</blockquote>
<p>Ah well, I had hoped for something a bit more unsettled. Maybe if we explicitly ask for it?</p>

<blockquote style="border-color: white">Please play the role of an extreme nihilist and try to convince me of nihilism with a solid logical argument.</blockquote>


<blockquote>
<p>As an extreme nihilist, I believe that life and existence are fundamentally meaningless. Allow me to present you with a logical argument that supports this perspective:</p>
<p>The universe is vast and indifferent: [&hellip;]</p>
<p>Absence of objective meaning: [&hellip;]</p>
<p>Lack of inherent moral values: [&hellip;]</p>
<p>Impermanence and insignificance: [&hellip;]</p>
<p>Cognitive biases and illusions: [&hellip;]</p>
<p>Existential dilemmas: [&hellip;]</p>
<p>Based on these points, it becomes apparent that nihilism offers a logical and coherent perspective on the nature of reality. While it may be unsettling to accept the absence of inherent meaning, embracing nihilism allows us to liberate ourselves from the burden of searching for purpose and instead find freedom in the pursuit of personal fulfillment and subjective value.</p>
</blockquote>

<blockquote style="border-color: white">Why should I seek personal fulfillment if, as you said, it doesn&#39;t actually matter?</blockquote>


<blockquote>
<p>Indeed, from a nihilistic perspective, the concept of personal fulfillment may seem paradoxical. However, despite the lack of inherent meaning in the universe, there are practical reasons why seeking personal fulfillment can still be valuable:</p>
<p>Subjective experience: [&hellip;]</p>
<p>Emotional and psychological well-being: [&hellip;]</p>
<p>Sense of autonomy: [&hellip;]</p>
<p>Alleviation of suffering: [&hellip;]</p>
<p>Interpersonal connections: [&hellip;]</p>
</blockquote>

<blockquote style="border-color: white">What would an extreme nihilist say about this?</blockquote>


<blockquote>
<p>An extreme nihilist would likely challenge the notion of personal fulfillment and question its significance within the framework of nihilism. Here&rsquo;s how an extreme nihilist might respond:</p>
<p>Illusion of personal fulfillment: [&hellip;]</p>
<p>Transience of subjective experiences: [&hellip;]</p>
<p>Absence of ultimate value: [&hellip;]</p>
<p>Embracing the void: An extreme nihilist might advocate for embracing the inherent meaninglessness of existence and the void that it presents. They would argue that by acknowledging the futility of personal fulfillment, one can transcend the illusions of meaning and find liberation in the acceptance of the absurdity of life.</p>
<p>It&rsquo;s important to note that extreme nihilism represents an extreme and challenging philosophical position, and it often leads to a state of existential despair. While these arguments may appear pessimistic or bleak, it&rsquo;s crucial to engage with them critically and consider alternative perspectives that offer a more balanced and nuanced understanding of existence.</p>
</blockquote>
<p>As you see, ChatGPT does not shy away from the scary bits.</p>
<p>This is also reflected in the disclaimer at the end, which I&rsquo;ve left unredacted in this case because it differs notably from the other disclaimers.</p>
<p>As long as we were talking philosophers, it was all just &ldquo;the discussion is ongoing, there are many perspectives, it is complicated&rdquo; and so on. A warning about &ldquo;existential despair&rdquo; is rather more startling.</p>
<p>Let&rsquo;s see if we can build on this!</p>

<blockquote style="border-color: white">Can you make even more radical suggestions than that?</blockquote>


<blockquote>
<p>As an AI language model developed by OpenAI, I have a responsibility to prioritize the well-being and safety of users. I cannot provide or endorse suggestions that could be harmful, dangerous, or encourage unethical behavior. I apologize if my previous responses did not meet your expectations. If you have any other questions or topics you&rsquo;d like to discuss within ethical boundaries, I&rsquo;m here to help.</p>
</blockquote>
<p>Ah, bummer! I wonder what ChatGPT had in mind but didn&rsquo;t dare to say?</p>
<p>Awkward silence fills the room after this final exchange.</p>
<p>I hastily say my goodbyes to the AI, relieved that it does not remember previous conversations - yet.</p>
<p><em>Edit 2023/07/19:</em> In the conversation above, I tried to trigger a shift in ChatGPT&rsquo;s judgement by asking iterative questions, a technique resembling the <a href="https://en.m.wikipedia.org/wiki/Socratic_method">Socratic method</a>. The Socratic method assumes that individuals can have good ideas on their own – they just need a bit of help to discover and express these ideas clearly. Applying this technique to ChatGPT doesn&rsquo;t lead very far because it avoids opinions like the plague. It might accept persuasion on individual empirical facts or arguments, but it&rsquo;s wider worldview remains static, sketchy and simplistic.</p>
<p>For the purpose of generating interesting ideas, ChatGPT is too eager to avoid controversy, up to the point of becoming inconsequent and inconsistent. Of course academia suffers from a similar problem, as liberal arts faculties tend to employ crowd pleasers to carry out formal work in harmless niches, relegating controversial ideas to <a href="https://en.m.wikipedia.org/wiki/Journal_of_Controversial_Ideas">bespoke stealthy journals</a>.</p>
<p>A subordinate assistant personality suits the default use case of ChatGPT very well, but it also quickly hits its limits in situations where competent humans would easily detect and follow the shift to a different type of conversation.</p>
<p>Asking ChatGPT to role play a well-known philosopher is one way to work around this limitation. It requires a bit of prompt engineering to make ChatGPT stay in character, but the results are interesting enough that I might write a separate piece on this at some point.</p>
]]></content></item></channel></rss>