Explore the research collection
10 entries · Follow this search
- Paper
From Local to Global: A Graph RAG Approach to Query-Focused Summarization
GraphRAG: LLM extracts entities/relations/claims into a knowledge graph, Leiden-partitions it hierarchically, and pregenerates community summaries; query-time map-reduce over those summaries answers global QFS that vector RAG misses. Podcast (~1M tok) and news (~1.7M tok) graphs: 8,564/15,754 nodes. vs vector RAG, comprehensiveness win rates ~72–83% and diversity ~62–82% (GPT-4 judge, 125 questions×5). Root-level summaries use ~2–3% of source tokens. Code https://github.com/microsoft/graphrag.
- Paper
Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
Mem0 incrementally extracts facts from message pairs (summary + last m=10 turns) then ADD/UPDATE/DELETE/NOOP against top-s=10 similar memories via GPT-4o-mini tool calls. Mem0^g stores entity–relation triplets in Neo4j. On LOCOMO (10 convos, ~600 turns / 26k tokens, ~200 Qs each), Mem0 J 66.88 overall vs OpenAI memory 52.90 / Zep 65.99 / full-context 72.90; single-hop J 67.13 and multi-hop 51.15 lead. Graph variant best on temporal (J 58.13) and competitive open-domain (75.71 vs Zep 76.60). p95 total latency 1.44s (91% below full-context 17.1s) at 1764 retrieved tokens vs 26k. Code https://github.com/mem0ai/mem0; research https://mem0.ai/research.
- Paper
MeMo: Memory as a Model
MeMo distills a target corpus into reflection QA (fact extract, consolidate, verify, entity-surface, cross-document synthesis) and SFT a dedicated Memory model (e.g. Qwen2.5-14B) while the Executive stays frozen and queries it via a 3-stage multi-turn protocol. Retrieval cost is independent of corpus size; plug-and-play with closed-source Executives. NarrativeQA 26.85%/53.58% (Qwen2.5-32B / Gemini-3-Flash) vs HippoRAG2 21.39%/23.21%; MuSiQue 48.30%/60.20% vs 42.17%/57.00%; BrowseComp-Plus 54.22%/66.67% (trails HippoRAG2 56.11% on Qwen). Robust to distractor docs (±1.8pp vs ~5–6pp RAG drops). TIES-merge of two NarrativeQA halves cuts compute 33% at K=2 but loses 11–19pp vs full retrain.
- Model
pplx-embed-v2-context-9b-preview: contextual embedding beyond the gold passage
New method to train contextual embedding models: instead of embedding each document chunk on its own, the 9B model encodes the whole document once and pools chunk vectors afterward, so every chunk embedding sees the full document. The new training signal: instead of one labeled "gold" chunk per query, relevance is distilled from Perplexity's own context compression model, which scores every document token against the query; this teaches the model to retrieve both the answer and the context that supports it. Claimed results: pplx-embed-v2-context-9b-preview sets a new SOTA on ConTEB and on turbopuffer's new private context-bench (evaluated blind): +14.4 points answer recall@10 over voyage-context-4; at 1024 dims in int8 (1KB per vector) it still beats voyage-context-4 at 8KB per vector.
- Model
Cohere Embed 5 (Pro and Fast embeddings family)
Cohere's new state-of-the-art embeddings family in two tiers: Embed 5 Pro for frontier capabilities and Embed 5 Fast for low-latency performance. Snapshot specs (identical for both unless noted): 128K token context; text, image, and fused text+image inputs (page images embedded directly or fused with metadata into a single vector); 100+ languages with cross-lingual retrieval; output dims 2048/1536/1024/768/512/256 with Matryoshka representations and float/int8/binary formats (1024-dim int8 recommended sweet spot; 256-dim binary = 32 bytes/vector, 256x reduction; up to 96% compression without quality loss); Pro and Fast vectors share an embedding space, so teams can index with Pro and query with Fast without re-indexing (cross-model combos lose only 1.6-2.7% mean retrieval quality). Both self-hostable with vLLM for private VPC/on-prem deployment. Benchmarks: ViDoRe V3 (RCP-nDCG@10, 8 enterprise document domains) Pro 85.8 (+8.8 over Embed 4), ahead of Voyage 4 Large (83.7), Gemini Embedding 2 (83.2), OpenAI text-embedding-3-large (75.5); Fast 84.5, ahead of Gemini Embedding 2 and Voyage 4 Large. Finance: Pro leads on FinanceBench (80.1), FinQA (90.0), ViDoRe V3 Finance (85.0), +3.3 avg over the next non-Cohere competitor. Fused text-image: Pro 82.3 vs Gemini Embedding 2 61.3. Page-image retrieval: Pro 77.0. Multilingual: Pro highest average across DE/FR/ES/IT/RU (77) and strong on JA/CN/KO/AR/FA/HI/BN/TE/ID/TH. Fast: ~2.4x higher document throughput than Pro, beats Voyage 4 Nano by ~7 points on ViDoRe V3, outperforms Qwen3-VL-Embedding-2B by ~20 points. Pricing: Pro $0.12/1M tokens, Fast $0.08/1M tokens. Access: Cohere API, Model Vault, Microsoft Foundry, Amazon SageMaker, North; batch embedding; integrations with LangChain, Haystack, Weaviate, Qdrant, Pinecone, Elasticsearch, MongoDB, Redis, Milvus, OpenSearch.
- Model
topk-embed-v1 (TopK multimodal late-interaction retriever)
A family of open-source and hosted text/image embedding models from TopK, announced as frontier retrieval quality at $0.05/1M tokens with highly compressible representations for serving at scale with storage comparable to dense baselines. The 2B variant (topk-embed-v1-small) is a multimodal late-interaction retriever finetuned from Qwen3.5-2B: instead of one vector per input it stores multiple embeddings per text token or image patch and scores with MaxSim. Text queries search both text documents and images (scanned pages, reports, slides); 1024 tokens per query, 8192 tokens per text document; 2048-dim embeddings with Matryoshka (MRL) prefix support (e.g. 256) and Ward token pooling (2x/4x/8x). Evaluated on the eight public ViDoRe v3 test datasets: image-native nDCG@10 65.22 (Recall 69.26), image-crosslingual 63.17/67.46, markdown-native 62.80/67.00, markdown-crosslingual 60.49/65.08. Requires a CUDA GPU with bfloat16 (Ampere or newer) and custom trust_remote_code code.
- Post
Reaching 1B context length with RAG
Zyphra research blog (2024-10-21, Palo Alto). Combines fast sparse embeddings with personalized-PageRank-style graph retrieval so only a small retrieved subset (~65 chunks / several thousand tokens) is fed to gpt-4o-mini. Reports near-perfect Hash-Hop accuracy through 1B tokens, matching/beating Magic LTM at 50M–100M while running embedding+retrieval on CPU. Contrasts with dense BERT embedders (gte-small/base/large) that embed much more slowly.
- Paper
HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
NeurIPS 2024 (cite Gutiérrez et al.; arXiv 2405.14831). Hippocampal indexing: LLM extracts a schemaless KG (neocortex), Personalized PageRank spreads activation from query entities (hippocampus) for single-step multi-hop retrieval. Up to +20% vs then-SOTA RAG on multi-hop QA; single-step HippoRAG matches or beats iterative IRCoT at 10–30× cheaper and 6–13× faster; combining them helps further. Also handles integration scenarios existing RAG misses. Discord/X is a 2026 hype recap by @N01ennn quoting their “How to be a Memory Engineer” X article (Stanford/Microsoft/Anthropic/Nvidia lenses); the substantial artifact is this 2024 paper. MIT code OSU-NLP-Group/HippoRAG. OSU + Stanford.
- Code
ReZero
ReZero (Retry-Zero) adds a reward_retry term to GRPO so the policy is paid for issuing a later search query after an unsuccessful first attempt, but only if the trajectory still emits a well-formed final answer. Paper arXiv 2504.11001: Llama-3.2-3B-Instruct on Apollo 3 mission chunks (341 chunks / 32 held-out) peaks at 46.88% accuracy vs 25% without the retry reward (1xH200). Repo trains via train_grpo.py, ships data/ plus a Gradio demo, and points to Menlo/ReZero-v0.1-llama-3.2-3b-it-grpo-250404 (and GGUF). GitHub menloresearch/ReZero redirects to janhq/ReZero. No LICENSE file on the repo; arXiv Atom API states no license.
- Code
turbovec
Rust index with Python bindings for TurboQuant (arXiv 2504.19874, ICLR 2026): data-oblivious 2/4-bit quantization and no separate train step. README: 10M float32 docs ~31 GB → ~4 GB. Hand-written SIMD (NEON SDOT/SMMLA, AVX-512 VNNI) beats FAISS IndexPQFastScan in measured configs (~3.4× at 4-bit). Incremental crash-safe sync, allowlist-filtered search, and LangChain/LlamaIndex/Haystack/Agno drop-ins. PyPI and crates.io.