paper-with-me

Papers

Probe, Don't Prompt: A Hidden-State Probe for Metadata Filtering in Multi-Meta-RAG

2026-07-04 · Mykhailo Poliakov, Nadiya Shvai arxiv

Multi-Meta-RAG improves retrieval for multi-hop question answering by filtering a vector store on metadata (the news source) that it extracts from each query by prompting gpt-3.5-turbo. We show this proprietary, free-form extractor can be replaced by a local, deterministic probe trained on the hidden states of a small open-source language model. On all 2556 MultiHop-RAG queries the probe reaches 90.9% set-exact accuracy against 88.0% for a model-free substring baseline and 80.9% for GPT-3.5, a margin that comes entirely from null queries, on which GPT-3.5 never abstains; on non-null queries all three stay within about a point. Because the probe's output space is exactly the fixed 49-source vocabulary, it cannot drift outside the allow-list as the prompted model does. Three design choices make it work: selecting a shallow layer, mean pooling, and class-imbalance-aware multi-label training over the long tail of sources. A 135M-parameter model lands within ~1.5 points of a 1.5B one, so the filter is cheap to output: a partial forward pass through the first few layers plus one linear head, with no API. The code is available at https://github.com/mxpoliakov/Multi-Meta-RAG.

📄 PDF Abstract BibTeX arXiv:2607.03929

Code (0)

등록된 구현이 없습니다.

Tasks

Multi-hop Question Answering

Similar Papers 제목 키워드 기반

Before the Last Token: Diagnosing Final-Token Safety Probe Failures

2026-05-12 · Shravan Doda arxiv

Final-token safety probes monitor a single hidden state after prompt prefill, but jailbreak prompts can contain probe-visible unsafe evidence distributed across earlier user-token representations that is missed by this r…

Document-Authored Control-Signal Impersonation: A Low-Cost Indirect Prompt Attack on RAG Safety Boundaries

2026-06-08 · Jianguo Zhu arxiv

Retrieval-augmented generation (RAG) systems often serialize user queries, retrieved documents, metadata, system labels, and task instructions into one natural-language prompt. We study a source-authority boundary failur…

Your Agentic LLMs Secretly Encode Indirect Prompt-Injection Exposure in Hidden States

2026-08-01 · Jianshuo Dong, Yiming Liu, Maosen Zhang, Nan Deng 외 arxiv

Agentic LLMs are vulnerable to indirect prompt injection (IPI) attacks, e.g., malicious side-tasks hidden in external tool results. While many efforts have sought to address this threat, little is known about the interna…

From Signals to Transfer: A Factorised Study of Probe-Based Uncertainty Estimation in Large Language Models

2026-06-26 · Ponhvoan Srey, Xiaobao Wu, Cong-Duy Nguyen, Quang Minh Nguyen 외 arxiv

Probe-based uncertainty estimation (UE) has emerged as a prominent approach to detect hallucinations in Large Language Models (LLMs) by learning uncertainty from internal model signals. Yet, recent methods vary simultane…

ReLope: KL-Regularized LoRA Probes for Multimodal LLM Routing

2026-03-25 · Yaopei Zeng, Congchao Wang, Blake JianHang Chen, Lu Lin arxiv

Routing has emerged as a promising strategy for balancing performance and cost in large language model (LLM) systems that combine lightweight models with powerful but expensive large models. Recent studies show that \emp…