--- pretty_name: Semantic Apertures license: cc-by-4.0 task_categories: - image-classification tags: - image - computer-vision - benchmark - shape-recognition - shape-bias - texture-bias - visual-robustness - object-recognition - hidden-shape-recognition - visual-perception - vision-language-models - representation-learning - linear-probing ---

Semantic Apertures

Recognizing Structure Under Competing Visual Content

Kianoosh Vadaei* · Melika Shirian* · Mohammad Sabokrou

* Equal contribution.

Hugging Face dataset Dataset viewer Visual recognition Repository license CC BY 4.0

Full benchmark: 14,400 composites 600 source photographs 100 object categories

> **What happens when an object's shape suggests one identity, but the visual content inside it belongs to another scene?** Semantic Apertures is a synthetic, mirror-inspired computer vision benchmark designed to investigate structural recognition under competing visual content. An object-derived aperture reveals independently assigned scene appearance through heavy fog: the geometry suggests a target object, while the visible appearance comes from a carrier scene. The benchmark supports controlled studies of shape recognition, visual robustness, spatial configuration, and the accessibility of category information in visual representations. It complements conventional corruption and cue-conflict benchmarks by explicitly varying the aperture geometry and transmitted appearance.

Semantic Apertures construction pipeline and controlled variations: source object, segmentation, nested apertures, mirror and carrier assets, and final composite

Benchmark construction and controlled variations, reproduced from Figure 2 of the accompanying manuscript.

