AI
New Method Boosts Detection of Rare Human-Object Interactions Using Adaptive Memory
Researchers propose a training-free framework that allocates memory strategically at test time to improve recognition of underrepresented interaction types.
A long-standing challenge in computer vision involves recognizing human-object interactions that rarely appear in training datasets. Existing approaches often struggle because uncommon interaction types lack sufficient examples to learn robust visual features. Now researchers have introduced a solution that optimizes memory usage at test time to better capture signals from these rare cases.
The Core Problem#
Long-tailed detection occurs when a dataset contains many common classes but far fewer examples of rare ones—a mismatch that confounds most machine learning systems. In human-object interaction (HOI) detection, this imbalance is pronounced: common actions like "standing on" might have thousands of training examples, while unusual interactions like "using a tool on an object" may only appear a handful of times. Previous cache-based methods treat all interaction types equally, allocating the same memory capacity regardless of frequency, which wastes resources on well-learned classes while starving rare ones of the information they need.
Adaptive Diversity Cache#
To address this problem, researchers developed Adaptive Diversity Cache (ADC), a plug-and-play framework that requires no retraining. The system works in two main phases:
- Frequency-Aware Cache Adaptation: The method assigns larger memory capacity to underrepresented interactions using a weighted logarithmic allocation that prioritizes rarer classes. It then fills unused slots with augmented visual variations of key examples.
- Confidence-Diversity Joint Selection: Rather than storing predictions blindly, the system combines prediction confidence with local feature diversity to decide which cached entries are most informative, filtering out redundant or low-quality signals.
Once the adaptive cache is built, the framework retrieves similar cases at test time to refine predictions from the frozen detector.
Measured Impact#
Experiments on two standard benchmarks—HICO-DET and V-COCO—yielded substantial gains:
- On HICO-DET, rare interaction detection improved by 4.02–8.57 percentage points in mean average precision (mAP)
- Non-rare interactions also saw performance lifts, indicating no trade-off
- A variant supporting online adaptation during inference achieved 2.87–7.36 percentage point gains on rare classes

