Ge Luo, Changhuo Yang, Weisi Fan, Rui Yang, Shaokai Wang
原文摘要
Person re-identification is typically addressed by learning identity-discriminative embeddings from individual person crops. However, player re-identification in broadcast sports videos presents a unique challenge: players from the same team often share similar appearances. Conventional methods encode each player crop independently, overlooking the surrounding players and repeated observations that could help resolve these ambiguities. Here, we propose ContextReID, a framework for visual in-context adaptation that represents a player by jointly considering other players in the same frame and observations from different frames of the broadcast sequence. We implement this framework with a vision-language backbone trained with contrastive objectives for player retrieval and identity matching across the supplied context. Without requiring parameter updates or context identity labels at inference, the trained model adapts the target embedding to the supplied visual context. Experiments on SportsMOT, DanceTrack, and SoccerNet-GSR demonstrate superior retrieval performance compared with single-crop baselines. Cross-sport transfer experiments within SportsMOT further show that in-context adaptation can improve retrieval on sports excluded from training. These results highlight the empirical value of our method in utilizing spatial and temporal context without requiring identity labels or cross-frame identity associations at inference.
Ran Guan, Yiqi Lin, Xiangxi Tian, Yige Luo, Mi Zhou
原文摘要
Agent frameworks typically orchestrate language models through prompt-and-response interfaces. We propose a harness design that exposes intermediate model states and layer-level execution controls to the agent runtime. By connecting state collection, policy fitting, and execution, the design enables policies to allocate computation within and across models based on intermediate states. We demonstrate the approach with a prototype that learns stitching bridges and state-conditioned execution policies from paired model states, then applies them during inference to select among continue, exit, and stitch. For dispatcher supervision, we select the least-computation action whose full-vocabulary next-token prediction matches the source model's full-depth prediction, using continue when neither early action matches. We train these components on a frozen proxy corpus of 5,000 typed-decision items authored using source texts sampled from WildChat conversations, then evaluate the prototype on JevBench measuring task accuracy, agreement with full-model predictions, and end-to-end latency including runtime overhead. Preliminary results show an approximately 15% reduction in mean latency while maintaining task accuracy comparable to full-model inference.