NativeScope: Relation-Localized Retrieval over Native Topology with a Correct Anchor
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). 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 percent for documents and 72.50 percent for memories, improving over instance-wide Dense RAG by 42.75 and 22.00 percentage points. NS-FullQ reaches 87.78 percent and 68.50 percent; 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 percent. NativeScope is therefore effective when anchor coordinates and native relations are reliable, but hard scoping inherits errors from the localization interface.
Figures & tables
| Method | Candidate scope | Ranking input/basis | Role |
|---|---|---|---|
| Dense RAG | Full instance | Full question | Flat dense baseline |
| Anchor Window | Anchor units | Native distance | Distance-window control |
| NS-FullQ | Chunks overlapping | Full question | Internal ranking variant |
| NativeScope | Same as above | Target term | Target-ranking implementation |
| Method | Document | Memory |
|---|---|---|
| Dense RAG | 46.53 | 50.50 |
| Anchor Window | 45.36 | 2.00 |
| NS-FullQ (internal variant) | 87.78 | 68.50 |
| NativeScope | 89.28 | 72.50 |
| Domain | Control | Difference | 95% interval |
|---|---|---|---|
| Document | Dense RAG | ||
| Document | Anchor Window | ||
| Document | NS-FullQ | ||
| Memory | Dense RAG | ||
| Memory | Anchor Window | ||
| Memory | NS-FullQ |
| Domain | Relation | Dense | Window | NS-FullQ | NativeScope | |
|---|---|---|---|---|---|---|
| Document | belonging | 50 | 46.06 | 53.56 | 86.06 | 92.06 |
| Document | before | 25 | 55.00 | 37.00 | 92.00 | 86.00 |
| Document | after | 25 | 39.00 | 37.33 | 87.00 | 87.00 |
| Memory | belonging | 50 | 39.00 | 2.00 | 53.00 | 61.00 |
| Memory | before | 25 | 60.00 | 4.00 | 80.00 | 84.00 |
| Memory | after | 25 | 64.00 | 0.00 | 88.00 | 84.00 |
| Metric/method | Document | Memory |
|---|---|---|
| Anchor Top-1 accuracy | 61.00 | 37.00 |
| All gold targets in relation scope | 74.00 | 53.00 |
| Dense RAG recall | 46.53 | 50.50 |
| Anchor Window recall | 43.69 | 3.00 |
| NS-FullQ recall | 65.44 | 33.50 |
| NativeScope recall | 66.94 | 35.50 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Batch | Results | Anchor condition | Use in this paper |
|---|---|---|---|
| Original chunking main run | 4,000 | Automatic | Default-chunking boundary result; other runs retained as exploratory records |
| Original mechanism batch | 9,280 | Automatic and separate diagnostics | Audit retained; not evidence for mechanisms under the revised condition |
| Correct-anchor revision | 800 | Given correct coordinate | Main evidence in Tables 2 – 4 |
| Generative QA | 36 | Original protocol, incomplete | Paused; no method comparison reported |