ChatGPT as a Glider — James Intriligator

Large language models, such as ChatGPT are poised to change the way we develop, research, and perhaps even think (see The Offshoring of Thought and Memory). But how do we best understand LLMs to get the most from our prompting?

Thinking of LLMs as deep neural networks, while correct, is not very useful in practical terms. It doesn’t help us interact with them, rather as thinking of human behavior as nothing more than the result of neurons firing won’t make you many friends. However, thinking of LLMs as search engines is also faulty — they are notoriously unreliable for facts.

Some other models have been proposed:

  • LLMs are “stochastic parrots” as Bender, Gebru, McMillan-Major, and (Sh)Mitchell argue
  • ChatGPT is “A fuzzy JPEG of the web” according to Ted Chiang

These both capture something of how they work, but they do not provide any direction on how to create prompts.

Our guest this week is James Intriligator. James trained as a cognitive neuroscientist at Harvard, but then gravitated towards design and is currently Professor of the Practice in Human Factors Engineering and Director of Strategic Innovation at Tufts University. 

James proposes viewing ChatGPT not as a search engine, parrot, or JPEG, but as a “glider” that journeys through knowledge. By guiding it through diverse domains, it learns your interests and customizes better answers. Dimensional prompts activate specific areas like medicine or economics. 

I believe we’ll need to have various mental models to understand how best to interact with LLMs. This is one for the toolbox.

Links:

Generative Art using GPT4 #2: 3D fractals

Click for full size, interactive version

There’s a serendipitous quality to experimenting with LLMs.

I was trying to make an interactive model of a Mandelbulb with ChatGPT. Although it didn’t work as intended, it produced something funky. Indeed, for making art their fallibility might be a feature and not a bug.

Here’s a tip for making HTML5 from code generated by LLMs:

  • It will get stuff wrong — frequently things won’t render at all
  • Paste the results into a text file, save as .html, open in Chrome, open the Developer Tools Panel in Chrome
  • If you have any errors they will be listed (see below) paste them into Chat GPT or your LLM of choice. Let it figure out what went wrong.

Generative Art using GPT4 #1: fractals

Mandelbrot Fractal Zoom

To produce something for many people was once an expensive endeavor, capital was required to open a factory or obtain a printing press.

If you’re reading this, you probably own a factory and a printing press. It’s the object attached to this screen. But you might need workers to help you turn ideas into products. This is where LLMs can help.

I’ve long been fascinated with fractals, these entities so rich in detail that they seem to live between dimensions as if overspilling the plane but not filling the volume. But I’d never bother coding them, the idea was enough, the work was too much.

With ChatGPT4 I created the above HTML5 fractal in a few steps, starting with the prompt to use the Multiverses palette:

Draw a Mandelbrot fractal using the palette #A66021 #07091C #19837E #11C55A #FFFD34 #B9FB4F #732401

Using the Code Interpreter this, pleasingly, produces an image in the ChatGPT window using Python. A few more prompts created one in HTML5 that zooms on click with overlay text that disappears.

What I’m feeling right now is a fractal sense of accomplishment — I’d be more proud if I’d coded this from scratch — to have been an artisan rather than a foreman. I’ve overspilled the plane, but not filled the volume.

Phylogeny & The Canterbury Tales — Peter Robinson

The physical solidity of books encourages notions of “the text” or “the canonical edition”. The challenges to this view from post-modernist thought are well known. But there are other ways in which this model of a static text may fail. Our guest this week is Peter Robinson (my dad!) who takes us through his work … Read more

MV#11 — AI, risk, fairness & responsibility — John Zerilli

AI is already changing the world. It’s tempting to assume that AI will be so transformative that we’ll inevitably fail to harness it correctly, succumbing to its Promethean flames. While caution is due, it’s instructive to note that in many respects AI does not create entirely new challenges but rather exacerbates or uncovers existing ones. … Read more

Plants, Roots, Spirals and Palaeobotany — Sandy Hetherington

Plants have transformed the surface of the earth and the contents of our atmosphere. To do this they’ve developed elaborate systems of roots and branches which (sometimes) follow uncanny mathematical patterns such as the Fibonacci sequence. Sandy Hetherington leads Edinburgh’s Molecular Palaeobotany and Evolution Group, they take a no-holds-barred approach to understanding plant development by … Read more

MV#9 — The Hunt for H2 — Rūta Karolytė

For many years scientific consensus has averred that hydrogen does not occur naturally in significant quantities without being bound to other atoms (such as in H20, water, or CH4, methane). To obtain the gas — whether as a fuel or for use in fertilizers — we need to strip it from those molecules — typically by electrolysis and steam reformation. But our understanding may be ripe for change.

Website of National Renewable Energy Laboratory from February 2023, following the publication of a New York Times article on natural H2, the text was changed to “Because hydrogen typically does not exist freely in nature” (emphasis mine)

