Papers › ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection

ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection

8 Oct 2025ICLRarXiv:2510.08630added by Syntology

Jingbiao Mei, Mingsheng Sun, Jinghong Chen, Pengda Qin, Yuhong Li, Da Chen, Bill Byrne

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Hateful memes have emerged as a particularly challenging form of online abuse, motivating the development of automated detection systems. Most prior approaches rely on direct detection, producing only binary predictions. Such models fail to provide the context and explanations that real-world moderation requires. Recent Explain-then-Detect approaches, using Chain-of-Thought prompting or LMM agents, perform worse than simple SFT baselines, and even advanced post-training methods such as GRPO fail to close the gap. Our analysis identifies two key issues of such systems: important policy-relevant cues such as targets and attack types are not hypothesized by the model as a likely explanation; and the binary reward signal is insufficient to guide reasoning. To address these challenges, we propose ExPO-HM (Explain-then-Detect Policy Optimization for Hateful Memes), inspired by the training and evaluation process of human annotators. ExPO-HM combines SFT warmup, GRPO with curriculum learning, and Conditional Decision Entropy (CDE) as both metric and reward for reasoning quality. Across three hateful meme benchmarks, ExPO-HM achieves state-of-the-art performance on binary detection, fine-grained classification, and reasoning quality, with up to 15\% and 17\% F1 improvement over the GRPO and DPO baselines, respectively. By moving hateful meme detection from simple binary alarms to explanation-driven detection, ExPO-HM provides accurate, interpretable, and actionable moderation support. Code available at https://github.com/JingbiaoMei/ExPO-HM

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.08630")

Code

Syntology Ran 2 of 11 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

JingbiaoMei/ExPO-HM found in paper text by SyntologyApache-2.0 report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 2 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran
9unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from JingbiaoMei/ExPO-HM. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

generate_config_from_args JingbiaoMei/ExPO-HM/verl/verl/model_merger/base_model_merger.py found in paper text by Syntology ran Apache-2.0 (permissive) · 8896f4e2bafe8abc · report
get_dynamic_pipeline_shards JingbiaoMei/ExPO-HM/verl/verl/model_merger/megatron_model_merger.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 94209884dcb2308e · report
evaluate_predictions JingbiaoMei/ExPO-HM/eval/inference/qwen2_hm_inference_vllm.py found in paper text by Syntology unverified Apache-2.0 (permissive) · bfc48666e7213f2d · report
evaluate_predictions_fine_grained JingbiaoMei/ExPO-HM/eval/inference/qwen2_hm_inference_vllm_fine_grained.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 016eaa54a3422c75 · report
exact_match_reward JingbiaoMei/ExPO-HM/eval/inference/qwen2_hm_inference_vllm.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 75b93b44a8ff1eba · report
exact_match_reward_fine_grained JingbiaoMei/ExPO-HM/eval/inference/qwen2_hm_inference_vllm_fine_grained.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b8245157302f5293 · report
get_img_ids JingbiaoMei/ExPO-HM/eval/inference/dataset.py found in paper text by Syntology unverified Apache-2.0 (permissive) · fc69b093f6c02f8b · report
get_values_from_gt JingbiaoMei/ExPO-HM/eval/inference/dataset.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b2166367548f64a4 · report
process_split_vllm JingbiaoMei/ExPO-HM/eval/inference/qwen2_hm_inference_vllm.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c2ce31fb16ce7dca · report
process_split_vllm_fine_grained JingbiaoMei/ExPO-HM/eval/inference/qwen2_hm_inference_vllm_fine_grained.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 0ac06d1a9e26cd7f · report
to_device JingbiaoMei/ExPO-HM/eval/inference/dataset.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e37f2704b4234a7e · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.08630, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections