Event cameras are sensors that report only per-pixel brightness changes, as a sparse stream of tuples (x, y, timestamp, polarity) with microsecond timing. They feed spiking neural networks (SNNs), which are networks whose neurons communicate with binary pulses and therefore spend energy only when something happens. This pairing is popular in energy-constrained settings such as automotive, robotics and surveillance, where provenance and tamper-evidence matter. Reversible data hiding (RDH) is a set of techniques for embedding a payload into a signal so that the payload can be extracted and the original signal restored bit-for-bit. It is mature for images, audio and databases. No existing method embeds data reversibly into an asynchronous event stream. The obvious workaround, converting events to frames and running image RDH, destroys the timing precision that motivates event sensors, and it cannot restore the raw stream exactly.
We propose to embed authentication and provenance data into event timestamps by predicting each pixel's next inter-event interval and shifting the histogram of prediction errors, a standard RDH move. The shifts are constrained so that no event leaves the time bin a downstream SNN would place it in. The result is intended to do two things at once. An authorized decoder recovers the exact original stream. A standard binned SNN receives an input tensor identical to the unmarked one, so its accuracy and its spike-driven energy are unchanged by construction. The neuromorphic side of this proposal is therefore mainly a constraint and an evaluation regime: the hidden data must cost the downstream spiking system nothing. It is not a claim that spiking hardware should do the embedding.
Core Claim
Event streams contain exploitable redundancy inside the temporal quantization that downstream SNNs already apply. Most direct-trained SNNs bin events into $T$ time slices. Examples are the threshold-dependent batch-normalization networks of Going Deeper With Directly-Trained Larger Spiking Neural Networks, which use as few as 6 timesteps, and the localization SNNs of Spiking neural networks for frame-based and event-based single object localization, which peak at $T \le 10$. Any timestamp perturbation that stays inside a bin is invisible to these models.
Let $t_i$ be the timestamp of the $i$-th event at a pixel, $\Delta_i = t_i - t_{i-1}$ the interval since the previous event there, $\hat\Delta_i$ an integer prediction of that interval from causal context, and $\tau$ the bin width used downstream. We embed into the residual $e_i = \Delta_i - \hat\Delta_i$ by histogram shifting, subject to
$$\left\lfloor t'_i / \tau \right\rfloor = \left\lfloor t_i / \tau \right\rfloor ,$$
where $t'_i$ is the marked timestamp. Events that cannot be shifted without crossing a bin boundary are skipped, and their positions are recorded in a compressed location map, which itself travels in the payload. We claim that a good interval predictor combined with this constraint gives useful capacity, measured in bits per event, with three guarantees: zero change in the binned SNN input, zero added or removed events, and exact restoration of the raw stream.
Relation to Prior Work
The closest work hides data in neural-network models, not in sensor data. FedReverse embeds multi-party watermarks into floating-point DNN weights by difference contraction and restores the weights exactly when all parties consent. It reports 0.9918 MNIST accuracy against a 0.9920 unwatermarked baseline. MeMark watermarks SNNs by training selected membrane potentials to sit above or below the firing threshold on a secret trigger. It is explicitly irreversible and protects the model rather than the data. Both papers show that reversibility and spiking dynamics can be combined with watermarking. Neither touches the event stream the sensor emits, which is the object we mark. A reversible version of MeMark, obtained by applying FedReverse-style contraction to SNN weights, is the most obvious idea at this intersection. We avoid it because that idea would largely be FedReverse with a different network type.
Our embedding method comes from classical image RDH. Prediction-error histogram shifting, and the observation that sorting pixels by local fluctuation reduces "invalid shifting pixels" (pixels moved without carrying payload), come from Reversible data hiding based on reducing invalid shifting of pixels in histogram shifting. We adapt that sorting idea to event activity: busy pixels have regular intervals and sharp residual peaks, and quiet pixels do not. The idea of vacating room before any cipher is applied comes from Reversible data hiding in encrypted images based on pixel prediction and multi-MSB planes rearrangement, which uses integer median-edge prediction and reports MSE = 0 at 2.87 bpp on Lena. It gives us an integer-only predictor template. Heavier learned predictors such as the one in Improved CNN Prediction Based Reversible Data Hiding for Images, which reaches 62.37 dB at 10,000 bits on BOWS-2, show that better prediction buys capacity. They also carry exactly the compute cost a sensor-side encoder cannot afford, so we restrict ourselves to integer predictors.
One paper constrains the design. Bio-Vision-Inspired Spiking Neural Networks for Object Detection with Event Cameras removes weak, uncoordinated events with adaptive-threshold neurons (STATNF) to save energy. Its result on Gen1 is 262× the efficiency of a dense ANN. This rules out any design that adds carrier events or hides bits in noise events, because such filters would discard them and the extra spikes would cost energy. Our design therefore never adds or removes events.
Research Program
We will build an integer-only encoder and decoder for standard event formats. Each carries a per-pixel causal interval predictor. We will compare four predictor families: last-interval, median of the last $k$ intervals, a neighborhood-aware variant using the most recent events in the 8-neighborhood, and a tiny integer-quantized learned predictor. Each is paired with double-peak histogram shifting on $e_i$ and the bin-invariance constraint.
Three engineering problems need solving, and they are where the research content lies.
The first is ordering. Event files are sorted by timestamp, so shifting $t_i$ can swap an event with a neighbor, and ties must be broken in the original order. We will compare two remedies. One is a rank-preserving constraint that limits each shift to the gap to the adjacent events in global order. The other stores a compact reorder record in the payload. We will report the capacity each costs.
The second is choosing $\tau$ when the consumer is unknown. We will study a multi-resolution variant that respects the finest of several bin widths, and measure capacity as a function of $\tau$.
The third is the payload itself. We will embed a keyed hash of each time chunk, which allows tamper localization at chunk granularity, together with sensor identity and a timestamp. The encoder runs at the sensor or in a gateway before any compression or encryption.
Baselines
The naive reference point is the unmarked stream processed by each downstream model. It defines the accuracy, the synaptic-operation count and the energy the marked stream must match exactly.
The strongest reversible competitor we can construct is lossless compression of the timestamp low-order bits. This transplants the "vacate room" idea to events: compress the least-significant $b$ timestamp bits, where $b$ is chosen so the modification stays inside $\tau$, then overwrite the freed space with payload. It is strong because it is simple, reversible and trivially bin-invariant when $b < \log_2 \tau$. We will run it on the same streams with the same bin-invariance guarantee, and tune $b$ and the entropy coder on a held-out split with the same budget we give our predictor choices. Our method beats it if, at equal maximum timestamp shift, it carries more bits per event on at least three of the four datasets.
The frame-based route converts events to binned frames and applies the texture-sorted histogram shifting of Reversible data hiding based on reducing invalid shifting of pixels in histogram shifting. We include it to measure its failure, which is loss of bit-exact restoration of the raw stream, not to compete on capacity.
Two ablations isolate the key ingredients. The first is our method with the bin constraint removed, allowing unconstrained interval expansion. It quantifies how much capacity the zero-cost guarantee sacrifices and how much downstream accuracy and energy unconstrained hiding would perturb. The second replaces the neighborhood predictor with last-interval prediction, which isolates the value of prediction quality. We found no reported result on Lacuna for any reversible data hiding method on event streams, so every hiding baseline number will be produced here.
Why not just…?
Why not just put a signature in the file header or a sidecar? This is a real threat, and for archival files it is often sufficient. Headers and sidecars are lost under stream re-muxing, chunked transmission and format conversion. They also provide only whole-file integrity, whereas our payload is bound to each time chunk and can localize tampering. The experiment that settles this re-chunks and transcodes marked streams between common formats and checks whether provenance survives and whether tampered chunks are localized. If practitioners' pipelines always preserve metadata, the in-band case weakens to tamper localization alone, and we will say so.
Why not just replace timestamp low bits after compressing them? This is the strongest baseline above. It ignores the regularity of per-pixel intervals, which is where we expect predictive hiding to win. The analogous image-domain gap between plain bit-plane methods and prediction-error methods is large; for example, the prediction-plus-rearrangement method reaches 2.87 bpp on Lena where the earlier method it compares against reaches 0.97 bpp (Reversible data hiding in encrypted images based on pixel prediction and multi-MSB planes rearrangement). If intervals turn out to be close to memoryless, this baseline may tie us, and the capacity comparison will show it directly.
Why not just convert events to frames and use image RDH? Frame conversion discards the within-bin timing and ordering that exact restoration requires. The event-detection work above argues that this conversion undermines the point of event sensing (Bio-Vision-Inspired Spiking Neural Networks for Object Detection with Event Cameras). We will verify the loss by checking byte-exactness of the reconstructed stream.
Why not just reversibly watermark the SNN model instead? That protects a different asset, and it is close to FedReverse applied to spiking weights. It says nothing about whether a recorded stream is authentic.
Proposed Experiments
We will use four event datasets from the file: DVS-Gesture, N-Caltech101, NCAR and Gen1. The downstream consumers are a threshold-dependent batch-normalization SNN on DVS-Gesture (reported at 96.87% in Going Deeper With Directly-Trained Larger Spiking Neural Networks), the N-Caltech101 localization SNN (reported at 71.53% mIoU in Spiking neural networks for frame-based and event-based single object localization), and a STATNF-style detector on Gen1 and NCAR (reported at 69.1% mAP₅₀ and 96.1% accuracy in Bio-Vision-Inspired Spiking Neural Networks for Object Detection with Event Cameras). The reported figures are reference points; the comparison of record is always against our own unmarked runs. For energy we count synaptic accumulate operations and convert them using the 0.9 pJ accumulate versus 4.6 pJ multiply-accumulate figures cited in SpikingBERT.
The metrics are:
- capacity in bits per event, net of the location map and reorder record;
- mean and maximum timestamp shift in microseconds;
- byte-exact restoration, checked by hash over every file;
- change in downstream accuracy and synaptic operations;
- encoder cost in integer operations per event.
Three checks are decisive:
- Restoration must be byte-exact on every file.
- The binned input tensors to each SNN must be identical before and after marking, and accuracy and operation counts must be unchanged to the last digit. A mismatch would expose a bug in the bin-invariance logic or an order-sensitivity in the loader.
- The predictive method must carry more bits per event than the tuned low-bit baseline at equal maximum shift.
We will also run a stress test with a consumer that uses fine timing. For this we will build a microsecond-resolution time-surface classifier that does not bin events at the SNN's $\tau$. It measures how much the embedding perturbs models that fall outside the guarantee, and so marks the boundary of the claim honestly.
References
- Going Deeper With Directly-Trained Larger Spiking Neural Networks
- Spiking neural networks for frame-based and event-based single object localization
- FedReverse: Multiparty Reversible Deep Neural Network Watermarking
- MeMark: Membrane-Space Watermarking for Spiking Neural Networks
- Reversible data hiding based on reducing invalid shifting of pixels in histogram shifting
- Reversible data hiding in encrypted images based on pixel prediction and multi-MSB planes rearrangement
- Improved CNN Prediction Based Reversible Data Hiding for Images
- Bio-Vision-Inspired Spiking Neural Networks for Object Detection with Event Cameras
- SpikingBERT: Distilling BERT to Train Spiking Language Models Using Implicit Differentiation