“…Increasingly, a middle ground combining the two paradigms and retaining the best of both worlds is becoming popular across various domains, ranging from natural language [Das et al, 2021, Wang et al, 2022, Izacard et al, 2022, to vision [Liu et al, 2015, Iscen et al, 2022, Long et al, 2022, to reinforcement learning [Blundell et al, 2016, Pritzel et al, 2017, Ritter et al, 2020 , to even protein structure predictions [Cramer, 2021] . In such approaches, given a test input, one first retrieves relevant entries from a data index and then processes the retrieved entries along with the test input to make the final predictions using a machine learning model.…”