Temporal Pseudo-RGB Encoding for Label-Free Detection of VEEV Infection in Human Brain Endothelial Cells

Zhengjie Zhu, Stephanie Valdez Trefry, Hao Lu, Abbas Alili, Yongxin Guo, Aarthi Narayanan, Metin Nafi GurcanarXiv 2026 · DOI

TL;DR

By simply stacking three time-offset brightfield frames into the RGB channels of a single image, researchers achieved a significant boost in label-free viral infection detection. This "temporal pseudo-RGB" approach allows standard 2D CNNs to capture infection dynamics, outperforming single-frame models by nearly 24 percentage points during late-stage infection when visual debris typically confuses static classifiers.

What Problem Does This Paper Address?

Detecting viral infection in live cell cultures usually requires fluorescent labels or destructive assays, which are invasive and limit long-term monitoring. Label-free brightfield microscopy is a non-invasive alternative, but it's challenging for AI: static images of infected cells can be ambiguous.

Early in an infection, cytopathic effects (CPE)—like cell rounding or shrinking—are subtle. Late in an infection, floating dead cells and debris can obscure the underlying monolayer, making it hard to distinguish "messy" infected wells from "messy" healthy ones. Most existing deep learning models treat each video frame independently, effectively throwing away the temporal "trajectory" that reveals how a cell's morphology is actually changing.

Methods

The authors propose a remarkably simple yet effective technique: temporal pseudo-RGB encoding.

Instead of feeding a single grayscale frame to a network, they stack three frames from different time points—the current time ($t$), 3 hours prior ($t-3h$), and 6 hours prior ($t-6h$)—as the Blue, Green, and Red channels of a single image. In this representation, static regions appear gray, while moving or changing structures appear as vibrant color shifts.

End-to-end overview of the temporal pseudo-RGB encoding and multi-task framework.

This encoded image is fed into a standard ImageNet-pretrained ResNet50 backbone. The model uses a multi-task learning objective, simultaneously predicting:

  1. Condition Classification: Categorizing the well into one of four classes (Mock-infected or three different Multiplicities of Infection/MOI).
  2. Time Post-Infection (TPI) Regression: Estimating exactly how many hours have passed since inoculation.

Datasets

The study focused on human brain microvascular endothelial cells (HBMVEC), a key component of the blood-brain barrier, infected with the Venezuelan equine encephalitis virus (VEEV) TC-83.

The dataset consisted of:

  • 48-hour time-lapse brightfield microscopy.
  • Images acquired every 30 minutes.
  • Three independent experimental runs totaling 36 wells.
  • Ground truth labels derived from the experimental design (infection status and time elapsed), requiring no manual per-cell annotation.

Key Insights and Ideas

  • The "Late-Phase Divergence": The most striking finding is that temporal encoding prevents the "accuracy crash" seen in single-frame models. As infection progresses (40–48h), single-frame models start misclassifying mock wells as infected because they can't distinguish between normal debris and viral CPE. Temporal models see that the "debris" in mock wells is static, while CPE is dynamic.
  • Efficiency over Complexity: While 3D CNNs and Recurrent Neural Networks (RNNs) are standard for video, they are computationally expensive. Pseudo-RGB encoding achieves comparable or better accuracy at a fraction of the training cost (e.g., 2.0 hours vs. 9.6 hours for a 3D CNN).
  • Multi-task Synergy: Training the model to estimate time (regression) as an auxiliary task actually helped regularize the shared features, leading to more stable infection detection.
  • Backbone Sensitivity: Interestingly, the benefit was consistent across convolutional backbones (ResNet, EfficientNet, ConvNeXt) but vanished when using a Vision Transformer (ViT-B/16), suggesting that the local feature processing of CNNs might be better suited for this specific channel-stacked temporal signal.

Key Results

  • Overall Accuracy: The temporal model reached 91.6% accuracy, a significant improvement over the 87.4% achieved by the single-frame baseline.
  • Late-Stage Performance: In the final 8 hours of the experiment, the gap widened dramatically: the temporal model maintained 99.4% accuracy while the single-frame model plummeted to 75.6%.
Accuracy over the 48-hour timeline, highlighting the temporal model's stability in the late phase compared to the single-frame model.
  • Time Estimation: The model recovered the time post-infection with a Mean Absolute Error (MAE) of just 1.31 hours ($R^2 = 0.975$).
Predicted vs. actual time post-infection for the temporal and single-frame models.

Limitations and Future Work

  • Biological Scope: The study used a single cell lot and one virus strain. It remains to be seen if these specific time offsets (3h and 6h) are optimal for viruses with different replication kinetics.
  • Latency: The 6-hour window introduces a "warm-up" period at the start of an experiment before the full temporal context is available.
  • Positional Confounding: Because infection conditions were mapped to specific plate columns, the authors performed rigorous within-well controls to ensure results weren't driven by edge effects or incubator gradients, but randomized layouts are recommended for future validation.
  • Transformer Compatibility: The lack of gain with ViT backbones warrants further investigation into how transformers process multi-channel temporal encodings.

Summary updated

Abstract

Label-free detection of viral infection is central to antiviral screening and pathogen surveillance. Most deep-learning methods analyze individual frames and do not model temporal progression. We evaluate temporal pseudo-RGB encoding, which stacks three time-offset brightfield frames ($t{-}6$ h, $t{-}3$ h, $t$) as the red, green, and blue channels of a single image so that morphological change becomes color and an ImageNet-pretrained convolutional neural network (CNN) can be trained on infection trajectories without architectural modification. In human brain microvascular endothelial cells (HBMVEC) infected with Venezuelan equine encephalitis virus (VEEV) TC-83, a multi-task network predicts infected-versus-mock status and time post-infection in one forward pass. Across three experimental runs under leave-one-row-out cross-validation, with all 36 wells scored out of fold, the encoding reaches 91.6% accuracy against 87.4% for the single-frame model (paired difference $+4.2$ percentage points, 95% CI $[+2.5, +6.1]$; sign-flip $p = 3\times10^{-5}$; well-level inference, conditional on three runs). At the late-phase endpoint (40-48 h), where floating cells and debris can make conventional brightfield images difficult to interpret, the advantage widens to $+23.9$ points (95% CI $[+19.2, +28.9]$). Time post-infection is recovered on the fixed row split with MAE = 1.31 h ($R^2 = 0.975$). Among the temporal models tested the encoding has the highest mean accuracy, at a fraction of the cost of the recurrent and 3D convolutional alternatives, though only its margin over the single-frame model is resolved; the tested ViT-B/16 backbone showed no corresponding gain, so the finding is limited to convolutional backbones and this virus-cell system.
BibTeX
@misc{zhu2026temporal,
  author = {Zhengjie Zhu and Stephanie Valdez Trefry and Hao Lu and Abbas Alili and Yongxin Guo and Aarthi Narayanan and Metin Nafi Gurcan},
  title = {{Temporal Pseudo-RGB Encoding for Label-Free Detection of VEEV Infection in Human Brain Endothelial Cells}},
  year = {2026},
  eprint = {2611.21892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21892},
}
Figure