The AI That Grows Wiser With Every Task

How CATFormer Is Teaching Machines to Remember — Without Burning Down What They Already Know


A military drone, mid-mission over unfamiliar terrain, begins encountering a new class of vehicles it has never seen before. Engineers trained its object-recognition system months ago in a controlled facility. Back then, it ran sharp, accurate, and fast. But the world has changed. New vehicles have appeared. New terrain. New edge cases. The drone cannot radio home for a three-week retraining cycle. It must adapt now, in the field, without forgetting the thousands of patterns it already knows.

This is not a hypothetical. It is the central operating reality of physical AI (robots, edge devices, autonomous systems) and it is the problem that a group of researchers at IIT Guwahati set out to solve with a framework they call CATFormer.


The Librarian Who Burns the Library

To understand why CATFormer matters, you first need to understand what happens inside most AI systems when they encounter new information.

Standard deep neural networks (the same architectures powering recommendation engines, medical imaging tools, and language models) learn from large batches of data in a controlled setting. The model stabilises, and engineers deploy it. When new data arrives and the model needs to update, what often happens is counterintuitive and deeply inconvenient: the network overwrites what it previously learned in order to accommodate the new information. Engineers and researchers call this catastrophic forgetting.

It works a bit like a librarian who, upon receiving a new shipment of books, proceeds to burn the existing collection to make space. The new books are catalogued perfectly. But the old knowledge is gone.

This failure mode is not a quirk. It is structural. The weights inside a neural network are shared resources. When they shift to encode new patterns, the network degrades or erases the old patterns they once encoded. Nothing holds old knowledge stable while new knowledge grows alongside it.

The brain, of course, does not work this way. A person who learns to ride a bicycle does not forget how to walk. A surgeon who masters a new procedure does not lose their knowledge of anatomy. Biological memory is not a zero-sum system. It is cumulative, structured, and extraordinarily good at deciding what to preserve.

What makes the brain so capable of this? The researchers at IIT Guwahati turned to a well-studied but computationally underexploited mechanism known as neuromodulation.


The Biology Behind the Machine

Neuromodulators (acetylcholine, dopamine, serotonin, norepinephrine) are chemical signals that alter how neurons respond to incoming information. They do not simply carry messages. Rather, they tune the sensitivity of entire circuits. When acetylcholine floods a region of the hippocampus, neurons lower their firing thresholds, becoming more receptive to new information. When the signal fades, those neurons return to their resting state, and the brain shields previously encoded memories from interference.

In other words, the brain does not just update weights. Neuromodulation shifts the excitability of neurons — deciding, at a cellular level, how much each cell should respond to a given context. Crucially, the brain does this not by rewriting permanent parameters but by moving neurons between functional states. Fluid, context-sensitive, and reversible, rather than the rigid, static weights that define most digital models. This is the gap between silicon and biology that CATFormer begins to close.

This distinction is the core insight behind CATFormer. Most prior work on continual learning in spiking neural networks focused exclusively on synaptic plasticity. The idea that you can prevent forgetting by being clever about which weights you update. CATFormer’s researchers asked a different question which was “What if the threshold at which a neuron fires could itself be the mechanism for remembering?“


What CATFormer Actually Does

CATFormer builds on SpikFormer, a spiking vision transformer that processes information using binary spikes rather than continuous floating-point activations. Spiking networks are inherently more energy-sparse than conventional deep networks because most neurons stay silent most of the time, and computation only occurs when a spike travels. This makes them well-suited for deployment on neuromorphic hardware with tight power budgets.

At the heart of CATFormer sits the Dynamic Threshold Leaky Integrate-and-Fire (DTLIF) neuron. In a standard Leaky Integrate-and-Fire model, a neuron accumulates input current over time, and when its membrane potential crosses a fixed threshold, it fires a spike and resets. That threshold never moves regardless of what task the network currently handles.

In the DTLIF model, each neuron carries a learnable, task-specific threshold. When the network encounters a new task, it learns a new set of thresholds while leaving the core weights of the network — the backbone — completely frozen. The backbone, trained on the first task, stays untouched forever after. Only the threshold profile for each new task updates, alongside a lightweight classification head.

This is a profound architectural choice. The backbone does not forget because nothing asks it to change. The thresholds, small in number and cheap to store at approximately 64 kilobytes per task in 32-bit precision, encode the context-specific sensitivity that lets the network process new tasks accurately. A new task arrives and the network learns new thresholds. An earlier task needs classification and the network loads that task’s thresholds back in.

Accompanying this sits the Gated Dynamic Head Selection mechanism, or G-DHS — a small two-layer multilayer perceptron acting as a routing system. Given an input, the gating network first extracts features using the base threshold profile, then predicts which task the input most likely belongs to. Once it identifies the task, it loads the corresponding thresholds and classification head and runs inference on that configuration. No external task label is needed at test time. The system routes itself.


The Reverse Forgetting Phenomenon

