Activity (Process)

Linear Interpolation of k-NN and LLM Distributions

The final output probability distribution in a k{}k-NN language model is formed by combining the retrieval-based distribution from the k{}k-nearest neighbors with the standard output distribution of the base large language model (LLM). This combination is performed using a linear interpolation, regulated by a coefficient \lambda, which adjusts the relative weight of the two distributions.

0

1

Updated 2026-04-23

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences