Papers
Topics
Authors
Recent
Search
2000 character limit reached

Active-Passive Gap: Interaction-Aware Modeling

Updated 2 July 2026
  • Active-Passive Gap is the discrepancy between action-driven (active) and context-driven (passive) signals in human-object interaction tasks.
  • Adaptive prompt generation and language-model guided concept calibration are used to enhance visual feature sensitivity and alignment.
  • Empirical evaluations on benchmarks like HICO-DET and SWIG-HOI demonstrate significant mAP improvements, validating the approach.

Below is a unified, step‐by‐step description of INP-CC that weaves together all five of your requested components. Wherever possible, we give the precise network structures, the LaTeX formulas, and the experimental evidence for each module’s contribution.

  1. Interaction-Aware Prompt Generator In INP-CC we augment the frozen CLIP image encoder E_V with a small, learnable “prompt bank” so that region features become sensitive to human–object contact patterns rather than only global scene statistics.

a) Network architecture ‑ Input: an image I is first embedded by E_V into a spatial feature map Fscene=EV(I)RHW×CF_{scene} = E_V(I)\in\mathbb R^{HW\times C}. ‑ Prompt Bank: we maintain * A common prompt   PCRL×D\;P_C\in\mathbb R^{L\times D}, * M interaction‐specific bases {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M, each a rank-one factorization P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top, with uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D. ‑ Composition: each full interaction prompt is PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M where \odot is element‐wise (Hadamard) multiplication. ‑ Prompt‐to‐Query Adapter: an MLP g:RL×DRDg:\mathbb R^{L\times D}\to\mathbb R^D computes a key kITi=g(PITi)k_{IT}^i=g(P_{IT}^i).

b) Adaptive selection We first extract a global “fingerprint” fIRDf_I\in\mathbb R^D from   PCRL×D\;P_C\in\mathbb R^{L\times D}0 (e.g.\ average‐pool + linear). Then for each   PCRL×D\;P_C\in\mathbb R^{L\times D}1 we form   PCRL×D\;P_C\in\mathbb R^{L\times D}2 select the top‐K prompts by descending   PCRL×D\;P_C\in\mathbb R^{L\times D}3, call the selected set   PCRL×D\;P_C\in\mathbb R^{L\times D}4, and finally form our scene‐specific prompt   PCRL×D\;P_C\in\mathbb R^{L\times D}5 This “soft” top‐K mixture is then prepended to the patch embeddings before the transformer layers of the CLIP encoder, so that downstream region tokens attend to interaction‐aware context.

c) Prompt sharing among similar interactions Because   PCRL×D\;P_C\in\mathbb R^{L\times D}6, many HOI categories must share the same basis   PCRL×D\;P_C\in\mathbb R^{L\times D}7. In practice, we find that semantically or functionally related interactions (e.g.\ “hold cup” vs. “hold bottle”) gravitate to the same few prompt bases—thus encouraging the network to learn hand–object contact patterns that transfer across categories.

  1. Concept Calibration Module While CLIP’s text encoder E_T gives us a first‐cut embedding   PCRL×D\;P_C\in\mathbb R^{L\times D}8 for each HOI label   PCRL×D\;P_C\in\mathbb R^{L\times D}9, these embeddings remain too coarse to distinguish visually similar actions. We therefore recalibrate them via a two‐stage, language‐model–guided procedure.

