Query, context, and verification

Query transformation, context reduction, and verification change evidence while preserving an auditable path to the original request and sources.

Query, context, and verification: architecture comparisonEach lane reads from input to output.

Query transformation

  1. inputOriginal request
  2. transformRewrite or expand
  3. retrieveMultiple searches
  4. fuseCandidate fusion
  • RAG-Fusion
  • Query2Doc
  • HyDE
  • Rewrite-Retrieve-Read

Active retrieval

  1. generatePartial reasoning
  2. detectUnresolved need
  3. retrieveTargeted evidence
  4. continueUpdated generation
  • IRCoT
  • FLARE
  • ITER-RETGEN

Context reduction

  1. inputRetrieved evidence
  2. scoreToken or span utility
  3. compressText or latent form
  4. preserveSource lineage
  • RECOMP
  • LLMLingua
  • LongLLMLingua
  • LLMLingua-2
  • xRAG
  • CODEPROMPTZIP

Attribution and repair

  1. draftClaims
  2. alignClaim to evidence
  3. verifySupport and sufficiency
  4. repairRevise or abstain
  • ALCE
  • RARR
  • Sufficient Context
  • Think&Cite

Read the full explanation