Mesorch
Parallel CNN and Transformer that localizes manipulated image regions by fusing multi-scale mask predictions.
Segmentation · 1,535 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Segmentation
- Parameters
- 85.8M
- Operations
- 1,535
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2025
- Cited by
- 37 (as of 30 October 2026)
- Authors
- Xuekang Zhu, Xiaochen Ma, Lei Su and others
- Source
- GitHub: scu-zjz/Mesorch
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18413
- Graph hash
- f7eae12d920167d38a00463f6bc6c859a9d89d82e91f1bb8f3173d187b30bd2f
- Skeleton hash
- b65cf5f36cd7a1a37c162e46c783e1d7f848df7e01d44b69d798f6f7d253365d
- Architecture hash
- 87d40f3ae85611f33f2124aa04bef1b7859339fa49a9ad61461a5602fab45e83
- Diagram SHA-256
- 3b06125b26b0c786d8068047380b740a38d1459edacd0150c994cdd44375672c
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Mesorch is a model for image manipulation localization (IML): it predicts which regions of an image were manipulated. The paper argues that manipulation commonly occurs at the object level, the macroscopic level, which matters as much as the microscopic traces that earlier methods relied on.
Mesorch runs a CNN and a Transformer in parallel: the Transformer extracts macro information and the CNN captures micro details. A high-frequency enhanced copy of the image goes to the local feature encoder, and a low-frequency enhanced copy goes to the global feature encoder. Decoders then turn the feature maps into initial predictions of manipulated regions at several scales. A weighting network produces a normalized weight vector that gives the importance of each scale's prediction at every pixel. The paper found that the combination of ConvNeXt and Segformer outperformed other model combinations.
A pruned version, Mesorch-P, removes scales whose average weight falls below a predefined threshold. All training images were resized to 512x512 pixels. Across CASIA v1, Coverage, NIST16 and Columbia, the paper reports an average pixel-level F1 of 0.6771 for Mesorch and 0.6762 for Mesorch-P. The paper reports 85.754M parameters for Mesorch and 62.235M for Mesorch-P.
Key idea. Mesorch runs a CNN and a Transformer in parallel on frequency-enhanced copies of an image and fuses their multi-scale mask predictions with learned per-pixel weights to localize manipulated regions.
- Mesorch
- Mesoscopic-Orchestration
- Mesorch-P
- image manipulation localization
- IML
- image forgery localization
- tampering localization
- mesoscopic representation
- image forensics
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhu2024mesoscopicinsightsorchestratingmultiscale,
title={Mesoscopic Insights: Orchestrating Multi-scale & Hybrid Architecture for Image Manipulation Localization},
author={Xuekang Zhu and Xiaochen Ma and Lei Su and Zhuohang Jiang and Bo Du and Xiwen Wang and Zeyu Lei and Wentao Feng and Chi-Man Pun and Jizhe Zhou},
year={2024},
eprint={2412.13753},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2412.13753},
}