Bacteria that can solve problems: the future of biocomputers
By Avesta Afshari-Mehr
Imagine using living bacteria to answer mathematical questions or solve problems that a traditional computer would usually handle. It might sound like something out of a tacky sci-fi film, but it’s a reality that researchers are working on today. By engineering bacteria to perform computational tasks, scientists are developing new types of computers called ‘biocomputers’, which use living cells instead of traditional silicon chips. These biocomputers could one day solve problems in medicine, biotechnology, and environmental science in ways that conventional computers can’t.
In a recent study, researchers have demonstrated how genetically modified bacteria can be programmed to solve complex problems. These bacteria form a multicellular neural network, similar to the artificial neural networks (ANNs) used in computers for decision-making and problem-solving. By mixing and matching different strains of engineered bacteria, the team was able to build systems that could perform several different computational tasks, such as identifying prime numbers, determining whether a letter is a vowel, or even figuring out how many pieces of pizza you can get with a certain number of cuts.
Before we dive into how bacteria are solving problems, it is crucial to first understand what artificial neural networks (ANNs) are. In computers, ANNs are algorithms inspired by how our brain works. They consist of layers of neurons that receive, process, and pass on information to each other. In a neural network, these neurons work together to make decisions or predictions based on input data. ANNs are used in all sorts of applications, from recognising faces in photos to recommending videos on YouTube.
The researchers in this study took inspiration from these computer networks and created a biological version using engineered bacteria. Instead of electronic components, these biological neurons are living cells that communicate with each other through chemical signals, mimicking how neurons in the brain send electrical signals to one another.
The researchers used genetically engineered bacteria as “building blocks” or ‘bactoneurones’. These bacteria were designed to respond to certain chemicals, and based on their response, they could perform specific tasks. By mixing different strains of bacteria together, they formed a sort of “biological circuit” that could perform multiple computational functions, much like a computer does.
One of the problems the bacteria could solve was to identify whether a number is prime. To solve this, the bacterial network would check if adding 3 to a number results in a prime number. For example, when given the number 2, the system would check if 2 + 3 equals 5, which is prime. If the result was prime, the bacteria would glow green, signalling a binary “yes.”
Another interesting problem the bacteria solved was determining if a number’s factorial (the product of all positive integers up to that number) was divisible by a specific mathematical formula. In this case, the bacteria could check if the factorial of a number was divisible by the product of the number and the next integer, divided by 2. This is a more complex mathematical task, but the engineered bacteria could handle it just as easily as the simpler prime number task.
One of the biggest advantages of biocomputers is that they can operate in environments where traditional computers might struggle
In addition to simple yes/no questions like identifying prime numbers, the bacteria were also tasked with solving optimisation problems, which are more about finding the best solution from many possibilities. One classic optimisation problem is the ‘Lazy Caterer’s Problem’, which asks how many pieces of pie can be made with a certain number of straight cuts. The solution to this problem follows a specific sequence of numbers, and the bacteria could figure this out by “reading” the number of cuts and giving the correct answer in terms of the number of pieces.
The researchers engineered bacteria to communicate with each other using chemical signals, which allowed them to process this complex task. By adding or not adding specific chemicals to the bacterial culture, they could “input” the number of cuts, and the bacteria would glow in different colours to indicate the correct number of pieces. This is an interesting example of how the bacteria could solve real-world problems in a way that is similar to how computers handle complex calculations.
So, why is it important to use bacteria for computing? One of the biggest advantages of biocomputers is that they can operate in environments where traditional computers might struggle. For example, living cells can work in very small spaces and can even repair themselves, making them ideal for use in areas like smart therapy, where devices need to operate inside the body. Biocomputers could also be more energy-efficient and cheaper to produce compared to traditional computers, especially in specialised applications like bioremediation (cleaning up pollution) or bio-production (creating valuable materials using living cells).
Another key advantage of biocomputers is that they can function at the micron scale, where traditional computers face limitations. While microchips can be incredibly powerful, they can also be expensive and have high energy costs. Living cells, on the other hand, are inexpensive and can be engineered to perform specific tasks with very low energy consumption.
While this study is a significant step forward, there’s still much work to be done before we can rely on biocomputers for everyday tasks. Currently, the system built by researchers can solve specific problems, but it’s not yet as versatile or efficient as that of a conventional computer. However, the ability to engineer bacteria to solve mathematical problems is a big leap forward in the field of synthetic biology and biocomputer technology.
In the future, we may see biocomputers used for a range of applications, from healthcare and environmental monitoring to smart materials that can adapt to their surroundings. The possibilities are endless, and this research opens up exciting new avenues for computing beyond silicon chips and wires.
In conclusion, the study shows how genetically engineered bacteria can form biological neural networks that solve real-world problems. While it’s still early days, the work is a promising step toward the development of biocomputers that could revolutionise the way we think about computing in the future.
Image: Ars Electronica via Flickr

