CoWeave: Identity-Specific Context Reasoning for Persistent Multi-Camera Tracking

Haoyang Wu, Taoran Fu, Shoudong Han, Chaoyue Li, Ziqian Wang, Jiachen Luo, Zhenhao Zhang, Sijia Chen, Heng Li, Hao Geng, Liuzhou Zhang, Zhenyang XiearXiv 2026

TL;DR

When tracking people across a network of security cameras, AI systems frequently swap the identities of people walking together—and worse, they write those mistakes permanently into memory, poisoning future guesses. CoWeave solves this by teaching trackers to ignore context clues that don't actually distinguish between competing identities, to abstain when guessing is too risky, and to keep past memories open to revision as clearer evidence arrives.

What Problem Does This Paper Address?

Imagine two friends wearing similar dark jackets walking from Camera A to Camera B. When they step into Camera B’s view from behind, the multi-camera tracker has to figure out who is who.

Modern trackers use context (who walks with whom) and memory (past snapshots of each person) to bridge camera gaps. However, the authors uncover two tightly coupled failure modes at these cross-camera "arrivals":

  1. Symmetric Context Traps: Knowing two people are walking together confirms they are a group, not which one is Alice and which is Bob. Existing trackers bake group context into features before assigning identities, giving an equal score boost to the right pairing and the swapped pairing.
  2. Memory Poisoning: Standard trackers weld matched observations permanently into a person's memory bank. If an image of Bob is accidentally filed under Alice's ID, Alice's memory starts looking like Bob, causing the swap to cascade across subsequent cameras. Also, if a group splits up, stored "walking together" relationships go stale and mislead future matches.
Figure 1. Identity swaps at cross-camera arrivals persist in memory. (a) Two people in MTMMC s16, GT 113 as A and GT 026 as B, pass cameras c03, c08, and c12. Lane tint marks the true person and yarn the identity that a tracker with fixed iden- tities writes. The yarns cross where the two arrive side by side at c08 (1), and memory carries the swap to c12 (2). (b) For all four association pipelines, the share Pk of arrivals with k later observa- tions that stay correct throughout lies below 78% at arrival (1) and keeps falling over subsequent observations as k grows (2).

Methods

Instead of treating scoring, historical search, and memory updates as separate heuristics, CoWeave unifies all three under a single mathematical currency: expected identity decision loss (the explicit cost of assigning a wrong ID, creating a false new ID, or abstaining).

Figure 2. CoWeave at one arrival. (1) Memory keeps sources u, frames tied from each camera stream before the current time t (gold: read at this arrival), and records r whose pixels stay locked while their ownership πr can change (ring colours: shares of A and B); vrs is the validity of a relation between records, drawn between the identities they support, and C is another known identity. (2) The group cue (gold) loads H1 and H2 equally, whereas the outlined record of A (lavender) loads only H1. (3) The candidate DS has the lowest expected loss, here below the cost λU of leaving x unresolved. (4) Reads by value V (u | S) under one budget rescore (2) and (3), one read of u2 serves x and y, and DS is emitted once no read has positive value. (5) After emission, πr moves to A and vrs drops after a split. (6) The training objective supervises assignment scoring, relation validity, and the value of historical reads in (2)–(5).

Here is what is new under the hood:

  • Candidate-Conditioned Scoring & Abstention: CoWeave evaluates joint identity hypotheses (e.g., x=A, y=B vs. x=B, y=A). Shared group cues cancel out in the comparison; context only tips the scale when it distinguishes one specific permutation from another. If the ambiguity is still too high, CoWeave outputs an "unresolved" abstention rather than polluting the stream with a bad guess.
  • Value-Driven Shared Retrieval: Trackers work under strict compute budgets and can't read every past frame. Instead of fetching past frames based on simple visual similarity—which wastes budget on ambiguous group shots—CoWeave predicts how much reading a historical frame will reduce the decision loss. All active people share one read budget, and a frame containing multiple people is charged only once.
  • Revisable Ownership & Relation Validity: CoWeave never overwrites raw historical frames. Instead, each stored observation holds a probability distribution over who owns it, plus a separate validity score tracking whether a social group is still intact. If a clear view of Bob arrives five minutes later, CoWeave retroactively shifts ownership of an earlier misattributed snapshot back to Bob—healing the memory bank for future cameras.

