sciencevega-logo
sciencevega-logo

Concept   |   Meet the Editor   |   Publications   |   Support



Cracking the code for materials that can learn

by | Dec 9, 2024 | Applied Science and Technology

University of Michigan researchers showed how mechanical neural networks—the black lattices of triangles—could be trained to solve problems. Credit: Shuaifeng Li. CC BY.

Not so simple machines: researchers ‘crack the code’ for materials that can learn through the use of a special algorithm.

It’s easy to think that machine learning is a completely digital phenomenon, made possible by computers and algorithms that can mimic brain-like behaviours.

But the first machines were analogue and now, a small but growing body of research is showing that mechanical systems are capable of learning, too.

Physicists at the University of Michigan have provided the latest entry into that field of work. 

The U-M team of Shuaifeng Li and Xiaoming Mao devised an algorithm that provides a mathematical framework for how learning works in lattices called mechanical neural networks. 

Li said: “We’re seeing that materials can learn tasks by themselves and do computation.”

The researchers have shown how that algorithm can be used to ‘train’ materials to solve problems, such as identifying different species of iris plants.

One day, these materials could create structures capable of solving even more advanced problems – such as airplane wings that optimise their shape for different wind conditions – without humans or computers stepping in to help.

That future is a ways off, but insights from U-M’s new research could also provide more immediate inspiration for researchers outside the field, said Li, a postdoctoral researcher.

Obtaining the gradient of what’s known as the loss function is an essential step to establish the backpropagation algorithm developed by University of Michigan researchers to train a material. The researchers showed the gradient could be found experimentally using a 3D-printed model of a mechanical neural network. Credit: S. Li and X. Mao, Nat. Commun. 2024, DOI: 10.1038/s41467-024-54849-z). CC BY.

Backpropogation

The algorithm is based on an approach called backpropagation, which has been used to enable learning in both digital and optical systems.

Because of the algorithm’s apparent indifference to how information is carried, it could also help open new avenues of exploration into how living systems learn, the researchers said.

Li said: “We’re seeing the success of backpropagation theory in many physical systems.”

“I think this might also help biologists understand how biological neural networks in humans and other species work.”

MNNs 101

The idea of using physical objects in computation has been around for decades. But the focus on mechanical neural networks is newer, with interest growing alongside other recent advances in artificial intelligence.

Most of those advances – and certainly the most visible ones – have been in the realm of computer technology. Hundreds of millions of people are turning to AI-powered chatbots, such as ChatGPT, every week for help writing emails, planning vacations and more.

These AI assistants are based on artificial neural networks. Although their workings are complex and largely hidden from view, they provide a useful analogy to understand mechanical neural networks, Li said.

When using a chatbot, a user types an input command or question, which is interpreted by a neural network algorithm running on a computer network with oodles of processing power.

Based on what that system has learned from being exposed to vast amounts of data, it generates a response, or output, that pops up on the user’s screen.

A mechanical neural network, or MNN, has the same basic elements. For Li and Mao’s study, the input was a weight affixed to a material, which acts as the processing system.

The output was how the material changed its shape due to the weight acting on it.

Li said: “The force is the input information and the materials itself is like the processor, and the deformation of the materials is the output or response.”

For this study, the ‘processor’ materials were rubbery 3D-printed lattices, made of tiny triangles that made larger trapezoids.

The materials learn by adjusting the stiffness or flexibility of specific segments within that lattice.

Self-adjustment

To realise their futuristic applications – like the airplane wings that tune their properties on the fly – MNNs will need to be able to adjust those segments on their own.

Materials that can do that are being researched, but you can’t yet order them from a catalogue. 

So Li modelled this behaviour by printing out new versions of a processor with a thicker or thinner segment to get the desired response.

The main contribution of Li and Mao’s work is the algorithm that instructs a material on how to adapt those segments.

Although the mathematics behind the backpropagation theory is complex, the idea itself is intuitive, Li said.

To kick off the process, you need to know what your input is and how you want the system to respond. You then apply the input and see how the actual response differs from what’s desired.

The network then takes that difference and uses it to inform how it changes itself to get closer to the desired output over subsequent iterations.

Mathematically, the difference between the real output and the desired output corresponds to an expression called the loss function.

It’s by applying a mathematical operator known as a gradient to that loss function that the network learns how to change.

Li showed that if you know what to look for, his MNNs provide that information: “It can show you the gradient automatically. It’s really convenient and it’s really efficient.”

Consider the case where a lattice is composed entirely of segments with equal thickness and rigidity.

If you hang a weight from a central node – the point where segments meet – its neighbouring nodes on the left and right would move down the same amount because of the system’s symmetry.

But suppose, instead, you wanted to create a lattice that gave you not just an asymmetric response, but the most asymmetric response.

That is, you wanted to create a network that gives the maximum difference in the movement between a node to the weight’s left and a node to its right.

Lattice solution

Li and Mao, a professor in the U-M Department of Physics, used their algorithm and a simple experimental setup to create the lattice that gives that solution.

(Another similarity to biology is that the approach only cares about what nearby connections are doing, similar to how neurons operate, Li said.)

Taking it a step further, the researchers also provided large datasets of input forces, akin to what’s done in machine learning on computers, to train their MNNs. 

In one example of this, different input forces corresponded to different sizes of petals and leaves on iris plants, which are defining features that help differentiate between species.

Li could then present a plant of unknown species to the trained lattice and it could correctly sort it. 

And Li is already working to build up the complexity of the system and the problems it can solve using MNNs that carry sound waves.

“We can encode so much more information into the input,” Li said. “With sound waves, you have the amplitude, the frequency and the phase that can encode data.”

At the same time, the U-M team is also studying broader classes of networks in materials, including polymers and nanoparticle assemblies.

With these, they can create new systems where they can apply their algorithm and work toward achieving fully autonomous learning machines.

The research is published in Nature Communications.

Share This…

Today’s Science – Tomorrow’s Scientists

ABOUT US

ScienceVega and its accompanying website, sciencevega.com, exist to bring today’s science to tomorrow’s scientists. And it will do this in a way which is completely free to both school and pupil. The pathway from GCSE to A-level to degree to scientific career is not always obvious. Quite often it is ambiguous and not enough is done to show a fourteen-year-old the possibilities open to them in a decade’s time.

Many may harbour the vague idea of ‘saving the whales’, but how many know how to get there? How many realise that as they go along their focus might change? The draw of the ocean may remain, but how many realise that instead of studying whales, they actually add to our knowledge of disappearing corals in the Pacific Ocean? Or the marked drop off in populations of crustaceans unique to Western Australia? Or examining fish behaviours in the Indian Ocean? But those careers are there and ScienceVega will showcase them, along with the scientists, both established professors at the top of their field and young PhD scientists just starting out on their career paths.

Should you wish to advertise with us, and help this venture to continue to reach our young scientists, please contact: office@sciencevega.com

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.