Spatio-temporal priors re-rank person re-identification matches using the camera pair and the time gap, and are reported to add large gains on Market-1501. We ask how much of such a gain encodes the evaluation protocol rather than learned spatio-temporal evidence. Starting from a course-project re-ranker that adds log camera-transition and log time-gap terms to cosine similarity, we train a strong ResNet-50 baseline (Rank-1 94.3 %, mAP 86.2 % over three seeds), choose the fusion weights on an identity-disjoint validation split and evaluate on the official test set with control priors. The repository form adds 2.30 mAP points, but a one-parameter penalty on same-camera pairs alone adds 2.19: the protocol never places a true match in the query's camera, so the penalty removes distractors for free. The time term of that form is almost unused; a pair-level diagnostic traces this to its modelling the time gap given a match without dividing by the gap distribution of all candidate pairs. A likelihood-ratio prior adds 4.04 points without the penalty and 5.62 with it; shuffling the time stamps removes the extra gain, so about 3.43 points are tied to identity. The prior fixes the first-ranked match of 4.2 % of the queries and breaks it for 0.1 %. The gain shrinks as the visual baseline improves (11.9 to 5.62 points between a 70.5 % and a 86.2 % mAP model) and concentrates on queries whose true matches share the query's video sequence. The study covers one dataset, one backbone and three seeds.
Figures & tables
Symbol
Meaning
q,g
query image and gallery image
c∈{1,…,6}
camera index of an image
t,Δt=∣tq−tg∣
pseudo-time of an image and gap between two images
b,x=(cq,cg,b)
gap bin and the spatio-temporal cell of a pair
yqg∈{0,1}
1 if q and g show the same person
f^,sqg=f^q⊤f^g
L2-normalised feature and cosine similarity
TABLE I: Notation.
Fig. 1: Architecture of the audited re-ranker. Visual branch: a ResNet-50 whose stages are drawn as blocks (width ∝ channels, height ∝ spatial size; sizes for a 3×256×128 input), with the last stride set to 1, global average pooling, a batch-normalisation neck and an L2-normalised 2048-d feature; the triplet and identity losses (dashed arrows) act during training only. Spatio-temporal branch: training images are placed on a camera–time plane, optionally with time stamps permuted within each camera (dashed control), positive and candidate pairs are mined, two cell histograms are counted and their log ratio is stored as a 6×6×15 table. Scoring: for each query–gallery pair the cosine score is added to the prior terms read from the table and scaled by the weights chosen on a held-out validation split; the gallery is ranked after the protocol filter and scored by CMC and mAP. The glyphs are drawn from real results: the two histograms (all camera pairs pooled, 114,025 positive and 68,090,304 candidate pairs), the front slice of the LR table (200-frame bin; crossed cells are same-camera pairs), the validation landscape of (β,γ) for seed 0 with the chosen cell framed, the CMC curves (mean of three seeds, visual only dashed) and the training images of three identities in one sequence. The numbered boxes and marks are illustrative.
Item
Setting
Backbone
ResNet-50, ImageNet initialisation, last stride 1, BNNeck
P×K=16×4 identities × images, about 200 iterations per epoch
Optimiser
Adam, base rate 3.5×10−4 , L2 weight decay 5×10−4
Schedule
10-epoch linear warm-up from 0.1× ; decay by 10 at epochs 40 and 70; 120 epochs
TABLE II: Training and selection settings.
Method
Rank-1
Rank-5
Rank-10
mAP
Visual score only
94.27 ± 0.05
98.25 ± 0.00
98.89 ± 0.11
86.18 ± 0.24
Same-camera penalty only
96.32 ± 0.13
98.69 ± 0.10
99.19 ± 0.03
88.37 ± 0.19
Repository form (camera+time)
96.48 ± 0.11
98.77 ± 0.03
99.19 ± 0.05
88.48 ± 0.09
LR prior, cross-camera only
97.57 ± 0.19
99.38 ± 0.08
99.61 ± 0.05
90.23 ± 0.27
LR prior + same-camera penalty
98.38 ± 0.20
99.53 ± 0.03
99.70 ± 0.05
91.80 ± 0.49
TABLE III: Test accuracy (%) at epoch 120, mean ± standard deviation over three seeds, with the fusion weights chosen on the validation split.
Prior
Free
Δ mAP
Δ Rank-1
Same-camera penalty only
1
2.19 ± 0.07
2.05 ± 0.11
Repository form (camera+time)
2
2.30 ± 0.15
2.21 ± 0.09
time shuffled
2
2.13 ± 0.07
2.02 ± 0.13
Repository form, cross-camera only
2
0.00 ± 0.00
0.00 ± 0.00
LR prior, cross-camera only
1
4.04 ± 0.36
3.30 ± 0.18
time shuffled
1
0.00 ± 0.00
0.00 ± 0.00
TABLE IV: Test gain over the visual-only baseline at epoch 120 (points), mean ± standard deviation over three seeds. “Free” is the number of weights chosen on validation.
Fig. 2: Test mAP gain over the baseline at epoch 120. Bars are means, dots are the three seeds, whiskers one standard deviation; hatched bars rebuild the prior from shuffled time stamps.
−∣Δt∣
same seq.
Lcam
Ldt (repo)
both
LR
All pairs
0.720
0.663
0.586
0.560
0.601
0.841
Same sequence
0.860
–
–
0.622
–
0.885
TABLE V: AUC of single scores for telling matches from non-matches among cross-camera validation pairs. The second row uses only pairs whose images are in the same sequence.
Fig. 3: Test mAP gain against the baseline mAP of the same snapshot (epochs 5 to 120). Lines join the seed means, dots are single seeds.
Epoch
mAP
R1
Pen.
Repo
LR-x
LR+P
0
2.7
8.9
+1.4
+1.6
+13.7
+14.0
5
65.6
83.9
+4.3
+5.0
+10.8
+13.9
10
67.4
85.3
+4.8
+5.4
+9.5
+12.6
20
70.5
87.0
+4.7
+5.3
+8.4
+11.9
40
70.5
87.3
+5.2
+5.8
+8.1
+12.1
70
84.7
93.7
+2.5
+2.7
+4.3
+6.6
TABLE VI: Baseline accuracy (%) and mean mAP gain (points) over the three seeds at each snapshot. Pen.: same-camera penalty only; Repo: repository form; LR-x: LR prior, cross-camera only; LR+P: LR prior with the penalty. At epoch 0 the backbone is untrained.
Fig. 4: Test mAP gain by whether the true matches of a query lie in the query’s video sequence (determined from the labels, so descriptive). Whiskers are 95 % bootstrap intervals over queries.
Query cam.
Queries
Base AP
Pen.
Repo
LR + P
1
668
85.6
+2.1
+2.2
+4.3
2
530
88.5
+1.7
+2.1
+5.6
3
717
89.7
+1.6
+1.8
+4.1
4
248
80.2
+2.0
+1.4
+7.8
5
622
83.7
+2.3
+2.4
+6.7
6
583
85.6
+3.4
+3.6
+7.0
TABLE VII: Test mAP by query camera at epoch 120: baseline average precision (%) and gain (points) of the penalty (Pen.), the repository form (Repo) and the LR prior with the penalty (LR+P), averaged over seeds.
Fig. 5: Retrieval examples (seed 0, epoch 120). Green frames are true matches and red frames are wrong identities; below each tile the gallery camera and the time gap to the query (in thousand frames, or “other seq.” when the images are in different sequences). One query was drawn at random, with a fixed seed, from each category; none was hand-picked.
Fig. 6: The learned likelihood-ratio table built from all 751 training identities. (a) Log likelihood ratio against the time gap for each of the 30 ordered camera pairs (thin lines) and their mean (bold). (b) The same table as a heat map; red cells favour a match, blue cells disfavour it.
LR table design
LR, cross-camera
LR + penalty
8 bins, α=0.5
3.83 ± 0.16
5.44 ± 0.37
15 bins, α=0.5 (default)
4.04 ± 0.36
5.62 ± 0.61
28 bins, α=0.5
4.16 ± 0.15
5.94 ± 0.60
15 bins, α=0.1
4.03 ± 0.37
5.60 ± 0.61
15 bins, α=2
4.06 ± 0.35
5.63 ± 0.60
TABLE VIII: Sensitivity of the mAP gain (points, mean ± standard deviation over three seeds) to the number of gap bins and to the smoothing constant α of the LR table. Weights are re-selected on validation for each design.
Fig. 7: (a) CMC curves at epoch 120 (mean of three seeds). (b, c) Gain of the LR prior with the penalty over a grid of weights on the validation split and on the test set (seed 0); the white frame marks the weights chosen on validation, grey cells have a negative gain, and the colour scales differ between (b) and (c).
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Seed
Prior
β∗
γ∗
Rank-1
mAP
Δ mAP
0
visual only
–
–
94.24
86.35
–
same-camera penalty
0.03
0
96.17
88.46
+2.11
repository form
0.01
0.005
96.35
88.57
+2.22
LR, cross-camera
0
0.03
97.36
90.48
+4.13
LR + penalty
0.02
0.03
98.28
92.15
+5.80
1
visual only
–
–
94.33
85.90
–
Appendix
TABLE IX: Test results at epoch 120 for each seed (%, gain in points). β∗ and γ∗ are the weights selected on validation; “–” marks the visual-only baseline.