Skip to main content
QUICK REVIEW

[논문 리뷰] Filtered Approximate Nearest Neighbor Search Cost Estimation

Wenxuan Xia, Mingyu Yang|arXiv (Cornell University)|2026. 02. 06.
Advanced Image and Video Retrieval TechniquesComputer Science인용 수 0
한 줄 요약

소개 E2E는 필터링된 AKNN에서 필터 인식 특성을 가진 조기 프로빙 단계로 적응적 종료를 가능하게 하는 비용 추정 프레임워크이며, 재현율을 유지하면서 대기시간(latency)을 크게 줄임.

ABSTRACT

Hybrid queries combining high-dimensional vector similarity with structured attribute filtering have garnered significant attention across both academia and industry. A critical instance of this paradigm is filtered Approximate k Nearest Neighbor (AKNN) search, where embeddings (e.g., image or text) are queried alongside constraints such as labels or numerical range. While essential for rich retrieval, optimizing these queries remains challenging due to the highly variable search cost induced by combined filters. In this paper, we propose a novel cost estimation framework, E2E, for filtered AKNN search and demonstrate its utility in downstream optimization tasks, specifically early termination. Unlike existing approaches, our model explicitly captures the correlation between the query vector distribution and attribute-value selectivity, yielding significantly higher estimation accuracy. By leveraging these estimates to refine search termination conditions, we achieve substantial performance gains. Experimental results on real-world datasets demonstrate that our approach improves retrieval efficiency by 2x-3x over state-of-the-art baselines while maintaining high search accuracy.

연구 동기 및 목표

  • 속성이 제약된 아이템을 가진 필터링된 AKNN 검색의 효율성을 촉진한다.
  • 필터 하에서 거리 기반 신호만으로는 비용 추정이 불충분하다는 것을 보여준다.
  • 속성 분포 신호를 비용 예측에 통합하기 위해 E2E를 제안한다.
  • 어려운 쿼리에서 재현율을 보존하면서 쉬운 쿼리를 조기에 종료하는 Adaptive termination을 Demonstrate 한다.
  • 실용적 재현 가능한 평가와 실무자용 코드를 제공한다.

제안 방법

  • 필터링된 AKNN 검색에 맞춘 비용 추정 프레임워크(E2E)를 제안한다.
  • 초기 프로빙 단계에서 얻은 두 가지 필터 인식 특성: observed valid ratio와 prospective valid ratio를 도입한다.
  • 가벼운 LightGBM 모델에서 거리 기반 특성과 필터 인식 특성을 결합해 쿼리별 비용을 예측한다.
  • 예측된 비용을 사용해 그래프 기반 AKNN 인덱스의 로컬 확장 단계에서 Adaptive termination을 가능하게 한다.
  • 퀴리 로그를 재생해 감독 학습으로 비용Labels를 학습시키고 재현한다.
  • 예상된 예산이 도달하면 초기 종료를 달성하도록 E2E를 기존 그래프 기반 인덱스에 통합한다.

실험 결과

연구 질문

  • RQ1로컬-글로벌 선택성 불일치가 필터링된 AKNN 검색의 비용 예측에 어떤 영향을 미치는가?
  • RQ2속성 분포를 포착하는 초기 프로빙 신호가 필터링된 AKNN의 비용 추정에 도움이 되는가?
  • RQ3E2E가 안내하는 Adaptive termination이 재현율을 유지하면서 필터링된 AKNN 쿼리의 지연을 줄이는가?
  • RQ4실제 데이터셋에서 E2E가 최첨단 기반선과 비교하여 실용적 지연 개선을 제공하는가?

주요 결과

  • E2E는 95% 재현율에서 강력한 기반선 대비 1.1×–3.7×의 속도향상을 달성한다.
  • 로컬 선택성이 글로벌 선택성과 불일치할 때 필터 인식 특성이 중요하다.
  • 가벼운 LightGBM 모델이 쿼리당 비용 예측을 빠르게 제공한다(평균 약 0.025 ms).
  • 예측된 비용에 이끌린 Adaptive termination이 불필요한 확장을 줄이고 비용은 거의 증가시키지 않는다.
  • 여섯 개의 실제 데이터셋에 대한 실험에서 기존의 적응적 방법들보다 일관된 개선을 보였다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.