Why a Great BCI Decoder Is Not Enough

Inside BCIJelly, a new framework spanning neural data, cross-day decoding, architecture search, and neuromorphic deployment

A macaque reaches toward targets. Electrodes in its motor cortex capture rapid voltage events, often called spikes, tied to hundreds of neurons firing. A mouse watches grating patterns flash across a screen. A person attempts speech while electrodes over the superior temporal gyrus listen in.

All three experiments produce useful neural recordings. All three also produce data in incompatible formats. Each passes through different preprocessing conventions. Each feeds decoder code that rarely transfers cleanly to another laboratory or another task. Yet one question unites them. What is the brain trying to do, and can a machine infer that intent quickly and reliably enough to matter beyond a controlled experiment?

In a 2026 arXiv preprint, researchers from the Chinese Academy of Sciences, Lingang Laboratory and the Institute of Automation describe BCIJelly. The framework is an open source ecosystem combining curated BCI datasets, decoder benchmarks, automated architecture search and hardware aware deployment. It brings unusually large portions of the workflow under one software roof, covering data preparation, decoder development, evaluation and selected hardware deployment.

Three Terms Worth Knowing

A word on vocabulary before going further. A decoder is software that maps patterns of neural activity onto something useful. That output might be a reach direction, a cursor trajectory or a speech sound.

Neuromorphic hardware refers to chips built to run neural network style computation. These chips exploit sparse, event driven activity rather than dense arithmetic. Architecture search automates the construction or testing of model designs instead of requiring researchers to hand pick every layer.

Three Layers, One Framework

What makes the work worth attention is not that it produced a better decoder. Rather, the researchers attacked the problem at three separate layers at once.

The first layer is data. Here the goal is making heterogeneous recordings from different species, tasks and acquisition systems usable inside one framework. The second layer is intelligence, meaning the system finds or designs a decoder suited to each task rather than requiring hand tuning per dataset. The third layer is silicon, which moves the resulting computation off general purpose graphics hardware and onto specialized chips.

Plenty of groups have done excellent work on one of these layers. Connecting all three within a common framework is the paper’s central contribution. As later sections make clear, though, not every architecture the search produces can yet run on the supported chips.

One clarification matters here, especially for readers who work with neural data. The framework does not erase the biological differences among mouse, macaque and human recordings. Nothing in it claims those signals mean the same things. What it standardizes is the computational interface, covering data representation, splits, decoder APIs and evaluation protocol. That standardization makes methods easier to reuse across experiments that remain biologically distinct.

Public From the Start

The researchers released the whole thing publicly, which shapes how much any of this matters to the wider field. The eighteen curated datasets are publicly available. The Python package installs through PyPI. Public documentation covers the visualization software, and the source code lives on GitHub.

That distinction separates a system described in a paper from infrastructure other laboratories can pick up and extend. The eighty modules, fifteen decoders and search machinery described below do not sit locked inside one group’s private codebase.

The Interoperability Bottleneck

Anyone who has spent time in a BCI lab knows the quieter problem sitting underneath the flashy demos. Cursors moved by thought make headlines. The actual science, however, depends on a chain of tools that rarely talk to each other cleanly.

One dataset arrives in a proprietary binary format. Another comes packaged as Neurodata Without Borders files. A third exists only as raw voltage traces with a README file describing sampling rates that a graduate student has to reverse engineer.

Decoder implementations fare little better. A Long Short Term Memory network built for one lab’s reaching task rarely ports cleanly to a speech dataset from another group. Similarly, a Neural Data Transformer tuned for macaque motor cortex needs substantial rework before it can touch mouse visual cortex data.

Tools That Solve One Link at a Time

The authors note that existing tools tend to solve one link of this chain. Neo and Neurodata Without Borders standardize storage and handling. Standalone decoder implementations each solve a modeling problem in isolation, ranging from linear models to attention based architectures like NDT and POYO. Benchmarks including FALCON and the Neural Latents Benchmark allow direct comparison on curated datasets.

Each of these efforts matters. None of them, on its own, carries a researcher from a raw recording through a trained decoder and onto a chip.

More recent suites such as NeuroAI and TorchBrain have begun consolidating pieces of this puzzle. They unify data handling, training and benchmarking across fMRI, EEG, MEG and spike recordings. Even so, as the authors point out, these frameworks orient toward linking neural recordings to large pretrained models. That focus differs from the decoding to deployment pipeline invasive BCI work demands.

Three Problems That Keep Resurfacing

Three problems in particular keep coming back across the field. First, no single decoder architecture wins consistently across paradigms or datasets. Researchers therefore end up testing and retuning multiple models for every new task.

Second, architecture search procedures rarely reuse what they have already learned. Each new search effectively starts from zero. Third, many of the most compelling real world applications involve chronic implants meant to run for years. Those devices depend on hardware that sips power rather than graphics processing units that pull tens of watts. Neither NeuroAI nor TorchBrain was built with that last constraint in mind.

BCIJelly sits at the intersection of all three problems. It folds data preprocessing, a shared decoder library, automated architecture construction and hardware aware compilation into a single package.

Inside the Ecosystem

BCIJelly standardizes eighteen curated invasive BCI datasets spanning five behavioral paradigms. Those paradigms cover motor, visual, speech, emotion and auditory tasks, recorded from humans, macaques and mice.

Rather than forcing every dataset into an identical mold, the framework converts continuous voltage traces into multichannel spike trains. The pipeline bandpass filters each channel between 250 and 5,000 Hz. A per channel adaptive threshold then detects spikes, keeping events whose amplitude falls between four and eight standard deviations from the channel mean. Detected spikes across every channel assemble into one multichannel spike train that downstream decoders can consume.

Two Ways to Bin a Trial

Trials vary wildly in duration, while neural networks generally want fixed length inputs. The researchers therefore built two binning strategies matched to the two task types BCIJelly supports.

Classification tasks map an entire trial onto a single label such as a reach direction. The framework divides each trial into a fixed number of steps and adapts the bin size per trial. Regression tasks instead reconstruct a continuous behavioral trajectory point by point. Those tasks use a uniform bin size across every trial, typically between 20 and 50 milliseconds.

Does Binning Lose Anything?

The obvious worry with any binning scheme is information loss. The authors tested this directly across four representative datasets.

Total spike counts survived at the aggregate level. The binned representation also retained strong correspondence with the original spike train geometry. The reported figures include a Pearson correlation of 1.00 for per trial spike counts before and after binning. Spearman correlations ran between 0.94 and 0.99 when comparing van Rossum distances in the original space against Euclidean distances in the binned representation.

In plain terms, binning preserved the two tested properties across those four datasets. That result is reassuring. It does not prove that binning retains every behaviorally relevant temporal feature. A representation can hold global distance structure intact while shedding fine timing cues that some particular decoder depends on.

A Library, Not a Single Model

Layered on top of this standardized data sits an eighty module library. Four functional families organize it, covering fully connected layers, backbone architectures, convolutional operators and attention mechanisms.

Fifteen complete decoder implementations sit alongside that reusable library. They include classical state space and recurrent models, Transformer style architectures, latent variable models, and methods built to adapt across recording days.

When the authors benchmarked five representative decoders across all five paradigms, no single architecture dominated. The best performer shifted from dataset to dataset. It also shifted between single day and cross day evaluation settings. That finding echoes a persistent frustration across the BCI literature, and it motivates the next piece of the ecosystem.

Why Tomorrow Matters More Than Today

Something in that benchmark result deserves far more weight than peak accuracy numbers usually receive. It is probably the single most clinically relevant thread running through the paper.

Notice that the authors tested decoders under two separate protocols. Single day decoding trains and tests within the same recording session. Cross day decoding trains on some recording days and holds later days out entirely, then measures how the decoder generalizes to previously unseen days.

The Gap Is Stark

Across five regression datasets, cross day performance came in consistently below single day performance. Scores sometimes fell by more than half. On the hardest datasets they occasionally landed near zero.