Rūta Karolytė is at the vanguard of prospectors looking for large, naturally occurring reservoirs of hydrogen. She’s a researcher from Oxford specializing in the geochemistry of the Earth and she enlightens us to the mechanisms that are likely to be producing hydrogen in the crust: radiolysis and serpentinization. 

In reviewing the evidence for naturally occurring hydrogen we pass through exotic terrain: a Soviet-era theory of hydrocarbon production, fairy rings, hydrothermal vents and chemosynthetic life. These organisms, remarkably, do not depend on the sun, plants, or any other life forms for their energy. Instead, they draw directly from the power stored in inorganic compounds. Their existence is testimony to the natural occurrence of hydrogen.

This does not guarantee that hydrogen is present in large quantities, but modeling of the processes that produce it — particularly serpentinization — suggests it is. Serpentinization is a kind of rusting whereby rocks are oxidized and hydrogen is freed from water molecules, wherever water and the right kinds of rocks are present and the pressure and temperature are right, hydrogen will be produced. What is more this process could be sped up by the introduction of more water underground.

If Rūta and her fellow prospectors are correct, the tapping of natural hydrogen could have transformative consequences for the “Hydrogen economy” — such as cutting out the substantial fossil fuel emissions associated with deriving fertilizers from methane or creating a cheap basis for building synthetic fuels.

In the first half of the show, we also delve into carbon sequestration — another cool climate topic. But I’ve got so excited writing up the first half, that I’ll leave it here. 

References

Thought Experiments, Mach, Galileo & Phenomenology — Harald Wiltsche

Thought experiments have played a starring role in physics. They seem, sometimes, to pluck knowledge out of thin air. This is the starting point for my discussion this week with the philosopher Harald Wiltsche: what are thought experiments?

How do they function — are they platonic laboratories with no moorings in observations or a way of supercharging our reasoning about phenomena?

What do they deliver? Much emphasis has been put on the paradigm-shattering insights of Einstein where thought experiments appear like midwives in the production of new theories. But they can also function in explaining those theories, in ensuring they are understood.

This leads to the question: what is understanding? Harald argues that it’s the ability to manipulate or deploy knowledge backed up by a mental model. He reasons that thought experiments can help us to make sense of the abstraction of mathematical models.

We discuss many topics: the mathematization of science with Galileo, where thought experiments go wrong, transcendental arguments, the links between Husserl and Mach — it was the latter’s emphasis on grounding physics in phenomenona that inspired the phenonomenological tradition in philosophy.

While there are many notes we touch on, the theme that we dance to is this: there are lots of forms of reasoning that can work well within physics and we need equal pluralism in our philosophy of science to understand the its startling, uncanny success in modeling nature.

Notes

How well does ChatGPT do with thought experiments?

Pretty well.

This question came up when discussing understanding. Large language models are certainly adept at manipulating symbols in ways that sound convincingly human, but how well do they in reasoning (or appearing to reason) about physics?

I go through two sets of prompts here, the second — where I prompt it with a thougth experiment that gets increasingly bizarre — is the more intriguing. It’s possible in all of these cases that a similar experiment has somewhere been discussed and ChatGPT is esstially parroting someone else’s understanding, however, the setup is rather complex: a helicopter magnetically levitating a butterfly in a plastic plane — has that really been dicussed before? I think one is forced to concede that it appears to have a good grasp of the physics.

Asking ChatGPT (GPT4) to think up a thought experiment

User Can you construct a thought experiment to explore the issue of whether space is absolute or relative, the ingredients in the experiment are two brass balls, scissors and a ribbon


ChatGPT
Absolutely, let’s consider a thought experiment, that could potentially show how to understand the difference between the concepts of absolute and relative space.

First, let’s define these terms for clarity:

Absolute Space: This refers to the Newtonian concept of space, which exists independently and objectively, as an unchangeable and infinite background where all physical events occur.

Relative Space: This refers to the Einsteinian concept of space, where space doesn’t exist independently of the things within it. Instead, space and time are interwoven into a four-dimensional fabric known as spacetime, and the presence of mass and energy can distort this spacetime fabric. This is the basis of Einstein’s theory of General Relativity.

Now, let’s proceed to the thought experiment:

Imagine you’re in a spaceship with no windows, floating in deep space, far away from any celestial bodies. In this spaceship, you have two brass balls, a ribbon, and a pair of scissors.

You tie the two balls together with the ribbon and hang them in the middle of your spaceship. Since you’re in deep space with no other forces acting on your spaceship, the balls just float there, not moving relative to the spaceship.

Experiment 1: Now, you give your spaceship a slight spin. After a while, you notice that the balls are now rotating around the center of the spaceship, the ribbon taut, maintaining a fixed distance from each other due to the centrifugal force caused by the rotation of the spaceship. In this case, from the perspective of Newton’s absolute space, you’ve imparted a rotation on the spaceship, and the balls are simply responding to this by moving in a circle.

