paper-with-me

홈 › Papers

NUDGE: Lightweight Non-Parametric Fine-Tuning of Embeddings for Retrieval

2024-09-04 · Sepanta Zeighami, Zac Wellmer, Aditya Parameswaran

$k$-Nearest Neighbor search on dense vector embeddings ($k$-NN retrieval) from pre-trained embedding models is the predominant retrieval method for text and images, as well as Retrieval-Augmented Generation (RAG) pipelines. In practice, application developers often fine-tune the embeddings to improve their accuracy on the dataset and query workload in hand. Existing approaches either fine-tune the pre-trained model itself or, more efficiently, but at the cost of accuracy, train adaptor models to transform the output of the pre-trained model. We present NUDGE, a family of novel non-parametric embedding fine-tuning approaches that are significantly more accurate and efficient than both sets of existing approaches. NUDGE directly modifies the embeddings of data records to maximize the accuracy of $k$-NN retrieval. We present a thorough theoretical and experimental study of NUDGE's non-parametric approach. We show that even though the underlying problem is NP-Hard, constrained variations can be solved efficiently. These constraints additionally ensure that the changes to the embeddings are modest, avoiding large distortions to the semantics learned during pre-training. In experiments across five pre-trained models and nine standard text and image retrieval datasets, NUDGE runs in minutes and often improves NDCG@10 by more than 10% over existing fine-tuning methods. On average, NUDGE provides 3.3x and 4.3x higher increase in accuracy and runs 200x and 3x faster, respectively, over fine-tuning the pre-trained model and training adaptors.

📄 PDF Abstract BibTeX arXiv:2409.02343

Code (1)

szeighami/nudge 공식 구현 pytorch

Tasks

Image RetrievalRAGRetrievalRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

Pavlok-Nudge: A Feedback Mechanism for Atomic Behaviour Modification with Snoring Usecase

2023-05-10 · Md Rakibul Hasan, Shreya Ghosh, Pradyumna Agrawal, Zhixi Cai 외

This paper proposes a feedback mechanism to change behavioural patterns using the Pavlok device. Pavlok utilises beeps, vibration and shocks as a mode of aversion technique to help individuals with behaviour modification…

NudgeVAD: Language-Nudged End-to-End Driving via FiLM Residuals

2026-05-23 · Chieh-Chi Yang, Yu-Hsiang Chen, Yi-Ting Chen arxiv

Natural-language instructions promise controllable end-to-end driving, but their benefit can be hidden when planners already receive reliable high-level commands. We propose NudgeVAD, a frozen-planner residual framework …

Safeguarding Large Language Models in Real-time with Tunable Safety-Performance Trade-offs

2025-01-02 · Joao Fonseca, Andrew Bell, Julia Stoyanovich

Large Language Models (LLMs) have been shown to be susceptible to jailbreak attacks, or adversarial attacks used to illicit high risk behavior from a model. Jailbreaks have been exploited by cybercriminals and blackhat a…

Text Generation

Perplexity-free Parametric t-SNE

2020-10-03 · Francesco Crecchi, Cyril de Bodt, Michel Verleysen, John A. Lee 외

The t-distributed Stochastic Neighbor Embedding (t-SNE) algorithm is a ubiquitously employed dimensionality reduction (DR) method. Its non-parametric nature and impressive efficacy motivated its parametric extension. It …

Dimensionality Reduction

Robust Nearest Neighbour Retrieval Using Targeted Manifold Manipulation

2025-11-09 · B. Ghosh, H. Harikumar, S. Rana arxiv

Nearest-neighbour retrieval is central to classification and explainable-AI pipelines, but current practice relies on hand-tuning feature layers and distance metrics. We propose Targeted Manifold Manipulation-Nearest Nei…