Recovering Black-Box Point Cloud Models from Pose Shifts via Derivative-Free Optimization
Korea Electronics Technology Institute (KETI)
TL;DR. A frozen point cloud model behind a score-only API collapses when inputs arrive in poses it never saw in training. CanDO searches over input rotations with CMA-ES and keeps the one the model is most confident about. It needs only forward queries, with no labels, gradients, weights, or auxiliary models.
Each ShapeNetPart shape is rotated at random and segmented by a frozen PointNet++. Drag any panel to orbit; the three views stay in sync.
Colors denote predicted parts. Examples are shapes where recovery succeeds; averaged results over the full test sets follow below.
Rotations have only three degrees of freedom, so the search runs over an axis-angle vector rather than thousands of point coordinates or millions of weights.
CMA-ES samples a population of axis-angle vectors \(\boldsymbol\theta\in\mathbb{R}^3\), mapped to rotations \(\mathbf R_{\boldsymbol\theta}\) by Rodrigues' formula.
Each rotated copy \(\mathbf P\mathbf R_{\boldsymbol\theta}^{\top}\) costs one forward query and is scored by the model's own confidence. No label or gradient is ever used.
CMA-ES moves its mean, step size, and covariance toward the best-ranked rotations. After the budget, the most confident pose is kept.
The confidence surrogate averages per-point maximum probabilities (a single maximum for classification). The identity is always a candidate, and an optional prior \(\lambda\) keeps already-upright inputs untouched.
Every dot on the left is one forward query: a candidate rotation inside the ball of axis-angle vectors (radius π), colored by the model's confidence. Generation by generation, CMA-ES concentrates its samples while the shape on the right snaps to the best pose found so far.
The real Table 2 search: CMA-ES with population 12, two restarts, 312 queries. Confidence and mIoU need not agree at every step, which is why the final choice keeps the most confident pose over all queries.
Slide to rotate the misoriented shape back about its corruption axis. The model's confidence peaks at the upright pose, so it is a usable label-free objective, yet it has many local maxima where gradient ascent would stop.
A one-dimensional slice of SO(3) for illustration; CanDO searches all three dimensions. Across shapes and poses the pooled correlation between confidence and accuracy is 0.51. Click the chart to jump to an angle.
Full test sets, mean over three corruption seeds. “Gap closed” is the share of the distance from the corrupted model to a supervised oracle that CanDO recovers.
| Benchmark | Shift | Backbone | Corrupted | CanDO | Oracle | Gap closed |
|---|
mIoU for ShapeNetPart and S3DIS, accuracy for ModelNet40.
Parameter-space test-time adaptation cannot undo a pose change, principal axes are ambiguous, and even white-box gradient ascent on the rotation gets trapped in the bumpy landscape above.
| Method | Gradient | Update | Label | ShapeNetPart | S3DIS | ModelNet40 |
|---|
SO(3) rotations on ShapeNetPart and ModelNet40, tilt on S3DIS; PointNet++. ✓ marks access the method requires. “N/A”: the external classifier provides no pose prior for scene blocks and coincides with the task model on ModelNet40.
The paper identifies three conditions, and is candid about where they break.
Recovery is possible only for shifts the model was not trained to absorb. A scene model trained with yaw augmentation collapses under tilt, and CanDO restores it; controlled augmentation ablations confirm the causal link.
Dense per-point confidence tracks segmentation quality well. A single classification softmax is a weaker signal, so classification recovers a smaller share of the gap (29 to 42%).
On the bumpy landscape, local and gradient methods stall at 17 to 27% of the oracle gap, while random search, CMA-ES, and Bayesian optimization reach 53 to 57%.
The cando package depends only on PyTorch, NumPy, and pycma. Your model stays a black box.
pip install git+https://github.com/shpark97/CanDO.git
from cando import cando, max_prob_confidence, rotate def objective(Rs): # (M, 3, 3) candidate rotations probs = frozen_model(rotate(points, Rs)) # one forward query per candidate return max_prob_confidence(probs) # (M,) confidence R, theta, info = cando(objective, budget=300) prediction = frozen_model(rotate(points, R)[None])
Scripts for every table in the paper are in the repository.
@inproceedings{park2027cando,
title = {Recovering Black-Box Point Cloud Models from Pose Shifts via Derivative-Free Optimization},
author = {Park, Seonghwan and Park, Min-Gyu},
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
year = {2027}
}