Sync current model card and assets
Browse files- .gitattributes +3 -0
- README.md +3 -0
- assets/baseline-examples/univfd-flip-clean.jpg +3 -0
- assets/baseline-examples/univfd-flip-transformed.jpg +3 -0
- assets/baseline-examples/univfd-transform-flip.csv +3 -0
- assets/baseline-examples/univfd-transform-flip.json +27 -0
- assets/baseline-examples/univfd-transform-flip.png +3 -0
.gitattributes
CHANGED
|
@@ -38,3 +38,6 @@ assets/error-analysis/composed-false-negative-transformed.jpg filter=lfs diff=lf
|
|
| 38 |
assets/error-analysis/crop-false-negative-clean.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
assets/error-analysis/crop-false-negative-transformed.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
assets/RobostFakeArchitecture.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
assets/error-analysis/crop-false-negative-clean.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
assets/error-analysis/crop-false-negative-transformed.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
assets/RobostFakeArchitecture.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/baseline-examples/univfd-flip-clean.jpg filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
assets/baseline-examples/univfd-flip-transformed.jpg filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
assets/baseline-examples/univfd-transform-flip.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
|
| 2 |
# RobustFake
|
| 3 |
|
|
|
|
| 4 |
[GitHub](https://github.com/ParrotG/RobustFake) 路 [Hugging Face Model](https://huggingface.co/ParrotG/RobustFake)
|
| 5 |
|
| 6 |
## Problem and Solution
|
|
@@ -9,6 +10,8 @@ Generative image systems can produce realistic synthetic media at scale, while o
|
|
| 9 |
|
| 10 |
RobustFake addresses this problem with a frozen CLIP ViT-B/16 visual encoder and a compact trainable forensic head. It combines global context with local evidence, fuses semantic and intermediate transformer representations, incorporates fixed residual statistics, and trains on paired clean/degraded views whose spatial geometry is shared. A diverse, leakage-audited training pool and separate in-distribution/domain-generalisation validation roles reduce dependence on a single generator or real-image source. Post-training affine calibration corrects global confidence bias without changing the detector ranking or using the official demonstration set for fitting.
|
| 11 |
|
|
|
|
|
|
|
| 12 |
### Project Snapshot
|
| 13 |
|
| 14 |
| Category | Selection |
|
|
|
|
| 1 |
|
| 2 |
# RobustFake
|
| 3 |
|
| 4 |
+
TikTok TechJam 2026
|
| 5 |
[GitHub](https://github.com/ParrotG/RobustFake) 路 [Hugging Face Model](https://huggingface.co/ParrotG/RobustFake)
|
| 6 |
|
| 7 |
## Problem and Solution
|
|
|
|
| 10 |
|
| 11 |
RobustFake addresses this problem with a frozen CLIP ViT-B/16 visual encoder and a compact trainable forensic head. It combines global context with local evidence, fuses semantic and intermediate transformer representations, incorporates fixed residual statistics, and trains on paired clean/degraded views whose spatial geometry is shared. A diverse, leakage-audited training pool and separate in-distribution/domain-generalisation validation roles reduce dependence on a single generator or real-image source. Post-training affine calibration corrects global confidence bias without changing the detector ranking or using the official demonstration set for fitting.
|
| 12 |
|
| 13 |
+

|
| 14 |
+
|
| 15 |
### Project Snapshot
|
| 16 |
|
| 17 |
| Category | Selection |
|
assets/baseline-examples/univfd-flip-clean.jpg
ADDED
|
Git LFS Details
|
assets/baseline-examples/univfd-flip-transformed.jpg
ADDED
|
Git LFS Details
|
assets/baseline-examples/univfd-transform-flip.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
record_id,ground_truth,scenario,model,threshold,clean_score,transformed_score,clean_correct,transformed_correct
|
| 2 |
+
79e97b6afe9816b0f579f601cd458eeb3b182d428c4a9c5f01627aabf4f0f8ce,AI-generated,resize_0.25,UnivFD,0.5,0.9519526958465576,0.12710987031459808,True,False
|
| 3 |
+
79e97b6afe9816b0f579f601cd458eeb3b182d428c4a9c5f01627aabf4f0f8ce,AI-generated,resize_0.25,RobustFake,0.5664157562145263,0.9930369257926941,0.9916226267814636,True,True
|
assets/baseline-examples/univfd-transform-flip.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"clean_preview": "assets/baseline-examples/univfd-flip-clean.jpg",
|
| 3 |
+
"ground_truth": "AI-generated",
|
| 4 |
+
"image_path": "images/fake/79e97b6afe9816b0f579f601cd458eeb3b182d428c4a9c5f01627aabf4f0f8ce.jpg",
|
| 5 |
+
"label": 1,
|
| 6 |
+
"models": {
|
| 7 |
+
"RobustFake": {
|
| 8 |
+
"clean_correct": true,
|
| 9 |
+
"clean_score": 0.9930369257926941,
|
| 10 |
+
"threshold": 0.5664157562145263,
|
| 11 |
+
"transformed_correct": true,
|
| 12 |
+
"transformed_score": 0.9916226267814636
|
| 13 |
+
},
|
| 14 |
+
"UnivFD": {
|
| 15 |
+
"clean_correct": true,
|
| 16 |
+
"clean_score": 0.9519526958465576,
|
| 17 |
+
"threshold": 0.5,
|
| 18 |
+
"transformed_correct": false,
|
| 19 |
+
"transformed_score": 0.12710987031459808
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"preview_protocol": "Canonical RGB followed by the deterministic shared resize scenario. RobustFake additionally applies its label-independent standardization and views.",
|
| 23 |
+
"record_id": "79e97b6afe9816b0f579f601cd458eeb3b182d428c4a9c5f01627aabf4f0f8ce",
|
| 24 |
+
"scenario": "resize_0.25",
|
| 25 |
+
"scenario_label": "Resize to 25%, then upscale",
|
| 26 |
+
"transformed_preview": "assets/baseline-examples/univfd-flip-transformed.jpg"
|
| 27 |
+
}
|
assets/baseline-examples/univfd-transform-flip.png
ADDED
|
Git LFS Details
|