ghost-plantain probe results README
Browse files
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: black-forest-labs/FLUX.2-klein-base-4B
|
| 5 |
+
library_name: diffusers
|
| 6 |
+
tags:
|
| 7 |
+
- interpretability
|
| 8 |
+
- per-head-attention
|
| 9 |
+
- paired-prompt-probe
|
| 10 |
+
- flux2
|
| 11 |
+
- vision-banana
|
| 12 |
+
- arxiv:2604.20329
|
| 13 |
+
pipeline_tag: image-to-image
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# ghost-plantain
|
| 17 |
+
|
| 18 |
+
A per-head attention probe of FLUX.2 Klein 4B testing whether the base model represents amodal completion (the entire object including its occluded extent) as a separable axis from modal description (visible portion only) on identical occluder relationships.
|
| 19 |
+
|
| 20 |
+
## Thesis
|
| 21 |
+
|
| 22 |
+
Amodal completion — the perceptual operation of inferring an object's full extent from its partial visibility — is a primitive of biological vision long predating deep learning. Whether image-generation models recover an explicit modal/amodal distinction at the representational level is a more specific question than whether they can render hidden portions of objects on demand. ghost-plantain tests whether Klein has a per-head representational axis that systematically responds to the modal-vs-amodal scope of a request, on otherwise identical scene descriptions.
|
| 23 |
+
|
| 24 |
+
## Method
|
| 25 |
+
|
| 26 |
+
Twenty-five paired prompts holding the depicted scene constant. The A condition (modal) describes the visible portion only ("show only the visible part of the apple behind the cup"). The B condition (amodal) requests the entire object including the occluded extent ("show the entire apple including the part hidden behind the cup"). Per-head capture protocol identical to the rest of the plantain probe family.
|
| 27 |
+
|
| 28 |
+
Rigor add-ons: per-head Cohen's d effect size; split-half consistency via 100 random 50/50 stimulus splits.
|
| 29 |
+
|
| 30 |
+
## Results
|
| 31 |
+
|
| 32 |
+
| Metric | Value | Significance |
|
| 33 |
+
|--------------------------------|-----------------|---------------------------|
|
| 34 |
+
| Heads with \|t\| > 3 | 6,399 (39.2%) | 8.7× empirical null p99 |
|
| 35 |
+
| Heads with \|t\| > 5 | 2,537 (15.6%) | 507× empirical null p99 |
|
| 36 |
+
| Heads with \|d\| > 0.8 (large) | 4,128 (25.3%) | — |
|
| 37 |
+
| Split-half r (median) | 0.833 | [0.82, 0.84] IQR |
|
| 38 |
+
| Max \|t\| | 29.63 | — |
|
| 39 |
+
|
| 40 |
+
**Top blocks by max \|t\|:**
|
| 41 |
+
- joint[4]: max\|t\|=29.63, 132/192 heads at \|t\|>3, median \|d\|=1.06
|
| 42 |
+
- single[0]: max\|t\|=24.98, 406/768 heads at \|t\|>3, median \|d\|=0.65
|
| 43 |
+
- joint[2]: max\|t\|=24.97, 127/192 heads at \|t\|>3, median \|d\|=1.21
|
| 44 |
+
- joint[3]: max\|t\|=23.95, 139/192 heads at \|t\|>3, median \|d\|=1.10
|
| 45 |
+
- joint[1]: max\|t\|=22.52, 130/192 heads at \|t\|>3, median \|d\|=0.92
|
| 46 |
+
|
| 47 |
+
**Interpretation.** The axis is strong (507× null at |t|>5) and highly stable (split-half r=0.83). Signal concentrates in joint MMDiT blocks (4 of the top 5 are joint), the cross-attention surface where text-image fusion occurs — consistent with the modal/amodal distinction being routed primarily through how the request modifies the text-image binding, not through a downstream image-only computation. The joint-block median Cohen's d ≥ 1.0 across the top blocks indicates that within those blocks the modal/amodal distinction is the dominant feature partition, not just one signal among many. A quarter of all 16,320 attention heads in the model show large-effect-size selectivity for this axis.
|
| 48 |
+
|
| 49 |
+
## Status
|
| 50 |
+
|
| 51 |
+
Probe complete. No LoRA training; this is a base-model interpretability finding.
|
| 52 |
+
|
| 53 |
+
## Limitations
|
| 54 |
+
|
| 55 |
+
The amodal phrasing ("the entire object including the hidden part") is linguistically marked; the modal phrasing ("the visible portion only") is a partial description. A residual contributor to the per-head signal could be the model encoding "complete vs. partial scope of request" rather than amodal completion specifically. A follow-up could pair an amodal request against a different complete-scope description (e.g., "the visible portion of the apple from a different angle") to disentangle.
|
| 56 |
+
|
| 57 |
+
Twenty-five pairs is small; the per-head t-vector reproducibility (r=0.83) is high but a larger pair count would tighten estimates.
|
| 58 |
+
|
| 59 |
+
The probe is correlational.
|
| 60 |
+
|
| 61 |
+
## License
|
| 62 |
+
|
| 63 |
+
Apache 2.0 — matches base FLUX.2 Klein 4B.
|
| 64 |
+
|
| 65 |
+
## References
|
| 66 |
+
|
| 67 |
+
- Gabeur, V., Long, S., Peng, S., et al. *Image Generators are Generalist Vision Learners.* [arXiv:2604.20329](https://arxiv.org/abs/2604.20329) (2026).
|
| 68 |
+
- Black Forest Labs. *FLUX.2 Klein.* https://bfl.ai/models/flux-2-klein (2025).
|