KidsNanny:一种融合视觉分类、目标检测、OCR与上下文推理的两阶段多模态内容审核流水线,用于儿童安全保护 KidsNanny: A Two-Stage Multimodal Content Moderation Pipeline Integrating Visual Classification, Object Detection, OCR, and Contextual Reasoning for Child Safety 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-03-17
👁️ 预览文献
💡 AI 中文简介
本研究开发了KidsNanny,一个两阶段多模态内容审核系统,旨在保护儿童免受有害内容侵害。第一阶段用视觉模型快速筛选图片(仅需11.7毫秒),第二阶段将图片中的文字提取出来,用语言模型进行上下文推理(总耗时120毫秒)。在包含1054张图片的测试集上,系统准确率达81.4%,优于同类模型ShieldGemma-2(64.8%)和LlavaGuard(80.4%),且速度更快。对于主要依赖图片内文字判断安全性的图片,系统召回率达100%(但样本仅25张)。研究表明,专门针对文字推理的方法能在更低延迟下提升对文字嵌入威胁的识别效果。
领域多模态内容安全与审核
适合谁读需要一定专业背景(了解深度学习、计算机视觉和自然语言处理基础)
核心贡献1. 提出两阶段多模态审核架构,将视觉筛选与基于OCR的文本推理分离,显著降低延迟;2. 在儿童安全场景下验证了专门OCR推理对文字嵌入威胁的召回率优势,并公开了评估方法。
关键数据第一阶段视觉筛选准确率80.27%,F1 85.39%,耗时11.7毫秒;完整流水线准确率81.40%,F1 86.16%,耗时120毫秒;对比ShieldGemma-2(准确率64.80%,耗时1136毫秒)和LlavaGuard(准确率80.36%,耗时4138毫秒);纯文本子集(44张)召回率100%(25/25),精确率75.76%。
推荐理由如果你关心如何又快又准地审核儿童相关图片内容,这篇论文给出了一个高效且可复现的解决方案,值得一读。
关键词["多模态内容审核", "儿童安全", "光学字符识别", "视觉Transformer", "上下文推理", "两阶段流水线"]

原文摘要

查看英文原文摘要

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.