I always enjoy writeups about evolutionary training algorithms used to design some circuitry or code. These algorithms often find amazing solutions though they will never work in real life. I can't find the link now, but I remember someone ran an evolutionary learning algorithm to design an inverter circuit. It's a fairly simple circuit generally with just one transistor. But the algorithm ended up making this monstrous circuit with seemingly disconnected regions. The weird part was that it worked!
Turns out the algorithm found some bug in the simulator software that allowed it to transfer data between unconnected wires.
Its a very common issue with machine learning. Usually it applies to reinforcement learning though. The problem is that your reward mechanism must be well considered, otherwise your machine learning will optimize uniquely into what gives that reward, leading to some degenerate cases such as your example.
It’s truly the same thing with genetic algorithm. You can’t have a magic algorithm that will balance perfectly zeroing-in the perfect solution (ie: searching for the local minima) and exploration (ie: search for the global minima).
The problem is that your reward mechanism must be well considered, otherwise your machine learning will optimize uniquely into what gives that reward, leading to some degenerate cases such as your example.
This is also useful advice for anyone who ever has to interact with other humans
In science, this is generally the result of an "ill-posed" problem: a problem that has multiple solutions, and/or the solution varies a large amount with very small changes in input parameters. In inverse problems, this is generally controlled via regularization, which does exactly what you said - we adjust the cost function by adding some penalty to the solution that makes the problem well posed, and then optimization techniques work well again.
The problem is that your reward mechanism must be well considered, otherwise your machine learning will optimize uniquely into what gives that reward, leading to some degenerate cases such as your example.
Here is a similar but unrelated result in evolutionary algorithm coding FPGA board - it's actually impossible for a human to come up with this code because the logic depends on magnetic flux between FPGA's gate arrays.
However, because current flows through the resistor in one of the two states, the resistive-drain configuration is disadvantaged for power consumption and processing speed. Alternatively, inverters can be constructed using two complementary transistors in a CMOS configuration. This configuration greatly reduces power consumption since one of the transistors is always off in both logic states.
89
u/Hexorg Feb 26 '18
I always enjoy writeups about evolutionary training algorithms used to design some circuitry or code. These algorithms often find amazing solutions though they will never work in real life. I can't find the link now, but I remember someone ran an evolutionary learning algorithm to design an inverter circuit. It's a fairly simple circuit generally with just one transistor. But the algorithm ended up making this monstrous circuit with seemingly disconnected regions. The weird part was that it worked!
Turns out the algorithm found some bug in the simulator software that allowed it to transfer data between unconnected wires.