arXiv:2609.15772cs.NESep 2026

Manuscript Offprint

arXiv:2609.15772

Event-Native Symbolic-Temporal Spike Encoding Framework for Heterogeneous Cyber Streams

Dalton Diez, Peyton Andras, Max Shroyer, James Ghawaly

Dalton Diez ®^{®}, Peyton Andras ®^{®}, Max Shroyer ®^{®}, and James Ghawaly, Jr. ®^{®}

Louisiana State University

Baton Rouge, Louisiana, USA

{ddiez2, peyton.andras, mshroy1, jghawaly}@lsu.edu

Abstract—Spiking neural networks (SNNs) have shown promise for sparse, event-driven computation through stateful processing that is naturally compatible with low-power edge hardware. These properties align with cyber monitoring, where data arrives asynchronously, and malicious behavior often emerges through temporal patterns across event sequences. However, cyber streams are not composed solely of continuous numeric signals: their informative structure is also carried by categorical identifiers, irregular timing, and local behavioral context. Traditional rate- and population-based spike encodings are not naturally suited to these heterogeneous semantics, while conventional intrusion detection system (IDS) pipelines typically resolve the mismatch by converting raw events into flows, fixed aggregation windows, or dense tensors. Although useful for conventional classifiers, these transformations introduce buffering latency, obscure native temporal structure, and weaken the computational advantages of event-driven neuromorphic processing.

We introduce an event-native symbolic-temporal spike encoding framework that maps heterogeneous cyber events directly into sparse, spike-compatible inputs. By assigning explicit encoding roles to semantic identity, local frequency context, and inter-event timing, the framework preserves categorical semantics and temporal dynamics. We validate the approach on packet-level Network IDS and extend it to message-level CAN IDS, using both domains to evaluate whether the encoding exposes usable structure for recurrent SNNs operating directly on native event streams. Under edge-oriented, μ\muCaspian-aligned hardware constraints, compact recurrent SNNs achieve strong anomaly detection performance, with an operational hybrid metric ( JhybridJ_{hybrid}) of 0.987 on Network IDS and 0.980 on CAN IDS. These results show that preserving native symbolic and temporal structure enables compact recurrent SNNs to perform effective attack detection using edge-compatible inference.

Index Terms—Spiking neural networks, event-native encoding, cyber intrusion detection, Controller Area Network, neuromorphic computing, asynchronous streams.

I. Introduction

Spiking neural networks (SNNs) are naturally aligned with the asynchronous, event-driven characteristics of cybersecurity streams [1]. In domains like network monitoring or in-vehicle communication, data arrives as discrete events (packets or messages), and malicious activity often manifests as temporal patterns across sequences. However, despite this conceptual alignment, applying SNNs to native cyber event streams presents a major representational challenge.

The difficulty lies in the input interface. Unlike physical sensor signals, which are often regularly sampled and continuous-valued, cyber event fields are symbolic, heterogeneous, and irregularly timed. Attributes such as protocol type, destination port, service, and Controller Area Network (CAN) arbitration ID do not have natural numeric ordering or magnitude relationships. Treating a port number or protocol identifier as a continuous value therefore distorts its semantic meaning. Individual packets or messages are also weakly informative in isolation; their significance depends on local sequential context and relative timing across event arrivals.

To overcome this representation gap, conventional intrusion detection systems (IDS) rely on extensive preprocessing, such as flow construction, fixed-duration aggregation, or input aggregation windows [2]–[4]. While these methods extract useful numeric features, they transform the data from its native form, introducing latency and increasing resource overhead. Prior SNN-based IDS research typically inherits these limitations by using pre-engineered, static numeric feature vectors as the starting point for spike encoding [5]–[8], or by converting conventional deep neural networks into spiking equivalents via artificial-to-SNN pipelines [9]. This prevents end-to-end event-native inference and shifts computation back toward preprocessing stages that reduce the latency and low-power advantages of sparse neuromorphic processing.

In this work, we propose an event-to-spike representation designed specifically for heterogeneous, asynchronous cyber streams. Our central claim is representational: cyber event streams can be made suitable for edge-based neuromorphic inference when each event is encoded according to its symbolic identity, local behavioral context, and inter-event timing. Preserving this structure allows compact recurrent SNNs to accumulate evidence over time and classify attacks directly from native cyber streams. The contribution is not a new IDS model, but a symbolic-temporal representation interface for mapping raw cyber events into sparse, spike-compatible channels at their exact moment of arrival. The encoder uses semantically defined bins for categorical attributes, online frequency counters for local context, and discretized inter-event intervals ( Δt\Delta t) for relative timing. This enables direct edge-compatible event-native classification without flow construction, fixed-duration aggregation, or dense traffic tensors.

To demonstrate the generality of this representation, we instantiate it across two distinct domains: packet-level Network IDS and message-level CAN IDS. We optimize the recurrent SNN topologies and parameters under edge-oriented μ\muCaspian hardware constraints [10] using Evolutionary Optimization for Neuromorphic Systems (EONS) [11] as the optimization backend. We evaluate the representation with lightweight baselines on raw and encoded inputs, contextualizing the difficulty of event-native detection and the value of the domain-informed encoded representation. We then show that SNNs can use this representation to retain context across native event arrivals and perform effective edge-compatible detection.

References (28)