Classification told a similar story. A decoder scoring near ninety percent within a session might land in the thirties or forties across recording days.

What Drift Means for a Patient

Consider what that means outside the laboratory. A system that reads someone’s intended movements beautifully on calibration day has accomplished something real. Even so, a person living with an implant does not want to recalibrate every morning before using their own hand.

Neural signals drift. Electrodes shift microscopically within tissue. Immune response evolves. Individual neurons drop out of recordings while others appear. Meanwhile the statistical relationship between cortical activity and intended movement slowly changes underneath a decoder trained on last month’s version of that relationship. Cross day performance measures exactly this. It is one of the numbers that will ultimately matter if a device must stay useful long after implantation.

Falling cross day scores reflect a genuine open problem across the field rather than a shortcoming of this framework. What matters is that BCIJelly gives cross day evaluation a prominent place. The authors publish the exact day by day splits they used. They also include a family of alignment methods built to hold decoders steady as signals drift.

That emphasis matters because cross day testing exposes a weakness that stays hidden when performance gets measured only within a single session. Worth keeping in view, though, is a further distinction. Cross day testing is a meaningful stress test of robustness rather than evidence of multi year stability in an implanted human system. Held out recording days are not a proxy for chronic clinical validation.

A Search That Builds Its Own Tools

That next piece is Automated Architecture Search, or AAS, implemented as a SearchAgent component. It samples candidate architectures from the module library, trains each one, and keeps those clearing a validation threshold. Top performers then combine into an ensemble.

Five independent AAS runs covered a classification and a regression dataset. Each run evaluated no more than six candidates. The runs explored largely nonoverlapping module combinations yet still produced strong decoders. The best classification run reached a median accuracy of 0.71 across eleven held out test days. The best regression run reached a median R squared of 0.80 across thirteen held out days.

Adding a Language Model to the Loop

Beyond single task search, the researchers extended AAS into a closed loop mode guided by a large language model. The agent reads three structured files. One specifies the task, covering the data split, species and task type. Another describes every available module. A third holds a running history of previously searched architectures with their scores.

Guided by that context, the model plans a search and pretrains a shared encoder. It then enters a cycle of proposing candidate decoders and testing them against a validation threshold.

A Toolbox That Grows

The enduring scientific question is not whether a particular language model can produce code. It is whether an architecture search system can retain and reuse useful design ideas across tasks. The alternative, restarting from a fixed module menu for each new dataset, wastes everything the previous search learned. The generated module mechanism implements that idea.

Here is what happens when a candidate misses the validation threshold. Rather than sampling another combination from the existing menu, the agent draws on the task description, module metadata and prior search outcomes to propose a modification. That modification can take the form of a new PyTorch module written as executable code.

If the module survives testing, it enters the reusable library. The module file then describes it so later searches can reach for it. The system therefore does not merely search a fixed toolbox. Within defined constraints, it extends the toolbox, and the search space grows as the process runs.

Guardrails on Generated Code

Those constraints deserve mention. Letting a language model contribute code that then executes inside a research pipeline is exactly the kind of thing that goes wrong quietly.

Proposed modules enter the library only after clearing several checks. A restricted import check permits only torch, torch.nn, torch.nn.functional and math while rejecting file access, process calls and dynamic evaluation. The module then compiles inside an isolated namespace. A forward pass verifies that output shapes align with the data dimensions and that values come back finite. Only then does the module join a decoder, and it stays only if that decoder trains and clears the threshold.

Keeping that growth manageable required one more design choice. The researchers decoupled the stored library from what the model actually sees. The full history stays on disk while the agent views only a fixed size, performance informed slice of each module category per round.

That slice blends built in modules, frequently selected performers, modules relevant to the current task, and the newest designs. Context held at roughly forty three modules while the underlying library grew past one hundred. Accuracy did not degrade, and the search stayed tractable. Explicit stopping conditions cap the process at three new module designs, twenty five model calls, sixty minutes, or two consecutive rounds without improvement.

How Well Did It Work?