**Navigate:** [Overview](#benchmark-at-a-glance) · [Construction](#dataset-construction) · [Access](#getting-started) · [Results](#reported-benchmark-results) · [Limitations](#limitations-and-responsible-use) · [Citation](#citation) ## Benchmark at a glance The complete experimental benchmark described in the manuscript consists of **14,400 final composites** generated from **600 source photographs** spanning **100 ImageNet categories**. | Benchmark component | Count / specification | | :--- | :--- | | Source photographs | 600 | | Object categories | 100 | | Source photographs per category | 6 | | Aperture levels | 3 (B0, B1, B2) | | Mirror assignments per source | 2 | | Carrier assignments per source | 4 | | Final composites per source | 24 | | Final composites in the full benchmark | 14,400 | | Mirror/context asset bank | 45 | | Carrier asset bank | 30 images across 10 categories | | Frozen recognition checkpoints evaluated | 8 | | Selected images in human study | 500 | | Human judgments | 2,550 | **Release scope.** The counts above describe the full benchmark used in the paper, not necessarily every file currently hosted in this repository. The public Dataset Viewer currently displays 10,000 rows in a split named `train`. Consult [Files and versions](https://huggingface.co/datasets/smntccccc/semantic_apertures/tree/main) and the [Dataset Viewer](https://huggingface.co/datasets/smntccccc/semantic_apertures/viewer) for the available release. The diagnostic views, source manifests, intervention data, and human-study tables described in the paper should not be assumed to be included unless explicitly listed in the repository. ### Category composition | Category group | Categories | Source photographs | Final composites | | :--- | ---: | ---: | ---: | | Animals | 45 | 270 | 6,480 | | Vehicles | 15 | 90 | 2,160 | | Devices | 20 | 120 | 2,880 | | Household objects | 15 | 90 | 2,160 | | Food | 5 | 30 | 720 | | **Total** | **100** | **600** | **14,400** | Counts are for the complete experimental design and follow from six sources and 24 final renders per source. ## Dataset construction ### 1. Source objects and structural apertures Source photographs are selected from the ImageNet validation set using ImageNet-S segmentation masks. Selection prioritizes segmentation geometry rather than model confidence. Three nested binary apertures (B0, B1, B2) are derived from object silhouettes, darkness, local contrast, and edge information. The aperture levels progressively retain more structural support in source coordinates. After placement, scale and transmitted carrier area may also change, so the levels should not be interpreted as manipulating contour detail alone. ### 2. Mirror-inspired rendering Each target-derived aperture is placed within a mirror's glass region. The aperture determines **where** the carrier is revealed, while the independently assigned carrier determines **what** appears there. The final image is rendered under a fixed heavy-fog condition, with edge and glass treatments. The mirror/context and carrier assets were generated using a text-to-image model and frozen for the experimental pipeline. This is a synthetic rendering procedure, not a physical simulation of reflection optics. ### 3. Balanced compositions Each source photograph receives three aperture levels, two mirror assignments, and four carrier assignments, yielding: **600 sources × 3 aperture levels × 2 mirrors × 4 carriers = 14,400 final composites.** The complete benchmark uses balanced assignments across mirror and carrier factors, allowing paired comparisons at fixed source geometry or fixed rendering conditions. ### 4. Diagnostic recognition views The paper evaluates the following views; counts refer to the experimental benchmark, not verified Hub configurations. | View | Description | Images in study | | :--- | :--- | ---: | | Original | Original source photograph | 600 | | Object Gray | Segmented photographic object on gray | 600 | | Shape-only | Isolated black structural aperture on gray | 1,800 | | Final | Carrier-filled mirror-inspired composite | 14,400 | A separate matched construction ladder uses one B1 assignment per source (600 sources) across five stages: Shape-only B1, Placed shape, Fog with gray carrier, Context removed, and Final matched.

Five matched construction stages and top-1 recognition accuracy across eight checkpoints, showing a large decline at the heavy fog stage

Matched construction ladder (Figure 1 of the manuscript). Shaded regions show 95% hierarchical bootstrap confidence intervals.

## Getting started ### Explore the images Use the interactive [Dataset Viewer](https://huggingface.co/datasets/smntccccc/semantic_apertures/viewer) to browse the public images directly in the browser, or inspect [Files and versions](https://huggingface.co/datasets/smntccccc/semantic_apertures/tree/main) to view the available files. ### Load with Hugging Face Datasets ```bash pip install -U datasets pillow ``` ```python from datasets import load_dataset # Load the public repository without downloading every image at once. dataset = load_dataset( "smntccccc/semantic_apertures", split="train", streaming=True, ) sample = next(iter(dataset)) print("Available fields:", list(sample.keys())) print("Image size:", sample["image"].size) # In a notebook: display(sample["image"]) ``` To download and cache the split locally: ```python from datasets import load_dataset dataset = load_dataset("smntccccc/semantic_apertures", split="train") print(dataset) print(dataset.features) ``` ### Download repository files ```bash pip install -U huggingface_hub hf download smntccccc/semantic_apertures --repo-type dataset --local-dir semantic_apertures ``` ### Public dataset structure The Hub currently identifies this release as an `imagefolder` dataset and displays an `image` field. Inspect the returned features and repository contents before assuming the availability of target labels, source IDs, mirror/carrier IDs, or other experimental metadata. The `train` split name is a repository loading convention; it is **not** a claim that the images are intended for training or that they form the training folds used in the paper. Reproducing supervised evaluation requires verified target labels and source-level grouping information. ## Intended uses and evaluation Semantic Apertures is primarily designed as a **research and diagnostic evaluation benchmark**, rather than a large-scale training corpus. Suitable research directions include: - Shape recognition and hidden-shape perception under competing visual content. - Visual robustness to altered contrast, appearance, and scene composition. - Geometry and carrier dependence through controlled paired interventions. - Cross-view readout transfer and category decodability of frozen visual features. - Vision-language model evaluation and carefully matched human–model comparisons. For research using the full benchmark, retain source-photo grouping: renders of the same photograph are repeated observations, not independent samples. Use source-disjoint train/validation/test partitions for supervised probes. The paper uses six source-disjoint rotations with 400/100/100 sources for training, validation, and testing, respectively. Shared rendering assets across rotations limit generalization claims. Evaluation settings in the manuscript include native ImageNet-1000 recognition, restricted 100-category recognition, paired interventions, linear probes, and a separate ten-choice human/VLM protocol. These label spaces and protocols must not be conflated. ## Reported benchmark results These are results reported in the accompanying manuscript for the experimental benchmark; they are not results automatically computed from the current Hub split. ### Native visual recognition Native ImageNet-1000 top-1 accuracy (%), rounded as in Table 1 of the manuscript: | Model | Original | Object Gray | Shape-only | Final | | :--- | ---: | ---: | ---: | ---: | | ResNet-50 | 91.0 | 90.3 | 32.2 | 1.6 | | Robust RN50 | 81.3 | 72.3 | 12.4 | 0.2 | | ViT-B/16 | 89.7 | 88.3 | 31.8 | 2.0 | | ConvNeXt-B | 93.2 | 91.3 | 41.2 | 2.2 | | SIN RN50 | 76.0 | 67.0 | 21.3 | 0.7 | | DINOv2-B/14 | 92.8 | 91.3 | 55.4 | 6.1 | | CLIP-B/16 | 80.7 | 76.5 | 40.8 | 5.9 | | SigLIP2-B/16 | 91.0 | 90.0 | 65.1 | 23.1 | Recognition largely survives placement but drops sharply at the heavy-fog/gray-carrier stage, before photographic carrier content appears. Because fog, contrast, and appearance change together, this is not evidence that any single factor independently causes the entire decline. ### Representation diagnostics | Diagnostic | Reported result | | :--- | :--- | | Shape-trained probe on Shape-only | 55.67–83.17% | | Same unchanged probe on Final | 1.33–12.21% | | Best separately fitted Final-trained probe | 36.35% (DINOv2) | The probe results distinguish the portability of a readout across views from the accessibility of category information within Final images. They do not establish that the recovered information is exclusively geometric. ### Human and vision-language model recognition

Reported target and carrier recognition across the Original, Placed Shape-only, Final and clean-carrier conditions for two vision-language endpoints

Target and carrier recognition under composition (Figure 4 of the manuscript).

| Evaluator | Final-target accuracy on 498 common images | | :--- | ---: | | GPT-6 Luna (`gpt-6-luna`) | 51.6% | | Human responses | 69.9% | | Gemini 3.8 Flash (`gemini-3.8-flash`) | 79.3% | The separate human study covers 500 selected Final images, with 51 complete response records and 2,550 judgments. Image-macro accuracy across all 500 images is **69.83%**. The common-cohort comparison uses 498 images and the same ten target options, but prompts, response counts, and aggregation differ. The evaluated VLM identifiers are provider-hosted aliases, not pinned model checkpoints. ## Limitations and responsible use - **Synthetic setting:** The benchmark uses generated mirror/context and carrier assets and one fixed heavy-fog configuration. Findings should not be generalized directly to real mirrors or all low-visibility conditions. - **Multiple visual factors:** Geometry controls preserve area but do not match every low-level image property. Carrier swaps also affect fog appearance unless a locked-fog control is used. - **Dependence and generalization:** Renders share sources and finite asset banks. The exploratory source-and-asset-disjoint evaluation uses only 32 sources. - **Human evaluation:** The 500-image subset was selected rather than a random sample of all renders; individual images received 3–11 judgments, and uniqueness of participants across forms was not verified. There is no human Shape-only baseline. - **Human research ethics:** The paper reports informed consent and no formal institutional ethics review. Human-study records should be shared only in suitably deidentified form and subject to applicable permissions. - **Scope of conclusions:** Category decodability does not prove geometry-specific representation, and recognition differences do not establish a uniform human–machine gap or isolated semantic interference. - **Not intended for safety-critical certification:** Performance on this synthetic benchmark alone is not sufficient to validate a system for real-world deployment. ## Data provenance and licensing Source photographs and segmentation masks originate from ImageNet and ImageNet-S, respectively. The mirror/context and carrier banks were generated from text prompts and reused as frozen assets. See the accompanying manuscript for the selection, generation, rendering, and evaluation procedures. This repository is currently marked **CC BY 4.0**. That designation applies only to materials that the dataset contributors are authorized to license. It does not override third-party rights, ImageNet/ImageNet-S usage conditions, or applicable terms for generated assets. Users should comply with all relevant source-specific conditions; attribution alone may not grant redistribution rights. ## Citation If you use Semantic Apertures, please cite the accompanying work. Until the preprint has a public arXiv identifier, the following dataset-linked reference can be used: ```bibtex @misc{vadaei2026semanticapertures, title = {Semantic Apertures: Recognizing Structure Under Competing Visual Content}, author = {Vadaei, Kianoosh and Shirian, Melika and Sabokrou, Mohammad}, year = {2026}, url = {https://huggingface.co/datasets/smntccccc/semantic_apertures} } ``` ## Contact For research questions, feedback, or issues with the dataset, use the [Community tab](https://huggingface.co/datasets/smntccccc/semantic_apertures/discussions). ---

Semantic Apertures
Studying what visual models recognize when structure and appearance compete.