pith. sign in

arxiv: 2606.20886 · v1 · pith:HIWA6JAKnew · submitted 2026-06-18 · 💻 cs.CV

Toward Parking Spot Occupancy Recognition: A Self-Supervised Approach

Pith reviewed 2026-06-26 17:56 UTC · model grok-4.3

classification 💻 cs.CV
keywords self-supervised learningparking occupancytransfer learningcomputer visionlabel efficiencySimCLRoccupancy detection
0
0 comments X

The pith

A two-stage self-supervised protocol reaches 97.8 percent accuracy on parking occupancy using no labels from the target lot.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper tries to establish that self-supervised pretraining first on generic unlabeled parking images and then on unlabeled images from a new target lot, followed by supervised fine-tuning only on generic labels, produces accurate occupancy recognition without any target-specific annotations. A sympathetic reader would care because manual labeling for every parking lot is expensive and limits large-scale urban deployment. The method uses SimCLR with a ResNet-50 encoder and evaluates under leave-one-out cross-environment testing on three public datasets. Results show the general model alone at 97.2 percent average accuracy, rising to 97.8 percent when the second self-supervised stage incorporates the first N days of target images.

Core claim

The paper claims that the two-stage self-supervised training strategy produces a Strong General Model that outperforms supervised and self-supervised baselines at 97.2 percent average accuracy across the three datasets and that adding a Specialized Model stage trained self-supervised on the first N days of target unlabeled images raises accuracy to 97.8 percent, thereby enabling effective parking spot monitoring without target labels.

What carries the argument

Two-stage self-supervised pretraining protocol that first learns from generic unlabeled data then adapts to target-specific unlabeled data before supervised fine-tuning on generic labels.

If this is right

  • Parking occupancy can be monitored at high accuracy in new locations without collecting or labeling any local images.
  • The two-stage deployment allows an initial general model to be installed immediately and then improved automatically from unlabeled data gathered in the first days of use.
  • The approach generalizes across different parking environments as shown by the leave-one-out evaluation on three distinct datasets.
  • Only generic labeled data is required for the final supervised step, reducing the annotation burden for each new deployment.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The same two-stage pattern could be tested on other fixed-camera tasks where environments change but labels remain scarce.
  • Varying the number of days N used for the target stage would reveal how quickly adaptation saturates in practice.
  • If the generic pretraining already encodes most useful features, the second stage may add diminishing returns once N exceeds a small threshold.

Load-bearing premise

The accuracy gains from the second self-supervised stage arise from learning features specific to the target lot rather than from the mere addition of extra training steps or from statistics already present in the generic pretraining.

What would settle it

Retraining the specialized model on the same generic data but replacing the first N days of target images with either random unrelated images or images from a different lot and measuring no accuracy improvement would falsify the benefit of the target adaptation stage.

Figures

Figures reproduced from arXiv: 2606.20886 by Luan Marko Kujavski, Paulo Lisboa de Almeida, Rayson Laroca.

