CLAIHCJul 13, 2025

ViSP: A PPO-Driven Framework for Sarcasm Generation with Contrastive Learning

arXiv:2507.09482v1h-index: 1Has Code
Originality Incremental advance
AI Analysis

This addresses the underexplored task of sarcasm generation for natural language processing, though it is incremental as it builds on existing methods like PPO and contrastive learning.

The paper tackles the problem of sarcasm generation by introducing a new multimodal dataset (M2SaG) and a framework (ViSP) that uses PPO and contrastive learning, resulting in generated texts with higher sarcasm scores (0.898 vs. 0.770) and factual incongruity (0.768 vs. 0.739) than the original dataset.

Human emotions are complex, with sarcasm being a subtle and distinctive form. Despite progress in sarcasm research, sarcasm generation remains underexplored, primarily due to the overreliance on textual modalities and the neglect of visual cues, as well as the mismatch between image content and sarcastic intent in existing datasets. In this paper, we introduce M2SaG, a multimodal sarcasm generation dataset with 4,970 samples, each containing an image, a sarcastic text, and a sarcasm target. To benchmark M2SaG, we propose ViSP, a generation framework that integrates Proximal Policy Optimization (PPO) and contrastive learning. PPO utilizes reward scores from DIP to steer the generation of sarcastic texts, while contrastive learning encourages the model to favor outputs with higher reward scores. These strategies improve overall generation quality and produce texts with more pronounced sarcastic intent. We evaluate ViSP across five metric sets and find it surpasses all baselines, including large language models, underscoring their limitations in sarcasm generation. Furthermore, we analyze the distributions of Sarcasm Scores and Factual Incongruity for both M2SaG and the texts generated by ViSP. The generated texts exhibit higher mean Sarcasm Scores (0.898 vs. 0.770) and Factual Incongruity (0.768 vs. 0.739), demonstrating that ViSP produces higher-quality sarcastic content than the original dataset. % The dataset and code will be publicly available. Our dataset and code will be released at \textit{https://github.com/wclapply/ViSP}.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes