Unlocking the Future by Merging Machine Precision with Neural Power

image-5.jpg

Introduction
In a world where technology races forward, researchers are finding inspiration in an unlikely place. That being the human brain. A research team from Tsinghua University and Taiyuan University of Technology has developed an innovational approach to blend two powerful computing concepts, finite state machines (FSMs) and spiking neural networks (SNNs). Their work, detailed in a forthcoming paper in Neuromorphic Computing and Engineering, promises to reshape how we tackle complex systems, from software design to robotics. Let’s explore what this means for the average person and why tech enthusiasts might want to dive deeper.

What Are Finite State Machines?
Finite state machines (FSMs) are systems used in computing that stay in one specific state at a time, changing to another based on set rules and inputs. For example, a vending machine waits until you insert a coin (input), then shifts to dispensing your snack (new state). FSMs are great for tasks needing precision, like designing circuits or controlling software. However, they struggle with systems that are too complicated to define clearly or that change constantly, often called “black-box” systems because their details are hidden.

What Are Neural Networks?
Neural networks are computing models based on how the human brain processes information. They’re excellent at dealing with unclear or unpredictable data, such as identifying faces in photos or forecasting weather. However, they often lack the precision and stability over time that FSMs provide. FSMs work in distinct steps, while neural networks process data more fluidly, making them seem like opposites. That is until now.

A Brain-Inspired Solution
The researchers suggest using spiking neural networks (SNNs) to emulate FSMs. SNNs are a type of neural network where units (called neurons) send signals, or “spikes,” only when triggered, much like brain cells. This on/off pattern matches the step by step nature of FSMs. The researhers created a model called discrete-time spiking recurrent neural networks (DTSRNNs), which updates in set steps (“discrete-time”) and loops information back to itself (“recurrent”) to track past states. They compared it to discrete-time recurrent neural networks (DTRNNs), a more common model that uses continuous signals instead of spikes.

How It Works
DTSRNNs use a method called the Leaky Integrate-and-Fire (LIF) model. Each neuron collects energy from inputs and its past state. When this energy reaches a level, it sends a spike and resets. This reflects how FSMs switch states based on inputs. DTSRNNs have two layers: one manages state changes, and the other produces outputs, similar to an FSM’s structure.

To keep signals clear, the team used one hot encoding, where each input or state gets a unique code (like a single “1” in a row of “0s”). This reduces overlap, aligning with FSMs rule of one state at a time. For example, in a language task, fast (adjective) and run (verb) get separate codes, avoiding mix ups that denser coding might cause.

Testing the Model
The researchers built a random FSM dataset with various FSMs to test DTSRNNs and DTRNNs. They made the FSMs realistic, with sparse state changes, like a traffic light switching only when needed. They added noise, such as random errors or input shifts, to imitate real world conditions. DTSRNNs were trained using spatio-temporal backpropagation (STBP), a method that adjusts the system over time and space. Both models were evaluated with Mean Squared Error (MSE), measuring output accuracy, and three metrics. Overall accuracy, transition accuracy (correct state shifts), and decline period (how long accuracy lasts).

Key Findings
The researchers tested DTSRNNs and DTRNNs with one hot and binary encoding (a denser coding method). DTSRNNs with one hot encoding excelled, learning complex FSMs faster and more accurately. On FSMs with many states and inputs, they achieved high accuracy quickly, while binary encoded models lagged, even with more resources. This shows one hot encoding’s clear signals work well with FSMs and SNNs.

DTSRNNs also lasted longer before accuracy dropped, a measure called decline period. Over thousands of steps, their state patterns stayed steady, while DTRNNs drifted due to continuous signals. In noise tests, DTSRNNs recovered from errors better. When inputs were disrupted, DTSRNNs corrected outputs within a few steps, using long term patterns, while DTRNNs stayed wrong longer, relying on short term rules.

For the average person, this could lead to reliable devices, like a thermostat that adjusts perfectly or a car that handles rough conditions. For tech experts, it offers a way to merge brain-like flexibility with machine precision, useful for robotics or AI.

Looking Ahead
This work highlights the power of combining SNNs’ efficiency with FSMs’ structure. DTSRNNs capture both step by step rules and broader patterns, enhancing stability and error resistance. While one hot encoding boosts performance, it may demand more memory in large systems, prompting upcoming efforts to find leaner alternatives. The team also plans to investigate if DTSRNNs’ error recovery mirrors processes in nature and to refine the model with advanced designs. These advancements could lead to smarter, more resilient technologies, paving the way for breakthroughs in how we interact with and depend on complex systems.

Want details? The full study by Ziyang Sun and team has the technical breakdown for those ready to dig in.
Citation: Ziyang Sun et al., “General and Stable Emulation of Finite State Machines with Spiking Neural Networks,” Neuromorphic Computing and Engineering, in press, 2025, https://doi.org/10.1088/2634-4386/adc32d.

NeuromorphicCore

Related Articles

PHP Code Snippets Powered By : XYZScripts.com
★

Track This Company

Create a free account to add companies to your watchlist and get notified when patents, funding, or key developments change.