
This article was originally published on May 18, 2020.
The popular representation of computer processes as endless strings of ones and zeros is so enduring, it may be hard to conceive of them any other way. But computers that only think in absolutes â one and zero, true and false â have some proven limitations. This is especially the case with vague concepts of human experience and language, of which there are endless examples. The woman is tall. Itâs cold today. The stock market is good right now. âTall,â âcold,â and âgoodâ all express values not of absolutes, but subjective ranges with mushy edges that are still nonetheless distinguishable to most people. After all, when you tell me someone is âtall,â I know more or less what you mean, even if you havenât told me an exact value for the personâs height.
Fuzzy logic, a branch of computer science that popped into existence with a single less-than-two-page research paper in 1965, is the computer scientistâs proven tool for capturing this vagueness in our linguistic concepts. To do this, variables arenât measured against a binary system of true and false, but a continuous spectrum between true and false. To take one of the above examples, when I say itâs cold, what Iâm indicating to you is that the temperature is somewhere between two extremes â really hot and really cold â and more toward the colder end of the spectrum. Conceived of in this way, computers can model this thinking pretty easily, by simply assigning individual cases numerical values between 0 and 1. In other words, the relevant question with fuzzy logic isnât whether something is true or false. Itâs how true or false it is. And because of this, itâs perfect for modeling human experiences that operate not in the realm of black and white, but shades of gray.
When computers operate according to these fuzzy principles, they can do some pretty cool things. Professor of Electrical and Computer Engineering Adnan Shaout, whoâs been working in fuzzy logic since its initial heyday in the mid-1980s, says âfuzzyâ (for short) first took hold when consumer electronics started incorporating more intelligent sensors. Things like the âpopcornâ button on your microwave, the âdelicatesâ setting on your washing machine owe their power to fuzzy logic. Shaout says with technologies like this, sensors are taking continuous readings of the environment and responding with constant adjustments to, say, cooking or drying time and intensity. The result is not only popcorn thatâs not burned and clothes that donât get fried, but appliances that are more energy efficient thanks to their optimized processes.

Despite that initial burst of interest, Shaout says fuzzy fell on hard times by the early 2000s. âWe got very good at using it in these kinds of applications, but people thought, âWell, thatâs it. Thatâs the limit.â There simply werenât any new advancements in the theory.â But Shaout says attitudes have shifted more recently. On the theoretical side, computer scientists like Shaout are discovering that fuzzy can enhance the power and efficiency of neural networks and deep learning systems. And it continues to be the engine that powers todayâs sensor-dependent consumer devices. Smart thermostats; the image stabilization in our cameras that corrects out-of-focus shots; image processing that can turn a keyword into a list of all the cat photos you have on your phone; and new automatic braking systems in cars all wouldnât be possible without fuzzy logic.
In fact, Shaout says our demand for ever-more intuitive technologies that think and act more like us may mean the best days are still ahead for this âoldâ branch of computer science.
âMy feeling is that fuzzy is coming back even stronger than before,â Shaout says. âAs humans, our needs are becoming more âgreedy.â We need more intelligence, more features, more speed, more security. We are demanding more of these intuitive conveniences in our technology all the time, and thatâs where fuzzy will play a large role. Itâs still one of our most powerful tools for mimicking human thinking.â