a) Intra-modal relationship modeling * We prompt GPT-3.5 to produce a fine‐grained visual description {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M0 for each HOI category. * We encode {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M1 using a T5‐based “Instructor” model E_{LM} to obtain {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M2 * We collect {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M3 over all categories and run K-means into J clusters {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M4. By construction, categories in the same {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M5 share strong visual attributes.

b) Calibration function We then learn a small calibration network {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M6 (e.g.\ two‐layer MLP) with parameters {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M7 that fuses the original CLIP text embedding {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M8 with its instruction embedding {P^ITi}i=1M\{\hat P_{IT}^i\}_{i=1}^M9. Concretely, we set P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top0 and use P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top1 as our final, calibrated concept vector. During training we penalize misalignment between intra-cluster similarities in the text space and those in the visual‐description space: P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top2

c) Visual similarity informs calibration By clustering the T5‐based embeddings P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top3, we capture which HOI pairs appear visually similar (e.g.\ “throwing” vs. “pitching”). The calibration loss above then gently “pulls together” the corresponding P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top4 vectors so that CLIP’s final alignments respect these fine‐grained distinctions.

  1. Negative Sampling Strategy To further sharpen the network’s discrimination among closely related HOIs, we inject hard negatives into the classification loss.

a) Strategy * For each training minibatch we collect the ground‐truth HOI categories P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top5. * We find all clusters P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top6 that contain at least one P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top7, call their union P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top8. * We sample a fixed number P^ITi=uITi(vITi)\hat P_{IT}^i = u^i_{IT}\,(v^i_{IT})^\top9 of negative labels from uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D0.

b) Pseudo-code \odot5 c) Loss term Suppose our decoder produces N interaction features uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D1. Let uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D2 for each label uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D3. Then the classification loss over positives and sampled negatives is uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D4 where uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D5 is the ground‐truth HOI for query uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D6, uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D7 the sampled negatives, and uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D8 a temperature.

  1. Training Objective and Loss Functions All modules are trained end-to-end (prompts, calibration net, decoder heads) via a unified loss uITiRL,  vITiRDu^i_{IT}\in\mathbb R^L,\;v^i_{IT}\in\mathbb R^D9 Here
    • PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M0 is the standard ℓ1‐box regression loss over human/object corners,
    • PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M1 is the IoU loss on the two predicted boxes,
    • PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M2 is the cross‐entropy with hard negatives (above),
    • PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M3 enforces intra‐cluster alignment of calibrated text vectors. All PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M4-weights are chosen by grid search; for instance we use PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M5, PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M6, PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M7, PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M8.
  2. Experimental Setup and Results

a) Datasets & Metrics * SWIG-HOI: ∼400 actions ×1000 objects with naturally occurring novel combinations. * HICO-DET: 117 actions×80 objects, with 120 rare triplets held out for zero‐shot evaluation. We report mean Average Precision (mAP) under the standard IoU>0.5 criterion.

b) Implementation details * Visual encoder: CLIP ViT-B/16, prompted by our learned PITi  =  P^ITiPC,i=1MP_{IT}^i \;=\;\hat P_{IT}^i \odot P_C\,,\quad i=1\ldots M9. * Prompt length \odot0 for HICO, \odot1 for SWIG; number of bases \odot2 (SWIG), \odot3 (HICO). * Selection top-K=2 prompts per image. * Clusters J=64; \odot4 hard negatives per batch. * Optimizer: AdamW, training for 80 epochs, batch size 128, on 2×3090 GPUs.

c) Main results * On HICO-DET (zero‐shot split), INP-CC achieves 23.12 mAP (full) vs. 22.35 mAP of the prior open-vocabulary state-of-the-art (CMD-SE). * On SWIG-HOI, INP-CC reaches 16.74 mAP (full), a +1.48 mAP gain over CMD-SE’s 15.26. Rare/unseen splits improve by up to +0.85 mAP.

d) Ablation studies * Turning off prompts entirely (common‐only) yields 14.43 mAP; adding just INP rises to 15.54. * Adding only Concept Calibration (no INP) gives 15.30 mAP; combining both yields 16.74 mAP. * Varying prompt size shows 128 tokens + selection is optimal; smaller or larger banks degrade performance. * Clustering in CLIP space vs. GPT-T5 space: only the latter (Instructor embeddings over GPT descriptions) gives the full +1.44 gain. * Negative sampling: “hard” (cluster‐based) negatives outperform “random” or “easy” by ∼0.6 mAP.

Taken together, these experiments confirm that (1) interaction-adaptive prompts bridge CLIP’s image‐level bias to fine‐grained HOI regions, (2) language‐model–guided calibration shapes a richer text–vision alignment, and (3) hard negative sampling further sharpens category boundaries—resulting in significant improvements on two challenging open-vocabulary HOI benchmarks.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Active-Passive Gap.