Jiahao Chen, Tong Zhang, Shouling Ji, Yiming Wang, Baiqi Wu, Qingming Li
We lifted 14 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.
| Repository | Role | Ran |
|---|---|---|
| phoenixnir/FLAME | canonical | 13 of 14 |
| Function | Status | Where it lives |
|---|---|---|
| adapter_delta_regularization | Ran | phoenixnir/FLAME/FLAME/model/adapters.py pointer only (licence: NONE) · get_code("e34dd413507ec1a8") |
| add_gaussian_noise | Ran | phoenixnir/FLAME/FLAME/utils/perturbations.py pointer only (licence: NONE) · get_code("bcb4e83e9f4c75b5") |
| apply_spatial_gaussian_blur | Ran | phoenixnir/FLAME/FLAME/utils/perturbations.py pointer only (licence: NONE) · get_code("93d32a6ce7c2310c") |
| clone_state_dict | Ran | phoenixnir/FLAME/FLAME/utils/checkpoint_state.py pointer only (licence: NONE) · get_code("fa60678aa3c32bb1") |
| compute_iou | Ran | phoenixnir/FLAME/FLAME/utils/metrics.py pointer only (licence: NONE) · get_code("f4a6aebcbf478f03") |
| create_spatial_gaussian_kernel | Ran | phoenixnir/FLAME/FLAME/utils/perturbations.py pointer only (licence: NONE) · get_code("921ab1a3de02fb20") |
| dice_loss | Ran | phoenixnir/FLAME/FLAME/utils/metrics.py pointer only (licence: NONE) · get_code("4b288128e226ab9f") |
| get_sam_config_from_json | Ran | phoenixnir/FLAME/FLAME/utils/sam_utils.py pointer only (licence: NONE) · get_code("aa0caafe3a2043d0") |
| load_dataset_config | Ran | phoenixnir/FLAME/FLAME/utils/dataset_config.py pointer only (licence: NONE) · get_code("66b05a12a19b9c6e") |
| load_matching_state_dict | Ran | phoenixnir/FLAME/FLAME/utils/checkpoint_state.py pointer only (licence: NONE) · get_code("3fb3f839ba4b413f") |
| overlap_tile_predict_logits | Ran | phoenixnir/FLAME/FLAME/utils/tiling.py pointer only (licence: NONE) · get_code("a45ff237a0b26a23") |
| resolve_sam_paths | Ran | phoenixnir/FLAME/FLAME/utils/sam_utils.py pointer only (licence: NONE) · get_code("7a1e37b9b77dfcca") |
| sigmoid_focal_loss | Ran | phoenixnir/FLAME/FLAME/utils/metrics.py pointer only (licence: NONE) · get_code("fd031662f9fef178") |
| overlap_tile_predict_logits_global_guided | Not yet run | phoenixnir/FLAME/FLAME/utils/tiling.py pointer only (licence: NONE) · get_code("4308b3525418a0a5") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Recent advancements in generative AI have led to image editing models capable of producing realistic forgeries that evade traditional image forgery localization methods, as these approaches depend on physical noise absent in synthetic data. To address this challenge, we theoretically demonstrate that the diffusion process inherently suppresses local high-frequency variance, creating a statistical energy gap that is distinguishable from the natural entropy of optical imaging. Guided by this insight, we propose FLAME, a unified framework that utilizes a LAD map to capture these intrinsic anomalies, coupled with a parameter-efficient adapter for SAM to achieve precise, pixel-level forgery localization. Furthermore, to bridge the lag between forensic benchmarks and evolving generative models, we introduce EditStream, an automated pipeline for continuous, instruction-based training data synthesis. Extensive experiments demonstrate that FLAME establishes a new stateof-the-art, significantly outperforming previous methods on AI-generated forgery datasets while effectively generalizing to unseen generative architectures. Our code is available at https: //github.com/phoenixnir/FLAME.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2606.02178")
get_code_for_paper("2606.02178")
have("2606.02178")
Connect an agent — have() is free.