arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.06402cs.CLcs.CYcs.SI
收藏

SugarTextNet:基于Transformer的框架结合上下文感知焦点损失检测社交媒体上的糖约会相关内容

SugarTextNet: A Transformer-Based Framework for Detecting Sugar Dating-Related Content on Social Media with Context-Aware Focal Loss

The Hong Kong Polytechnic University(香港理工大学);The University of Hong Kong(香港大学);Northeastern University(东北大学)

Lionel Z. Wang, Shihan Ben, Yulu Huang, Simeng Qin

AI总结:

针对社交媒体糖约会内容检测面临的委婉语、模糊线索及类别不平衡挑战,提出集成Transformer编码器、注意力线索提取器和上下文短语编码器的SugarTextNet框架,结合上下文感知焦点损失,在自建微博数据集上性能优于传统模型、深度学习基线及大语言模型。

摘要:

糖约会相关内容在主流社交媒体平台上迅速扩散,引发了严重的社会和监管担忧,包括亲密关系商业化和交易性关系正常化。由于现实数据中存在大量微妙的委婉语、模糊的语言线索以及极端的类别不平衡,检测此类内容极具挑战性。在本研究中,我们提出SugarTextNet,这是一个专门设计用于识别社交媒体上糖约会相关帖子的新型Transformer框架。SugarTextNet集成了预训练Transformer编码器、基于注意力的线索提取器和上下文短语编码器,以捕捉用户生成文本中的显著特征和细微特征。为解决类别不平衡问题并增强少数类检测,我们引入上下文感知焦点损失,这是一种结合焦点损失缩放与上下文加权的定制损失函数。我们在新构建的、手动标注的3067条新浪微博中文社交媒体帖子数据集上评估SugarTextNet,结果表明我们的方法在多个指标上显著优于传统机器学习模型、深度学习基线和大型语言模型。全面的消融研究证实了每个组件的不可或缺性。我们的研究结果强调了领域特定、上下文感知建模在敏感内容检测中的重要性,并为复杂现实场景中的内容审核提供了稳健的解决方案。

英文摘要:

Sugar dating-related content has rapidly proliferated on mainstream social media platforms, giving rise to serious societal and regulatory concerns, including commercialization of intimate relationships and the normalization of transactional relationships.~Detecting such content is highly challenging due to the prevalence of subtle euphemisms, ambiguous linguistic cues, and extreme class imbalance in real-world data.~In this work, we present SugarTextNet, a novel transformer-based framework specifically designed to identify sugar dating-related posts on social media.~SugarTextNet integrates a pretrained transformer encoder, an attention-based cue extractor, and a contextual phrase encoder to capture both salient and nuanced features in user-generated text.~To address class imbalance and enhance minority-class detection, we introduce Context-Aware Focal Loss, a tailored loss function that combines focal loss scaling with contextual weighting.~We evaluate SugarTextNet on a newly curated, manually annotated dataset of 3,067 Chinese social media posts from Sina Weibo, demonstrating that our approach substantially outperforms traditional machine learning models, deep learning baselines, and large language models across multiple metrics.~Comprehensive ablation studies confirm the indispensable role of each component.~Our findings highlight the importance of domain-specific, context-aware modeling for sensitive content detection, and provide a robust solution for content moderation in complex, real-world scenarios.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