The authors tested three separate language model backends on five invasive datasets. Those datasets spanned classification, regression and cross species joint training. The searched decoders held their own against state of the art pretrained baselines such as NDT1, NDT2 and POYO. They also beat those baselines by a clear margin in select cross species settings on the Jango and Reaching B datasets.

The three backends did not differ meaningfully from one another. That result carries an important asterisk, though. The authors ran the search once per task under a fixed pipeline seed. The reported spread therefore reflects variation across held out recording days rather than variation across repeated model runs.

The finding supports a modest reading. Within this particular experiment, performance did not depend strongly on which of the three backends the researchers used. It does not establish that the three models are interchangeable in general, and readers should resist that stronger inference.

From Python to Silicon

Training a competitive decoder solves only part of the problem facing anyone building a chronic implant. A trained model still has to run somewhere. General purpose graphics processing units make a poor long term home for a device meant to sit inside a person’s skull.

This is where the toChip pipeline steps in. It compiles trained models for execution on neuromorphic hardware including Lynxi HE200 and TaiBai. TaiBai is an in house chip built as an eleven by twelve array of cortical column cores communicating over a mesh interconnect.

Two Stages of Compilation

The compilation process runs in two stages. During conversion, the pipeline translates PyTorch operators into an intermediate representation suited to the target chip. Standard artificial neural networks pass through directly.

Spiking neural networks take an extra step first. A node conversion stage, using the SpikingJelly library, translates conventional operators into spike based equivalents. During compilation, the resulting graph gets fused and optimized for the specific chip. From the researcher’s perspective, choosing between artificial and spiking deployment reduces to a single argument.

The authors cataloged native operator support across three platforms, namely a general purpose GPU, the commercially available Lynxi chip and their own TaiBai processor. The GPU unsurprisingly offers the broadest coverage. Both neuromorphic chips trade some generality for native support of spike driven inference and sparse weight encoding. Those operations matter enormously once a model must run continuously on a battery constrained device.

Fusing Operators, Saving Cores

The graph level optimization work is worth dwelling on. The researchers tested it with the multiscale fusion enhanced spiking neural network, or MFSNN, a spiking decoder previously developed for motor BCI applications.

At the operator level, the pipeline fuses each sequence of convolutional, batch normalization and leaky integrate and fire layers into one spike convolution operator the chip executes natively. At the graph level, placement optimization cut the cores needed to host MFSNN on TaiBai from 113 down to 33. That is a reduction of more than threefold, with no loss in decoding accuracy.

The Payoff in Watts

Numbers make the case more directly than description can. Deploying MFSNN across all three platforms produced essentially identical decoding accuracy. Conversion therefore preserves what the model actually learned.

Power consumption told a very different story. In the authors’ evaluated GPU implementation, MFSNN inference drew 16.48 watts. Lynxi consumed just 0.57 watts. TaiBai came in at an estimated 0.34 watts. Those figures correspond to roughly thirtyfold and fiftyfold reductions against that particular reference platform rather than against GPU deployment in general.

Measured Versus Estimated

The provenance of those two figures deserves a pause, because they do not carry equal weight. Lynxi is a commercially available part, and the vendor supplied monitoring tool captured its draw on real silicon.

TaiBai’s 0.34 watts came instead from a behavioral chip simulator running against an FPGA prototype. The fabricated ASIC has been taped out but remains in production. FPGA prototypes are standard practice during chip development and generally track final behavior well. Even so, a simulated estimate is not the same artifact as a measurement from finished hardware. Readers should treat the Lynxi number as observed and the TaiBai number as a well grounded projection.

Additional decoders told the same story from different angles. Notably, all of them ran on commercially available Lynxi hardware. An LSTM classifier on the Finger PPC dataset held 96.10 percent accuracy on both platforms while power dropped from 40.6 watts to 1.0 watt. A regression decoder called FENet fell from 31.4 watts to 0.6 watts with barely any performance change. A decoder produced by architecture search rather than human design fell from 31.7 watts to 0.87 watts, again with matched accuracy.