Here is where the results become genuinely surprising.

Most continual learning systems degrade as the number of tasks grows. You might start with 60% accuracy on ten tasks, and watch that number slide to 50% by the time you reach fifty. This is the expected trajectory. More tasks mean more interference, more competition for shared resources, more degradation.

CATFormer does the opposite.

On Split CIFAR-100, CATFormer achieved 68.33% accuracy at ten tasks. Accuracy then rose to 69.13% at twenty tasks, reached 71.34% at twenty-five, and climbed to 75.66% at fifty. This is not a rounding error or a statistical artifact. The researchers documented it across multiple runs and called it “reverse forgetting.”

The explanation is architectural. Each new task adds only a small set of task-specific thresholds. The gating network, trained incrementally on features from all observed tasks, becomes progressively better at distinguishing between them. As the task library grows, routing becomes more precise. Rather than degrading under load, the system calibrates.

Pushing further, the researchers extended evaluation to one hundred tasks on Tiny-ImageNet, a dataset with two hundred visual classes. No prior spiking neural network had attempted this scale for class-incremental learning. CATFormer reached 48.56% accuracy, outperforming a non-spiking baseline by more than eight percentage points. At one hundred tasks, the backbone still does not move. The thresholds accumulate. The gating network routes.


The Economic Architecture of Continual AI

For engineers and researchers working in edge deployment, the parameter story is as important as the accuracy story.

The base SpikFormer backbone holds approximately 9.32 million parameters. CATFormer’s full system at initialisation reaches 10.5 million, with roughly 1.2 million attributable to the routing mechanism. After the first task, each subsequent task adds only about 16,032 threshold parameters — less than 65 kilobytes per task. The classification heads contribute a small fixed overhead per class.

Every competing method in the evaluation updates the entire network’s parameters for each new process. Some also maintain rehearsal buffers. These are collections of stored training samples from earlier tasks that prevent forgetting during retraining. The researchers note that even a modest rehearsal buffer of 2,000 CIFAR-100 images consumes 25 to 30 megabytes of onboard memory, which is substantial on neuromorphic processors like Intel’s Loihi 2.

CATFormer requires no rehearsal buffer and stores no past training data. Privacy-sensitive applications that cannot retain samples from earlier deployments can adopt CATFormer without modification. The memory footprint for task-specific knowledge stays bounded, predictable, and extremely small.

This matters enormously at the systems level. Designing a continual learning pipeline for a robotic platform means choosing not just an algorithm but an operational cost structure. Rehearsal-based methods impose a growing storage tax. Architecture-growth methods impose a growing compute tax. CATFormer’s threshold-based approach keeps storage costs fixed, tiny, and auditable.


Performance Across Neuromorphic Datasets

The researchers did not limit their evaluation to static image benchmarks. They also tested CATFormer on two neuromorphic datasets: CIFAR10-DVS, an event-based version of CIFAR-10 captured with Dynamic Vision Sensors, and SHD (Spiking Heidelberg Digits), an auditory dataset of spoken digit events encoded as spike sequences.

Neuromorphic datasets are spatiotemporal by nature. Each sample is not a static frame but a stream of events distributed across time. These datasets stress-test the temporal processing characteristics of spiking networks in ways that conventional image benchmarks cannot.

On CIFAR10-DVS with a two-task split, CATFormer achieved 83.21%, closely matching the rehearsal-augmented performance of ALADE-SNN at 83.5%, despite using no stored samples at all. On the five-task split, CATFormer reached 87.14%, outperforming the prior rehearsal-free state of the art by more than ten percentage points.

SHD proved equally telling. With only sixteen timesteps per sample and a ten-task split, CATFormer achieved 87.85%, compared to 80.47% for the previous best method. The gap on audio neuromorphic data is even wider than on visual data, suggesting that the dynamic threshold mechanism aligns particularly well with the temporal characteristics of event-driven sensory streams.


What the Ablations Reveal

The researchers ran a precise set of ablation studies on Split CIFAR-10 to isolate which components of CATFormer are doing the work.

Removing the dynamic threshold mechanism entirely (forcing all neurons to use a fixed threshold for all operational domains) drops accuracy to 42.87% after five tasks. The network then exhibits the classical catastrophic forgetting pattern: reasonable performance on the first foundation module, followed by fifteen to eighteen percentage points of degradation at each subsequent increment.

Replacing spike attention with identity mappings (SpikIdentityFormer) pulls accuracy down to 59.38%. Substituting uniformly distributed random numbers (Random Identity Former) drops it further to 53.17%. The fact that removing structured feature transformation degrades performance, and that random disruption hurts more than structured removal, confirms that the transformer’s architecture contributes meaningfully to the results.

Freezing the feed-forward network layers while retaining attention yields 63.24% — better than stripping attention entirely, but substantially short of the full CATFormer system at 89.29%. Adaptive intermediate representations are necessary, not just task-specific thresholds.

