“…Retrieval augmented methods have been widely used in many Natural Language Processing (NLP) tasks, such as question answering (Yang et al, 2021;Mao et al, 2021), semantic parsing (Pasupat et al, 2021;Dong et al, 2023), code generation (Lu et al, 2022), classification (Drissi et al, 2022;Gur et al, 2021), etc. Existing retrieval-augmented models attached several retrieved texts as knowledge to the original inputs to improve performance.…”