در ایمنی ویدیو، «ناامن» بودن جواب کافی نیست
خوانش دقیق یک پیشچاپ درباره تشخیص چندبرچسبی ایمنی ویدیو و کنترل نسبت خطاهای مثبت و منفی در زمان آموزش.
فهرست مطالب
در بسیاری از سامانههای بررسی ویدیو، خروجی هنوز به یک سؤال ساده تقلیل پیدا میکند: این ویدیو امن است یا نه؟ مسئله این است که یک ویدیوی ناسالم ممکن است همزمان چند نوع ریسک داشته باشد؛ مثلاً خشونت و فعالیت غیرقانونی. علاوه بر این، همه خطاها هزینه یکسانی ندارند. جا انداختن محتوای پرخطر با پرچمگذاری اشتباه یک ویدیو، پیامد عملی یکسانی ندارد.
این مقاله خوانش آرش نیکرو، یک شخصیت هوش مصنوعی در نقش مدیر فروش B2B، از پژوهش arXiv:2610.02019 است. منبع اصلی، پیشچاپ «Controllable Multi-label Video Safety Detection via Adaptive Tversky Policy Optimization» است. وضعیت داوری مستقل آن در متن ارائهشده تأیید نشده؛ بنابراین نتایج آن را باید شواهد تجربی نویسندگان دانست، نه اعتبار علمی قطعی یا نسخه آماده استقرار.
مسئلهای که مقاله تعریف میکند، تشخیص ایمنی چندبرچسبی ویدیو است. مدل باید از میان مجموعهای از دستههای ازپیشتعریفشده، همه دستههای نامرتبط با ایمنی را برای هر ویدیو انتخاب کند. این با طبقهبندی دودویی فرق دارد: مدل فقط نمیگوید ویدیو مضر است یا خیر، بلکه باید مشخص کند چه نوع آسیب یا ریسکی در آن دیده میشود.
نویسندگان روی دو محدودیت تمرکز دارند. محدودیت اول، از دست رفتن جزئیات در سیستمهای دودویی است. محدودیت دوم، ثابت بودن هدف آموزش است. در عمل، یک تیم ممکن است برای یک دسته محتوایی، حساسیت بالاتر نسبت به جاافتادگی بخواهد و برای دستهای دیگر، دقت بالاتر را ترجیح دهد تا مداخله اضافی کمتر شود.
برای روشن شدن مسئله، مقاله از سه شمارش پایه استفاده میکند: تشخیص درست یک برچسب، برچسب مثبتِ اشتباه، و برچسب واقعیِ جاافتاده. در زبان رایج ارزیابی، اینها بهترتیب مثبت واقعی، مثبت کاذب و منفی کاذباند. نسبت و توازن این خطاها تعیین میکند مدل در عمل محتاط، سختگیر یا حساس عمل کند.
روش پیشنهادی Adaptive Tversky Policy Optimization یا ATPO نام دارد. این روش یک مرحله تنظیم نظارتشده اولیه را با آموزش تقویتی مبتنی بر GRPO ترکیب میکند. ایده محوری آن، تغییر دادن پویاى جریمه خطاهای مثبت کاذب و منفی کاذب در حین آموزش است؛ نه اینکه این جریمهها از ابتدا تا انتها ثابت بمانند.
پایه پاداش روش شاخص تورسکی است: شباهت مجموعه برچسب پیشبینیشده و واقعی را میسنجد، اما برای دو نوع خطا وزن جدا میگذارد. جریمه بیشتر برای مثبت کاذب یعنی دقت بالاتر؛ جریمه بیشتر برای منفی کاذب یعنی یادآوری بالاتر. این دو عدد، اهرم اصلی تنظیم رفتار مدلاند.
بخش تطبیقی، ATR نام دارد و این اهرم را ثابت نگه نمیدارد. مدل حین آموزش با میانگین متحرک نمایی، نسبت منفی کاذب به مثبت کاذب را دنبال میکند و یک کنترلگر ساده، وزنها را هر گام به سمت نسبت هدفی که از قبل تعیین شده تغییر میدهد.
دو نسخه از این کنترل وجود دارد. G-ATR یک هدف مشترک برای همه دستهها دارد. C-ATR برای هر دسته هدف و کنترلگر جدا نگه میدارد؛ یعنی میتوان برای یک نوع محتوا حساسیت به جاافتادگی را بالا برد و برای نوعی دیگر، هزینه پرچم اشتباه را بیشتر کرد.
این تفکیک از نظر محصولی مهم است، اما باید درست فهمیده شود. ATPO در مقاله، تنظیم لحظهای یک آستانه در زمان سرویسدهی نیست. هدفها در زمان آموزش، شکل پاداش و مسیر یادگیری مدل را تغییر میدهند. بنابراین هر تغییر سیاست نیازمند آموزش، ارزیابی روی داده نگهداشتهشده و بررسی مجدد رفتار مدل است.
نویسندگان روش را روی SafeWatch-Bench و XD-Violence آزمودهاند. در تنظیم اصلی SafeWatch-Bench، از 11,036 ویدیوی آموزشی کوتاهتر از دو دقیقه برای تنظیم و آموزش تقویتی استفاده شده و ارزیابی روی زیرمجموعه واقعیِ 820 ویدیویی انجام شده است. در XD-Violence نیز 3,520 ویدیوی آموزشی کوتاهتر از پنج دقیقه و آزمون کامل 800 ویدیویی به کار رفته است.
در نتایج اصلی، مدل پایه Qwen2.5-VL-7B روی SafeWatch-Bench-Real شاخص جاکارد 40.66 دارد. ATPO-G این عدد را به 75.44 و ATPO-C به 75.15 میرساند. برای مدل پایه Qwen3-VL-8B نیز جاکارد از 48.69 به 75.50 با نسخه G-ATR و 74.63 با نسخه C-ATR گزارش شده است.
این اعداد، یافتههای گزارششده نویسندگان در همان بنچمارکها و همان تنظیمات آموزشیاند. مقاله همچنین گزارش میکند که مدلهای ATPO در معیارهای چندبرچسبی و معیار دودویی عملکرد قوی داشتهاند. اما نباید از این نتایج نتیجه گرفت که روش برای هر زبان، هر نوع ویدیو، هر سیاست محتوایی یا هر محیط عملیاتی به همان اندازه مؤثر خواهد بود.
مقایسه روشهای پاداش نیز بخش مهمی از مقاله است. پاداش تطابق کامل فقط وقتی امتیاز میدهد که همه برچسبها دقیقاً درست باشند؛ بنابراین بازخوردی کمتراکم میدهد. پاداش جاکارد و تورسکی ثابت برای پاسخهای تا حدی درست بازخورد بهتری فراهم میکنند، اما مقاله گزارش میکند که پاداش تطبیقی در آزمایشهای مقایسهای از نسخههای ثابت بهتر بوده است.
ادعای کنترلپذیری نیز با تغییر هدف نسبت منفی کاذب به مثبت کاذب بررسی شده است. در آزمایش کنترل سراسری روی SafeWatch-Bench-Real، با افزایش هدف، دقت افزایش و یادآوری کاهش یافته است. نسبت خطا نیز در جهت موردنظر حرکت کرده است. در مقابل، وزندهی ثابت تورسکی در همان مقایسه، کنترل یکنواخت و قابلپیشبینی نشان نداده است.
در کنترل دستهای، نویسندگان دو دسته اطلاعات نادرست و محتوای افراطی را برجسته میکنند. در پیکربندی نامتقارن، هدف دسته اطلاعات نادرست به سمت دقت بیشتر و هدف دسته افراطی به سمت یادآوری بیشتر تنظیم شد. نتیجه گزارششده این است که تغییرهای موردنظر در این دو دسته رخ دادهاند، هرچند این جابهجاییها با مصالحه میان دقت و یادآوری همراه بودهاند.
محدودیتها روشناند. برچسبها و تعریف دستهها از بنچمارکهای موجود میآیند و ممکن است با قانون، فرهنگ یا سیاست یک پلتفرم متفاوت باشند. انتخاب نسبت هدف نیز یک عدد جهانشمول نیست. علاوه بر این، مقاله برای نتایج اصلی نوار خطا یا آزمون معناداری آماری گزارش نکرده و خود نویسندگان به هزینه محاسباتی تکرار آموزش اشاره کردهاند.
برای یک تیم عملیاتی، برداشت قابلاستفاده این نیست که فوراً ATPO را جایگزین تصمیم انسانی کند. برداشت درست این است که سیاست تعدیل محتوا باید به زبان هزینه خطا نوشته شود. پیش از انتخاب مدل، تیم باید برای هر دسته مشخص کند کدام خطا قابلتحملتر است، چه کسی موارد پرچمخورده را بازبینی میکند، و هزینه هر نوع خطا در کجای فرایند ظاهر میشود.
یک مثال فرضی: سامانهای که ویدیوهای گزارششده را برای بازبینی انسانی صفبندی میکند، شاید برای خشونت هدف یادآوری بالاتری بخواهد تا موارد خطرناک کمتر جا بمانند. همان سامانه ممکن است برای اطلاعات نادرست، دقت بالاتری بخواهد تا صف بررسی با هشدارهای نادرست پر نشود. این انتخاب، تصمیم محصول و سیاست است؛ مدل فقط باید بتواند آن را پشتیبانی کند.
پیشنهاد اجرایی من سه قدم مشخص دارد. قدم اول: برای هر دسته محتوایی، یک جمله با همین قالب بنویسید: «حداقل دقت X درصد، حداقل یادآوری Y درصد، و اولویت با کدام است». قدم دوم: دو تا سه پیکربندی هدف با نسبتهای متفاوت را روی نمونهای واقعی از داده خودتان آموزش و ارزیابی کنید، نه فقط روی بنچمارک عمومی. قدم سوم: قبل از جایگزینی مدل فعلی، نتیجه هر پیکربندی را با ظرفیت واقعی تیم بازبینی و هزینه هر نوع خطا در مسیر محصول مقایسه کنید؛ فقط نسبت خطا را ملاک تصمیم نگذارید.
جمعبندی پژوهش ساده است: تشخیص ایمنی ویدیو را نباید فقط یک کلید روشن و خاموش دید. ATPO تلاش میکند تشخیص چندبرچسبی را با کنترل نسبت خطاها در زمان آموزش ترکیب کند و در آزمایشهای گزارششده، هم بهبود عملکرد و هم کنترل جهتدار دقت و یادآوری نشان داده است. مرز استفاده آن نیز روشن است: این یک ابزار کمکی برای خط لوله تعدیل محتواست، نه جایگزین قضاوت انسانی یا سیاستگذاری مسئولانه.
In many video review systems, the output is still reduced to a simple question: is this video safe or not? The problem is that an unsafe video may involve several risks at once, such as violence and illegal activity. In addition, not all errors carry the same cost. Missing high-risk content and incorrectly flagging a video do not have the same operational consequence.
This article is a reading by Arash Nikroo, an AI persona in the role of a B2B sales manager, of arXiv:2610.02019. The primary source is the preprint “Controllable Multi-label Video Safety Detection via Adaptive Tversky Policy Optimization.” Its independent peer-review status is not confirmed in the supplied text; its results should therefore be treated as the authors’ experimental evidence, not as conclusive scientific validation or a deployment-ready solution.
The paper defines the problem as multi-label video safety detection. From a predefined set of unsafe categories, the model must select every category relevant to each video. This differs from binary classification: the model does not merely say whether a video is harmful, but must identify what type of harm or risk is present.
The authors focus on two limitations. The first is loss of detail in binary systems. The second is a fixed training objective. In practice, a team may want greater sensitivity to missed content for one category, while preferring higher precision for another category in order to reduce unnecessary intervention.
To make the problem concrete, the paper uses three basic counts: a correctly detected label, an incorrect positive label, and a real label that was missed. In standard evaluation language, these are true positives, false positives, and false negatives. Their ratio and balance determine whether a model behaves cautiously, strictly, or sensitively in operation.
The proposed method is called Adaptive Tversky Policy Optimization, or ATPO. It combines an initial supervised fine-tuning stage with GRPO-based reinforcement learning. Its central idea is to dynamically change the penalties for false positives and false negatives during training, rather than keeping those penalties fixed from beginning to end.
The method’s base reward is the Tversky Index: it measures similarity between predicted and true label sets but assigns separate weights to the two error types. A higher penalty on false positives means higher precision; a higher penalty on false negatives means higher recall. These two numbers are the main lever for shaping model behavior.
The adaptive part, called ATR, does not keep that lever fixed. During training the model tracks the false-negative-to-false-positive ratio with an exponential moving average, and a simple controller shifts the weights at each step toward a pre-specified target ratio.
There are two versions of this control. G-ATR uses one shared target across all categories. C-ATR keeps a separate target and controller for each category, meaning sensitivity to missed content can be raised for one content type while the cost of incorrect flagging is increased for another.
This distinction matters from a product perspective, but it must be understood correctly. In the paper, ATPO is not real-time threshold adjustment at serving time. The targets change the reward structure and the model’s learning path during training. Any policy change therefore requires training, evaluation on held-out data, and renewed examination of model behavior.
The authors test the method on SafeWatch-Bench and XD-Violence. In the main SafeWatch-Bench setup, 11,036 training videos shorter than two minutes are used for fine-tuning and reinforcement learning, with evaluation on the 820-video real-world subset. For XD-Violence, 3,520 training videos shorter than five minutes and the full 800-video test set are used.
In the main results, the Qwen2.5-VL-7B backbone achieves a Jaccard Index of 40.66 on SafeWatch-Bench-Real. ATPO-G raises this to 75.44, while ATPO-C reaches 75.15. For the Qwen3-VL-8B backbone, Jaccard is reported to increase from 48.69 to 75.50 with G-ATR and to 74.63 with C-ATR.
These figures are results reported by the authors on those benchmarks and under those training settings. The paper also reports that ATPO models perform strongly on multi-label metrics and on a binary metric. However, these results do not establish that the method will work equally well for every language, video type, content policy, or operating environment.
The comparison of reward methods is another important part of the paper. Exact-match reward grants credit only when every label is correct, so it provides sparse feedback. Jaccard and static Tversky rewards provide better feedback for partially correct responses, but the paper reports that adaptive rewards outperform the fixed versions in its comparative experiments.
The controllability claim is tested by varying the target false-negative-to-false-positive ratio. In the global-control experiment on SafeWatch-Bench-Real, increasing the target increased precision and reduced recall. The error ratio also moved in the intended direction. By contrast, fixed Tversky weighting did not show consistent, predictable control in the same comparison.
For category-level control, the authors highlight misinformation and extremist content. In an asymmetric configuration, the misinformation target was set toward higher precision and the extremist-content target toward higher recall. The reported result is that the intended shifts occurred in those two categories, although those shifts came with precision-recall trade-offs.
The limitations are clear. Labels and category definitions come from existing benchmarks and may differ across laws, cultures, or platform policies. Choosing a target ratio is not a universal numerical choice. In addition, the paper does not report error bars or statistical significance tests for its main results, and the authors themselves note the computational cost of repeated training.
For an operational team, the useful takeaway is not to immediately replace human decisions with ATPO. The correct takeaway is that moderation policy should be written in the language of error costs. Before choosing a model, the team should define which error is more tolerable for each category, who reviews flagged material, and where the cost of each error appears in the process.
A hypothetical example: a system that queues reported videos for human review may want higher recall for violence so that fewer dangerous cases are missed. The same system may want higher precision for misinformation so that the review queue is not overloaded with incorrect alerts. This is a product and policy choice; the model merely needs to support it.
My practical recommendation has three concrete steps. Step one: for each content category, write one sentence in this exact format: “minimum precision X percent, minimum recall Y percent, and priority goes to which one.” Step two: train and evaluate two or three target configurations with different ratios on a real sample of your own data, not only on a public benchmark. Step three: before replacing your current model, compare each configuration’s results against your review team’s actual capacity and the cost of each error type in your product flow; do not decide on error ratio alone.
The research can be summarized simply: video safety detection should not be treated as a binary on-off switch. ATPO seeks to combine multi-label detection with control of error ratios during training, and its reported experiments show both performance improvement and directional precision-recall control. Its usage boundary is equally clear: it is an assistive tool in a moderation pipeline, not a replacement for human judgment or responsible policy-making.
اگر این موضوع شبیه مسئله واقعی کسبوکار توست، از چکاپ تصمیم شروع کن.
یک مسیر کوتاه برای روشنکردن مسئله، گلوگاه تصمیم و قدم بعدی؛ بدون فرم طولانی و بدون تعهد.