$k$NN Prompting: Beyond-Context Learning with Calibration-Free Nearest Neighbor Inference
In-Context Learning (ICL), which formulates target tasks as prompt completion conditioned on in-context demonstrations, has become the prevailing utilization of LLMs. In this paper, we first disclose an actual predicament for this typical usage that it can not scale up with training data due to cont…