Back to directory

Video-RAG: Visually-aligned Retrieval-Augmented Long Video Comprehension

A plug-and-play, training-free retrieval-augmented generation pipeline that adds visually-aligned OCR, ASR and object-detection text to a large video-language model, improving long-video comprehension without extra fine-tuning.

Video-RAG: Visually-aligned Retrieval-Augmented Long Video Comprehension

Video-RAG retrieves three kinds of visually-aligned auxiliary text, OCR, ASR and object-detection output, produced by external open-source tools, and brings them into an existing large video-language model's context through retrieval-augmented generation, rather than requiring a commercial API or additional training. Applied to a 72-billion-parameter open-source model, the authors report state-of-the-art results on Video-MME, surpassing models such as Gemini-1.5-Pro.

The reference implementation is built on LLaVA-NeXT, using a separate conda environment for the APE object-detection service and packages such as spaCy, FAISS, EasyOCR and ffmpeg-python for the retrieval pipeline; the pipeline runs against LLaVA-Video-7B out of the box and can be adapted to other large video-language models by swapping in the target model, its inference call, and its video-preprocessing step.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.