CH-Abhinav commented on issue #15427: URL: https://github.com/apache/lucene/issues/15427#issuecomment-6952039544
Hi @mikemccand, I've been reading through this issue and the related chain of HNSW indexing discussions (#15732, #16552, #15773, and #16906). The core challenge of incremental HNSW construction—where early-inserted vectors suffer from future-blindness because they couldn't connect to vectors indexed later—is a really fundamental bottleneck. The usual concern with a 2nd-pass optimization is the indexing throughput penalty. However, combining this with recent work on Level 0 batch construction (like the PiPNN approach in #16906 using batched SIMD dot-product kernels) could drastically cut initial construction time, giving us the CPU headroom to run a fast hindsight re-linking pass on early nodes without ballooning total indexing time. There’s a very natural progression here across the whole graph lifecycle: 1. **Fast Level 0 Ingestion:** Using batched SIMD operations to build the base layer faster and deterministically (#16906). 2. **Hindsight 2nd-Pass Optimization:** Using the rough 1st-pass graph to do fast beam-search re-linking of early ordinals to boost recall and prune redundant edges (#15427). 3. **Merge-Resilience:** Aligning with deferred merge work (#15732) and degree-decay reconnection (#16552). 4. **Empirical Benchmarking:** Running `luceneutil` across standard 10M vector datasets (Cohere, GloVe) to measure the exact Pareto trade-offs (indexing throughput vs. search QPS/recall). I would love to tackle this investigation and propose it as an Apache Software Foundation (ASF) GSoC 2027 project. Would you be open to being the mentor on record under ASF for this? I won't take a lot of your time just some reviews and merging. I would try to work on this regardless but, I would be grateful if you can be mentor. Thanks :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
