# REALM: Retrospective Encoder Alignment for LFP Modeling

DevFeed: [REALM: Retrospective Encoder Alignment for LFP Modeling](<https://devfeed.tech/articles/realm-retrospective-encoder-alignment-for-lfp-modeling-102961.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.14867>)

Author: Peicheng Wu, Zhenyu Bu, Runze Ma, Lin Du

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [bci](<https://devfeed.tech/topics/bci.md>), [Mamba](<https://devfeed.tech/topics/mamba.md>), [Decoding](<https://devfeed.tech/topics/decoding.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [energy](<https://devfeed.tech/tags/energy.md>), [field](<https://devfeed.tech/tags/field.md>), [framework](<https://devfeed.tech/tags/framework.md>), [generation](<https://devfeed.tech/tags/generation.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [mamba](<https://devfeed.tech/tags/mamba.md>), [mamba-2](<https://devfeed.tech/tags/mamba-2.md>), [modal](<https://devfeed.tech/tags/modal.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [q-bio-nc](<https://devfeed.tech/tags/q-bio-nc.md>), [realm](<https://devfeed.tech/tags/realm.md>), [retrospective](<https://devfeed.tech/tags/retrospective.md>)

## AI overview

REALM distills representations from a pretrained, multi-session bidirectional LFP teacher into a compact causal student for behavior decoding. The teacher uses continuous masked autoencoding; the student is trained with representation alignment and autoencoding. The abstract reports the highest mean accuracy among compared decoders in both label-free and fine-tuned pipelines, with statistically significant gains over each baseline, including CrossModalDistill. REALM uses LFPs alone throughout and has less than half the parameters of CrossModalDistill's published student and one-tenth its pretraining time. The reported results suggest causal LFP-only decoding can be competitive with a non-causal multimodal model, though the supplied abstract gives no numerical accuracy results or experimental details.

## Source excerpt

arXiv:2605.14867v4 Announce Type: replace-cross Abstract: Spike activity has been the dominant neural signal for behavior decoding because its high spatiotemporal resolution supports accurate decoding. However, as intracortical brain-computer interfaces (iBCIs) move toward higher channel counts and wireless operation, the high sampling rates required to record spikes create substantial power and bandwidth demands. Local field potentials (LFPs) offer complementary advantages, including greater long-term stability, lower energy consumption, and lower bandwidth requirements. However, LFP-based decoders often achieve lower accuracy and rely on non-causal architectures that cannot be used directly for real-time deployment. We propose REALM, a retrospective knowledge distillation (RKD) framework for causal LFP behavior decoding. Inspired by offline-to-online distillation in speech recognition, REALM transfers non-causal representational knowledge from a pretrained, multi-session bidirectional LFP teacher to a causal student model. We first pretrain a bidirectional Mamba-2 teacher across multiple recording sessions using continuous masked autoencoding (CMAE), and then distill its representation into a compact causal student using a combined objective of representation alignment and autoencoding. REALM achieves the highest mean accuracy among the compared decoders in both label-free and fine-tuned pipelines, with statistically significant improvements over each baseline, including the state-of-the-art CrossModalDistill. It does so using LFPs alone throughout pretraining, distillation, and decoding, with less than half the parameters of CrossModalDistill's published student and one-tenth of its pretraining time. These results show that a causal LFP-only model can achieve decoding accuracy competitive with a non-causal multi-modal model, offering a practical and scalable approach for next-generation wireless and implantable iBCIs.