Datasets

The authors evaluate CoWeave on four existing multi-camera pedestrian tracking benchmarks:

  • MTMMC: The primary testbed, featuring long synchronized camera streams and global person IDs.
  • WILDTRACK, MMPTrack, and DIVOTrack: Used to test generalization across dense outdoor crowds, occluded indoor spaces, and diverse viewpoints.

While no new dataset is introduced, the authors introduce an arrival-level evaluation protocol ($P_k$) that isolates accuracy at the exact moment someone enters a new camera and tracks uninterrupted correctness over the next $k$ observations—exposing swap errors that sequence-wide averages normally hide.

Key Insights and Ideas

  • Similarity $\neq$ Value: Retrieving memories that look like the current camera view is often useless. If you are looking at two backsides, fetching ten historical photos of those same backsides doesn't break the tie. Retrieval should prioritize disambiguating power.
  • Memory Should Be Soft, Even When Outputs Are Hard: In online tracking, once you emit an ID to the user, you can't take it back. Yet CoWeave shows you can change your mind internally about who owns a past memory. In a paired replay of 100 memory errors, revisable ownership repaired 69 of them by the 30th subsequent observation (breaking only 2 out of 200 initially correct tracks), whereas frozen memory repaired zero.
  • Separate "Who" from "Together": Tracking observation ownership separately from relationship validity allows the tracker to recognize when two people split up, discounting stale group cues without scrambling their individual visual histories.
Revisable ownership repairs 69 out of 100 replayed memory errors with minimal collateral damage.

Key Results

Under a fair, shared causal stream and read budget on MTMMC, CoWeave outperforms four leading trackers (including causal GMT and MCTR):

  • Fewer Swaps: Wrong identity assignments at cross-camera arrivals drop from 5.9% (GMT) to 2.5%—more than cutting errors in half—while actually leaving fewer arrivals unresolved.
  • Long-Term Persistence: The fraction of arrivals that remain continuously correct across 30 follow-up observations ($P_{30}$) jumps from 67.0% to 82.1%, and global identification F1 (G-IDF1) rises from 72.9 to 80.5.
  • Efficiency & Robustness: At just 25% of the default read budget, CoWeave (74.2 G-IDF1) still beats GMT running at 100% budget (72.9). Its runtime is 46.6 ms per online step (8.4% slower than GMT, faster than MCTR) while storing 6% less memory state than an independent baseline.
  • Cross-Dataset Gains: On WILDTRACK, MMPTrack, and DIVOTrack, CoWeave beats GMT by 4.6 to 7.4 G-IDF1 points and 9.7 to 15.6 $P_{30}$ points.

Limitations and Future Work

  • Immutable Past Outputs: Because CoWeave operates strictly online, revising a memory's ownership only cleans up evidence for future arrivals; it cannot retroactively fix an incorrect ID that was already emitted to the output stream.
  • Search Approximations: Exact Bayesian risk minimization over all joint assignments is intractable, so CoWeave relies on finite candidate, hypothesis, and decision beams; if the true identity falls outside candidate generation, the training loss must mask it as a coverage failure. (Explicit future work directions are not discussed by the authors.)

Summary updated

BibTeX
@misc{wu2026coweave,
  author = {Haoyang Wu and Taoran Fu and Shoudong Han and Chaoyue Li and Ziqian Wang and Jiachen Luo and Zhenhao Zhang and Sijia Chen and Heng Li and Hao Geng and Liuzhou Zhang and Zhenyang Xie},
  title = {{CoWeave: Identity-Specific Context Reasoning for Persistent Multi-Camera Tracking}},
  year = {2026},
  eprint = {2611.38993},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38993},
}
Figure