Il prossimoProssima guida
RAG speculativo e drafting aumentato con il recupero
Tecnico
GUIDA ALL'AI linguistica
Self-RAG learns when to retrieve and uses reflection tokens to assess passages and generated segments.
Ascolta questa guidaNarrato dall'IA · ~2 min
These critiques can guide generation, but they are model predictions rather than independent proof that an answer is correct.
Self-RAG, introduced by Asai and colleagues in 2023, interleaves generation with learned retrieval and critique decisions. Retrieve tokens indicate whether external passages should be fetched. IsRelevant evaluates a passage's relevance; IsSupported predicts whether the generated segment is supported; IsUseful assesses response utility. The method can make retrieval decisions as generation progresses, rather than using only one fixed retrieval step for the whole response. It is compared with fixed-retrieval baselines in the paper, not proof that every other RAG system always retrieves or never checks evidence. Critiques influence candidate selection and can improve results in studied settings, but predicted support can be mistaken and still needs evaluation.
Comparing adaptive retrieval with a baseline that retrieves for every input.
Using predicted passage relevance to score alternative evidence contexts.
Weighting predicted support when choosing generated answer segments.
Evaluating support judgments against independently checked references.
Il recupero riflessivo sta convergendo con il RAG agentico, in cui i modelli pianificano ricerche in più fasi, chiamano strumenti e si autocorreggono attraverso le iterazioni. Aspettatevi una più stretta integrazione dell'autocritica con modelli di verifica, recupero su grafici della conoscenza e apprendimento per rinforzo che premia risposte fedeli e ben citate. Man mano che i modelli di ragionamento maturano, è probabile che il recupero su richiesta e autovalutato diventi un comportamento predefinito piuttosto che un quadro separato, con il modello che decide dinamicamente quante prove richiede ciascuna affermazione.
Newsletter gratuita
Tre storie verificate sull'IA ogni mattina nei giorni feriali, scritte in un inglese semplice. Gratuito per sempre, senza pubblicità.
Un'email ogni giorno feriale. Disiscriviti con un clic. Non vendiamo né condividiamo mai il tuo indirizzo.
Mettiti alla prova
Feedback immediato su ogni risposta e un certificato condivisibile con un ID verificabile una volta superato un corso.
Sostieni l'istruzione gratuita sull'IA. AI Understanding è un'organizzazione non profit 501(c)(3) — nessun annuncio, nessun paywall, mai. Fai una donazione
Self-RAG learns when to retrieve and uses reflection tokens to assess passages and generated segments. These critiques can guide generation, but they are model predictions rather than independent proof that an answer is correct.
Retrieve tokens support adaptive retrieval. Other RAG designs may also be adaptive, so this contrast is scoped to the fixed-retrieval baseline.
I token di riflessione come IsRelevant, IsSupported e IsUseful consentono al modello di criticare i passaggi e il proprio output.
The token is a model-generated support judgment that can guide generation but may be wrong.
Self-RAG apprende dai dati di addestramento annotati con token di riflessione, spesso generati da un modello di insegnante più capace come GPT-4.
Criticando la pertinenza di ogni passaggio, Self-RAG può ignorare i recuperi fuori tema invece di inserirli nella risposta.
Continua a imparare
Altre guide selezionate per questo argomento
Il prossimoProssima guida
RAG speculativo e drafting aumentato con il recupero
Tecnico