Figure 1
Figure 1. Figure 1: Overview of the proposed training pipeline (right), which comprises [PITH_FULL_IMAGE:figures/full_fig_p001_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: Summary of the main findings of this work. The reported results [PITH_FULL_IMAGE:figures/full_fig_p002_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: Proposed two-stage deployment scheme. During the first [PITH_FULL_IMAGE:figures/full_fig_p004_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: Examples from the parking lot datasets explored in this work. [PITH_FULL_IMAGE:figures/full_fig_p004_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Accuracy of the models when labeled samples from the target parking [PITH_FULL_IMAGE:figures/full_fig_p006_5.png] view at source ↗
read the original abstract

As urban areas expand, automatic monitoring of parking lots becomes essential for efficient and sustainable cities. This work proposes a self-supervised approach for parking spot occupancy recognition that requires no labeled samples from the target parking lot. Building upon a self-supervised transfer learning fine-tuning protocol, the proposed training strategy consists of two self-supervised stages: first on unlabeled generic data and then on unlabeled target-specific data, followed by supervised fine-tuning using only generic parking lot labels. We adopt SimCLR with a ResNet-50 encoder and evaluate the method under a leave-one-out cross-environment protocol on three public datasets: PKLot, CNRPark-EXT, and PLds. We also introduce a two-stage deployment strategy in which a Strong General Model is initially deployed, followed by a Specialized Model that incorporates unlabeled images collected during the first N days of deployment in a self-supervised manner. Experimental results show that the Strong General Model alone outperforms supervised and self-supervised baselines, achieving an average accuracy of 97.2%, which further improves to 97.8% with the proposed two-stage strategy. These results demonstrate that self-supervised learning enables a scalable and labelefficient solution for real-world parking occupancy monitoring. Our trained models and source code are publicly available at https://github.com/LoanMaikon/Parking-Spot-Occupancy-Recognition.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 1 minor

Summary. The manuscript presents a self-supervised approach for parking spot occupancy recognition that avoids the need for labeled data from the target parking lot. It employs SimCLR with a ResNet-50 backbone in two self-supervised pretraining stages—first on generic unlabeled data and then on target-specific unlabeled data—followed by supervised fine-tuning using only labels from generic parking lots. The method is evaluated under a leave-one-out cross-environment protocol on three public datasets (PKLot, CNRPark-EXT, PLds), with a proposed two-stage deployment where a Strong General Model is followed by a Specialized Model pretrained on the first N days of target images. The paper reports that the Strong General Model achieves 97.2% average accuracy, improving to 97.8% with the two-stage strategy.

Significance. If the reported gains hold under proper controls, this work offers a practical, label-efficient solution for adapting occupancy recognition models to new environments, which is valuable for real-world urban applications. The public availability of trained models and source code strengthens the contribution by enabling reproducibility.

major comments (3)
  1. [Abstract and experimental results] Abstract and results: The headline improvement from 97.2% to 97.8% with the two-stage strategy lacks an ablation study on the N-day window for target-specific pretraining. Without comparing against simply continuing generic pretraining for equivalent steps or analyzing the representativeness of the first N days, it is unclear whether the gains are attributable to the proposed method or to dataset-specific statistics captured in those initial days.
  2. [Experimental setup] Experimental setup: No error bars, standard deviations, or details on the number of runs are provided for the accuracy metrics, and baseline implementations lack sufficient detail for verification, making the outperformance claims difficult to assess rigorously.
  3. [Methods section on two-stage deployment] Methods on deployment strategy: The description of the Specialized Model does not include controls to isolate the effect of self-supervised pretraining on target data from potential confounds like the choice of N or atypical conditions in the initial deployment period.
minor comments (1)
  1. [Abstract] The term 'labelefficient' in the abstract should be hyphenated as 'label-efficient'.

Simulated Author's Rebuttal

3 responses · 0 unresolved

We thank the referee for the constructive feedback on our manuscript. We address each major comment below and will incorporate revisions to strengthen the experimental rigor and clarity of the work.

read point-by-point responses
  1. Referee: [Abstract and experimental results] The headline improvement from 97.2% to 97.8% with the two-stage strategy lacks an ablation study on the N-day window for target-specific pretraining. Without comparing against simply continuing generic pretraining for equivalent steps or analyzing the representativeness of the first N days, it is unclear whether the gains are attributable to the proposed method or to dataset-specific statistics captured in those initial days.

    Authors: We agree that an ablation study on the N-day window would strengthen the claims. In the revised manuscript, we will add experiments varying N and comparing the two-stage target pretraining against extending generic pretraining for an equivalent number of steps. This will help confirm that the observed gains stem from target-domain adaptation rather than additional training or initial-period statistics. revision: yes

  2. Referee: [Experimental setup] No error bars, standard deviations, or details on the number of runs are provided for the accuracy metrics, and baseline implementations lack sufficient detail for verification, making the outperformance claims difficult to assess rigorously.

    Authors: We acknowledge this limitation in the current presentation. We will rerun all experiments over multiple random seeds (reporting mean and standard deviation) and expand the methods and supplementary material with full baseline implementation details, including hyperparameters and training protocols, to enable rigorous verification. revision: yes

  3. Referee: [Methods section on two-stage deployment] The description of the Specialized Model does not include controls to isolate the effect of self-supervised pretraining on target data from potential confounds like the choice of N or atypical conditions in the initial deployment period.

    Authors: This is a valid concern regarding potential confounds. We will revise the methods section to explicitly address these issues and include additional controlled experiments, such as testing alternative periods or random subsets for the target pretraining stage, to better isolate the contribution of self-supervised adaptation on target data. revision: yes

Circularity Check

0 steps flagged

No circularity: empirical results on independent public datasets under leave-one-out protocol

full rationale

The paper reports measured accuracies (97.2% to 97.8%) from SimCLR pretraining + supervised fine-tuning on three public datasets (PKLot, CNRPark-EXT, PLds) using leave-one-out cross-environment evaluation. No equations, parameters, or derivations are present that reduce any reported quantity to a fitted input or self-citation by construction. The two-stage strategy is an empirical protocol whose gains are externally falsifiable on held-out data; the code and models are released for reproduction. This is a standard self-contained empirical ML evaluation with no load-bearing self-referential steps.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The central claim rests on the standard assumption that SimCLR representations learned from unlabeled images transfer across parking-lot domains when followed by supervised fine-tuning on a generic labeled set; no new entities are postulated and no parameters are fitted directly to the target accuracy metric.

axioms (1)
  • domain assumption Representations learned by SimCLR on unlabeled generic images remain useful after a second self-supervised stage on target unlabeled images
    Invoked in the description of the two self-supervised stages before supervised fine-tuning.

pith-pipeline@v0.9.1-grok · 5770 in / 1375 out tokens · 27719 ms · 2026-06-26T17:56:37.838010+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

21 extracted references · 1 canonical work pages

  1. [1]

    Smart parking sensors, technologies and applications for open parking lots: a review,

    V . Paidi, H. Fleyeh, J. H ˚akansson, and R. G. Nyberg, “Smart parking sensors, technologies and applications for open parking lots: a review,” IET Intelligent Transport Systems, vol. 12, no. 8, pp. 735–741, 2018

  2. [2]

    Pklot – a robust dataset for parking lot classification,

    P. R. de Almeida, L. S. Oliveira, A. S. Britto, E. J. Silva, and A. L. Koerich, “Pklot – a robust dataset for parking lot classification,”Expert Systems with Applications, vol. 42, no. 11, pp. 4937–4949, 2015

  3. [3]

    Deep learning for decentralized parking lot occupancy detection,

    G. Amato, F. Carrara, F. Falchi, C. Gennaro, C. Meghini, and C. Vairo, “Deep learning for decentralized parking lot occupancy detection,” Expert Systems with Applications, vol. 72, pp. 327–334, 2017

  4. [4]

    Automatic vacant parking places management system using multicamera vehicle detection,

    R. Mart ´ın Nieto, ´A. Garc ´ıa-Mart´ın, A. G. Hauptmann, and J. M. Mart´ınez, “Automatic vacant parking places management system using multicamera vehicle detection,”IEEE Transactions on Intelligent Trans- portation Systems, vol. 20, no. 3, pp. 1069–1080, 2019

  5. [5]

    A systematic review on computer vision-based parking lot management applied on public datasets,

    P. R. L. De Almeida, J. H. Alves, R. S. Parpinelli, and J. P. Barddal, “A systematic review on computer vision-based parking lot management applied on public datasets,”ESWA, vol. 198, p. 116731, 2022

  6. [6]

    Deep single models vs. ensembles: Insights for a fast deployment of parking monitoring systems,

    A. G. Hochuli, J. Barddal, G. Palhano, L. Mendes, and P. L. de Almeida, “Deep single models vs. ensembles: Insights for a fast deployment of parking monitoring systems,” inICMLA, 2023, pp. 1379–1384

  7. [7]

    Evaluation of different annotation strategies for deployment of parking spaces classification systems,

    A. G. Hochuli, A. S. Britto, P. R. de Almeida, W. B. Alves, and F. M. Cagni, “Evaluation of different annotation strategies for deployment of parking spaces classification systems,” inIJCNN. IEEE, 2022, pp. 1–8

  8. [8]

    Optimizing parking space classification: Distilling ensembles into lightweight classifiers,

    P. L. Alves, A. Hochuli, L. E. de Oliveira, and P. L. de Almeida, “Optimizing parking space classification: Distilling ensembles into lightweight classifiers,” inICMLA, 2024, pp. 1016–1020

  9. [9]

    A simple framework for contrastive learning of visual representations,

    T. Chen, S. Kornblith, M. Norouzi, and G. Hinton, “A simple framework for contrastive learning of visual representations,” inInternational Conference on Machine Learning (ICML), 2020, pp. 1597–1607

  10. [10]

    Big self-supervised models advance medical image classification,

    S. Aziziet al., “Big self-supervised models advance medical image classification,” inIEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 3478–3488

  11. [11]

    ImageNet Large Scale Visual Recognition Challenge,

    O. Russakovskyet al., “ImageNet Large Scale Visual Recognition Challenge,”IJCV, vol. 115, no. 3, pp. 211–252, 2015

  12. [12]

    Momentum contrast for unsupervised visual representation learning,

    K. He, H. Fan, Y . Wu, S. Xie, and R. Girshick, “Momentum contrast for unsupervised visual representation learning,” inIEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020, pp. 9729–9738

  13. [13]

    Unsupervised learning of visual features by contrasting cluster assign- ments,

    M. Caron, I. Misra, J. Mairal, P. Goyal, P. Bojanowski, and A. Joulin, “Unsupervised learning of visual features by contrasting cluster assign- ments,”Advances in Neural Information Processing Systems, vol. 33, pp. 9912–9924, 2020

  14. [14]

    Emerging properties in self-supervised vision transformers,

    M. Caron, H. Touvron, I. Misra, H. J ´egou, J. Mairal, P. Bojanowski, and A. Joulin, “Emerging properties in self-supervised vision transformers,” inIEEE/CVF ICCV, 2021, pp. 9650–9660

  15. [15]

    Self-supervised learning from images with a joint-embedding predictive architecture,

    M. Assran, Q. Duval, I. Misra, P. Bojanowski, P. Vincent, M. Rabbat, Y . LeCun, and N. Ballas, “Self-supervised learning from images with a joint-embedding predictive architecture,” inIEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023, pp. 15 619–15 629

  16. [16]

    Learning classification with unlabeled data,

    V . de Sa, “Learning classification with unlabeled data,” inAdvances in Neural Information Processing Systems, vol. 6, 1993

  17. [17]

    Unsupervised visual represen- tation learning by context prediction,

    C. Doersch, A. Gupta, and A. A. Efros, “Unsupervised visual represen- tation learning by context prediction,” inIEEE International Conference on Computer Vision (ICCV), 2015, pp. 1422–1430

  18. [18]

    Unsupervised learning of visual represen- tations by solving jigsaw puzzles,

    M. Noroozi and P. Favaro, “Unsupervised learning of visual represen- tations by solving jigsaw puzzles,” inECCV, 2016, pp. 69–84

  19. [19]

    Context encoders: Feature learning by inpainting,

    D. Pathak, P. Krahenbuhl, J. Donahue, T. Darrell, and A. A. Efros, “Context encoders: Feature learning by inpainting,” inIEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 2536–2544

  20. [20]

    A cookbook of self-supervised learning,

    R. Balestriero, M. Ibrahim, V . Sobal, A. Morcos, S. Shekhar, T. Gold- stein, F. Bordes, A. Bardes, G. Mialon, Y . Tianet al., “A cookbook of self-supervised learning,”arXiv preprint arXiv:2304.12210, 2023

  21. [21]

    Deep residual learning for image recognition,

    K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” inIEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 770–778