Ruifan Li, Zhihan Yu
7 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/Yu_Revisiting_Counterfactual_Problems_in_Referring_Expression_Comprehension_CVPR_2024_paper.json · badge: /api/ran/Yu_Revisiting_Counterfactual_Problems_in_Referring_Expression_Comprehension_CVPR_2024_paper.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.
| Repository | Role | Ran |
|---|---|---|
| Glacier0012/CREC | canonical (classifier label) classifier basis: census |
7 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| autopad | Ran ran, honoured the contract we drafted |
Glacier0012/CREC/crec/layers/blocks.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from yang-0201/YOLOv6_pro, is pointer only (licence: GPL-3.0) · get_code("988a3c854b1b13d0") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from yang-0201/YOLOv6_pro, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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. |
| darknet_conv | Ran ran; our contract draft was wrong, not the code |
Glacier0012/CREC/crec/layers/blocks.py code served (permissive licence) · get_code("7bbf38c6e78784a8") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| getLayers | Ran ran on a synthesized input |
Glacier0012/CREC/crec/utils/model_utils.py code served (permissive licence) · get_code("c92d22d704c1f305") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_activation | Ran ran; our contract draft was wrong, not the code |
Glacier0012/CREC/crec/layers/activation.py code served (permissive licence) · get_code("6e3d5f4c3ce305d7") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SiLU. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_module_ops | Ran ran on a synthesized input |
Glacier0012/CREC/crec/utils/model_utils.py code served (permissive licence) · get_code("632c2051f1d51029") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| split_weights | Ran ran on a synthesized input |
Glacier0012/CREC/crec/utils/model_utils.py code served (permissive licence) · get_code("0b0ae10dcc49bf0e") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| vgg_conv | Ran ran on a synthesized input |
Glacier0012/CREC/crec/layers/blocks.py code served (permissive licence) · get_code("60594d843d65ad4b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 3 later) and 3 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| autopad | 23 other papers 15 dated earlier, 2 later, 6 same year, order not determinable · 1 only as an assembly brick |
1311.2524 (2013-11) Rich feature hierarchies for accurate object detection and semantic segmentation |
1703.07402 (2017-03) Simple Online and Realtime Tracking with a Deep Association Metric 1804.02767 (2018-04) YOLOv3: An Incremental Improvement and 20 more not named here |
| get_activation | 10 other papers 8 dated earlier, 1 later, 1 same year, order not determinable |
1803.11365 (2018-03) Cross-Domain Weakly-Supervised Object Detection through Progressive Domain Adaptation |
2107.08430 (2021-07) YOLOX: Exceeding YOLO Series in 2021 2108.04230 (2021-08) Workshop on Autonomous Driving at CVPR 2021: Technical Report for Streaming Perception Challenge and 7 more not named here |
| darknet_conv | 3 other papers 1 dated earlier, 2 later |
2203.16265 (2022-03) SeqTR: A Simple yet Universal Network for Visual Grounding |
Chen_DViN_Dynamic_Visual_Routing_Network_for_Weakly_Supervised_Referring_Expression_CVPR_2025_paper (2025 (year only)) DViN: Dynamic Visual Routing Network for Weakly Supervised Referring Expression Comprehension 2505.18686 (2025-05) WeakMCN: Multi-task Collaborative Network for Weakly Supervised Referring Expression Comprehension and Segmentation |
| vgg_conv | 1 other paper 1 dated earlier |
2203.16265 (2022-03) SeqTR: A Simple yet Universal Network for Visual Grounding |
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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Traditional referring expression comprehension (REC) aims to locate the target referent in an image guided by a text query. Several previous methods have studied on the Counterfactual problem in REC (C-REC) where the objects for a given query cannot be found in the image. However, these methods focus on the overall image-text or specific attribute mismatch only. In this paper, we address the C-REC problem from a deep perspective of fine-grained attributes. To this aim, we first propose a fine-grained counterfactual sample generation method to construct C-REC datasets. Specifically, we leverage pre-trained language model such as BERT to modify the attribute words in the queries, obtaining the corresponding counterfactual samples. Furthermore, we propose a C-REC framework. We first adopt three encoders to extract image, text and attribute features. Then, our dual-branch attentive fusion module fuses these crossmodal features with two branches by an attention mechanism. At last, two prediction heads generate a bounding box and a counterfactual label, respectively. In addition, we incorporate contrastive learning with the generated counterfactual samples as negatives to enhance the counterfactual perception. Extensive experiments show that our framework achieves promising performance on both public REC datasets RefCOCO/+/g and our constructed C-REC datasets C-RefCOCO/+/g. The code and data are available at https://github.com/Glacier0012/CREC.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("Yu_Revisiting_Counterfactual_Problems_in_Referring_Expression_Comprehension_CVPR_2024_paper")
get_code_for_paper("Yu_Revisiting_Counterfactual_Problems_in_Referring_Expression_Comprehension_CVPR_2024_paper")
have("Yu_Revisiting_Counterfactual_Problems_in_Referring_Expression_Comprehension_CVPR_2024_paper")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/Yu_Revisiting_Counterfactual_Problems_in_Referring_Expression_Comprehension_CVPR_2024_paper.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/Yu_Revisiting_Counterfactual_Problems_in_Referring_Expression_Comprehension_CVPR_2024_paper)
Connect an agent — have() is free.