Tabular, time-series, scientific, and geometric deep learning · Sets, point clouds, and geometric learning · SPE008 · Architecture
PointNet++
PointNet++ adds hierarchical local neighborhoods to point-set learning, allowing fine geometric patterns to be aggregated across scales. It addresses the limited local structure of a single global PointNet.
In CodeSplash
Running this needs images, audio, video, graphs or another data type CodeSplash doesn't load yet.
- Availability
- Needs a data type CodeSplash doesn't load yet
- Code example
- Component demo, not a trained model
- Who ran it
- CodeSplash's run and the reference's record
- CodeSplash's run
- The reference's example ran in Python and R here, and they agree.
- The reference's record
- Python: Ran in the reference's review. The report doesn't record which version of the code ran. R: Reviewed but not run: R wasn't available to the reference's authors.
Purpose
PointNet++ adds hierarchical local neighborhoods to point-set learning, allowing fine geometric patterns to be aggregated across scales. It addresses the limited local structure of a single global PointNet.
Question / hypotheses
The operative question is whether the specified representation, symmetry, likelihood or physical constraint improves held-out behavior for this data domain. This is a learning framework, not a null-hypothesis test; losses, attention weights and predictive confidence are not statistical p-values.
Architecture / computational structure
Set-abstraction layers sample centers, group nearby points and apply local PointNets to relative coordinates/features. Repeating abstraction builds a hierarchy; feature propagation supports dense pointwise prediction.
Assumptions
Neighborhood construction assumes a meaningful metric and coordinate scale. Sampling density, holes and sensor artifacts affect which features are available. A hierarchy is not inherently rotation equivariant or physically invariant.
Formula / computational definition
summarizes a radius-r neighborhood. Sampling/grouping and multiscale variants determine ; shared phi makes local aggregation order invariant.
Parameters and notation
Learned or estimated: Local point-feature networks, hierarchical feature transformations, propagation layers and task heads.
Hyperparameters and effects: Number of centers, neighborhood radii or k, scale groups, point-sampling policy, feature widths and augmentation. Radius controls physical locality; density variation can leave neighborhoods too sparse or too broad.
Fitting, fine-tuning, and adaptation
Fit point or object losses while checking each abstraction scale. For transfer, freeze early local feature layers and adapt later abstraction/head layers, then unfreeze if needed at lower rates. Revisit radii when units or density change; validate source retention and performance on sparse target scans.
How to use and calibrate
Define the independent evaluation unit before preprocessing: row/entity, whole set/object, molecule/trajectory, input function or chronological forecasting origin. Keep target construction and normalization within permitted training data. Measure IoU/accuracy by density and object scale, sampling stability, occlusion robustness and runtime. Compare with PointNet to isolate the benefit and cost of explicit locality.
Example application
Segment irregularly sampled scene point clouds using multiscale local geometry. This is a proposed use case, not a claim of validated performance on supplied real data.
Interpretation / pitfalls
Watch out
Assess model error against domain baselines and the stated assumptions. Component-level mathematical correctness does not establish paper reproduction or scientific validity. Invariance/equivariance checks validate transformation behavior; they do not establish correct physical dynamics or chemical accuracy.
Python and R code examples
Scope: PointNet++ radius grouping and local relative-coordinate pooling at specified centers. Use the shared setup. Dependencies: NumPy / base R. Validation: Python executed; R unexecuted.
Full-model route: Python: official PointNet++ including audited neighborhood kernels. R: small native torch local pooling or Python bridge for optimized sampling/grouping. The example isolates radius grouping and relative-coordinate max pooling.
Python and R
The reference's own programs, shown as written. A component demo shows one central piece of the method; it doesn't train a full model.
Component demo, not a trained model — PointNet++ radius grouping and local relative-coordinate pooling at specified centers. Use the shared setup.
Shared setup for this chapter
import numpy as np
def sm(x):
x=np.asarray(x); e=np.exp(x-x.max(axis=-1,keepdims=True)); return e/e.sum(axis=-1,keepdims=True)
P=np.array([[0.,0.],[.2,.1],[1.,0.],[1.1,.2],[.5,.8]])
centers=P[[0,2]]; radius=.35; W=np.array([[.5,.2],[-.1,.6]])
features=[]
for center in centers:
local=P[np.linalg.norm(P-center,axis=1)<=radius]-center
features.append(np.maximum(local@W,0).max(0))
print(np.array(features))
Component demo, not a trained model — PointNet++ radius grouping and local relative-coordinate pooling at specified centers. Use the shared setup.
Shared setup for this chapter
sm <- function(x) {
if(is.null(dim(x))) { e<-exp(x-max(x)); return(e/sum(e)) }
t(apply(x,1,function(v) { e<-exp(v-max(v)); e/sum(e) }))
}
P<-matrix(c(0,0,.2,.1,1,0,1.1,.2,.5,.8),5,byrow=TRUE)
centers<-P[c(1,3),]; radius<-.35; W<-matrix(c(.5,.2,-.1,.6),2,byrow=TRUE)
features<-matrix(0,2,2)
for(i in 1:2) {
d<-sweep(P,2,centers[i,]); local<-d[sqrt(rowSums(d*d))<=radius,,drop=FALSE]
features[i,]<-apply(pmax(local%*%W,0),2,max)
}
print(features)
Sources
- Source 1arxiv.org
From the CodeSplash reference, entry SPE008.