Get the latest tech news

Enhancing Frame Detection with Retrieval Augmented Generation


Recent advancements in Natural Language Processing have significantly improved the extraction of structured semantic representations from unstructured text, especially through Frame Semantic Role Labeling (FSRL). Despite this progress, the potential of Retrieval-Augmented Generation (RAG) models for frame detection remains under-explored. In this paper, we present the first RAG-based approach for frame detection called RCIF (Retrieve Candidates and Identify Frames). RCIF is also the first approach to operate without the need for explicit target span and comprises three main stages: (1) generation of frame embeddings from various representations ; (2) retrieval of candidate frames given an input text; and (3) identification of the most suitable frames. We conducted extensive experiments across multiple configurations, including zero-shot, few-shot, and fine-tuning settings. Our results show that our retrieval component significantly reduces the complexity of the task by narrowing the search space thus allowing the frame identifier to refine and complete the set of candidates. Our approach achieves state-of-the-art performance on FrameNet 1.5 and 1.7, demonstrating its robustness in scenarios where only raw text is provided. Furthermore, we leverage the structured representation obtained through this method as a proxy to enhance generalization across lexical variations in the task of translating natural language questions into SPARQL queries.

View a PDF of the paper titled Enhancing Frame Detection with Retrieval Augmented Generation, by Papa Abdou Karim Karou Diallo and 1 other authors Our results show that our retrieval component significantly reduces the complexity of the task by narrowing the search space thus allowing the frame identifier to refine and complete the set of candidates. Furthermore, we leverage the structured representation obtained through this method as a proxy to enhance generalization across lexical variations in the task of translating natural language questions into SPARQL queries.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of retrieval

retrieval

Photo of augmented generation

augmented generation

Photo of frame detection

frame detection

Related news:

News photo

Beyond RAG: How cache-augmented generation reduces latency, complexity for smaller workloads

News photo

Cascading retrieval: Unifying dense and sparse vector embeddings with reranking

News photo

Breaking the cloud backup ‘black box’ with intelligent data mapping and retrieval