Unsupervised Pixel-Level Semantic Left-Right Understanding of In-the-Wild Images

Weikang Wang, Tobias Weißberg, Florian BernardarXiv 2026

TL;DR

Pix2LR is the first unsupervised learning framework for dense, pixel-level semantic left-right prediction in single-view, in-the-wild images. By cleverly pairing a modest dataset of 3D animal and human shapes with unannotated 2D images, the model learns to distinguish an object's left from its right side—even generalizing to entirely unseen categories like cars, trains, and digital art.

What Problem Does This Paper Address?

When we look at a photo of a dog or a car, we instantly know which side is its semantic "left" and which is its "right," regardless of the angle from which the photo was taken. For computer vision models, however, this is incredibly difficult.

While 3D data provides clear geometric boundaries, 2D "in-the-wild" images lack depth information and suffer from occlusions, complex boundaries, and varying poses. Existing solutions typically fall into two camps:

  1. Symmetry axis detection: These methods look for geometric balance but fail when objects are partially blocked or in asymmetric poses.
  2. Supervised keypoint matching: These methods work well but require intensive, manual pixel- or keypoint-level annotations.

While modern Vision Foundation Models (VFMs) like Stable Diffusion or DINO contain latent left-right awareness, this information is noisy and unstructured. The authors of this paper introduce Pix2LR to extract clean, dense, pixel-level left-right semantics from VFMs without requiring any manual training labels.

Fig. 1: We propose the first unsupervised pixel-level semantic left-right prediction framework for in-the-wild images, which is robust across diverse challenging settings.

Methods

The core innovation of Pix2LR is a hybrid training strategy that bridges 3D geometric priors with 2D image data through a shared, lightweight predictor network ($P_\Phi$).

Fig. 2: Overview of our pixel-wise semantic left-right prediction framework Pix2LR. We use a hybrid training dataset comprising of a medium-scale 3D shape dataset (mainly of human- and animal-like shapes), which we use to render images, together with an in-the-wild image dataset (of a broad class of object categories, e.g., including cars or aeroplanes). Rendered and in-the-wild images are both flipped horizontally to create images with roles of left and right swapped. Then we compute feature descriptors using a pretrained (and fixed) feature extractor for all images. These feature descriptors are then fed into the Predictor to predict left-right per pixel. To train Pix2LR, we combine 3D geometric losses defined on the 3D shape, together with an image-based loss that enforces symmetric consistency between the original and the flipped image.

Key components of the pipeline include:

  • Swapping the Order of Prediction and Aggregation: Prior 3D unsupervised methods (like $\chi$) map image features onto a 3D mesh surface before running a predictor. Because in-the-wild images don't have underlying 3D meshes, this path was blocked for real-world photos. Pix2LR solves this by predicting left-right values directly on the 2D pixel feature maps first. For 3D data, these pixel predictions are subsequently aggregated onto the mesh surface to compute 3D geometric losses.
  • Symmetric Consistency via Horizontal Flipping: Images (both rendered 3D views and real-world photos) are horizontally flipped and fed into a frozen VFM feature extractor. The network enforces a loss ensuring that the prediction of the flipped image is the exact inverse of the original image.
  • Unsupervised Loss Functions: The model is trained using a combination of 3D geometric losses (dissimilarity loss to separate left/right, total variation loss for spatial smoothness, and a fifty-fifty loss to balance the pixel distribution) alongside an image-based consistency loss for the in-the-wild data.

Datasets

The model utilizes a mix of 3D and 2D datasets for training and evaluation:

  • 3D Shapes: BeCoS (containing ~2,500 human-like and quadruped animal shapes) serves as the primary geometric prior. FAUST (100 human shapes) was used for ablation studies.
  • 2D Images: PF-Pascal (20 categories, 1,001 training images) and SPair-71k (18 categories, large pose variations) were used for in-the-wild training and testing.
  • New Benchmarks: Because standard 2D datasets lack left-right labels, the authors manually categorized the existing keypoints of PF-Pascal and SPair-71k into "left," "right," or "boundary" solely to establish a quantitative evaluation metric.

Key Insights and Ideas

  • Cross-Category Knowledge Transfer: Remarkably, training the model's 3D geometric prior exclusively on humans and four-legged animals provides enough structural grounding for the network to successfully deduce the left and right sides of completely unrelated, man-made objects like airplanes, cars, and typewriters.
  • The "Gravity Bias" of VFMs: The authors explicitly choose horizontal flipping over vertical or arbitrary axis flipping. This is because VFMs are trained heavily on upright images. Vertically flipping an image produces highly unreliable features from foundation models, whereas horizontal flipping preserves the "upright" context while cleanly mirroring chirality.
  • Resolving Ambiguity via Camera Perspective: For rotationally symmetric objects (like bottles or tables) where a true left/right doesn't exist geometrically, the model naturally defaults to an egocentric perspective—splitting the visible pixels evenly based on what is facing the camera.

Key Results

Pix2LR significantly outperforms competitive baselines (including GeoAware and optimized versions of $\chi$) in dense semantic accuracy:

  • On SPair-71k: Pix2LR achieved an average accuracy of 83.8%, outperforming the closest baseline, GeoAware, by nearly 20% (64.0%).
  • On PF-Pascal: The framework achieved an average accuracy of 86.8%, compared to GeoAware's 52.2% and $\chi_{BeCoS}$'s 77.3%.
  • Zero-Shot Generalization: The model proved highly robust to abstract image styles, successfully predicting left-right pixels on anime drawings and classical paintings without any fine-tuning.

Limitations and Future Work

Despite its success, Pix2LR encounters failure modes in specific scenarios:

  • Complex/Multiple Symmetries: Objects with complex geometries or multiple axes of symmetry (e.g., round tables or symmetrical bottles viewed from odd angles) can confuse the predictor.
  • Thin Structures: The model struggles to accurately resolve very fine, thin structures along the symmetry axis, such as bicycle handlebars or pedals.
  • Out-of-Distribution Poses: Extreme close-ups or highly unusual object orientations can lead to inconsistent pixel assignments.

The authors suggest that integrating instance-specific attention blocks or scaling up the diversity of the 3D shape categories could resolve these fine-grained limitations in future iterations.

Summary updated

BibTeX
@misc{wang2026unsupervised,
  author = {Weikang Wang and Tobias Weißberg and Florian Bernard},
  title = {{Unsupervised Pixel-Level Semantic Left-Right Understanding of In-the-Wild Images}},
  year = {2026},
  eprint = {2607.05006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.05006},
}
Figure