Manuscript Offprint

arXiv:2610.12243

NativeScope: Relation-Localized Retrieval over Native Topology with a Correct Anchor

Long Wang

Abstract

Dense retrieval usually ranks text chunks by their semantic similarity to a question. This ignores structure that many data systems already store, including section membership, session boundaries, and native order. We propose NativeScope, a scope-then-rank method for queries with a known anchor and relation. It represents a query as q→(A,r,B)q \rightarrow (A, r, B): the anchor A and relation r select native units through belonging, before, or after operators, and the target term B ranks only chunks that overlap the selected scope. An internal variant, NS-FullQ, ranks the same candidates with the full question. We evaluate both methods on 200 controlled document and memory records derived from QASPER and LongMemEval under a 1,024-token budget. NativeScope attains native-unit recall of 89.28% for documents and 72.50% for memories, improving over instance-wide Dense RAG by 42.75 and 22.00 percentage points. NS-FullQ reaches 87.78% and 68.50%; its differences from NativeScope are inconclusive, locating the primary gain in relational scoping rather than the shorter ranking query. With automatic Top-1 anchors, memory recall falls to 35.50%. NativeScope is therefore effective when anchor coordinates and native relations are reliable, but hard scoping inherits errors from the localization interface.

Keywords: relational retrieval; native topology; retrieval-augmented generation; long-term memory; conditional evaluation

1 Introduction

Retrieval-augmented generation typically finds evidence by comparing a question with text chunks. Some questions, however, constrain location as well as content: the answer may lie in the section containing a paragraph or before a particular dialogue turn. Documents and memory systems often preserve these relations as section identifiers, session boundaries, and native order. Treating the collection as flat text discards information that can directly restrict the search space.

We ask a conditional question: how much does relational scoping help once the query anchor is known and the stored topology is trustworthy? The anchor may come from a user selection, a stable record identifier, or a validated upstream locator. Our main evaluation supplies the correct coordinate to isolate retrieval; a separate automatic-localization experiment measures how the method degrades when that condition fails.

NativeScope writes a relational query as q→(A,r,B)q \rightarrow (A, r, B). A identifies a location, r specifies a scope operation over native structure, and B identifies what should be retrieved within that scope. The key step is to use the relation as a candidate-domain constraint before semantic ranking. The full question can also rank candidates within the same scope; we call this internal variant NS-FullQ. Relational scoping and the choice between q and B as a ranking input are therefore evaluated separately.

NativeScope connects native coordinates, relation operators, and semantic ranking in a single retrieval interface. Unlike systems that infer a new hierarchy or graph, it executes relations already present in the source data. We implement the same pipeline over document paragraphs and dialogue turns, with shared definitions of coordinates, token budget, and evidence coverage. The evaluation separates the value of relational scoping from the choice of ranking query and from the reliability of anchor localization.

References (28)