Explore the research collection
7 entries · Follow this search
- 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.
- Paper
LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning
A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.
- 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.
- Paper
FlashHead: Efficient Drop-In Replacement for the Classification Head in Language Model Inference
Argues growing vocabularies make the dense LM head a major param/compute bottleneck (up to ~60% params / ~50% decode compute on small models). FlashHead reframes next-token scoring as balanced-cluster multiprobe retrieval with sampling support and selective quantization, reporting up to ~1.75× model-level speedups (e.g. Llama-3.2-1B) with near-baseline accuracy; gains compound with W4A16.
- 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.
- Paper
Filesystem-Based Memory for LLM Agents: Organization, Evolution, and Sustainability
Treats deployed filesystem memory (markdown trees + generic file tools) as a design space with management/search/execution roles sharing one store for declarative memory and skills. Across LoCoMo, PersonaMem, REALTALK, and ALFWorld, varies store shape, scale, harness, and model strength. Organization's reliable payoff is search cost (roughly halves retrieval on large material), not answer quality. Organization erodes for all but the strongest management agent; tool set reshapes the store as strongly as swapping the model. No agent converts organization itself into better answers.