The ablation story is clear: CATFormer’s performance depends on all three elements working together. The transformer extracts rich structured features. Dynamic thresholds encode task-specific sensitivity. The gating network routes inputs to the correct task head. Remove any one of these and the system degrades meaningfully.


Where This Fits in the Broader Landscape

Researchers have studied continual learning for decades, but progress on spiking neural networks specifically has lagged behind work on conventional architectures. Before CATFormer, the dominant approaches in SNN continual learning either constrained weight updates to protect prior knowledge (regularisation-based) or stored samples and replayed them during new task training (rehearsal-based).

Regularisation methods like Elastic Weight Consolidation and Synaptic Intelligence struggle as task counts grow because they must balance an increasingly complex set of constraints over a fixed parameter space. By fifty tasks, these methods effectively collapse — EWC reaches 9.73% accuracy on fifty-task CIFAR-100, and SI reaches 1.84%.

Rehearsal methods fare better on accuracy but carry the storage and privacy costs described above, and deployment on constrained neuromorphic hardware remains difficult.

Architecture growth methods avoid the interference problem by allocating new parameters for each task, but total model size and inference complexity scale poorly as a result.

CATFormer occupies a genuinely different position. The backbone stays fixed after the first task. Small, cheap parameters stored separately from the backbone carry task-specific knowledge. A dynamic routing system handles inference with no external task oracle. The architecture is rehearsal-free, structurally stable, and scalable to at least one hundred tasks.


The Hardware Horizon

The research group notes that future work will likely focus on direct deployment on Loihi 2, Intel’s second-generation neuromorphic chip. Because Loihi 2 supports on-chip learning via spike-based local plasticity and processes inference at extremely low power, CATFormer is an ideal match for this hardware. The architecture relies on sparse activations and event-driven computation while maintaining a clean separation between a frozen backbone stored in static memory and lightweight thresholds that swap in and out during active inference.

Full realisation on neuromorphic silicon would carry substantial implications for edge deployment. A warehouse robot would no longer need to go offline for retraining when it encounters new object categories. A smart city sensor node could adapt to seasonal traffic shifts without shipping raw data to a central server for reprocessing. A hearing aid could learn a new user’s voice characteristics over time without erasing its prior acoustic models.

The gap between these applications and the current research results is real and non-trivial. But CATFormer provides a credible architectural foundation from which engineers can close it.


From Benchmark to Blueprint

For years, AI research conversations have centred on static benchmarks: train on this dataset, evaluate on that test set, report the number. This approach has produced extraordinary results in controlled settings. But the world is not a controlled setting.

Physical AI systems (robots, drones, wearables, autonomous vehicles, industrial sensors) operate in environments that change. The classes they must recognize today are not the same classes they will need to recognize next year. The tasks they must perform evolve. The data they encounter is non-stationary by definition.

A model that can only update through full retraining is not truly deployable for these systems. It is a snapshot — useful today, increasingly stale tomorrow, and eventually obsolete.

What engineers and researchers in the neuromorphic field have needed is a model that grows with deployment rather than decaying from it. CATFormer’s authors have produced a strong case that dynamic threshold modulation, combined with a frozen backbone and learned task routing, can achieve exactly that. The accuracy numbers are not just competitive. In the continual learning setting, they improve with experience.

That is not a property of most AI systems. It is, however, a property of most living ones.


Closing Thought: Artificial Wisdom

There is a useful distinction between intelligence and wisdom. Intelligence is the capacity to solve problems. Wisdom is the capacity to draw on accumulated experience when solving new ones. Most AI systems today are intelligent — they solve the problems they were trained on with impressive precision. Yet they are not wise. Yesterday’s knowledge cannot inform today’s decisions when yesterday’s knowledge may no longer exist inside them.

CATFormer is a step toward a different model of machine cognition. Rather than retraining from scratch with each new task, the system accumulates context, retains structure, and routes its growing experience toward the task at hand. The researchers have framed this in terms of spiking neural networks and neuromorphic hardware, but the underlying principle is broader.

Slowly, and with significant engineering work still ahead, the field moves from systems that know things toward systems that learn from knowing. CATFormer does not complete that transition. It marks a clear and measurable step in that direction, built on biologically coherent mechanisms, rigorously tested at scale, and designed for the hardware constraints of the physical world.

For engineers building systems that must adapt, and for researchers studying how adaptation can be made robust, the architecture described in this paper is worth close attention.


This article is based on the following:

CATFormer: When Continual Learning Meets Spiking Transformers With Dynamic Thresholds Vaishnavi Nagabhushana, Kartikay Agrawal, Ayon Borthakur SustainAI Lab, MFSDS&AI, IIT Guwahati arXiv:2603.15184v1 [cs.LG], 16 March 2026 Accepted for publication in the proceedings of the Neuro for AI & AI for Neuro Workshop at AAAI 2026 (PMLR).

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.