Lune

ACL2026Top-tier venue

Reinforcement Learning-Guided Adaptive Tuning for Out-of-Distribution Harmful Text Detection

Mengyu Xiang, Tinghao Chen, Boxu Han, Qiudan Li, Shu Wu, Daniel Dajun Zeng

Abstract

As social media grows, harmful information spreads rapidly across platforms and evolves over time, showing cross-platform and cross-temporal variations. Existing methods rely on fixed model parameters during training, which fail to handle substantial semantic discrepancies, leading to Out-Of-Distribution (OOD) problems. While test-time tuning enables dynamic parameter adjustment, it may lead to excessive adaptation to individual samples. The key challenge is how to adapt to semantic variations during testing while preventing overfitting from continuous tuning. To tackle this issue, this paper proposes RLAT, a reinforcement learning (RL)–guided adaptive tuning method for harmful text detection. First, a tuning joint optimization module is designed to update parameters and adapt to semantic variations during testing. It tunes the model by optimizing consistency loss and applying word-level attention constraints to reduce over-reliance on local words and learn a more robust global representation. Then, to mitigate overfitting caused by continuous tuning, a RL–guided adaptive decision model is introduced to direct the tuning process. It reduces the influence of local samples by selecting data and controlling parameter updates, thereby improving overall test performance. Experimental results show that the RLAT outperforms state-of-the-art baselines in cross-platform and cross-temporal scenarios across multiple public datasets.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Facilitating Fine-grained Detection of Chinese Toxic Language: Hierarchical Taxonomy, Resources, and Benchmarks cites Towards Identifying Social Bias in Dialog Systems: Framework, Dataset, and Benchmark
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. fBERT: A Neural Transformer for Identifying Offensive ContentDiptanu Sarkar, Marcos Zampieri, Tharindu Ranasinghe, Alexander G. Ororbia IIEMNLP Findings 2021 · 43 citations
  2. Towards Identifying Social Bias in Dialog Systems: Framework, Dataset, and BenchmarkJingyan Zhou, Jiawen Deng, Fei Mi, Yitong Li et al.EMNLP Findings 2022 · 31 citations
  3. Is Sarcasm Detection a Step-by-Step Reasoning Process in Large Language Models?Ben Yao, Yazhou Zhang, Qiuchi Li, Jing QinAAAI 2025 · 29 citations
  4. Facilitating Fine-grained Detection of Chinese Toxic Language: Hierarchical Taxonomy, Resources, and BenchmarksJunyu Lu, Bo Xu, Xiaokun Zhang, Changrong Min et al.ACL 2023 · 25 citations
  5. SharedCon: Implicit Hate Speech Detection using Shared SemanticsHyeseon Ahn, Youngwook Kim, Jungin Kim, Yo-Sub HanACL Findings 2024 · 13 citations

Related papers

  1. Shedding the Facades, Connecting the Domains: Detecting Shifting Multimodal Hate Video with Test-Time AdaptationJiao Li, Jian Lang, Xikai Tang, Wenzheng Shu et al.AAAI 2026
  2. Towards Policy-Adaptive Image Guardrail: Benchmark and MethodCaiyong Piao, Zhiyuan Yan, Haoming Xu, Yunzhen Zhao et al.CVPR 2026 · 7 citations
  3. Selective Test-Time Debiasing for CLIP via Reward GatingJaeho Han, Jisoo Yang, Hyeondong Woo, Mingyu Jeon et al.ACL 2026
  4. ContiGuard: A Framework for Continual Toxicity Detection Against Evolving Evasive PerturbationsHankun Kang, Xin Miao, Jianhao Chen, Jintao Wen et al.WWW 2026
  5. Nip Rumors in the Bud: Retrieval-Guided Topic-Level Adaptation for Test-Time Fake News Video DetectionJian Lang, Rongpei Hong, Ting Zhong, Yong Wang et al.KDD 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines