Downloads · 30 days
0
Parergon/Veil-tiny
Veil-tiny is a image segmentation model from Parergon. Use it for the image segmentation task on the model card, and read the license before you ship it in a product. It is set up for onnx.
Veil-tiny is a 321,305-parameter visual privacy model built by Parergon.
Downloads · 30 days
0
Access
Public
Updated Aug 7, 2026
Repo size
2.7 MB
Likes
0
Public
Click a slice to open those files.
.pt1.4 MB · 52%
From the Hugging Face model README
Veil-tiny is a 321,305-parameter visual privacy model built by Parergon.
It detects potentially sensitive regions directly from screenshots so they can be redacted locally, before the original image leaves the device.
No giant VLM. No cloud OCR round-trip. No sending the raw screenshot somewhere else just to decide what should have been hidden.
Screenshot
↓
Veil-tiny
↓
Sensitive-region mask
↓
Local redaction
↓
Sanitized screenshot
One tiny model. One job: decide what pixels should not leave your computer.
Real computer-use data is messy.
Screens can contain:
Large multimodal models can reason about screenshots.
But continuously running a giant model inside a lightweight desktop recorder is expensive, slow, and unnecessary.
Veil-tiny takes the opposite approach:
Make the privacy model extremely small and extremely specialized.
| Property | Veil-tiny |
|---|---|
| Parameters | 321,305 |
| Input | 384 × 384 RGB |
| Task | Binary sensitive-region segmentation |
| Output | Per-pixel sensitivity probability |
| Teacher | 1,224,497 parameters |
| Formats | PyTorch + ONNX |
Veil-tiny does not need to decide whether something is specifically an email, phone number, API key, or account ID.
It answers a narrower question:
Should these pixels be redacted?
That narrow objective is what allows the model to stay tiny.
Veil-tiny uses a compact visual segmentation network with:
The deployed student contains only 321K parameters.
Veil-tiny was trained from sensitive-region masks using WebPII and additional Parergon-generated desktop data.
An additional 10,000 generated desktop-style screenshots containing examples such as:
A 1.22M-parameter teacher supervises the 321K-parameter student alongside ground-truth masks.
Ground-truth masks ─────────────┐
↓
Screenshot → Teacher → Veil-tiny
1.22M 321K
The goal is simple:
Transfer useful visual behavior into a model small enough to run locally.
Evaluated on the held-out WebPII test set.
At a privacy-biased threshold of 0.10:
| Metric | Result |
|---|---|
| Precision | 74.70% |
| Recall | 86.83% |
| F1 | 80.31% |
| Strict leak-free rate | 33.32% |
| Threshold | Precision | Recall | F1 | Leak-free |
|---|---|---|---|---|
| 0.10 | 74.70% | 86.83% | 80.31% | 33.32% |
| 0.15 | 76.19% | 86.24% | 80.91% | 31.48% |
| 0.20 | 77.27% | 85.80% | 81.31% | 29.87% |
| 0.25 | 78.12% | 85.42% | 81.61% | 28.78% |
| 0.30 | 78.85% | 85.08% | 81.85% | 27.55% |
| 0.35 | 79.50% | 84.75% | 82.04% | 26.26% |
| 0.40 | 80.10% | 84.44% | 82.21% | 24.88% |
| 0.50 | 81.19% | 83.82% | 82.48% | 22.38% |
For privacy, maximizing ordinary F1 is not necessarily the best operating point.
Lower thresholds deliberately trade some precision for higher sensitive-region coverage.
We use a deliberately unforgiving metric.
A screenshot only counts as leak-free when essentially all annotated sensitive regions are covered.
Missing a visible portion of even one sensitive region can fail the entire screenshot.
A privacy model should not get credit for blurring most of your API key.
Veil produces a dense sensitivity probability map.
0.02 → probably safe
0.18 → suspicious
0.91 → likely sensitive
That map becomes a redaction mask.
Screenshot
↓
Veil-tiny
↓
Probability map
↓
Threshold
↓
Redaction mask
The operating point can be tuned depending on how aggressively the system should redact.
Lower threshold → more paranoid
Higher threshold → more selective
Veil-tiny can be too paranoid on complex desktop interfaces.
On unseen applications it may incorrectly redact ordinary information-dense regions such as:
In other words, sometimes a tiny model learns:
lots of text = suspicious
instead of perfectly learning:
this particular information is private
We're publishing that limitation instead of pretending the problem is solved.
veil_tiny.ptPyTorch checkpoint for research and experimentation.
veil_tiny.onnxPortable ONNX model for lightweight local inference.
Veil-tiny is designed for research and experimentation around:
Veil-tiny is a research model, not a privacy guarantee.
It can miss sensitive content and should not currently be used as the sole privacy or security control protecting private information.
A visual privacy model for screen capture should be able to run where the screenshots are created.
321,305 parameters. Visual privacy before upload.
Built by Parergon.