SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.05293 · ECCV · 2022

Towards Hard-Positive Query Mining for DETR-based Human-Object Interaction Detection

Zijian Li, Shaoli Huang, Changxing Ding, Xubin Zhong

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2207.05293.json · badge: /api/ran/2207.05293.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
MuchHair/HQM community
Papers with Code archive
5 ran · 0 no recorded run
FunctionStatusWhere it lives
DETRHOI Ran
ran on a synthesized input · constructed an object; no result was computed
MuchHair/HQM/models/Hard_Sample/HQM/hoi_HQM.py
pointer only (licence: NONE) · get_code("4cf8a0fe1446f307")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MuchHair/HQM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MLP Ran
ran on a synthesized input · constructed an object; no result was computed
MuchHair/HQM/models/Hard_Sample/HQM/hoi_HQM.py
pointer only (licence: NONE) · get_code("d89f278361015fd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MuchHair/HQM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

box_cxcywh_to_xyxy Ran
ran, honoured the contract we drafted
MuchHair/HQM/models/Hard_Sample/HQM/hoi_HQM.py
pointer only (licence: NONE) · get_code("ae8f0c20ba273e10")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MuchHair/HQM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

box_xyxy_to_cxcywh Ran
ran, honoured the contract we drafted
MuchHair/HQM/models/Hard_Sample/HQM/hoi_HQM.py
pointer only (licence: NONE) · get_code("16eb6a3482eb2819")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MuchHair/HQM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

nested_tensor_from_tensor_list Ran
ran; our contract draft was wrong, not the code
MuchHair/HQM/models/Hard_Sample/HQM/hoi_HQM.py
pointer only (licence: NONE) · get_code("f5602847693d22a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MuchHair/HQM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 4 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
MLP
brick of this paper's assembly: helper
68 other papers
28 dated earlier, 4 the same month, 36 later · 58 only as an assembly brick
2005.12872 (2020-05)
End-to-End Object Detection with Transformers
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
2101.01909 (2021-01)
Line Segment Detection Using Transformers without Edges
and 65 more not named here
box_cxcywh_to_xyxy
brick of this paper's assembly: helper
49 other papers
12 dated earlier, 3 the same month, 34 later · 11 only as an assembly brick
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
2011.10881 (2020-11)
Rethinking Transformer-based Set Prediction for Object Detection
2103.12115 (2021-03)
End-to-End Trainable Multi-Instance Pose Estimation with Transformers
and 46 more not named here
box_xyxy_to_cxcywh
brick of this paper's assembly: helper
45 other papers
13 dated earlier, 32 later · 20 only as an assembly brick
2011.10881 (2020-11)
Rethinking Transformer-based Set Prediction for Object Detection
2103.12115 (2021-03)
End-to-End Trainable Multi-Instance Pose Estimation with Transformers
2103.17154 (2021-03)
Learning Spatio-Temporal Transformer for Visual Tracking
and 42 more not named here
nested_tensor_from_tensor_list
brick of this paper's assembly: helper
19 other papers
12 dated earlier, 1 the same month, 6 later · 11 only as an assembly brick
2005.12872 (2020-05)
End-to-End Object Detection with Transformers
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
2103.05399 (2021-03)
QPIC: Query-Based Pairwise Human-Object Interaction Detection with Image-Wide Contextual Information
and 16 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Human-Object Interaction (HOI) detection is a core task for high-level image understanding. Recently, Detection Transformer (DETR)-based HOI detectors have become popular due to their superior performance and efficient structure. However, these approaches typically adopt fixed HOI queries for all testing images, which is vulnerable to the location change of objects in one specific image. Accordingly, in this paper, we propose to enhance DETR's robustness by mining hard-positive queries, which are forced to make correct predictions using partial visual cues. First, we explicitly compose hard-positive queries according to the ground-truth (GT) position of labeled human-object pairs for each training image. Specifically, we shift the GT bounding boxes of each labeled human-object pair so that the shifted boxes cover only a certain portion of the GT ones. We encode the coordinates of the shifted boxes for each labeled human-object pair into an HOI query. Second, we implicitly construct another set of hard-positive queries by masking the top scores in cross-attention maps of the decoder layers. The masked attention maps then only cover partial important cues for HOI predictions. Finally, an alternate strategy is proposed that efficiently combines both types of hard queries. In each iteration, both DETR's learnable queries and one selected type of hard-positive queries are adopted for loss computation. Experimental results show that our proposed approach can be widely applied to existing DETR-based HOI detectors. Moreover, we consistently achieve state-of-the-art performance on three benchmarks: HICO-DET, V-COCO, and HOI-A. Code is available at https://github.com/MuchHair/HQM.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2207.05293")
get_code_for_paper("2207.05293")
have("2207.05293")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2207.05293.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2207.05293.svg)](https://syntology.ai/paper/2207.05293)

Connect an agent — have() is free.