Repository navigation
EvidenceScene v2.8.0
EvidenceScene v2.8.0 Release Notes
Release Date: 2026-11-26
Correction (2026-11-28). The seven published per-workload speedups below have a geometric mean of 171.59×. The original release reported 191.31×. This correction recomputes the aggregate from the published rows. It covers synthetic CPU kernels.
evidencescene v2.8.0 completes full runtime AVX-512/AVX2 SIMD dispatch across all native kernels, adds native multi-view per-voxel RGB fusion to RevisableSurfelMap, introduces C11 single-pass 2D height-grid foreground clustering (cluster_height_grid_2d) and azimuthal outer-rim extraction (extract_rim_annulus_points), enables zero-copy masked planar integration (retain_camera_points=False), and refreshes the public kernel-v1 benchmark leaderboard (171.59x geometric-mean speed-up over baseline 04a1b6b).
What's New
1. Native Multi-View RGB Fusion in RevisableSurfelMap
observation_voxel_centroids(points, voxel_size_m, colors_rgb=None)computes per-voxel RGB means alongside lexicographic centroids in a single C11 pass (across Fast Path A, L3 direct-grid Path B, and hash-table Path C, with exact NumPy fallback).RevisableSurfelMap.update()accepts either(camera, points)or(camera, points, colors_rgb_u8)observations, atomically accumulating and retracting per-voxel RGB sums across insertions, pose revisions, and retirements (surfel_general_update).RevisableSurfelMap.snapshot(..., include_colors=True)returns fuseduint8RGB directly insnapshot_uniform_fastandsnapshot_select— eliminating downstream per-object kNN RGB donor transfers (3.19xfaster end-to-end:0.078 msvs0.250 msper object).
2. Single-Pass C11 2D Height-Grid Clustering (evidencescene.surface.grid_clustering)
- Added
GridCluster2Dandcluster_height_grid_2dbacked by C11cluster_height_grid_2d_fast(using zero-allocationThreadScratchbuffers):- Single-pass foreground bounds filtering and 2D occupancy projection.
- L1-cache vertical air-gap decoupling via two 3×3 dilations to separate low tabletop objects (layer 0) from overhanging/tall equipment structures (layer 1).
- Row-major 8-connected BFS connected-component labeling matching
scipy.ndimage.label. - Deterministic C11 3-way quickselect linear quantiles (
h_p5,h_p97,xy_min_p3,xy_max_p97,z_top_p985), cutting 72k-point tabletop clustering time by2.02x(1.126 msvs2.278 msNumPy/SciPy fallback) with<= 1e-12parity.
3. Single-Pass C11 Azimuthal Rim Extraction (evidencescene.teleop)
- Added
extract_rim_annulus_pointsbacked by C11extract_rim_annulus_fastfor extracting outer-perimeter circular aperture rim rings with linear quickselect quantiles (11.18xfaster:0.012 msvs0.136 msNumPy fallback).
4. Zero-Copy Masked Planar Integration & retain_camera_points=False
- Added
PersistentPlanarSurfaceConfig.retain_camera_points: bool = True. When disabled for streaming point-cloud pipelines that do not require historicalcorrect_pose(),integrate_points()skips per-frame camera-frame back-transforms and passesinclude_mask/exclude_maskdirectly into C11planar_project_and_aggregate_fast(backed by zero-page-faultThreadScratchbuffers), cutting masked 72k-point integration latency by1.79x(0.799 msvs1.430 ms).
5. Complete Portable Runtime AVX-512/AVX2 Dispatch & Refreshed kernel-v1 Leaderboard
- Upgraded
voxel_centroidsandselect_existing_points_shadow_fastfrom compile-time#ifdefguards to portable__attribute__((target("avx512f,avx512dq,avx512vl")))/__attribute__((target("avx2")))runtime dispatch via__builtin_cpu_supports, so standard portable wheels automatically run AVX-512 on supported x86_64 CPUs. - Refreshed
docs/performance_leaderboard.jsonand rendered project pages (docs/index.html,docs/demo/index.html,docs/benchmark/index.html) from livev2.8.0C11/AVX-512 measurements:
kernel-v1 Workload |
Baseline 04a1b6b (ms) |
v2.8.0 C11/AVX-512 (ms) |
Speed-up |
|---|---|---|---|
surface_snapshot_60k_budget_1500 |
20.478 |
0.0047 |
4,357.02x |
surface_update_60k_points |
72.995 |
0.3337 |
218.74x |
voxel_centroids_60k_points |
10.329 |
0.3500 |
29.51x |
rle_box_centroid_480x640 |
0.092 |
0.0024 |
38.33x |
surface_selection_60k_budget_1500 |
15.517 |
0.0993 |
156.26x |
circle_consensus_400_points_256_hypotheses |
4.453 |
0.0292 |
152.50x |
circular_aperture_fit_400_points |
4.348 |
0.0255 |
170.51x |
Geometric Mean (kernel-v1) |
— | — | 171.59x |
Verification
- C11 extension builds with
0warnings under-Wall -O3 -std=c11 -fno-fast-math -ffp-contract=off. - 82 passed with native C11/AVX-512 enabled (
pytest -q). - 81 passed, 1 skipped with pure-Python fallback (
EVIDENCESCENE_DISABLE_NATIVE=1 pytest -q). - All public pages, leaderboard contracts, and privacy checks verified (
tests/test_performance_leaderboard.py).