Experiment 2: Now, imagine an alternate scenario where your spaceship remains stationary, but all the universe around it starts to spin instead. According to the principle of relativity, you wouldn’t be able to tell the difference between these two situations from inside the spaceship. The balls would behave in exactly the same way, spinning around the center due to what appears to be the centrifugal force. However, this time, according to the relative space concept of Einstein’s General Relativity, the mass-energy of the universe spinning around the spaceship would distort the spacetime around it, creating a frame-dragging effect which leads to the balls’ circular movement.

This experiment illustrates that whether space is absolute or relative can dramatically change our interpretation of the same phenomena. Although this is just a thought experiment and not a practical one (we can’t spin the entire universe), it highlights the difference between the Newtonian concept of absolute space and the Einsteinian concept of relative space.

User
If a butterfly is inside a plane, but flying — so not on the seats — does the plane need to generate more thrust to maintain altitude than if the butterfly were absent?

Asking ChatGPT (GPT4) to reason through a thought experiment


ChatGPT
The plane doesn’t need to generate any additional thrust to maintain altitude whether a butterfly is flying or resting within the airplane cabin. This is due to the principle of conservation of momentum.

In the closed system of the airplane, the mass and the momentum are conserved. This means that the butterfly’s presence, flight, or rest doesn’t change the total momentum of the plane. When the butterfly is flying, it pushes air downwards to generate lift. The air pushes back on the butterfly, but it also pushes (very slightly) on the plane. The sum of these forces and reactions remains constant, so no extra thrust from the plane’s engines is necessary to maintain altitude.

In other words, when the butterfly takes off from a perch inside the airplane, it imparts a slight force to the airplane in the opposite direction. But as it flies around, all the movements it makes, the flapping of its wings, the changes in direction, etc., just redistribute the mass and momentum within the plane. The net effect on the plane is zero.

The situation would be the same whether the object in question is a butterfly, a bird, or a passenger walking down the aisle. As long as the action takes place within the closed system of the plane, it won’t affect the thrust needed to maintain the plane’s altitude or direction.

User
But if the butterfly were absent, wouldn’t the plane weigh less and therefore less thrust would be required?

ChatGPT
You are correct that if the butterfly were not present at all, the total weight of the airplane would be marginally less by the weight of the butterfly. The plane would therefore need a tiny amount less lift to maintain altitude, and consequently a tiny amount less thrust to maintain a particular speed.

However, once the butterfly is on board the plane, whether it is flying within the cabin or resting doesn’t affect the thrust required to maintain the plane’s altitude. This is because the weight of the plane system (including the butterfly, passengers, seats, etc.) is the same whether the butterfly is in flight or at rest.

In simpler terms, the energy required to lift the butterfly against gravity is still accounted for within the closed system of the plane, whether the butterfly is using its own wings to stay aloft or if it’s sitting on a seat.

So, to summarize, the plane does weigh less if the butterfly isn’t there at all, which would mean slightly less thrust is required. However, if the butterfly is present in the plane, whether it’s flying or not doesn’t make a difference to the thrust required.

User
What happens if the inside of the plane were a vacuum and the butterfly could levitate (perhaps magnetically) inside the plane, would it contribute to the weight of the plane’s contents then?


ChatGPT
Your scenario is a fascinating one. If we’re assuming the butterfly can somehow levitate magnetically, in a vacuum, inside the plane, then the answer to your question is yes, the butterfly still contributes to the total weight of the plane.

In this case, even if the butterfly is levitating, it doesn’t escape the pull of gravity. The butterfly still has mass, and the Earth’s gravity still acts on it, exerting a force (its weight). That gravitational force doesn’t disappear when it levitates; instead, it’s just counterbalanced by another force (in this case, a magnetic one).

This means that the butterfly’s weight still contributes to the overall weight of the plane. So if the butterfly weren’t present at all, the plane would be marginally lighter by the weight of the butterfly, regardless of whether it’s levitating or not.

The important point here is that gravity acts on all mass, regardless of its state or position. A levitating object in a gravitational field is still subject to gravity and still contributes to the total weight of the system it’s part of.

User
What if the plane were made of plastic, and the magnetic force holding the butterfly in place was one due to a helicopter flying above the plane, would it still contribute to the weight of the plane and thus lead the plane to require a tiny amount more thrust than if the butterfly were absent?

ChatGPT
If the magnetic force attracting the butterfly is not coming from the plane itself, but from an external source like a helicopter above it, then the situation changes.

In this case, the force that’s supporting the levitating butterfly is not being applied by the plane, but by the helicopter. So, the weight of the butterfly (which is the force of gravity acting on its mass) is essentially being “transferred” to the helicopter, not the plane.

Therefore, in this specific scenario, the butterfly’s weight would not contribute to the total weight of the airplane while it’s levitating. As a result, the plane would not require more thrust to maintain altitude than if the butterfly were completely absent.

However, remember that this situation is based on quite a few assumptions that would be very difficult to realize in the real world, and it doesn’t take into account other potential factors that could affect the plane’s flight.