A Component, Not a Device

The result is important, but its boundary is clear. What these researchers built is a computational component of an implantable BCI system rather than an implantable BCI system itself.

Running neural decoding at well under a watt while preserving accuracy solves one real piece of a much larger puzzle. Lower inference power can ease a system level energy and thermal budget, which is a genuine benefit worth naming.

It does not solve the rest. Power delivery, wireless data transmission through skin and bone, electrode durability as tissue responds over years, hermetic packaging, long term signal stability, biocompatibility testing and clinical validation each represent a separate body of engineering and medical work. Reading these results as a finished implantable system would badly misstate what was accomplished. Reading them as clearing one specific roadblock gets it about right.

What Lower Power Could Enable

These figures matter well beyond a spec sheet. A cursor control system or speech neuroprosthesis intended for daily use cannot depend on hardware needing frequent battery changes or bulky external supplies.

Reductions on this order shift the conversation toward what a person might reasonably wear or carry through an ordinary day. Chronic motor prosthetics that restore reaching and grasping become more plausible. So do communication devices for people who have lost speech, along with closed loop systems that adjust stimulation in real time based on decoded intent.

If similar deployment results extend to auditory and affective decoding workloads, low power inference could also make longer duration monitoring practical. That remains an engineering and validation question rather than a result established here. One further caveat also applies. The lowest power figures reported here do not yet cover the paper’s most ambitious search generated architectures.

The End-to-End Gap

Here is where an attentive reader should push back on the narrative this article has been building. The story so far runs cleanly from a language model designing a decoder, through compilation, onto a neuromorphic chip running on under a watt. That clean line does not yet exist in practice.

The two most forward looking ideas in the paper have not been fully joined. Encoder decoder models from the language model driven search never reached the neuromorphic chips at all. Their shared encoder contains Transformer blocks that current chip toolchains do not support.

Decoders from the simpler random sampling version of the search did compile and run on hardware, and one appears in the power results above. The more sophisticated architectures stayed on graphics hardware.

Two Results, Not One Pipeline

So the researchers have shown two strong results sitting adjacent to one another rather than one continuous pipeline. Automated and language model guided decoder design works, producing architectures competitive with pretrained baselines. Neuromorphic deployment works, cutting power by more than an order of magnitude.

Joining those two ends has more than one possible route. Among the architectures evaluated here, it would take either support for Transformer style attention in the target toolchains or a hardware compatible redesign avoiding the unsupported operations. Distillation, pruning, approximation or an alternate attention formulation could each serve.

Either way, the gap reads less as a shortcoming than as an obvious next milestone. Closing it would produce something considerably more consequential than either half alone.

A Window Without Code

Not every researcher working with BCI data writes Python for a living. The researchers behind BCIJelly built a companion visualization platform in recognition of that reality.

The interactive software, developed with the Qt framework, renders multichannel neural traces in real time. It overlays detected spikes onto local field potential recordings. It also maps recording channels onto species specific three dimensional brain atlases for human, macaque and mouse experiments alike.

A researcher can load any decoder from the library and run it against a chosen task. Predicted behavior then sits alongside ground truth. That comparison covers both a predicted reach direction against eight actual targets and a reconstructed trajectory against the real one. The entire workflow becomes navigable without writing a line of code.

Where the Framework Still Has Room to Grow

The researchers are candid about the boundaries of the current system. BCIJelly focuses on invasive recordings such as intracortical spikes and electrocorticography. Noninvasive modalities like scalp EEG belong to complementary frameworks such as MetaBCI.

Only one spiking decoder, MFSNN, currently sits in the library. That is a thin showing given how naturally spiking architectures pair with intracortical data, where the underlying signal already arrives as a population of spikes. The visualization software, for now, runs on Windows only, with Linux and macOS versions in active development.

Prototype Silicon, Long Timelines

The hardware caveat noted earlier bears on timelines as much as on measurement. Neuromorphic BCI silicon sits firmly in a prototyping phase, with one commercial part available today and research chips still working through fabrication.

