Targeted cell ablation experiments kill a chosen population of cells inside living tissue and then film what happens next. Their scientific output is a count of discrete events: which cells died, which divided, which migrated in to replace them. The films are enormous. Multi-week intravital two-photon recordings produce 4D and 5D stacks, and single tracking-benchmark sequences exceed 100 GB. Labs will have to compress them. The newest video codecs store a video as the weights of a small neural network that maps a pixel coordinate and a time to a color. These implicit neural representations (INRs) now beat the best conventional standard on natural video. They reach that efficiency, however, by assuming that content persists and moves smoothly from frame to frame. A dying cell does the opposite: it fragments and vanishes. We suspect that at useful bitrates these codecs, and conventional block codecs too, turn deaths into slow fades and blur divisions into single blobs. A codec that does this corrupts exactly the quantities an ablation study is designed to measure, and it does so quietly.
We propose a neural video representation with an explicit, cheaply coded event layer. The event layer is a sparse set of localized "switches", each of which lets content appear or disappear at a specific place and time. The base network handles continuous motion. We evaluate the codec by whether biological conclusions survive compression, not by PSNR alone. The work first measures how badly existing codecs distort death and division events at matched bitrates. It then tests whether spending a few bits explicitly on those events preserves them better than spending the same bits on more network capacity, better region-of-interest quantization, or segmentation-guided fitting.
Core Claim
Current INR codecs are built on continuity priors. NVRC exploits temporal correlation in 3D feature grids. CoordFlow splits the model into a network that warps coordinates along motion paths and a network that paints color. DNeRV models dynamics as frame-difference streams fused with a content stream. None of them has a mechanism for an object ceasing to exist. Under a rate constraint, the cheapest way for such a model to fit a disappearance is to spread it across neighboring frames. That smearing is precisely the error that makes a tracker miss the death time or merge two daughter cells.
Our claim is twofold. First, at bitrates where general-purpose codecs look visually acceptable, event-level measurements degrade measurably. These measurements include death detection, division detection, and lineage correctness. Second, a small explicit event term recovers most of that loss at equal total bits.
Concretely, the decoded intensity at spatial position $x$ and time $t$ is
$$\hat{I}(x,t) = f_\theta(x,t) + \sum_{k=1}^{K} a_k\, s_k(x)\, \sigma\!\left(\frac{t-\tau_k}{w_k}\right),$$
where the symbols are defined as follows. $f_\theta$ is a standard hierarchical INR (an NVRC-style network with weights $\theta$). Each event $k$ has a compact spatial footprint $s_k$ (a low-rank or Gaussian-mixture blob with a handful of parameters) and a signed amplitude $a_k$. The function $\sigma$ is a sigmoid step centered at event time $\tau_k$ with sharpness $w_k$. A negative $a_k$ removes content after $\tau_k$, which models a death. Paired positive and negative events model a split.
The whole representation is fitted end-to-end under the usual rate-distortion objective, $L = D + \lambda\,(R_\theta + R_{\text{events}})$. Here $D$ is reconstruction distortion, $R_\theta$ is the entropy-coded size of the network, $R_{\text{events}}$ is the coded size of the event parameters, and $\lambda$ sets the trade-off. Because each event costs only tens of bits, the optimizer adds one only where a sharp temporal discontinuity would otherwise be expensive for the smooth network to represent.
Relation to Prior Work
The closest work is Implicit neural image field for biological microscopy image compression (INIF). INIF fits a compact network $f(x,y,z,c,t)$ to multidimensional microscopy stacks. It reports higher PSNR and SSIM than HEVC and SIREN at 256x compression and shows that HEVC's blocking artifacts merge neighboring cell boundaries. It also introduces "application-appropriate guidance", which injects a segmentation loss during fitting.
INIF motivates this proposal, because it shows neural fields suit microscopy. It also marks where our proposal departs, in three ways. INIF has no motion or event model. It was not applied to ablation or injury time-lapses. Its guidance is static, preserving outlines within a frame, whereas ablation studies need temporal association to be preserved.
We also differ from the machine-oriented coding of Perceptual Video Coding for Machines via Satisfied Machine Ratio Modeling. That work allocates bits in block codecs to preserve classification and detection accuracy on natural scenes. We share its view that task accuracy, not perceptual quality, is the right target. We change the representation itself rather than the bit allocation.
Two further lines of work supply methods we reuse. From the codec side, NVRC supplies our base entropy coding and quantization machinery, and HiNeRV supplies patch-wise training for large frames. From the tracking side, TRACKASTRA supplies the downstream tracker. It links precomputed detections with a transformer and a "parental softmax" that allows one parent and possibly two children per cell. Crucially, it reports that accuracy depends mainly on positional trajectory context. That finding makes it a sensitive probe of whether compression preserves event timing and location.
Two results constrain the design. How to Design and Train Your Implicit Neural Representation for Video Compression shows that high-capacity INRs like HiNeRV lose their edge under wall-clock training budgets. We therefore compare all methods at equal wall-clock fitting time, not equal epochs. The same paper finds that weight-predicting hyper-networks trail direct per-video optimization, so we do not rely on them.
On the biology side, NG2-Glia Transiently Overcome Their Homeostatic Network and Contribute to Wound Closure After Brain Injury supplies the target regime. It combines genetic ablation of proliferating NG2-glia with longitudinal two-photon imaging. It reports reactive changes in 188 of 254 cells within 2 days, proliferation peaking at 2–6 days post-injury, and a failure of automated tracking in the crowded lesion core. Its reliance on manual Fiji analysis is part of why compressed data must stay trackable.
Research Program
The program has three stages, and each can stop the project.
The first stage is a distortion audit. We build an event-annotated test suite from three sources: Cell Tracking Challenge sequences with gold division annotations and track terminations, and the DeepCell and BACTERIA sets used by Trackastra. We add CTC-style synthetic phantoms into which we insert ground-truth deletion events. We give these deletions controlled kinetics, from instantaneous vanishing to blebbing over several frames, mimicking toxin-induced apoptosis and clodronate lysis. We then encode each sequence with HEVC, VVC, INIF, and NVRC across a range of bitrates. We run the same pretrained Trackastra and segmentation front end on each decoded output and measure event fidelity. If event metrics stay at uncompressed levels down to bitrates below what labs would realistically use, the problem is not real and we stop.
The second stage builds the event-aware codec. Event candidates are initialized without any tracker. We fit the base network briefly and then look for voxels where the temporal residual is concentrated in a sharp step. We place events there and let rate-distortion optimization prune, move, or add them. Event parameters are quantized and entropy-coded with NVRC's context model.
The third stage is an optional temporal-association guidance loss. It is a differentiable proxy built from Trackastra's association scores on decoded frames. We add it to the loss only as an ablation, to separate what the representation buys from what task supervision buys. Finally, we use the representation's random-access property to decode only the lesion-core subvolume. We report whether lesion-local event fidelity holds when tissue far from the lesion receives lower rate.
Baselines
The naive reference points are the raw uncompressed data run through the identical detection and Trackastra pipeline, which gives the performance ceiling, and HEVC/VVC at default settings. Trackastra's own reported uncompressed numbers anchor the ceiling. The file reports an AOGM tracking error of 23 on BACTERIA (versus 118 for Delta 2.0) and 7.9 on DeepCell (versus 18.1 for Caliban). No reported result was found in the file for tracking or event accuracy on compressed microscopy for any codec, so the degradation curves are themselves a contribution.
The strongest conventional competitor is VVC with a region-of-interest quantization map. It spends more bits on the lesion core or on frames with large temporal change, and it needs no training. We give it the same event-candidate map our method uses as its region of interest, so it receives equal side information.
The strongest neural competitor is NVRC, which the file reports achieves an average 23.4% BD-rate saving over VVC VTM random access on UVG. We run it with its published training recipe at the same wall-clock fitting budget as our method. We also run a capacity-matched variant that receives our event bits as extra network parameters.
The strongest microscopy-specific competitor is INIF with its segmentation guidance. The file reports only that it beats HEVC and SIREN in PSNR and SSIM at 256x; no reported result was found on Lacuna for INIF on tracking metrics. All methods receive the same GPU budget, the same bitrate targets, and the same hyperparameter search budget per method, and all are evaluated with an identical frozen tracker.
Two ablations isolate the key ingredient. The first places events at random locations rather than at residual steps. The second uses a smooth, very broad $\sigma$ instead of a sharp one, so any gain cannot come merely from extra localized parameters.
We count a win as follows. At equal bits per voxel, the event-aware codec must achieve lower AOGM and higher death and division F1 than the best of ROI-VVC, capacity-matched NVRC, and guided INIF. It must also keep event-timing error within one frame of the uncompressed result at a bitrate where those baselines do not.
Why not just…?
Why not just use VVC with a region-of-interest map on the lesion? This is the most serious threat. It is mature, fast, and needs no fitting. INIF's evidence that HEVC merges cell boundaries at 256x suggests block codecs fail at high compression. That evidence concerns spatial texture, however, not event timing, and it did not use region-of-interest allocation. The matched ROI-VVC baseline settles the question directly. If it matches our event F1 at equal rate, the correct conclusion is that allocation, not representation, is what matters, and we will report that.
Why not just give the INR more capacity? Extra parameters let a smooth model fit sharper transitions, and NVRC is already very efficient. The capacity-matched NVRC baseline tests exactly this. Our hypothesis predicts that spreading bits across a continuous network is a poor way to encode a step in time. If the capacity-matched variant closes the gap, the event layer is unnecessary.
Why not just run the tracker at acquisition and store tracks alongside a heavily compressed video? For a fixed analysis this is cheaper than any codec, and it is honest to admit that. It fails when labs revisit data with better trackers or new questions, such as morphology at the moment of death or polarization before migration. Trackastra's own finding that trackers keep improving (AOGM falling from 118 to 23) argues against freezing analysis at acquisition time. We test this by tracking with an older and a newer front end: stored tracks from the older one should lose to re-tracking our decoded video with the newer one.
Why not just use INIF's segmentation guidance? It preserves outlines within a frame but contains nothing that penalizes smearing a disappearance across time. Comparing guided INIF, our event layer without guidance, and our event layer with the temporal guidance loss shows whether static task guidance already suffices.
Decisive Checks
The project hinges on four results. The first is the stage-one audit, which must show nonzero event degradation at practical rates. The second is the comparison with ROI-VVC and capacity-matched NVRC on the synthetic-deletion phantoms, where ground-truth death times are exact. The third is the random-placement ablation. The fourth is a biological end-to-end check on in vivo injury recordings of the NG2-glia type, if we can obtain them from the authors. That check asks whether the reported lesion-area difference at 4 and 7 days post-injury, and the proliferation timing curve, are reproduced from compressed data at each bitrate. As a guard against overfitting the design to microscopy, we also report UVG rate-distortion. This check exists only to confirm the event layer does not hurt natural video, not to chase gains there.
References
- NVRC: Neural video representation compression
- CoordFlow: Coordinate Flow for Pixel-Wise Neural Video Representation
- DNeRV: Modeling Inherent Dynamics via Difference Neural Representation for Videos
- Implicit neural image field for biological microscopy image compression
- Perceptual Video Coding for Machines via Satisfied Machine Ratio Modeling
- HiNeRV: Video Compression with Hierarchical Encoding-based Neural Representation
- TRACKASTRA: Transformer-Based Cell Tracking for Live-Cell Microscopy
- How to Design and Train Your Implicit Neural Representation for Video Compression
- NG2-Glia Transiently Overcome Their Homeostatic Network and Contribute to Wound Closure After Brain Injury
- The Cell Tracking Challenge: 10 years of objective benchmarking