SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.05890 · CVPR · 2025

Unleashing the Potential of Consistency Learning for Detecting and Grounding Multi-Modal Media Manipulation

Yang Yang, Xu Zhou, Yiheng Li, Huan Liu, Weihua Chen, Zichang Tan, Zhen Lei

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 24 functions out of this paper's own repositories and ran 13 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
liyih/CSCL canonical 13 of 24
FunctionStatusWhere it lives
adapt_position_encoding Ran liyih/CSCL/code/MultiModal-DeepFake-main/models/METER/clip_model.py
code served (permissive licence) · get_code("24bfe03a8fb0e475")
all_gather Ran liyih/CSCL/code/MultiModal-DeepFake-main/models/METER/dist_utils.py
code served (permissive licence) · get_code("839a33f049497ac2")
autocontrast_func Ran liyih/CSCL/code/MultiModal-DeepFake-main/dataset/randaugment.py
code served (permissive licence) · get_code("78ca1debd9c4ed87")
box_cxcywh_to_xyxy Ran liyih/CSCL/code/MultiModal-DeepFake-main/models/box_ops.py
code served (permissive licence) · get_code("e0a06ded5d4f6c3c")
box_iou Ran liyih/CSCL/code/MultiModal-DeepFake-main/models/box_ops.py
code served (permissive licence) · get_code("7f5165b3c0380ff2")
box_xyxy_to_cxcywh Ran liyih/CSCL/code/MultiModal-DeepFake-main/models/box_ops.py
code served (permissive licence) · get_code("031b02fb990284ba")
compute_acc Ran liyih/CSCL/code/MultiModal-DeepFake-main/utils.py
code served (permissive licence) · get_code("aa81d03f07735ab8")
compute_n_params Ran liyih/CSCL/code/MultiModal-DeepFake-main/utils.py
code served (permissive licence) · get_code("ad12a494674d23fb")
equalize_func Ran liyih/CSCL/code/MultiModal-DeepFake-main/dataset/randaugment.py
code served (permissive licence) · get_code("4c53169f63a1fcef")
gather Ran liyih/CSCL/code/MultiModal-DeepFake-main/models/METER/dist_utils.py
code served (permissive licence) · get_code("cc8ab2b168b5373d")
identity_func Ran liyih/CSCL/code/MultiModal-DeepFake-main/dataset/randaugment.py
code served (permissive licence) · get_code("1dd2ab205689d45b")
pre_question Ran liyih/CSCL/code/MultiModal-DeepFake-main/dataset/utils.py
code served (permissive licence) · get_code("01849cd80343b88a")
reduce_dict Ran liyih/CSCL/code/MultiModal-DeepFake-main/models/METER/dist_utils.py
code served (permissive licence) · get_code("53838c15d969eb79")
add_multiline_text Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/utils.py
code served (permissive licence) · get_code("342d33b0c5ebee8f")
build_model Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/METER/clip_model.py
code served (permissive licence) · get_code("84631e1ece975f6b")
calculate_patch_labels Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/consist_modeling.py
code served (permissive licence) · get_code("22c7fff0fb7d9049")
coords_2d Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/CSCL.py
code served (permissive licence) · get_code("e67c2a64bd9a69e2")
get_sscore_label Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/consist_modeling.py
code served (permissive licence) · get_code("c04888604cde46ea")
get_sscore_label_text Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/consist_modeling.py
code served (permissive licence) · get_code("a5464e89a64cec02")
load_tf_weights_in_bert Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/METER/bert_model.py
code served (permissive licence) · get_code("efbb0f3903b5f779")
pos2posemb2d Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/CSCL.py
code served (permissive licence) · get_code("fea8a4547c819eec")
pre_caption Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/dataset/utils.py
code served (permissive licence) · get_code("8a57c3e7d1cf36c7")
score2posemb1d Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/models/CSCL.py
code served (permissive licence) · get_code("9f85ec8b64bbcaac")
vqa_eval Not yet run liyih/CSCL/code/MultiModal-DeepFake-main/dataset/utils.py
code served (permissive licence) · get_code("53e282c1c632bfa7")

Repositories linked to this paper

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

Abstract

To tackle the threat of fake news, the task of detecting and grounding multi-modal media manipulation (DGM 4 ) has received increasing attention. However, most stateof-the-art methods fail to explore the fine-grained consistency within local content, usually resulting in an inadequate perception of detailed forgery and unreliable results. In this paper, we propose a novel approach named Contextual-Semantic Consistency Learning (CSCL) to enhance the fine-grained perception ability of forgery for DGM 4 . Two branches for image and text modalities are established, each of which contains two cascaded decoders, i.e., Contextual Consistency Decoder (CCD) and Semantic Consistency Decoder (SCD), to capture within-modality contextual consistency and across-modality semantic consistency, respectively. Both CCD and SCD adhere to the same criteria for capturing fine-grained forgery details. To be specific, each module first constructs consistency features by leveraging additional supervision from the heterogeneous information of each token pair. Then, the forgeryaware reasoning or aggregating is adopted to deeply seek forgery cues based on the consistency features. Extensive experiments on DGM 4 datasets prove that CSCL achieves new state-of-the-art performance, especially for the results of grounding manipulated content. Codes and weights are avaliable at https://github.com/liyih/CSCL.

For agents

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

get_harvested_code_for_paper("2506.05890")
get_code_for_paper("2506.05890")
have("2506.05890")

Connect an agent — have() is free.