From "What-If" to "What-Is": Counterfactual Thinking-Inspired Semantic Alignment for Visual Brain Decoding
Organizations: Faculty of Data Science, City University of Macau · Zhongshan Ophthalmic Center, Sun Yat-sen University
Abstract
Visual brain decoding reconstructs visual content perceived by a person from neural measurements such as fMRI, providing a computational approach to studying how visual information is represented in the brain. Recent multimodal representations and diffusion priors have improved reconstruction realism. However, visually plausible reconstructions may contain incorrect objects, attributes, or relations because a strong generative prior can complete content not sufficiently specified by the decoded representation. Conventional reconstruction metrics mainly assess the final image and may therefore obscure such semantic errors. We propose ConceptAlign, a counterfactual semantic alignment framework for visual brain decoding. ConceptAlign pools decoded visual tokens and projects them into a frozen text-embedding space, aligning the representation with the ground-truth caption while separating it from scene-preserving near-miss alternatives. Generated offline by an LLM, these alternatives modify one critical object, attribute, or relation while retaining the scene. A margin-based objective learns fine-grained semantic boundaries between the observed stimulus and plausible but incorrect interpretations without requiring LLM calls during inference. We introduce a systematic three-level semantic evaluation framework covering foundational discriminability, counterfactual description discrimination, and representational geometry. Experiments on the Natural Scenes Dataset show that ConceptAlign improves reconstruction measures, counterfactual semantic discrimination, and representational alignment over the MindEye2 backbone. Matched negative-source ablations, independent LLM and human-written alternatives, and human evaluation support the effectiveness and robustness of the supervision, with favorable patterns in fine-grained conflicts, limited-data decoding, and cross-subject structure.
Figures & tables
| Low-Level | High-Level | Semantic Evaluation | ||||||||
| Method | PixCorr | SSIM | Alex2 | Alex5 | Inc. | CLIP | SwAV | CCD-H | 2AFC-B2I | RSA |
| Comparison with existing methods | ||||||||||
| MindEye2 (ICML 2024) | 37.40% | 43.90% | 97.82% | 99.10% | 96.15% | 93.56% | 33.80% | 62.30% | 98.40% | 28.05% |
| Flat-to-Round (ICCVW 2025) | 16.50% | 30.50% | 78.20% | 89.00% | 85.10% | 88.30% | 39.80% | – | – | – |
| MindTuner (AAAI 2025) | 32.20% | 42.10% | 95.80% | 98.80% | 95.60% | 93.80% | 34.00% | – | – | – |
| ZEBRA (NeurIPS 2025) | 13.10% | 37.50% | 74.60% | 81.20% | 72.20% | 71.50% | 50.60% | – | – | – |
| Negative source | Margin sensitivity | ||||
|---|---|---|---|---|---|
| Variant | Source | Cos. (%) | CCD@1 (%) | Ret.@1 (%) | |
| Positive-only | None | – | .05 | 59.20 | 17.00 |
| Random | Random COCO | 34.83 | .10 | 63.60 | 18.00 |
| CLIP-NN | Nearest CLIP | 81.62 | .20 | 62.10 | 18.00 |
| ConceptAlign | CF near-miss | .50 | 61.00 | 16.00 | |
| Human audit ( ) | |||||
| Scene preserved (%) | 97.90 | Near-miss score (1–5) | 3.55 | ||
| Explicit negation (%) | 0.20 | Harmful/bias (%) | 0.00 | ||
| Independent evaluation (Acc@1, %) | |||||
| Set | N | Ours | Ref. | (pp) | 95% CI (pp) |
| Cross-LLM | 979 | 35.24 | 36.06 | -0.82 | |
| Human-written | 100 | 58.00 | 61.00 | -3.00 | |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Item | Value |
|---|---|
| Negatives / images | 534 / 178 |
| Annotators | 3 |
| Total ratings | 1,602 |
| Task | Rate each caption by dimension |
| Use in training | No |
| Metric (%) | Ours | C1 | C2 | C3 |
|---|---|---|---|---|
| PixCorr | 39.30 | 27.26 | 27.05 | 27.43 |
| SSIM | 44.50 | 22.13 | 22.41 | 23.39 |
| AlexNet L2 | 97.70 | 49.32 | 49.37 | 48.84 |
| AlexNet L5 | 99.30 | 43.60 | 43.94 | 43.66 |
| Variant | Negative source | Cosine (%) |
|---|---|---|
| C1: Ours w/o counterfactual | None | – |
| C2: Ours + random negative | Random COCO caption | 34.83 |
| C3: Ours + CLIP-nearest | Nearest CLIP caption | 81.62 |
| Ours (ConceptAlign) | Counterfactual near-miss |
| Metric | Comparison | (pp) | CI low (pp) | CI high (pp) |
|---|---|---|---|---|
| CCD-H | Ours–C1 | -0.34 | -2.69 | 2.13 |
| CCD-H | Ours–C2 | -0.11 | -2.58 | 2.36 |
| CCD-H | Ours–C3 | 0.11 | -2.36 | 2.47 |
| 2AFC B2I | Ours–C1 | 0.61 | -1.12 | 2.34 |
| 2AFC B2I | Ours–C2 | 0.31 | -1.43 | 2.14 |
| 2AFC B2I | Ours–C3 | 0.71 | -1.02 | 2.55 |
| S | Model | F@1 (%) | F@5 (%) | B@1 (%) | B@5 (%) |
|---|---|---|---|---|---|
| 1 | MindEye2 | 15.00 | 41.00 | 5.00 | 13.00 |
| 1 | Ours | 18.00 | 45.00 | 8.00 | 26.00 |
| 2 | MindEye2 | 16.00 | 41.00 | 4.00 | 14.00 |
| 2 | Ours | 14.00 | 41.00 | 7.00 | 23.00 |
| 5 | MindEye2 | 38.00 | 74.00 | 22.00 | 52.00 |
| 5 | Ours | 21.00 | 54.00 | 16.00 | 42.00 |
| Subj | Model | B I (%) | I B (%) |
|---|---|---|---|
| 1 | MindEye2 | 97.80 | 84.70 |
| 1 | Ours | 98.40 | 96.40 |
| 2 | MindEye2 | 97.70 | 85.00 |
| 2 | Ours | 98.10 | 96.10 |
| 5 | MindEye2 | 99.50 | 98.10 |
| 5 | Ours | 98.90 | 98.30 |
| Type (N) | S | MindEye2 (%) | Ours (%) | Higher |
|---|---|---|---|---|
| Object (682) | 1 | 58.50 | 65.00 | Ours |
| Object (682) | 2 | 61.30 | 63.90 | Ours |
| Attribute (182) | 1 | 56.60 | 57.70 | Ours |
| Set | N | Ours (%) | C1 (%) | C2 (%) | C3 (%) |
|---|---|---|---|---|---|
| Cross-LLM K2 | 979 | 35.24 | 35.04 | 36.06 | 35.75 |
| Human-written | 100 | 58.00 | 59.00 | 59.00 | 61.00 |
| Human-audited | 178 | 78.09 | 74.72 | 78.09 | 71.91 |
| Set | Comparison | (pp) | CI low (pp) | CI high (pp) |
|---|---|---|---|---|
| Cross-LLM | Ours–C1 | +0.20 | -2.04 | +2.35 |
| Cross-LLM | Ours–C2 | -0.82 | -3.17 | +1.53 |
| Cross-LLM | Ours–C3 | -0.51 | -3.47 | +2.35 |
| Human-written | Ours–C1 | -1.00 | -7.00 | +5.00 |
| Human-written | Ours–C2 | -1.00 | -7.00 | +5.00 |
| Human-written | Ours–C3 | -3.00 | -11.00 | +4.00 |
| Dimension | Result | N |
|---|---|---|
| Scene preserved | 97.90% | 534 |
| Implausible replacement (majority) | 6.90% | 533 |
| Near-miss mean / median | 3.55 / 3.67 | 534 |
| Invalid edit type | 0.00% | 527 |
| Other edit type | 0.00% | 527 |
| Explicit negation | 0.20% | 534 |
| Dimension | Pairwise (%) | Unanimous (%) |
|---|---|---|
| Scene preservation | 83.35 | 75.00 |
| Semantic plausibility | 79.49 | 69.25 |
| Edit type | 68.59 | 53.48 |
| No explicit negation | 98.49 | 97.74 |
| Harmful/bias flag | 99.24 | 98.85 |
| Metric | MindEye2 (%) | Ours (%) | (pp) |
|---|---|---|---|
| 2AFC I B | |||
| 2AFC B I | |||
| CCD-H | |||
| RSA Pearson |
| Subj / (pp) | 1 | 2 | 5 | 7 |
|---|---|---|---|---|
| 1 | – | +6.50 | +7.63 | +8.88 |
| 2 | +6.50 | – | +6.10 | +6.87 |
| 5 | +7.63 | +6.10 | – | +5.67 |
| 7 | +8.88 | +6.87 | +5.67 | – |
Neural Decoding
Neural decoding maps brain activity or error-correction syndromes to stimuli, behavior, language, or corrective actions.
See all 180 papers