Anyone reasoning about when a chronically implanted decoder might reach patients should factor in what follows a successful tapeout. Years of validation, packaging, biocompatibility work and regulatory review all come next, and the power figures speak to none of it.

Three Questions Specialists Should Ask

Readers evaluating this work for their own use should watch three questions the preprint leaves partly open.

The first concerns what boundary the power numbers enclose. The authors report GPU draw through the pynvml interface, Lynxi through the vendor monitoring tool and TaiBai through a behavioral simulator. Whether those figures capture chip level consumption alone or include memory, board level overhead and host side costs makes a substantial difference to anyone budgeting an implant. Data movement deserves particular scrutiny, since memory access, host to device transfers and buffering can dominate energy use even when the arithmetic costs very little.

The second concerns latency and throughput, neither of which appears alongside the accuracy and power results. A decoder running at a third of a watt matters little if inference arrives too slowly for closed loop control. Real time performance is the whole point in a motor prosthetic.

The third concerns tuning parity across the benchmark comparisons. The supplementary material documents extensive per dataset parameter overrides for individual decoders. That raises a fair question about whether every baseline received comparable optimization effort. None of these questions undercut the contribution. Each would sharpen how confidently an outside group could act on the results.

Closing Thoughts

What stands out across this work is less any single benchmark number and more the throughline connecting the three layers named at the outset. Data standardization makes recordings from a mouse, a macaque and a human legible to the same code. Automated and language model guided search finds or builds a decoder suited to each task. Hardware aware compilation carries the result onto silicon that runs on a fraction of the power.

Software and hardware have historically evolved on separate tracks in this field. Decoder innovation happened in one community while chip design happened in another. The two rarely met until a model was already finished and someone had to squeeze it onto a device. BCIJelly treats that meeting point as a design requirement rather than an afterthought.

The significance, then, is not a better decoder. It is the attempt to connect the entire path from neural recording to a low power computing device, with the honest acknowledgment that one stretch remains under construction.

The Regulatory Consequence

There is a regulatory consequence worth naming briefly. Clinical approval for an implanted neural device rests on evidence that a system performs consistently. That evidence must hold across participants, across recording sessions, and across the long stretches during which neural signals drift.

Generating that evidence today means each group validates its own decoder using its own preprocessing choices, splits and metrics. Results from one lab therefore become difficult to weigh against another. Shared infrastructure that fixes the preprocessing pipeline, publishes exact day by day splits and exposes identical benchmarks could make results across laboratories more reproducible and easier to compare. The paper offers infrastructure and reproducibility rather than a regulatory pathway, and the distinction is worth keeping straight.

How to Judge This Work

Which points toward the right criterion for the next few years. BCIJelly does not solve the hardest remaining problems in implanted interfaces. Stable long term recording, safe packaging, wireless power and communication, thermal budgets, clinical validation and regulatory evidence all remain open. Nor has it yet shown the full path from search generated architectures onto neuromorphic silicon.

What it offers instead is a common workspace. Neural datasets, decoder experiments, cross day evaluation, automated model search and selected low power deployments can be tested there as connected parts of one system.

Should outside laboratories adopt it, extend it and produce genuinely comparable cross site results, its most important effect will be less glamorous than a record setting decoder and probably more durable. That effect would be making BCI research easier to reproduce, question and build upon. With an ecosystem paper, adoption rather than benchmark performance is the eventual evidence of significance, and that verdict belongs to the field rather than to the authors.


Citation: Han, L., Yang, X., Zheng, T., Yang, Q., Qin, Y., Chen, L., Wei, Q., Hong, B., Zhang, X., Xiong, R., Gu, Y., Poo, M., Xu, B., Li, C., & Zhang, T. (2026). BCIJelly: An integrated ecosystem for brain computer interface research. arXiv preprint arXiv:2608.13576, 2026.

Software availability, platform support, chip status and package versions reflect the public materials described in the preprint at the time of writing.

Related Articles

Responses

Your email address will not be published. Required fields are marked *

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.