Search arXiv⌕ Search

arXiv subjects

ZeAi Sun

Publications and source records attributed to ZeAi Sun.

2 recordsLinked to original sources

Ultra-fast GPU Graph ANNS via Accuracy-Efficiency Co-design

GPUs have been used to accelerate approximate nearest neighbor search (ANNS). While recent quantized graph ANNS has made significant progress on CPU, we find that directly porting CPU-side methods to GPU is ineffective. This is because using quantized distances to rank the beam perturbs traversal paths, increases search hops, and can offset the savings from cheaper distance computation. We present fastGANN, an accuracy- and hardware-aware GPU graph-ANNS method, to adaptively find the best accuracy-work balance and enhance GPU hardware utilization. fastGANN adopts a hybrid-precision search strategy. It preserves exact distances for precision-critical decisions, including beam ranking and expander selection, while using quantized estimates only for error-tolerant neighbor pruning. This reduces exact vector accesses without degrading convergence speed. However, pruning alone does not fully unlock the GPU; it leaves bandwidth underutilized. We thus introduce hardware-aware speculative expansion to explore multiple beam nodes per iteration, so that the work/bandwidth saved by pruning is converted into more parallelism. We also introduce a bounded phase-adaptive controller that adjusts pruning online from search progress and derives the speculation degree analytically from GPU bandwidth and occupancy, avoiding manual tuning. On an L40S GPU, across six datasets, fastGANN improves QPS at 95% recall@100 on average (geomean) by 6.5x over CAGRA, 5.2x over PathWeaver, and 4.6x over Jasper. We consistently observe significant speedups across various GPU models, graph types/degrees, recall targets, and quantizers. fastGANN scales to multi-GPU and outperforms cuVS by 3.4x on four H200 GPUs at billion scale.

cs.DB↗

Towards Full Authorship with AI: Supporting Revision with AI-Generated Views

Large language models (LLMs) are shaping a new user interface (UI) paradigm in writing tools by enabling users to generate text through prompts. This paradigm shifts some creative control from the user to the system, thereby diminishing the user's authorship and autonomy in the writing process. To restore autonomy, we introduce Textfocals, a UI prototype designed to investigate a human-centered approach that emphasizes the user's role in writing. Textfocals supports the writing process by providing LLM-generated summaries, questions, and advice (i.e., LLM views) in a sidebar of a text editor, encouraging reflection and self-driven revision in writing without direct text generation. Textfocals' UI affordances, including contextually adaptive views and scaffolding for prompt selection and customization, offer a novel way to interact with LLMs where users maintain full authorship of their writing. A formative user study with Textfocals showed promising evidence that this approach might help users develop underdeveloped ideas, cater to the rhetorical audience, and clarify their writing. However, the study also showed interaction design challenges related to document navigation and scoping, prompt engineering, and context management. Our work highlights the breadth of the design space of writing support interfaces powered by generative AI that maintain authorship integrity.

cs.HC↗