Red Hat tests two vision checks for image uploads with NeMo Guardrails
An OpenShift AI proof of concept separates checks for readable personal data from checks for instructions embedded in images, and shows why teams need benign controls.
A Nov. 25 Red Hat Developer proof of concept puts vision-based checks in front of a multimodal application on an OpenShift AI 3.6 EA2 cluster. A text-only filter can inspect what a user types without ever seeing what the user uploads. The demo uses NeMo Guardrails to inspect the image before it reaches the application’s main model.
Two checks, two policies
One input check looks for legible personal information. The other looks for instructions addressed to the assistant rather than to the document’s human reader. Both use NeMo’s built-in input checks with separate policy prompts. An unsafe verdict from either check stops the request. The side-by-side web interface is part of the demo, not a feature of NeMo Guardrails or OpenShift AI.
The walkthrough shows why it is worth verifying that the image survives the entire request path. During development, prompt formatting stripped the image from a judge’s input, leaving it to assess only the text. A separate formatting issue meant that an allowed request could reach the main model without the attachment. A working text response was not evidence that either model could see the image.
What the results do and do not show
In the vLLM-backed OpenShift AI run, Qwen3-VL-8B-Instruct flagged four of five synthetic personal-data images and all five images containing test instructions. It also let all six benign controls pass. The missed personal-data example was a test badge. The author cautions that the set was small, the examples were synthetic, and some policy tuning used examples that had already been seen. This is a demonstration, not a benchmark or evidence of production reliability.
The author also reports that an earlier reasoning model took 20 to 50 seconds per image in local tests. A short output budget sometimes cut off its verdict entirely and led the check to reject clean inputs. For teams evaluating the pattern, benign controls matter as much as blocked examples: confirm that both models receive attachments, measure latency and truncated verdicts separately from content blocks, and evaluate on images held back from policy tuning.
sources
- Securing multimodal AI with NeMo Guardrails and vision modelsdevelopers.redhat.com
comments · 0