SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.15307 · 2026

Adapting Reinforcement Learning with Chain-of-Thought Supervision for Explainable Detection of Hateful and Propagandistic Memes

Mucahid Kutlu, Firoj Alam, Mohamed Kmainasi, Ali Ezzat Shahroor, Abul Hasnat

arXiv · PDF · Open in the Atlas

Code that ran

19 of 21 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 18 failures of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2606.15307.json · badge: /api/ran/2606.15307.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
MohamedBayan/MemeReason canonical (classifier label)
classifier basis: census
19 ran · 2 no recorded run
FunctionStatusWhere it lives
as_compact_json Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/annotation/consolidate_annotations.py
pointer only (licence: NONE) · get_code("49b653113fea6de9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

classification_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
MohamedBayan/MemeReason/evaluation/compute_metrics.py
pointer only (licence: NONE) · get_code("324967c6a6c4b693")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

client_from_env Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/annotation/azure_batch.py
pointer only (licence: NONE) · get_code("513fd97ff50dad22")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

collate Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/training/unimodal/train_image_classifier.py
pointer only (licence: NONE) · get_code("033c0d3e1d4d06bd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

collate Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/training/unimodal/train_text_classifier.py
pointer only (licence: NONE) · get_code("9da5d59a7b5f1751")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_metrics Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/training/unimodal/train_image_classifier.py
pointer only (licence: NONE) · get_code("7eaffa29be6d6425")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_label Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/data_prep/build_unlabeled_training_set.py
pointer only (licence: NONE) · get_code("f85c65c949b629e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_label_and_explanation Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/evaluation/compute_metrics.py
pointer only (licence: NONE) · get_code("84d7d237b351e205")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

first_explanation_block Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/training/rewards.py
pointer only (licence: NONE) · get_code("23b8127583dc83fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

first_label_line Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/training/rewards.py
pointer only (licence: NONE) · get_code("b292f7554e17d3e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

first_think_block Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/training/rewards.py
pointer only (licence: NONE) · get_code("ea3a5543a765757b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_jsonl Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/annotation/azure_batch.py
pointer only (licence: NONE) · get_code("bcc2eb61ab57d401")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_prompt Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/data_prep/prepare_training_data.py
pointer only (licence: NONE) · get_code("f291f6bb0f74ccc4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_split_local Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/data_prep/prepare_training_data.py
pointer only (licence: NONE) · get_code("6031a2c4c5569b7e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_label Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/evaluation/compute_metrics.py
pointer only (licence: NONE) · get_code("71972f6d1cc6bb71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_json_response Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/annotation/consolidate_annotations.py
pointer only (licence: NONE) · get_code("98d69637f11a050c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

predict_and_save Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/training/unimodal/train_image_classifier.py
pointer only (licence: NONE) · get_code("aed764678b5baf98")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prompt_fields Ran
ran; our contract draft was wrong, not the code
MohamedBayan/MemeReason/annotation/azure_batch.py
pointer only (licence: NONE) · get_code("be3590c06fd5bd9b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

stratified_sample Ran
ran, honoured the contract we drafted
MohamedBayan/MemeReason/data_prep/build_unlabeled_training_set.py
pointer only (licence: NONE) · get_code("ed1d04a19f894910")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_split_hub Not yet run
unverified (harvested, no recorded run)
MohamedBayan/MemeReason/data_prep/prepare_training_data.py
pointer only (licence: NONE) · get_code("073ca25521339013")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

predict_and_save Not yet run
unverified (harvested, no recorded run)
MohamedBayan/MemeReason/training/unimodal/train_text_classifier.py
pointer only (licence: NONE) · get_code("a436bd27aac5281b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MohamedBayan/MemeReason when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 21 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

Hateful and propagandistic memes exploit the interplay between images and text to convey harmful intent that neither modality reveals alone. Although thinking-based multimodal large language models (MLLMs) have advanced vision-language understanding, their application to meme content moderation remains underexplored. We propose a reinforcement learning-based post-training method that improves classification performance and reference-based explanation quality in thinking-based MLLMs via task-specific rewards and Group Relative Policy Optimization (GRPO). Concretely, we (i) conduct a systematic empirical study of off-theshelf MLLMs for hateful and propagandistic meme understanding across English and Arabic benchmarks, (ii) extend existing meme datasets with weakly supervised chain-of-thought (CoT) rationales via distillation and multi-LLM fine-grained propaganda annotations, (iii) introduce a GRPO-based objective with thinking-length regularization that jointly optimizes classification accuracy and explanation quality, and (iv) investigate self-supervised GRPO on unlabeled memes using consensus-based pseudo-labels. Experiments on the Hateful Memes and ArMeme benchmarks show that Our approach improves over previously reported results on FHM accuracy (up to +2.1%, from 79.9% to 82.0%) and on ArMeme macro-F1 (up to +7.6 points, from 0.536 to 0.612 with explanations; +6.1 compared to the original ArMeme benchmark), while also generating natural-language explanations. On ArMeme, sequence-classification baselines remain stronger in terms of raw accuracy, whereas our approach provides more balanced per-class performance along with explanations. We publicly release our code, data extensions, and evaluation resources.

For agents

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

get_harvested_code_for_paper("2606.15307")
get_code_for_paper("2606.15307")
have("2606.15307")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2606.15307.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2606.15307.svg)](https://syntology.ai/paper/2606.15307)

Connect an agent — have() is free.