arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.16300cs.AI
收藏

循环代码取证:面向图像伪造检测的代理工具使用

Code-in-the-Loop Forensics: Agentic Tool Use for Image Forgery Detection

University of Science and Technology of China(中国科学技术大学);Shanghai Innovation Institute(上海创新研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Fanrui Zhang, Qiang Zhang, Sizhuo Zhou, Jianwen Sun, Chuanhao Li, Jiaxin Ai, Yukang Feng, Yujie Zhang, Wenjie Li, Zizhen Li, Yifan Chang, Jiawei Liu, Kaipeng Zhang

AI总结:

本文提出ForenAgent框架,通过多轮交互使MLLM自主生成并迭代优化Python工具,提升图像伪造检测的灵活性和可解释性,构建FABench数据集进行系统训练和评估。

摘要:

现有图像伪造检测方法或利用低级非语义特征,或依赖多模态大语言模型,但两者在范式和推理上高度异质,使现有方法难以统一或有效建模交叉交互。为解决此问题,我们提出ForenAgent,一种多轮交互的IFD框架,使MLLM能自主生成、执行并迭代优化基于Python的低级工具,从而实现更灵活和可解释的伪造分析。ForenAgent采用结合冷启动和强化微调的两阶段训练流程,逐步提升其工具交互能力和推理适应性。受人类推理启发,我们设计包含全局感知、局部聚焦、迭代探测和整体裁决的动态推理循环,并将其作为数据采样策略和任务对齐的奖励机制。为系统训练和评估,我们构建FABench,包含10万张图像和约20万对代理交互问题-答案对的异构高质量代理取证数据集。实验表明,当辅助低级工具时,ForenAgent在挑战性IFD任务中表现出涌现的工具使用能力和反思性推理,为通用IFD开辟了有前景的路径。代码将在评审过程完成后发布。

英文摘要:

Existing image forgery detection (IFD) methods either exploit low-level, semantics-agnostic artifacts or rely on multimodal large language models (MLLMs) with high-level semantic knowledge. Although naturally complementary, these two information streams are highly heterogeneous in both paradigm and reasoning, making it difficult for existing methods to unify them or effectively model their cross-level interactions. To address this gap, we propose ForenAgent, a multi-round interactive IFD framework that enables MLLMs to autonomously generate, execute, and iteratively refine Python-based low-level tools around the detection objective, thereby achieving more flexible and interpretable forgery analysis. ForenAgent follows a two-stage training pipeline combining Cold Start and Reinforcement Fine-Tuning to enhance its tool interaction capability and reasoning adaptability progressively. Inspired by human reasoning, we design a dynamic reasoning loop comprising global perception, local focusing, iterative probing, and holistic adjudication, and instantiate it as both a data-sampling strategy and a task-aligned process reward. For systematic training and evaluation, we construct FABench, a heterogeneous, high-quality agent-forensics dataset comprising 100k images and approximately 200k agent-interaction question-answer pairs. Experiments show that ForenAgent exhibits emergent tool-use competence and reflective reasoning on challenging IFD tasks when assisted by low-level tools, charting a promising route toward general-purpose IFD. The code will be released after the review process is completed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