The Triumph of the Ugly Widget: Bypass your BIas
In this series, we review scientific papers in an approachable way. Our main tool is NotebookLM, which is hacking into our human desire for narratives.
Today’s paper:
Having read a few papers on evolutionary algorithms and connected with Risto, this paper further develops intuition surrounding evolutionary algorithms.
I love his point that evolutionary algorithms should shine on discovering new approaches which may or may not be captured in perhaps handcrafted reinforcement learning where human prior knowledge is baked in to some degree.
The examples given in the text are difficult for me in some ways but helpful in other ways.
They primarily focus on psychological deficiencies, for instance, any prior injected for designing websites or for growing basil plants.
They want to stress that this is especially helpful for breaking out of a mode.
I wanted to add intuition by looking at how genetic algorithms work in nature and when we see them successful.
My intuition seems to suggest that, for instance, they have highly novel strategies in cooperation and mutualism and parasitism.
Further, interacting with physical environments such as the aerodynamic profile of sea creatures which the US Navy has sought to mimic in some of its vessels seems to be another successful avenue prior to advanced computational modeling of airflows.
Other examples of successful features in nature are resource-limited organism type approaches inspiring dramatic performance in things like the peregrine falcon which can dive at over 100 miles per hour and the absolute optimization of birds in flight.
This suggests that evolutionary algorithms are indispensable to anyone in a resource-contained environment.
NotebookLM podcast and transcript (Google AI transcription)
Read full AI transcript
“Imagine you assign an artificial intelligence to design uh like the perfect high-converting e-commerce website,
right? A task we usually give to highly paid human designers.
Exactly. But this AI, it doesn’t rely on human design theories. It just tests massive amounts of variations. And eventually it outputs something so visually jarring. I mean, clashing neon colors, massive high contrast text, totally chaotic spacing.
Yeah. The human engineers literally dubbed it the ugly widget because it looked so bad. Right. The ugly widget and then you put it live and that ugly widget outperforms elegant human design websites by like 45%.
Which is just a staggering difference.
Really is. So today we are looking at the mechanism behind that exact kind of breakthrough.
Welcome to the deep dive by the way. Our mission today is exploring how we get machines to you know stop mimicking human logic and start inventing solutions we never could have thought of ourselves.
Yeah. And it really is a critical paradigm shift in computer science because I I mean for years now the foundation of machine learning has basically been training models on massive existing data sets
like feeding it millions of pictures of cats so it knows what a cat is
exactly or whether it is identifying tumors in medical imaging or uh predicting the next word in a sentence. Those systems are phenomenally powerful statistical models but they are inherently limited by what we already know
right because they’re just copying us.
They map out the correct answers we’ve provided and apply those patterns to new data.
But what happens S when you face an environment where the optimal solution is well entirely unknown
which is where things get really tricky.
Totally. To navigate that we are examining an academic article by Risto Miclenan titled creative AI through evolutionary computation principles and examples.
So evolutionary computation or EC
right? This is a methodology that leverages Derwinian natural selection. So you know reproduction crossover and mutation to organically evolve genuinely unprecedented ideas. Okay, let’s unpack this because for those of you listening, whether you are an engineer, an artist, or I don’t know, just trying to solve a tough problem at work, understanding how evolutionary algorithms generate creativity provides a wildly different framework for brainstorming.
It completely flips how you look at problem solving.
It really does. But before we get into how evolution actually accomplishes this, we first need to understand the structural limitations of standard deep learning,
right? the stuff we are currently using everywhere.
Yeah. Because we know most current machine learning models operate on a concept called hill climbing or gradient descent. They evaluate a state. They calculate the mathematical slope of improvement and they just adjust their parameters to step up that slope.
Exactly. The algorithm takes incremental steps toward lower error rates or you know higher rewards. And it is highly efficient at finding local optima.
But wait, if algorithms using gradient descent can beat grand masters at chess or go, why can’t we just point them at a creative design problem and say, “Hey, go invent something new.” Why do they fail when the goal is pure invention?
Because gradient descent requires a continuous calculable slope to follow. It only knows how to move in the direction of immediate improvement.
It has to have a clear path up,
right? To visualize the limitation, we have to look at the environment the AI is operating in, which is what we call the search space.
Let me see if I can picture this actually. Is it kind of like dropping a blindfolded person onto the side of a mountain.
Okay, I like that. Yeah.
So, they use their feet to feel the slope and they just keep stepping in whichever direction goes up. They will definitely reach the top of whatever specific hill they happen to be standing on
because they just keep going up,
right? But what if there is a massive mountain 10 times taller, like a few miles away?
They will never reach it because getting there would require walking downhill into a valley first.
And that violates their core programming of only stepping up.
Exactly. They are basically stuck on a local peak. Does that analogy That is actually a perfect visualization of getting trapped on a local optimum. And this raises an important question about what the terrain actually looks like in a genuinely creative search space
because it’s not just a nice simple mountain range.
Not at all. There are three specific hurdles from the research that make hill climbing practically useless here. First, creative search spaces are unfathomably large.
Oh, the scale of this is just hard to wrap your head around. There is an example we pulled from the source regarding the the 70-bit multiplexer problem.
Yeah, that one is a great example.
And a multiplexer is essentially a data selector. It takes multiple input signals and forwards one of them to a single output line. If you ask an AI to search for the optimal logical architecture for a 70bit multiplexer completely from scratch, the math absolutely explodes.
It really does because the algorithm isn’t just tweaking a few numbers. It is trying to assemble Boolean logic gates, so A and D or not gates into a cascading structure
and every time it adds one it changes everything
exactly. Every time you add a gate you exponentially multiply the number of possible pathways. To find the optimal structure the algorithm is sifting through a state space of 2 to the^ of 2 to the power of 70
which is a number so huge it just stops making physical sense.
It’s beyond human comprehension really.
Just to put that into perspective for you listening. The article notes that if you printed that specific number out in a standard 10point font it would take light traveling at 186,000 m/s, 95 years, just to travel from the first digit to the last digit of that number.
It’s just mindbending,
right? A blindfolded algorithm trying to guess and check its way up a slope in a space that large is just never going to find the true peak.
Precisely. And the second hurdle compounding this is that these spaces are highdimensional,
meaning there are just too many variables to track.
Exactly. Think about optimizing the scheduling for a massive metal casting factory. You might be dealing with a billion interacting variables. A tiny change to the cooling time of one single mold cascades and alters the optimal pore time of 10,000 others.
So, the ground is constantly shifting under the algorithm’s feet.
Right? Gradient descent struggles to maintain stability when a billion interconnected dimensions are moving at the same time. And finally, the third hurdle is that creative landscapes are highly deceptive.
Meaning the landscape actively tricks the algorithm
basically. Yeah. In a deceptive landscape, the path to the best solution requires assembling components that on their own seem to perform really poorly.
Oh, I see. So to get better, you have to get worse first.
You have to accept a state of worse performance to collect the necessary building blocks for an eventual massive leap. But a standard hill climbing model will discard those blocks immediately because they don’t offer an immediate upward step.
Which brings us to the solution. If a single blindfolded climber gets stuck, gets overwhelmed by dimensions, and gets tricked by the terrain, you obviously need a totally different approach.
You need a population and that is the core mechanic of evolutionary computation.
Right? So instead of one algorithm trying to optimize a solution, EC initializes a massive population of randomly generated solutions
like thousands or even millions of them at once.
Yeah. And they are all dropped into different locations across that massive search space.
Most of them will perform terribly obviously.
Oh yeah. Absolute garbage at first.
But a few will randomly contain like a useful fragment of code or a structural quirk that provides a slight advantage.
And here is where it mirrors Darwinian biology. The system evaluates the whole population, discards the worst performers, and takes the successful ones and breeds them.
It literally uses crossover.
Exactly. It takes half the code from one successful solution, combines it with half the code from another, introduces a slight random mutation, and spawns a new generation.
And through that crossover mechanism, the population begins to organically share these successful building blocks or stepping stones with each other,
right? One might have discovered a highly efficient way to route data early on while another found a great way to compress it at the end. When they cross over, the offspring inherits both.
So, the population implicitly explores billions of variables without ever needing to calculate a central gradient. But here’s where it gets really interesting, though. We just established that deceptive spaces require you to accept worse performance to find new paths. Right.
Right. You’ve had to walk down into the valley.
So, if evolution just rewards the fittest solutions, wouldn’t the whole population just aggressively breed toward the nearest local peak and all get stuck together anyway?
They absolutely would. And that was a huge problem early on, which is why modern evolutionary computation introduces a concept called novelty search.
Okay, novelty search.
Instead of purely evaluating a solution on its fitness, like how well it solves the problem, the system explicitly rewards solutions for being different.
Oh wow. So it mathematically incentivizes the AI to try weird stuff.
It actively rewards them for wandering off into the unexplored weird valleys of the search space, even if those behaviors result in a lower fitness score initially.
That makes so much sense. It prevents them all from crowding on one hill.
Precisely.
Yeah.
A great demonstration of this from the article involves minimal sorting networks. These are highly complex architectures designed to sort a sequence of numbers using the fewest possible operations.
Okay.
When researchers tried to optimize these networks using standard fitness rewards, the algorithms constantly got stuck on local optima. They would find a decent structure and just endlessly tweak it.
They were just climbing the same little hill,
right? But when the system rewarded novelty, the algorithms were forced to completely tear down their structures and try wildly different strange configurations.
They couldn’t just rely on incremental tweaks. They had to take massive structural leaps.
And By prioritizing that structural weirdness, the novelty search bypassed the deceptive traps and discovered minimal sorting networks that were significantly more efficient than anything standard optimization could produce.
That is wild. And if the math of novelty search is that powerful in theoretical computer science, we have to look at what happens when it interacts with well messy human consumers,
right? The real world.
Which brings us back to the ugly widget I mentioned at the start of the deep dive. There is a commercial applic called Ascend developed by a company called Evolve that applies this exact evolutionary mechanism to web design.
So the goal of Ascend is to design a web page interface that maximizes conversions like getting a user to sign up for a newsletter or buy a product,
right?
Rather than a human designer creating a few polished variations for an AB test, the evolutionary algorithm treats the web page elements as a biological genome.
Right? The genes in this case are the structural elements. So one gene determines the headline text. Another dictates the background color. Another controls the layout grid.
Exactly. The system generates a population of dozens of wildly different web page designs and actually deploys them to live web traffic,
which takes a lot of data. Right.
It does. It requires about 2,000 real human interactions per generation just to spot a trend and get a clear signal on which designs are driving conversions.
And then it breeds the winners.
Yeah. It identifies the specific genetic traits of the successful pat recombines them, mutates a few elements and generates the next generation and it usually runs this over 10 to 20 generations.
Okay. So, human UI designers operate on very established rules of perceptual psychology. We have strict concepts of visual hierarchy, clarity, complimentary colors, consistency,
of course. Yeah.
But the evolutionary algorithm doesn’t have a textbook. It doesn’t know what good taste is.
It is entirely agnostic to human aesthetic theory. It only cares about what objectively works. It pur ly responds to the data of what causes a human to click.
And that empirical data resulted in a design that humans found aesthetically offensive, like harsh neon colors, brash text. But the kicker is that this ugly widget generator boosted conversions by 45% over the human design control.
If we connect this to the bigger picture, it points out something really profound. Human aesthetic rules are actually just biases.
Oh, interesting.
We artificially limit the potential of a system by deciding prematurely what a good solution should look like. Evolution bypasses those biases and reveals how much we still don’t actually know about human psychology.
That is a fascinating realization. If human aesthetic biases are limiting web design, it makes you wonder how much our biases limit us in the hard sciences like agriculture.
Oh, it definitely happens there, too.
Let’s pivot to vertical farming. So, growing crops like basil in fully computer-controlled environments, you can modulate water, nutrients, ex exact wavelengths of light.
And the goal is to optimize the flavor.
But physical biology presents a severe bottleneck for this. An algorithm can test a thousand web layouts in a few hours,
right? Because it’s digital.
But a basil plant takes weeks to grow. You cannot physically run an evolutionary algorithm through millions of generations of crops. The time scale is just impossible.
So you’re stuck. But to solve this, the researchers implemented a mechanism called surrogate modeling.
Surrogate modeling is brilliant. It bridges the gap between digital processing speed and physical reality. The researchers started by growing a few hundred real physical basil plants using various light and nutrient recipes.
Okay. So, they get a baseline.
Yeah. They harvested those plants and measured their volatile chemical composition. Those are the specific compounds that dictate the flavor.
And once they had that real world data, they trained a neural network on it.
Exactly. That neural network essentially became a digital simulation of the basil plant’s biological responses. It becomes the surrogate.
Wow. And with that surrogate in place, the evolutionary AI can be unleashed. It can now virtually test a million different environmental recipes against the surrogate in a matter of seconds.
They let the evolution run digitally, find the optimum, and then go plant that specific recipe in the real world to verify it.
Right?
But the anecdote from the source that really got me here comes from the initial parameters the humans set. When they programmed the AI search space, they hard-coded a limitation. The daylight cycle could not exceed 18 hours. Because the assumption was simple. Plants evolved on Earth. Earth has nights. Plants require a period of darkness to rest and metabolize.
It was just treated as unquestionable biological fact. But when the evolutionary AI ran its thousands of digital generations, it consistently pushed every single top performing recipe right up against that 18our ceiling.
It was maxing it out.
Yeah. It was basically slamming his head against the ceiling, signaling that it wanted to go further. So, The researchers removed the restriction. They gave it a 24-hour search space. And the AI discovered that leaving the lights on 247, a continuous, neverending day, produced the highest concentration of flavor in the basil.
The AI discovered that the plants didn’t actually need that restorative dark cycle to maximize those specific chemicals.
The 18-hour constraint was entirely a human projection. So, what does this all mean? It’s kind of like telling an artist to paint a masterpiece, but refusing to give them green paint because you personally assume green isn’t a good color.
I like that analogy.
Once you give the AI the full pallet without human restrictions, it creates these counterintuitive breakthroughs that literally shock biologists.
It maps the true capacity of the system. And the implications of that become incredibly serious when we transition from optimizing plant biology to optimizing global policy.
Oh, absolutely.
Because one of the most complex applications of evolutionary computation discussed in the article was its use during the CO 19 pandemic. to design non-farmaceutical interventions or NPIs.
Right? So, we are talking about life ordeath policies here. School closures, restricting large gatherings, international travel bans
and this is dealing with constantly shifting human behaviors which is so hard to model.
Before we dive into the results, we have to pause here. Just to be completely clear to you listening, we are strictly maintaining a neutral objective tone here. We are not taking a stance on the politics of lockdowns versus economic openness. Nor are we ing any specific political view.
Definitely not.
We are simply reporting the AI’s mathematical mapping of these trade-offs exactly as they are detailed in the source material.
Exactly. Because the AI itself didn’t care about the political discourse. It just looked at the raw math of a highly complex environment.
So the architecture they built to handle this was a two-part system. The first part was the predictor. This was an LSTM, a long short-term memory neural network trained on vast amounts of historical data from John’s Hopkins. and the Oxford CO 19 tracker.
And the predictor’s job was simply to forecast how case numbers and economic indicators would respond to specific policies based on past data. So the predictor acted as the surrogate model just like the digital basil plan.
Got it.
The second part was the prescriptor which is the evolutionary algorithm. Its objective was to evolve highly effective policy strategies by testing them against the predictor.
But unlike the basil which only had one goal, right, maximizing flavor, the pandemic prescripttor had had two deeply conflicting objectives.
Yes,
it had to balance minimizing the spread of the virus while simultaneously keeping the economy and society as open as possible.
And you physically cannot perfectly achieve both. Any action that improves one metric actively degrades the other.
So what does the AI do?
Well, the AI cannot output a single correct answer. Instead, the evolutionary process generates what mathematically is known as a Pareto front.
Let’s break down exactly what a Pareto front is for the listeners.
Sure. A parto front is essentially an efficiency curve. It represents a menu of optimal trade-offs. Okay, imagine a graph where the horizontal axis is economic openness and the vertical axis is viral containment. The evolutionary algorithm runs millions of combinations of policies and plots the absolute best possible outcomes.
So it’s mapping the absolute limit.
Exactly. Once you are on the PTO front, it is mathematically impossible to improve economic openness without sacrificing viral containment and vice versa. It provides decision makers with a mapped menu of the best possible compromises to choose from.
And the actual creative strategies the AI evolved to build that Pareto front were just surprising because human policy makers naturally gravitate towards static sweeping rules, right? You close everything down for 3 months and then you open it all back up,
right? Long static lockdowns.
But the AI suggested alternating the operational status of schools and workplaces, like opening and closing them on a set schedule,
which mathematically targets the mechanics of transmission. By alternating their open and closed status, you constantly break the chains of transmission before they compound while still mitigating the economic and educational impact.
It’s such a creative dynamic solution.
Yeah.
But the detail that truly highlights the power of this system is how it adapted to human psychology, specifically the degradation of human compliance.
Yeah. And what’s fascinating here is how the AI utilized what researchers call phenomenological data.
Explain how that differs from tradition data modeling.
Traditional epidemiological models often require researchers to program rigid assumptions into the model, like assuming a stay-at-home order will reduce mobility by exactly 80%.
But humans don’t always do what they’re told.
Exactly. Phenomenological data, on the other hand, just observes the raw cause and effect relationship in the real world, all the hidden interactions without needing a theoretical model to explain why it is happening. The neural network simply observed the data. When a strict lockdown is implemented, transmission drops. But As the lockdown extends or after a lockdown is lifted, transmission rates begin to behave differently than they did on day one
because the data showed that public adherence to voluntary rules like stay-at-home orders completely plummets over time due to fatigue. People just get tired of it,
right? And evolutionary AI saw that compliance decay reflected in the phenomenological data.
Therefore, the policy genomes that evolved for the later stages of the pandemic looked totally different than the early stages.
Exactly. It realized that relying on individual human compliance was a failing strategy over time. So, it evolved a prescription that shifted away from stay-at-home orders and heavily favored easily enforcable rules that don’t rely on public fatigue,
like strict international travel controls and blanket bans on large public events.
Yes, it adapted to the shifting reality of human psychology without ever being explicitly taught what psychology is, proving that evolutionary AI can track a change in context and prescribe highly creative real world responses. It simply evolved past our failing strategies. And that really brings us full circle on the true utility of this technology. We started today looking at why standard deep learning gets stuck. How climbing a hill blindly traps you on local peaks.
Right?
We moved to evolutionary computation, dropping a massive population into the search space, and using novelty to bypass deceptive valleys and invent things we never would have designed.
And we saw how that process strips away human assumptions.
Totally. The human design designers believed they knew what a high-converting website looked like, but the ugly widget proved them wrong.
The biologists assumed plants needed night to process light, but the 24-hour basil proved them wrong.
And policymakers relying on static interventions, but the dynamic pandemic strategies prove that adapting to shifting reality is vastly more effective. Evolutionary computation isn’t just an abstract computer science concept.
Not at all.
It is the ultimate tool for stripping away our ingrained assumptions. Whenever you face a problem that seems solvable. The barrier might just be the rules you’re artificially imposing on the surf space.
Which leaves you with a final lingering question to ponder. We saw how the simple assumption of an 18-hour light restriction held back the perfect basil recipe until the AI broke it.
Yeah.
As you approach your own work or creative projects this week, what unquestioned best practice or hidden bias is acting as your own artificial 18-hour constraint?
Find your 18-hour constraint and break it. Thank you for joining us on this deep dive. Keep questioning the known limits and we will see you next time.”