arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16181cs.CVcs.CR
收藏

KidsNanny:一种集成视觉分类、目标检测、OCR和上下文推理的双阶段多模态内容审查流水线,用于儿童安全

KidsNanny: A Two-Stage Multimodal Content Moderation Pipeline Integrating Visual Classification, Object Detection, OCR, and Contextual Reasoning for Child Safety

KidsNanny Research Team, Vartit Technology Inc.(KidsNanny研究团队,Vartit技术公司)

Viraj Panchal, Tanmay Talsaniya, Parag Patel, Meet Patel

AI总结:

本文提出KidsNanny,一种双阶段多模态内容审查架构,通过视觉Transformer和目标检测器进行视觉筛查,结合OCR和基于文本的7B语言模型进行上下文推理,以提高儿童安全的内容审查效率和准确性。

摘要:

我们提出了KidsNanny,一种用于儿童安全的双阶段多模态内容审查架构。第一阶段结合视觉Transformer(ViT)和目标检测器进行视觉筛查(11.7 ms);输出以文本形式而非原始像素传递到第二阶段,该阶段应用OCR和基于文本的7B语言模型进行上下文推理(总管道时间为120 ms)。我们在UnsafeBench性类别(1,054张图像)上进行了评估,分为两种模式:仅视觉模式(隔离第一阶段)和多模态模式(评估完整的第一阶段+第二阶段管道)。第一阶段在11.7 ms时达到80.27%的准确率和85.39%的F1分数;仅视觉基线的准确率范围从59.01%到77.04%。完整管道在120 ms时达到81.40%的准确率和86.16%的F1分数,相比ShieldGemma-2(64.80%准确率,1,136 ms)和LlavaGuard(80.36%准确率,4,138 ms)。为了评估文本意识,我们过滤了两个子集:一个包含文本和视觉的子集(257张图像)和一个仅文本的子集(44张图像,安全主要依赖于嵌入文本)。在仅文本图像上,KidsNanny达到100%召回率(25/25正例;小样本)和75.76%的精确率;ShieldGemma-2在1,136 ms时达到84%的召回率和60%的精确率。结果表明,专门的OCR推理可能在较低延迟下提供召回-精确率优势,尽管仅有的仅文本子集限制了通用性。通过记录此架构和评估方法,我们旨在为高效多模态内容审查以儿童安全的研究做出贡献。

英文摘要:

We present KidsNanny, a two-stage multimodal content moderation architecture for child safety. Stage 1 combines a vision transformer (ViT) with an object detector for visual screening (11.7 ms); outputs are routed as text not raw pixels to Stage 2, which applies OCR and a text based 7B language model for contextual reasoning (120 ms total pipeline). We evaluate on the UnsafeBench Sexual category (1,054 images) under two regimes: vision-only, isolating Stage 1, and multimodal, evaluating the full Stage 1+2 pipeline. Stage 1 achieves 80.27% accuracy and 85.39% F1 at 11.7 ms; vision-only baselines range from 59.01% to 77.04% accuracy. The full pipeline achieves 81.40% accuracy and 86.16% F1 at 120 ms, compared to ShieldGemma-2 (64.80% accuracy, 1,136 ms) and LlavaGuard (80.36% accuracy, 4,138 ms). To evaluate text-awareness, we filter two subsets: a text+visual subset (257 images) and a text-only subset (44 images where safety depends primarily on embedded text). On text-only images, KidsNanny achieves 100% recall (25/25 positives; small sample) and 75.76% precision; ShieldGemma-2 achieves 84% recall and 60% precision at 1,136 ms. Results suggest that dedicated OCR-based reasoning may offer recall-precision advantages on text-embedded threats at lower latency, though the small text-only subset limits generalizability. By documenting this architecture and evaluation methodology, we aim to contribute to the broader research effort on efficient multimodal content moderation for child safety.

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

↑