Organizations: Wake Forest University School of Medicine, Center for Artificial Intelligence Research, Winston-Salem, NC, 27157, USA · George Mason University, Department of Biology, Fairfax, VA, 22030, USA · George Mason University, School of Systems Biology, Manassas, VA, 20110, USA
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×10−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 (R2=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.
Figures & tables
Figure 1: End-to-end overview of temporal pseudo-RGB encoding. HBMVEC cultures infected with VEEV TC-83 at MOI 5, MOI 1, MOI 0.1, or mock are imaged in brightfield every 30 minutes over 48 hours. Three time-offset frames ( t−6 h, t−3 h, t ) become the red, green, and blue channels of one image, so that morphological change appears as color and static regions remain gray. An ImageNet-pretrained ResNet50 with a four-class condition head and a continuous time post-infection regression head is trained on that image; the binary infected-versus-mock readout is derived by collapsing the condition predictions. Panel C names the three prediction tasks; all quantitative results are in the tables and in Figures 2 and 3 .
Work
Temporal encoding
Domain
Offsets
Relation to the present study
Compact multi-channel encodings of time
Bilen et al. [ 35 ]
Rank pooling of a video into one RGB image
Human action recognition
∼ 1 s
Derived summary, not raw frames; different domain and time scale
Kim et al. [ 30 ]
Three time-sampled grayscale frames as R, G, B; one ResNet50 backbone, five temporal frameworks
Human action recognition
∼ 0.1–1 s
Same representation ; differs in domain, time scale, and the phenomenon reported
Caye Daudt et al. [ 36 ]
Multi-date composites across channels
Remote-sensing change detection
Days–years
Different domain; change is scene-level, not morphological
Time-resolved label-free imaging of cells and pathogens
Paquin et al. [ 37 ]
Spatio-temporal features over incubation
Bacterial colony ID
Hours
No channel stacking; bacterial growth, not viral CPE
Table 1: Prior work bearing on this study, in two groups: compact multi-channel encodings of time, which is where the representation comes from, and time-resolved label-free imaging of cells and pathogens, which is the application. The representation is shared with Kim et al.; the domain, the time scale and the reported phenomenon are not. The second group is listed because it is the nearest prior work on the application, not because it uses this encoding: none of those three does.
Encoding
Classification head
Objective
Binary accuracy
4-class accuracy
MAE (h)
R2
Single-frame
Binary
Classification only
88.75±0.46
–
–
–
Binary
Multi-task
90.19±0.05
–
1.43±0.02
0.9791±0.0007
–
Regression only
–
–
1.40±0.02
0.9801±0.0003
4-class
Classification only
85.87±0.64
54.19±0.51
–
–
4-class
Multi-task
88.38±2.40
59.13±0.67
1.43±0.03
0.9790±0.0008
Temporal pseudo-RGB
Binary
Classification only
93.26±0.44
–
–
–
Table 2: Contribution of temporal encoding and of multi-task supervision. All models share one frozen protocol and the same fixed row split, and differ only in the input encoding, the output head, and the training objective. Accuracies are percentages; dashes denote outputs not defined for the corresponding model. Values are mean ± SD across five random initializations.
Offset configuration
Span
Binary accuracy
4-class accuracy
MAE (h)
Single-frame [0,0,0]
0 h
88.38±2.40
59.13±0.67
1.43±0.03
Short [−3,−1.5,0]
3 h
91.94±0.62
63.36±0.80
1.39±0.12
Standard [−6,−3,0]
6 h
93.26±0.11
66.81±0.56
1.31±0.05
Long [−12,−6,0]
12 h
93.01±0.23
64.30±0.72
1.35±0.09
Table 3: Sensitivity of the result to the temporal span. The three offsets were fixed before any model was trained; this is a sensitivity analysis on the held-out partition, not a selection procedure. Accuracies are percentages. Values are mean ± SD across five random initializations.
Figure 2: Time post-infection is recovered as a continuous secondary readout. Predicted vs. actual time post-infection for (A) the temporal multi-task model (MAE =1.31±0.05 h, R2=0.9750±0.0090 ) and (B) the single-frame multi-task counterpart (MAE =1.43±0.03 h, R2=0.9790±0.0008 ). Points are colored by infection condition (MOI 5, MOI 1, MOI 0.1, Mock), and each panel carries its own axes and legend; the dashed diagonal denotes perfect agreement. The points are from a single representative run on the fixed row split; the errors quoted above are the five-seed means of Table 2 . The temporal model has the lower mean absolute error and the marginally lower R2 ; neither temporal-versus-single-frame difference shown here was tested at the well level.
Method
Binary accuracy
4-class accuracy
MAE (h)
Training time (h)
Majority class
75.00
–
–
–
non-deep baselines
Confluence — single cut-off
71.39
–
–
<0.1
Frame differencing — single cut-off
74.06
–
–
<0.1
Optical flow — single cut-off
74.38
–
–
<0.1
Confluence — logistic regression
74.90
–
–
<0.1
Table 4: Comparison against temporal baselines, ordered by binary accuracy within each block. Training time is reported because a purpose-built temporal architecture costs several times more than encoding the same frames into the input channels. Accuracies are percentages; dashes denote outputs these baselines do not produce, and training times are wall-clock hours for one 30-epoch run on one NVIDIA A100. Learned-model values are mean ± SD across five random initializations; the majority-class reference and the non-deep baselines are deterministic given the split and were run once.
Endpoint
Temporal
Single-frame
Δ (pp)
95% CI (pp)
p (sign-flip)
p (Wilcoxon)
Whole time course
91.619
87.385
+4.234
[+2.51,+6.05]
3×10−5
3.05×10−5
Last 8 h (late-phase endpoint)
99.427
75.556
+23.871
[+19.16,+28.85]
1.0×10−5
2.91×10−11
Table 5: Paired comparison of the temporal encoding against the single-frame model, with the well as the unit of analysis. Each well is scored by the cross-validation fold that held it out, so all 36 wells contribute exactly once. Accuracies are percentages, given to three decimals so that they subtract to the difference beside them; the text rounds to two.
Figure 3: Temporal encoding sustains infected-versus-mock detection across the 48-hour infection timeline. Temporal multi-task model against its single-frame counterpart, in 3-hour bins, from a single representative run on the fixed row split; the corresponding whole-timeline and late-phase values under the leave-one-row-out protocol of the headline comparison are in Table 5 . (A) Infected-versus-mock accuracy: the temporal model (blue) holds above 97% at 40–48 h while the single-frame model (orange, dashed) falls to roughly 75%. Shading marks the early (0–6 h, red) and late (40–48 h, blue) phases. (B) Four-class condition accuracy over time, shown for context. (C) Time post-infection MAE over time. The temporal model has the lower error over most of the time course, by the largest absolute margin at 30–37 h. These descriptive temporal-versus-single-frame differences were not tested at the well level.
Metric
Temporal pseudo-RGB
Single-frame
Balanced accuracy
88.85±0.25
83.06±0.13
Sensitivity
94.40±0.13
91.70±4.23
Specificity
83.31±0.56
74.42±4.04
Precision
94.42±0.17
91.52±0.92
F1
94.41±0.07
91.55±1.71
AUROC (0–1)
0.9671±0.0017
0.9325±0.0038
Table 6: Balanced binary metrics for the infected-versus-mock readout, computed on the pooled out-of-fold predictions across all 36 wells, separately for each of the five seeds. The positive class is infected, and the class ratio is 3:1. Values are mean ± SD across five random initializations.
Backbone
Temporal
Single-frame
Δ (pp)
ResNet50
93.26±0.11
88.38±2.40
+4.88
EfficientNet-B0
92.24±0.38
89.30±0.17
+2.94
ConvNeXt-Tiny
92.18±0.26
88.97±2.23
+3.21
ViT-B/16
88.40±2.26
88.74±0.10
−0.34
Table 7: The temporal encoding applied to four ImageNet-pretrained backbones, each trained under the same protocol with and without the encoding. Accuracies are percentages. Values are mean ± SD across five random initializations.
Normalization
Temporal
Single-frame
Δ (pp)
Per-frame min–max (reported pipeline)
93.26±0.11
88.38±2.40
+4.88
1st–99th percentile
93.59±0.28
87.93±2.48
+5.66
Table 8: Sensitivity of the temporal advantage to the intensity normalization. Both models were retrained from scratch under each pipeline, because re-evaluating existing models on renormalized images would measure robustness to an inference-time shift rather than the consequence of the normalization choice. Accuracies are percentages. Values are mean ± SD across five random initializations.
Fold
Temporal
Single-frame
Δ (pp)
Fold A
87.69±0.35
84.81±2.06
+2.88
Fold B
93.89±0.12
88.92±3.00
+4.97
Fold C
93.26±0.11
88.38±2.40
+4.88
Pooled out-of-fold
91.619
87.385
+4.234
Table 9: Leave-one-row-out cross-validation. Each fold holds out one row across all three plates, so every well is held out exactly once and the train/test proportion is constant. Accuracies are percentages; the pooled row is given to three decimals so that it subtracts to the difference beside it, and the text rounds to two. Values are mean ± SD across five random initializations.
Whole time course
Late phase 40–48 h
Condition
Wells
Temporal
Single-frame
Temporal
Single-frame
MOI 5
9
92.1 [79.3–100.0]
89.7 [75.0–97.9]
99.4 [96.5–100.0]
80.4 [53.6–91.9]
MOI 1
9
97.4 [89.7–100.0]
95.0 [87.6–98.6]
99.9 [99.4–100.0]
80.8 [55.0–91.6]
MOI 0.1
9
93.6 [74.1–100.0]
90.4 [74.5–98.1]
100.0 [100.0–100.0]
81.1 [58.2–91.2]
Mock
9
83.3 [55.9–98.0]
74.4 [38.9–92.8]
98.5 [88.5–100.0]
59.8 [30.8–82.3]
Table 10: Detection reliability by infection condition and by phase of the time course. Each cell is the mean over that condition’s nine wells of the well’s accuracy, with the range across those nine wells in brackets.
Held-out run
Temporal
Single-frame
Δ (pp)
Run 1
97.59±0.18
90.50±3.23
+7.08±3.24
Run 2
87.32±0.67
82.98±2.25
+4.34±1.90
Run 3
92.01±0.42
86.07±1.78
+5.94±1.80
Pooled out-of-fold
92.31
86.52
+5.79
Table 11: Leave-one-run-out cross-validation. Each fold holds out all twelve wells of one experimental run, so the model is scored on a plate it never saw in training. Accuracies are percentages. Values are mean ± SD across five random initializations, and differences are computed before rounding. No test of the difference between this protocol and Table 9 was performed, and none is claimed.
Arionkoder LLC, Boston, MA 02114, United States · Laboratory of Experimental Virus Evolution, Pasteur Institute of Montevideo, Montevideo, 11400, Uruguay · Laboratory of Molecular Virology, Faculty of Sciences, University of the Republic, Montevideo, 11400, Uruguay +3
Institute for Intelligent Systems Research and Innovations (IISRI), Deakin University, Geelong, Australia · Department of Electronic Engineering, University of Bologna, Bologna, Italy · CSIRO Health and Biosecurity, Australian Animal Health Laboratory, Geelong, Australia
Institute for Intelligent Systems Research and Innovations (IISRI), Deakin University, Geelong, Australia · Department of Electronic Engineering, University of Bologna, Bologna, Italy · CSIRO Health and Biosecurity, Australian Animal Health Laboratory, Geelong, Australia