Manuscript Offprint
arXiv:2610.13277Beyond the Final Embedding: Retrieving Memories from Token-Level Evidence
ABSTRACT
Memory-augmented assistants retrieve evidence from stored conversations and documents to answer queries. Most embedding-based retrievers compare single-vector representations of queries and memories, even when relevance depends on a small part of the content. Such local evidence can be matched to queries using the contextual token representations already computed by the same embedding models. Our method uses sparse token matching to improve retrieval without additional training. Each query token retrieves a small set of matching tokens across candidate memories. The matching scores are aggregated for each memory and combined with whole-memory similarity to rank memories. An optional low-rank query adapter can be trained with supervision while keeping the encoder and stored memory representations fixed. Our method improves retrieval across eight benchmarks and multiple model families without additional training. Query adaptation further increases the gains to 13.3 and 14.3 percentage points in average Recall@10 and NDCG@10 on Qwen3-Embedding-4B. These retrieval gains translate into higher question-answering accuracy on long-term memory benchmarks.
1 INTRODUCTION
Memory retrieval enables assistants to answer questions using information from past conversations and stored documents (Maharana et al., 2024; Wu et al., 2025; Zhao et al., 2026). Existing retrieval approaches range from lexical methods that rely on word overlap (Robertson & Zaragoza, 2009) to semantic methods that compare learned representations of queries and memories (Wang et al., 2022). Among these, single-vector retrieval encodes each query and memory into a single embedding and uses embedding similarity to rank memories, supporting efficient indexing and search over large memory banks (Karpukhin et al., 2020; Zhang et al., 2025). The expressive limitations of single-vector retrieval have attracted both theoretical and empirical study (Weller et al., 2026).
In practice, the information needed to answer a question may occupy only a small part of a memory, and different questions may depend on different parts. Single-vector retrieval scores relevance through whole-memory similarity without explicitly matching queries to fine-grained information within each memory. However, the same encoder already computes contextual token representations that can be used to match queries to such local evidence. Figure 1 illustrates how combining the resulting local scores with whole-memory similarity improves retrieval.
These local matches illustrate the use of richer matching signals, a direction that existing work has explored alongside representation learning to improve retrieval. Context-aware representation learning methods, such as InSeNT and EvoEmbedding, incorporate surrounding information when learning retrieval representations (Conti et al., 2025; Nie et al., 2026). Search-Adaptor instead adapts the final embeddings produced by existing models (Yoon et al., 2024). On the matching side, multi-vector methods such as ColBERT score relevance through token-level matching (Khattab & Zaharia, 2020). Recent work further shows that existing single-vector models can support such matching by reusing their internal token representations (Zhang et al., 2026a).
We introduce a memory retrieval method that uses contextual token representations already computed by a frozen embedding model. Specifically, query tokens retrieve sparse matches across candidate memories, and their scores are aggregated by source memory. Combining these scores with whole-
Corresponding author.
Query What did Joanna find in old notebooks last week that prompted her to reflect on her progress as a writer?
(a) Original retrieval
(b) Local token evidence
(c) Top-10 recovery

Figure 1: Local evidence from existing token representations. Training-free fusion raises the relevant memory from rank 28 to 1 and yields a net gain of 523 Top-10 hits on LoCoMo.
memory similarity improves retrieval without additional training. With supervision, a lightweight query adapter further adjusts token-level matching while keeping the encoder and memory index fixed.
We evaluate our method across eight retrieval benchmarks and eight embedding backbones spanning multiple model families and sizes. The results show substantial retrieval improvements without additional training. Downstream evaluations further demonstrate higher question-answering accuracy on long-term memory benchmarks. Controlled comparisons and ablations examine sparse matching and whole-memory similarity, while efficiency experiments measure storage and query latency.
Our contributions are threefold:
• We show that existing token representations improve memory retrieval without additional training, revealing capabilities underutilized by single-vector scoring.
• We combine sparse token matching with whole-memory similarity and provide optional query adaptation that leaves the encoder and memory index unchanged.
• We evaluate eight backbones on eight retrieval benchmarks and downstream question answering, examining component contributions and quality-cost trade-offs.
Single-vector representation learning. Single-vector models learn a shared embedding space for efficient comparison of queries and candidates. Sentence-BERT uses siamese networks to learn sentence embeddings (Reimers & Gurevych, 2019), while E5 scales contrastive pre-training with weakly supervised text pairs (Wang et al., 2022). Qwen3-Embedding builds on pretrained language models to support multilingual, instruction-aware retrieval (Zhang et al., 2025). These approaches improve the final embedding through representation learning. Our method instead uses the contextual token states of an existing encoder alongside its final embedding, without changing the encoder.
Contextual and multi-vector retrieval. Context-aware chunk methods preserve surrounding information in local representations (Günther et al., 2024; Conti et al., 2025), while BERT-MaxP scores query-passage pairs and takes the maximum (Dai & Callan, 2019). ColBERT and ColBERTv2 use token-level late interaction (Khattab & Zaharia, 2020; Santhanam et al., 2022b). Other methods use compact multi-vector representations (MacAvaney et al., 2025; Yu et al., 2026; Xiao et al., 2026; Qin et al., 2026) or improve late-interaction search (Santhanam et al., 2022a; Scheerer et al., 2025). SMART reuses frozen hidden states with MaxSim and pooled-score fusion (Zhang et al., 2026a). XTR studies token retrieval and missing-score estimation (Lee et al., 2023). Our method applies this approach to frozen token states and combines local scores with whole-memory similarity.
1 Retain internal signals
Stored conversations
Memory 6
Alice: I signed the lease in March.
I moved to Paris in May.
My job started in June.
Memory 13
Bob: Our office moved to Paris in June.
Alice visited in July.
Memory 28
Contextual token states
Frozen memory bank
6
13
28
2 Learn query-side matching
Query
When did Alice
move to Paris?
Query token states
Frozen encoder
Query adapter
Adapted query
states
Low-rank residual
Only the query adapter is trained.
3 Retrieve original memories
Sparse token matching
Query tokens
Memory 6
Memory 13
Memory 28
Aggregate by Memory ID
1 Memory 6
Alice: I signed the lease in March.
I moved to Paris in May.
My job started in June.
2 Memory 13
Bob: Our office moved to Paris
in June. Alice visited in July.
3 Memory 28
...
Top-10 original memories
Figure 2: Sparse token matching for memory retrieval. Query tokens retrieve matching states from the frozen memory bank; matches are aggregated by source memory and fused with whole-memory similarity for final ranking. The orange query adapter is optional, and memory states and their index remain fixed when it is trained. Memory IDs and alignments are illustrative.
Retrieval adaptation. Adaptation can operate on final embeddings or on the token states used for matching. Search-Adaptor learns task-specific mappings on top of existing embeddings (Yoon et al., 2024). Query-only adaptation preserves the document index, as studied in enterprise retrieval (Jain et al., 2026); ERA further aligns query and document embedding spaces before supervised query-side adaptation (Maekawa et al., 2026). SMART explores lightweight adaptation of token representations for late interaction (Zhang et al., 2026a). Our optional low-rank adapter updates only the local query branch, leaving the whole-memory scoring branch and stored memory representations unchanged.
3 METHOD
Overview. Our retrieval method has three stages, as illustrated in Figure 2. First, each memory is encoded once by the frozen model, and its contextual token states are stored with their source-memory ID. Second, query states retrieve a sparse set of matching memory tokens, whose scores are aggregated by those IDs. Third, the resulting local evidence is fused with the frozen pooled score to rank the memories. An optional query adapter changes the second stage without modifying the encoder or stored bank.
3.1 PROBLEM FORMULATION AND THE FIXED MEMORY BANK
For a query and its candidate memories , the retriever must rank the original memory records rather than token-level matches. For either input , one forward pass through the frozen encoder provides the backbone's native pooled embedding and its final-layer contextual states. We -normalize the pooled embedding as and retain the normalized states at content-token positions as . Thus,
The original single-vector score is
Each memory is encoded independently of the query from its available title and text, so it can be indexed once and reused across queries. We index token states selected by each backbone's content-position mask; Appendix A records the model-specific prompting, masking, and special-token conventions. Each stored token state is paired with its source-memory ID, allowing token-level matches to be aggregated into rankings over the original memory records.
For a candidate set , the frozen bank contains token-state vectors and one pooled embedding per memory. Because the encoder and all memory-side representations remain fixed, the bank can be built once and reused when the query residual is trained or updated. Its representation payload is , compared with for a single-vector index. Section 5.5 reports the resulting quality–storage trade-off in measured index bytes.
3.2 GLOBAL SPARSE TOKEN MATCHING
Every indexed token state retains the ID of its source memory. For each query state , we use HNSW to approximate global top- token search across all candidate memories in and denote the returned set by . Because a returned state remains indexed as , its memory ID determines which memory receives the corresponding evidence.
Following missing-similarity estimation in token retrieval (Lee et al., 2023), we use the clipped similarity of the last retrieved state as the fallback score,
For each query token, we take the highest similarity among the retrieved tokens belonging to memory m, using as an imputed score floor. Averaging these contributions over query tokens gives the memory score:
When contains no state from memory , only the fallback contributes. MaxSim takes the highest token similarity within each memory, whereas sparse matching selects token matches across all candidate memories. For each query token, only retrieved matches above the shared fallback score add to a memory's local score. After token retrieval, our implementation aggregates matches in a dense array, where is the set of matched memory IDs. Table 10 compares retrieval performance under HNSW and exact top- search.
3.3 LOCAL-GLOBAL FUSION
Token-level matching provides local evidence, while the pooled score measures whole-memory similarity. For each branch , let and be the mean and standard deviation of over . We standardize each branch as
This query-wise standardization places local and pooled scores on comparable scales across backbones and candidate sets. We combine the standardized scores as
where controls the relative weight of pooled and local scores. The pooled score is computed for every candidate memory, so a memory can appear in the final results even if none of its tokens is retrieved. Combining sparse token matching with the pooled score gives the training-free form of our method. Optional query adaptation modifies only the query token states; the pooled query embedding remains unchanged.
3.4 OPTIONAL QUERY ADAPTATION
With source supervision, we apply a LoRA-style low-rank residual (Hu et al., 2022) to the encoded query token states, keeping the encoder and memory states fixed. The same bias-free matrices and are shared across all query positions. With rank , define
(4) where and is a numerical safeguard. There is no intermediate activation. Zero initialization of B recovers the unmodified query. Outside the numerical safeguard, preserves the input norm and therefore prevents simple magnitude inflation. The head has 2dr parameters. It acts only on the local query branch; neither the pooled query embedding nor any stored memory representation changes.
Since sparse ANN retrieval involves discrete neighbor selection, we train the query head from memory-level labels using MaxSim as a differentiable surrogate. At inference, the adapted query states are used for sparse matching, and the resulting scores are fused with the unchanged pooled scores. The MaxSim training score considers all tokens in each candidate:
Replacing with gives the adapted score . For a source query , let be its training candidate set and its positive memories. The head minimizes
where is the temperature parameter.
4 EXPERIMENTAL SETUP
Benchmarks. We evaluate our method on retrieval and downstream question answering. For retrieval, LoCoMo, LongMemEval, and REALTALK cover conversational memory (Maharana et al., 2024; Wu et al., 2025; Lee et al., 2025). The other five benchmarks cover financial reports (ESG-Reports), scientific papers (QASPER and PeerQA), biomedical text (CovidQA), and long documents (MLDR) (Macé et al., 2025; Dasigi et al., 2021; Baumgärtner et al., 2025; Möller et al., 2020; Chen et al., 2024). For downstream question answering, we use LoCoMo and LongMemEval to assess whether retrieval improvements translate into better answers using past conversations.
Baselines. Same-backbone baselines include Original embedding, Search-Adaptor (Yoon et al., 2024), Chunk-MaxP, and MaxSim. Chunk-MaxP uses MaxP aggregation (Dai & Callan, 2019) over independent chunk representations, taking the highest score per memory. MaxSim applies ColBERT's late interaction to frozen token representations (Khattab & Zaharia, 2020). BM25 + Original combines BM25 and original embedding scores using our query-wise normalization and equal weighting. Standalone baselines include BM25, ColBERTv2, XTR, and ConstBERT (Robertson & Zaragoza, 2009; Santhanam et al., 2022b; Lee et al., 2023; MacAvaney et al., 2025). Multi-vector systems retain their native encoders and retrieval configurations. Ours (training-free) and Ours denote our method without and with query adaptation, respectively. The eight frozen backbones are Qwen3-Embedding (0.6B/4B/8B) (Zhang et al., 2025), NVIDIA Llama-based models (1B/3B/8B), EmbeddingGemma-300M, and Jina-Embeddings-v5-text-nano. Same-backbone comparisons use identical query and memory inputs.
Implementation Details. We average capped Recall@10 and NDCG@10 equally across eight benchmarks. We use uncompressed token indexes and HNSW search (Malkov & Yashunin, 2020), with and . Trainable methods share the EvoTrain-derived source training and validation split (Nie et al., 2026). Model selection uses only source validation data, and trainable retrieval results average three training seeds. For downstream question answering, we compare Original embedding with our adapted method using Qwen3-30B-A3B-Instruct as the answering model and GPT-4o-mini as the fixed judge. The main comparison retrieves 10 memories; budget analysis varies over . Appendices A, B, and F provide detailed protocols.
5 RESULTS
5.1 MAIN RETRIEVAL RESULTS
Overall retrieval performance. Table 1 shows that our method achieves the highest average Recall@10 and NDCG@10 among the evaluated methods with both Qwen3-Embedding-
Table 1: Retrieval performance (%). Overall is the eight-task mean. Bold and underline denote best and second-best scores within each group; trained methods average three seeds.
| (a) Recall@10 ↑ | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | LoCoMo | LongMemEval | REALTALK | ESG-Reports | QASPER | PeerQA | CovidQA | MLDR | Overall |
| Standalone retrieval systems | |||||||||
| BM25 | 48.3 | 81.3 | 40.0 | 50.5 | 61.4 | 30.7 | 94.1 | 100.0 | 63.3 |
| ColBERTv2 | 61.8 | 86.3 | 52.6 | 56.0 | 73.4 | 44.5 | 94.3 | 97.0 | 70.8 |
| XTR | 43.6 | 89.4 | 42.7 | 62.9 | 71.2 | 38.8 | 93.9 | 98.0 | 67.5 |
| ConstBERT | 63.1 | 85.7 | 55.9 | 53.0 | 72.7 | 43.4 | 91.2 | 96.0 | 70.1 |
| Qwen3-Embedding-0.6B | |||||||||
| Original embedding | 46.9 | 84.8 | 46.6 | 52.8 | 69.6 | 36.8 | 92.0 | 95.0 | 65.6 |
| BM25 + Original | 54.3 | 90.5 | 46.5 | 58.7 | 71.4 | 39.0 | 96.1 | 98.0 | 69.3 |
| Search-Adaptor | 48.8 | 88.1 | 48.4 | 53.1 | 71.7 | 37.6 | 92.2 | 95.0 | 66.9 |
| Chunk-MaxP | 46.9 | 84.7 | 46.6 | 52.8 | 69.6 | 36.8 | 92.0 | 95.0 | 65.5 |
| MaxSim | 64.2 | 92.2 | 53.4 | 54.3 | 73.8 | 43.0 | 94.4 | 96.0 | 71.4 |
| Ours (training-free) | 68.0 | 94.5 | 55.1 | 64.1 | 76.2 | 44.6 | 95.4 | 96.0 | 74.2 |
| Ours | 68.7 | 94.1 | 55.6 | 65.1 | 76.6 | 44.3 | 95.9 | 96.0 | 74.5 |
| Qwen3-Embedding-4B | |||||||||
| Original embedding | 41.6 | 59.2 | 42.8 | 57.9 | 73.1 | 35.8 | 93.3 | 96.0 | 62.5 |
| BM25 + Original | 53.1 | 89.6 | 45.8 | 59.7 | 73.6 | 39.9 | 96.7 | 99.0 | 69.7 |
| Search-Adaptor | 45.4 | 84.7 | 45.1 | 57.3 | 74.1 | 38.4 | 94.0 | 96.0 | 66.9 |
| Chunk-MaxP | 41.6 | 59.5 | 42.8 | 57.9 | 73.1 | 35.8 | 93.3 | 96.0 | 62.5 |
| MaxSim | 54.2 | 93.3 | 48.4 | 49.2 | 68.2 | 39.3 | 94.6 | 95.0 | 67.8 |
| Ours (training-free) | 63.5 | 95.4 | 52.3 | 68.0 | 75.1 | 44.2 | 95.7 | 96.0 | 73.8 |
| Ours | 67.8 | 95.9 | 56.6 | 70.8 | 78.9 | 44.0 | 95.9 | 96.0 | 75.7 |
(b) NDCG@10 ↑
| Method | LoCoMo | LongMemEval | REALTALK | ESG-Reports | QASPER | PeerQA | CovidQA | MLDR | Overall |
|---|---|---|---|---|---|---|---|---|---|
| Standalone retrieval systems | |||||||||
| BM25 | 36.7 | 73.0 | 31.4 | 37.9 | 36.9 | 23.0 | 80.7 | 82.5 | 50.2 |
| ColBERTv2 | 49.4 | 79.5 | 45.0 | 44.9 | 51.1 | 36.0 | 84.0 | 86.1 | 59.5 |
| XTR | 31.6 | 79.1 | 33.1 | 51.9 | 48.8 | 29.8 | 83.3 | 88.2 | 55.7 |
| ConstBERT | 50.3 | 76.6 | 46.7 | 41.5 | 50.1 | 34.7 | 76.8 | 82.6 | 57.4 |
| Qwen3-Embedding-0.6B | |||||||||
| Original embedding | 34.2 | 72.8 | 37.3 | 37.4 | 47.0 | 27.1 | 74.3 | 76.6 | 50.8 |
| BM25 + Original | 42.1 | 81.5 | 38.5 | 44.4 | 46.7 | 29.6 | 84.0 | 84.5 | 56.4 |
| Search-Adaptor | 35.4 | 76.6 | 38.9 | 38.3 | 49.2 | 27.8 | 75.4 | 76.0 | 52.2 |
| Chunk-MaxP | 34.2 | 72.5 | 37.3 | 37.4 | 47.0 | 27.1 | 74.3 | 76.6 | 50.8 |
| MaxSim | 51.3 | 82.5 | 43.8 | 37.7 | 47.1 | 32.2 | 82.7 | 80.7 | 57.3 |
| Ours (training-free) | 53.4 | 87.1 | 44.9 | 52.3 | 51.7 | 34.0 | 83.8 | 81.6 | 61.1 |
| Ours | 54.5 | 87.5 | 45.9 | 51.3 | 52.5 | 34.9 | 84.4 | 81.7 | 61.6 |
| Qwen3-Embedding-4B | |||||||||
| Original embedding | 29.9 | 47.1 | 34.4 | 40.8 | 50.3 | 27.0 | 76.7 | 77.4 | 48.0 |
| BM25 + Original | 40.6 | 80.6 | 38.3 | 45.5 | 47.9 | 29.8 | 85.0 | 85.4 | 56.6 |
| Search-Adaptor | 32.9 | 70.9 | 36.4 | 42.6 | 51.4 | 28.5 | 77.8 | 77.7 | 52.3 |
| Chunk-MaxP | 29.9 | 47.4 | 34.4 | 40.8 | 50.2 | 27.0 | 76.7 | 77.4 | 48.0 |
| MaxSim | 43.3 | 84.6 | 40.5 | 31.9 | 42.9 | 30.0 | 82.6 | 79.0 | 54.3 |
| Ours (training-free) | 49.7 | 87.7 | 42.7 | 49.3 | 51.1 | 33.7 | 85.3 | 80.0 | 59.9 |
| Ours | 53.6 | 88.2 | 46.7 | 53.3 | 54.4 | 34.2 | 85.5 | 82.5 | 62.3 |
Table 2: Cross-backbone retrieval (%). Eight-task means; Ours averages three training seeds. Bold and underline mark the best and second-best scores within each backbone and metric.
| Model | Recall@10 ↑ | NDCG@10 ↑ | ||||
|---|---|---|---|---|---|---|
| Original | Ours (training-free) | Ours | Original | Ours (training-free) | Ours | |
| Qwen3-Embedding-0.6B | 65.6 | 74.2 | 74.5 | 50.8 | 61.1 | 61.6 |
| Qwen3-Embedding-4B | 62.5 | 73.8 | 75.7 | 48.0 | 59.9 | 62.3 |
| Llama-Nemotron-Embed-1B-v2 | 74.8 | 77.3 | 77.6 | 61.4 | 65.1 | 65.4 |
| Llama-NV-Embed-Reasoning-3B | 77.9 | 79.6 | 79.5 | 60.9 | 67.4 | 66.8 |
| EmbeddingGemma-300M | 72.8 | 79.8 | 79.8 | 59.4 | 67.1 | 67.1 |
| Jina-Embeddings-v5-text-nano | 71.4 | 77.0 | 77.3 | 56.5 | 64.4 | 64.6 |
| Qwen3-Embedding-8B | 69.1 | 72.9 | 73.6 | 54.1 | 59.1 | 60.8 |
| Llama-Embed-Nemotron-8B | 76.8 | 79.2 | 79.3 | 62.9 | 67.8 | 68.1 |
0.6B and Qwen3-Embedding-4B. On the 4B backbone, training-free fusion raises average Recall@10/NDCG@10 from 62.5/48.0 to 73.8/59.9. Query adaptation further raises them to 75.7/62.3. For comparison, direct MaxSim on the same backbone reaches 67.8/54.3 average Recall@10/NDCG@10, while ColBERTv2 achieves 70.8/59.5. Substantial improvements are already obtained without query adaptation, demonstrating the retrieval value of token representations from the frozen encoder.
Gains across conversational and document retrieval. Gains over Original embedding are particularly large on conversational memory benchmarks. On Qwen3-Embedding-4B, LoCoMo Recall@10/NDCG@10 rises from 41.6/29.9 to 67.8/53.6, and LongMemEval from 59.2/47.1 to 95.9/88.2. Improvements also extend to document retrieval, including ESG-Reports and QASPER. Compared with standalone systems, our method leads both metrics on LoCoMo and LongMemEval, while ColBERTv2 leads both on PeerQA. On MLDR, BM25 leads Recall@10 and XTR leads NDCG@10.
Retrieval across model families and sizes. Table 2 shows that our method improves average Recall@10 and NDCG@10 over Original embedding on all eight backbones. These gains hold with and without query adaptation across Qwen3-Embedding, Llama-based models, EmbeddingGemma, and Jina-Embeddings.
5.2 DOWNSTREAM QUESTION ANSWERING
Table 3 compares Original embedding and our adapted method across eight backbones. All comparisons use the same answering model, prompts, and top-10 retrieval setting.
Table 3: Downstream question answering at top-10 (%). Question-type columns report accuracy, while overall columns report accuracy and F1. Bold marks the better score per backbone–Ours pair.
| Model | LoCoMo | LongMemEval | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Question type | Overall | Question type | Overall | |||||||||||
| S-hop | Multi | Temp. | Open | Acc. | F1 | User | Asst. | Pref. | Multi | Temp. | Upd. | Acc. | F1 | |
| Qwen3-Embedding-0.6B | 76.1 | 57.1 | 42.7 | 53.1 | 64.2 | 31.2 | 85.7 | 94.6 | 56.7 | 45.1 | 50.4 | 82.1 | 64.2 | 12.7 |
| + Ours | 86.2 | 60.6 | 46.7 | 57.3 | 71.5 | 34.1 | 94.3 | 100.0 | 60.0 | 49.6 | 60.2 | 85.9 | 70.6 | 13.1 |
| Qwen3-Embedding-4B | 76.8 | 55.3 | 38.9 | 52.1 | 63.4 | 31.2 | 91.4 | 96.4 | 60.0 | 50.4 | 56.4 | 78.2 | 67.8 | 13.1 |
| + Ours | 82.8 | 55.7 | 43.3 | 55.2 | 67.9 | 33.0 | 97.1 | 98.2 | 70.0 | 54.9 | 59.4 | 85.9 | 72.6 | 12.4 |
| Llama-Nemotron-Embed-1B-v2 | 78.4 | 50.0 | 42.1 | 47.9 | 63.7 | 31.9 | 84.3 | 94.6 | 53.3 | 39.1 | 43.6 | 83.3 | 60.6 | 12.5 |
| + Ours | 87.6 | 61.7 | 47.4 | 58.3 | 72.7 | 35.8 | 97.1 | 96.4 | 70.0 | 57.1 | 61.7 | 83.3 | 73.2 | 13.0 |
| Llama-NV-Embed-Reasoning-3B | 35.4 | 27.0 | 18.7 | 36.5 | 30.5 | 14.2 | 81.4 | 98.2 | 70.0 | 37.6 | 48.1 | 78.2 | 61.6 | 11.3 |
| + Ours | 60.2 | 34.4 | 26.8 | 42.7 | 47.4 | 24.0 | 95.7 | 96.4 | 76.7 | 50.4 | 59.4 | 87.2 | 71.6 | 12.8 |
| EmbeddingGemma-300M | 83.8 | 59.9 | 45.8 | 57.3 | 69.9 | 33.4 | 90.0 | 96.4 | 66.7 | 49.6 | 56.4 | 80.8 | 68.2 | 12.2 |
| + Ours | 90.2 | 68.1 | 46.4 | 56.2 | 74.9 | 36.2 | 94.3 | 98.2 | 63.3 | 56.4 | 59.4 | 82.1 | 71.6 | 12.8 |
| Jina-Embeddings-v5-text-nano | 71.2 | 44.3 | 34.9 | 47.9 | 57.3 | 29.0 | 97.1 | 100.0 | 73.3 | 52.6 | 53.4 | 83.3 | 70.4 | 12.7 |
| + Ours | 87.3 | 64.9 | 47.7 | 56.2 | 73.0 | 35.6 | 97.1 | 98.2 | 66.7 | 53.4 | 59.4 | 83.3 | 71.6 | 12.8 |
| Qwen3-Embedding-8B | 82.5 | 61.0 | 41.4 | 50.0 | 68.0 | 33.7 | 95.7 | 94.6 | 70.0 | 63.2 | 59.4 | 84.6 | 74.0 | 12.9 |
| + Ours | 87.4 | 64.2 | 43.6 | 56.2 | 72.1 | 35.2 | 97.1 | 98.2 | 70.0 | 54.1 | 62.4 | 89.7 | 73.8 | 13.1 |
| Llama-Embed-Nemotron-8B | 87.8 | 58.5 | 45.8 | 55.2 | 71.6 | 34.9 | 97.1 | 100.0 | 73.3 | 48.1 | 59.4 | 85.9 | 71.2 | 13.1 |
| + Ours | 89.9 | 67.7 | 48.0 | 58.3 | 75.1 | 36.2 | 94.3 | 96.4 | 73.3 | 66.2 | 69.2 | 88.5 | 78.2 | 13.2 |
Across all eight backbones on LoCoMo, our adapted method improves both answer accuracy and F1 over Original embedding, with accuracy gains ranging from 3.51 to 16.95 percentage points. On LongMemEval, overall accuracy improves on seven of eight backbones, with gains of 1.20–12.60 percentage points. On our main Qwen3-Embedding-4B backbone, accuracy increases from 63.44% to 67.86% on LoCoMo and from 67.80% to 72.60% on LongMemEval.
5.3 COMPONENT ANALYSIS
We examine component contributions while keeping the encoder and memory bank fixed.
Local and global information. Table 4 shows that removing local–global fusion reduces mean Recall@10/NDCG@10 by 1.0/1.5 points on Qwen-0.6B and 1.2/1.7 points on Qwen-4B. Together with the gains over Original embedding, this shows that local matching improves retrieval while whole-memory similarity remains complementary.
Sparse token matching. Replacing sparse matching with exhaustive MaxSim, keeping query heads and fusion fixed, lowers mean Recall@10/NDCG@10 by 1.9/2.0 points on Qwen-0.6B and 3.4/2.2 points on Qwen-4B. A matched-fusion, single-index comparison without adaptation extends this result to EmbeddingGemma-300M and Llama-1B/3B: sparse matching improves Recall@10 in 18
Table 4: Component analysis across eight tasks (%). Ours combines sparse matching, local–global fusion, and query adaptation. Each variant changes one component. Removing fusion retains only the sparse score. w/o sparse matching uses MaxSim. Adapted rows average three source-training seeds.
| Method | Qwen3-Embedding-0.6B | Qwen3-Embedding-4B | ||
|---|---|---|---|---|
| Recall@10 | NDCG@10 | Recall@10 | NDCG@10 | |
| w/o query adaptation | 74.2 | 61.1 | 73.8 | 59.9 |
| w/o local–global fusion | 73.5 | 60.1 | 74.5 | 60.6 |
| w/o sparse matching | 72.6 | 59.6 | 72.4 | 60.1 |
| Ours | 74.5 | 61.6 | 75.7 | 62.3 |

Number of retrieved memories K
-
- Original
Ours
Figure 3: Native retrieval across memory budgets and eight backbones. Recall@K and NDCG@K on LoCoMo and LongMemEval for . Colors identify backbones; dashed lines show Original embedding and solid lines show Ours.
of 24 model–task combinations and NDCG@10 in 21, with mean gains of 1.29 and 1.48 points, respectively. The NDCG exceptions are Gemma on REALTALK and both Llama sizes on QASPER.
Query adaptation. Query adaptation adds 0.3/0.5 points in mean Recall@10/NDCG@10 on Qwen-0.6B and 2.0/2.4 points on Qwen-4B. Its benefit varies across the backbones in Table 2: Llama-3B shows a small decrease, while EmbeddingGemma is unchanged after rounding.
Missing-score estimation. At , replacing the tail floor with zero reduces adapted Recall@10 by 1.61–7.14 points and NDCG@10 by 2.57–7.98 points across the two backbones and two datasets. With the floor retained, exact global token search changes Recall@10 by -0.06 to +1.62 points and improves NDCG@10 by 0.03–1.91 points over HNSW, as shown in Table 10. In these settings, estimating unreturned matches matters more than eliminating approximate-search errors.
5.4 SENSITIVITY ANALYSIS
Retrieved memory budget . With the retrieval configuration fixed, we vary using native memory candidates. Figure 3 shows gains over Original embedding in Recall@K and NDCG@K at every budget across both datasets and all eight backbones. These candidates differ from the main eight-task evaluation and match Table 3 at .
Token retrieval budget . Figure 4 shows that retrieving more tokens does not consistently improve Recall@10 or NDCG@10. As varies from 16 to 128 on LongMemEval, each Recall curve spans less than 1.6 percentage points and each NDCG curve less than 0.9. On LoCoMo, both metrics decline for training-free Qwen-4B when increases beyond 32.
Fusion weight. Figure 5 shows similar Recall@10/NDCG@10 at and 0.5 across both backbones and datasets, followed by declines at higher weights and a sharp drop at .

Figure 4: Sensitivity to the token retrieval budget . Adapted curves average three training seeds. Dotted lines mark .

Figure 5: Sensitivity to the pooled-score weight . Dotted lines mark .
5.5 EFFICIENCY AND COMPRESSION
Table 5 compares the uncompressed index (Full), four-bit scalar quantization (SQ4), and 128-dimensional random projection followed by SQ4 (RP128+SQ4) on Qwen-0.6B LoCoMo. Appendix E reports complete compression results, Qwen-4B costs, and the measurement protocol.
Table 5: Retrieval quality, storage, and query latency on LoCoMo.
| Method | Recall@10 ↑ | NDCG@10 ↑ | Size (MiB) ↓ | Query (ms) ↓ |
|---|---|---|---|---|
| BM25 | 48.28 | 36.68 | 0.23 | 0.76 |
| ColBERTv2 | 61.82 | 49.42 | 1.54 | 27.27 |
| XTR | 43.57 | 31.61 | 5.78 | 93.79 |
| ConstBERT | 63.09 | 50.33 | 4.45 | 10.18 |
| Qwen3-Embedding-0.6B | 46.87 | 34.24 | 2.23 | 16.66 |
| Ours (Full) | 68.53 | 54.45 | 153.93 | 29.21 |
| Ours (SQ4) | 68.37 | 54.31 | 26.17 | 21.68 |
| Ours (RP128+SQ4) | 66.69 | 51.92 | 10.70 | 20.69 |
Across two models and eight tasks, SQ4 reduces storage by 81.4–85.9% relative to Full, with mean Recall@10/NDCG@10 changing by +0.33/+0.19 points. On Qwen-0.6B LoCoMo, it retains gains over Original embedding at about 5 ms additional latency. RP128+SQ4 further reduces storage at a larger quality cost.
6 CONCLUSION
Existing contextual token representations support local matching, but single-vector scoring does not directly use them. Therefore, we introduced a method that combines sparse token matching with whole-memory similarity using a frozen embedding model. Experiments across eight models and eight benchmarks showed gains in Recall@10 and NDCG@10 without additional training. Optional query adaptation kept the encoder and memory index fixed, and the adapted method also improved downstream question-answering accuracy. Compression reduced storage and latency relative to the uncompressed index while retaining most retrieval gains. Our method thus made fuller use of the fine-grained retrieval capabilities of existing embedding models.
REFERENCES
Mohammad Kalim Akram, Saba Sturua, Nastia Havriushenko, Quentin Herreros, Michael Günther, Maximilian Werk, and Han Xiao. jina-embeddings-v5-text: Task-targeted embedding distillation. arXiv preprint arXiv:2602.15547, 2026.
Yauhen Babakhin, Radek Osmulski, Ronay Ak, Gabriel Moreira, Mengyao Xu, Benedikt Schifferer, Bo Liu, and Even Oldridge. Llama-Embed-Nemotron-8B: A universal text embedding model for multilingual and cross-lingual tasks. arXiv preprint arXiv:2511.07025, 2025.
Tim Baumgärtner, Ted Briscoe, and Iryna Gurevych. PeerQA: A scientific question answering dataset from peer reviews. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 2025.
Jianlv Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. M3-embedding: Multi-linguality, multi-functionality, multi-granularity text embeddings through self-knowledge distillation. In Findings of the Association for Computational Linguistics: ACL 2024, 2024.
Max Conti, Manuel Faysse, Gautier Viaud, Antoine Bosselut, Céline Hudelot, and Pierre Colombo. Context is gold to find the gold passage: Evaluating and training contextual document embeddings. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 2025.
Zhuyun Dai and Jamie Callan. Deeper text understanding for IR with contextual neural language modeling. In Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval, 2019.
Pradeep Dasigi, Kyle Lo, Iz Beltagy, Arman Cohan, Noah A. Smith, and Matt Gardner. A dataset of information-seeking questions and answers anchored in research papers. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2021.
Jizhan Fang, Xinle Deng, Haoming Xu, Ziyan Jiang, Yuqi Tang, Ziwen Xu, Shumin Deng, Yunzhi Yao, Mengru Wang, Shuofei Qiao, Huajun Chen, and Ningyu Zhang. LightMem: Lightweight and efficient memory-augmented generation. In International Conference on Learning Representations, 2026.
Michael Günther, Isabelle Mohr, Daniel James Williams, Bo Wang, and Han Xiao. Late chunking: Contextual chunk embeddings using long-context embedding models. arXiv preprint arXiv:2409.04701, 2024.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022.
Prateek Jain, Shabari S Nair, Ritesh Goru, Prakhar Agarwal, Ajay Yadav, Yoga Sri Varshan Varadhara-jan, and Constantine Caramanis. Succeeding at scale: Enterprise retrieval benchmark construction and index-preserving query adaptation for multi-tenant search. arXiv preprint arXiv:2601.04646, 2026.
Jiazheng Kang, Mingming Ji, Zhe Zhao, and Ting Bai. Memory OS of AI agent. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 2025.
Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen tau Yih. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2020.
Omar Khattab and Matei Zaharia. ColBERT: Efficient and effective passage search via contextualized late interaction over BERT. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, 2020.
Dong-Ho Lee, Adyasha Maharana, Jay Pujara, Xiang Ren, and Francesco Barbieri. REALTALK: A 21-day real-world dataset for long-term conversation. arXiv preprint arXiv:2502.13270, 2025.
Jinhyuk Lee, Zhuyun Dai, Sai Meher Karthik Duddu, Tao Lei, Iftekhar Naim, Ming-Wei Chang, and Vincent Y. Zhao. Rethinking the role of token retrieval in multi-vector retrieval. In Advances in Neural Information Processing Systems, volume 36, 2023.
Sean MacAvaney, Antonio Mallia, and Nicola Tonellotto. Efficient constant-space multi-vector retrieval. In Advances in Information Retrieval, 2025.
Quentin Macé, António Loison, and Manuel Faysse. ViDoRe benchmark V2: Raising the bar for visual retrieval. arXiv preprint arXiv:2505.17166, 2025.
Seiji Maekawa, Moin Aminnaseri, Pouya Pezeshkpour, and Estevam Hruschka. Align then adapt: Label-efficient adapter learning for asymmetric dense retrieval. arXiv preprint arXiv:2604.03403, 2026.
Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. Evaluating very long-term conversational memory of LLM agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2024.
Yu. A. Malkov and D. A. Yashunin. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42(4):824–836, 2020.
Timo Möller, Anthony Reina, Raghavan Jayakumar, and Malte Pietsch. COVID-QA: A question answering dataset for COVID-19. In Proceedings of the 1st Workshop on NLP for COVID-19 at ACL 2020, 2020.
Gabriel de Souza P. Moreira, Radek Osmulski, Mengyao Xu, Ronay Ak, Benedikt Schifferer, and Even Oldridge. NV-Retriever: Improving text embedding models with effective hard-negative mining. arXiv preprint arXiv:2407.15831, 2024.
Chang Nie, Chaoyou Fu, Junlan Feng, and Caifeng Shan. EvoEmbedding: Evolvable representations for long-context retrieval and agentic memory. arXiv preprint arXiv:2606.21649, 2026.
Hanxiang Qin, Alexander Martin, Rohan Jha, Chunsheng Zuo, Reno Kriz, and Benjamin Van Durme. Multi-vector index compression in any modality. arXiv preprint arXiv:2602.21202, 2026.
Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 2019.
Stephen Robertson and Hugo Zaragoza. The probabilistic relevance framework: BM25 and beyond. Foundations and Trends in Information Retrieval, 3(4):333–389, 2009.
Keshav Santhanam, Omar Khattab, Christopher Potts, and Matei Zaharia. PLAID: An efficient engine for late interaction retrieval. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management, 2022a.
Keshav Santhanam, Omar Khattab, Jon Saad-Falcon, Christopher Potts, and Matei Zaharia. ColBERTv2: Effective and efficient retrieval via lightweight late interaction. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2022b.
Henrique Schechter Vera, Sahil Dua, Biao Zhang, Daniel Salz, Ryan Mullins, Sindhu Raghuram Panyam, Sara Smoot, Iftekhar Naim, Joe Zou, Feiyang Chen, et al. EmbeddingGemma: Powerful and lightweight text representations. arXiv preprint arXiv:2509.20354, 2025.
Jan Luca Scheerer, Matei Zaharia, Christopher Potts, Gustavo Alonso, and Omar Khattab. WARP: An efficient engine for multi-vector retrieval. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2025.
Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. Text embeddings by weakly-supervised contrastive pre-training. arXiv preprint arXiv:2212.03533, 2022.
Orion Weller, Michael Boratko, Iftekhar Naim, and Jinhyuk Lee. On the theoretical limitations of embedding-based retrieval. In International Conference on Learning Representations, 2026.
Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang, and Dong Yu. LongMemEval: Benchmarking chat assistants on long-term interactive memory. In International Conference on Learning Representations, 2025.
Zilin Xiao, Qi Ma, Mengting Gu, Chun-cheng Jason Chen, Xintao Chen, Vicente Ordonez, and Vijai Mohan. MetaEmbed: Scaling multimodal retrieval at test-time with flexible late interaction. In International Conference on Learning Representations, 2026.
Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang. A-Mem: Agentic memory for LLM agents. In Advances in Neural Information Processing Systems, volume 38, 2025.
Jinsung Yoon, Yanfei Chen, Sercan Ö. Arik, and Tomas Pfister. Search-Adaptor: Embedding customization for information retrieval. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2024.
Zhenglin Yu, Xueguang Ma, Shengyao Zhuang, Zhichao Xu, Luyu Gao, Crystina Zhang, and Jimmy Lin. Improving long-context retrieval with multi-prefix embedding. arXiv preprint arXiv:2606.23642, 2026.
Jianrui Zhang, Hyun Jung Lee, Sukanta Ganguly, Tae-Eui Kam, Donghyun Kim, and Yong Jae Lee. Your embedding model is SMARTer than you think. arXiv preprint arXiv:2605.24938, 2026a.
Kai Zhang, Xinyuan Zhang, Ejaz Ahmed, Hongda Jiang, Caleb Kumar, Kai Sun, Zhaojiang Lin, Sanat Sharma, Shereen Oraby, Aaron Colak, Ahmed A. Aly, Anuj Kumar, Xiaozhong Liu, and Xin Luna Dong. AssoMem: Scalable memory QA with multi-signal associative retrieval. In International Conference on Learning Representations, 2026b.
Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, Fei Huang, and Jingren Zhou. Qwen3 embedding: Advancing text embedding and reranking through foundation models. arXiv preprint arXiv:2506.05176, 2025.
Xinping Zhao, Xinshuo Hu, Jiaxin Xu, Danyu Tang, Xin Zhang, Mengjia Zhou, Yan Zhong, Yao Zhou, Zifei Shan, Meishan Zhang, Baotian Hu, and Min Zhang. LMEB: Long-horizon memory embedding benchmark. arXiv preprint arXiv:2603.12572, 2026.
A EVALUATION DETAILS
We follow the LMEB evaluation protocol (Zhao et al., 2026) on 5,873 queries across eight benchmarks and report capped Recall@10 and NDCG@10 as percentages. We average subtasks equally within each benchmark and report the eight-benchmark mean. Retrieval metrics are computed from each system's returned rankings. Table 6 lists encoder settings.
Table 6: Backbone encoding settings.
| Model | Dimension | Whole-vector pooling | Input limit |
|---|---|---|---|
| Qwen-0.6B / 4B | 1024 / 2560 | Last valid token | 32,768 |
| Qwen-8B | 4096 | Last valid token | 32,768 |
| Llama-1B / 3B | 2048 / 3072 | Masked mean | 8,192 |
| Llama-8B | 4096 | Masked mean | 32,768 |
| EmbeddingGemma | 768 | Masked mean + projection | 2,048 |
| Jina-v5-text-nano | 768 | Last valid token | 8,192 |
Model sources. Llama-1B, Llama-3B, and Llama-8B refer to Llama-Nemotron-Embed-1B-v2 (Moreira et al., 2024), Llama-NV-Embed-Reasoning-3B, and Llama-Embed-Nemotron-8B (Babakhin et al., 2025), respectively. We also use EmbeddingGemma-300M (Schechter Vera et al., 2025) and Jina-Embeddings-v5-text-nano (Akram et al., 2026). Model names link to their official model cards.
Encoding and token search. We follow each backbone's native encoding formats and implementations, adding LMEB task instructions for Qwen and Llama-8B. Local matching uses content-token states, excluding prefixes, padding, and special tokens; whole-memory vectors retain native pooling. EmbeddingGemma token states are taken before its pooled projection. Encoders use BF16 except EmbeddingGemma (FP32), and normalized token states are stored in FP16. Token retrieval uses an inner-product HNSW index with , efConstruction=80, efSearch=128, and one search thread.
B TRAINING DETAILS
Our query adapter and Search-Adaptor use 1,024 training and 256 validation examples from EvoTrain-180K (Nie et al., 2026). Our adapter uses the settings in Table 7 across backbones, with all candidates in each query's source bank contributing to the training loss. We select its checkpoint by the mean of source-validation Recall@10 and NDCG@10 at epochs 0, 1, 5, 10, 15, 20, and 25. Trainable retrieval results average seeds 31070, 31071, and 31072.
Table 7: Query-adapter training settings.
| Setting | Value |
|---|---|
| Adapter | Rank-32 query residual; zero-initialized output matrix |
| Optimizer | AdamW; learning rate ; weight decay |
| Training budget | 25 epochs; batch size 16 queries |
| Loss | Multi-positive MaxSim cross-entropy; temperature |
| Gradient clipping | Maximum norm 1 |
C PER-TASK BACKBONE RESULTS
Table 8: Per-task capped Recall@10 for the six additional backbones in Table 2 (%). Backbone rows report Original embedding; Ours reports mean ± SD.
| Model | LC | LM | RT | ESG | QA | PQ | CQ | MLDR |
|---|---|---|---|---|---|---|---|---|
| Llama-1B | 68.5 | 93.6 | 57.2 | 60.6 | 77.5 | 46.6 | 95.5 | 99.0 |
| Ours (training-free) | 72.3 | 95.7 | 60.5 | 67.1 | 79.9 | 47.7 | 97.4 | 98.0 |
| Ours | 72.6±0.14 | 95.5±0.11 | 61.2±0.12 | 68.0±0.80 | 80.2±0.14 | 47.8±0.47 | 97.5±0.05 | 98.0±0.00 |
| Llama-3B | 72.4 | 89.4 | 61.2 | 81.3 | 80.7 | 45.8 | 93.8 | 99.0 |
| Ours (training-free) | 76.2 | 95.7 | 64.9 | 75.6 | 81.9 | 47.4 | 97.1 | 98.0 |
| Ours | 76.6±0.17 | 94.8±0.42 | 63.9±0.23 | 75.8±1.06 | 82.2±0.18 | 47.2±0.47 | 97.2±0.05 | 98.0±0.00 |
| EmbeddingGemma-300M | 64.8 | 91.9 | 58.5 | 50.5 | 78.6 | 45.5 | 93.6 | 99.0 |
| Ours (training-free) | 76.1 | 95.7 | 61.4 | 78.3 | 80.9 | 50.1 | 97.0 | 99.0 |
| Ours | 76.4±0.11 | 95.7±0.07 | 61.9±0.07 | 76.9±0.80 | 81.0±0.04 | 50.2±0.00 | 97.0±0.00 | 99.0±0.00 |
| Jina-v5-text-nano | 58.4 | 88.7 | 52.5 | 65.9 | 71.4 | 42.0 | 94.3 | 98.0 |
| Ours (training-free) | 71.7 | 95.0 | 58.8 | 74.3 | 78.2 | 44.0 | 97.0 | 97.0 |
| Ours | 72.3±0.06 | 95.0±0.11 | 59.3±0.23 | 74.3±0.00 | 78.4±0.30 | 45.2±1.31 | 97.1±0.05 | 97.0±0.00 |
| Qwen3-Embedding-8B | 49.5 | 87.9 | 50.5 | 65.0 | 70.4 | 40.7 | 93.9 | 95.0 |
| Ours (training-free) | 60.6 | 94.1 | 51.5 | 65.1 | 75.5 | 43.7 | 95.9 | 97.0 |
| Ours | 67.1±0.35 | 95.2±0.04 | 54.9±0.42 | 58.3±0.00 | 78.1±0.14 | 43.0±0.47 | 95.3±0.10 | 97.0±0.00 |
| Llama-Nemotron-8B | 72.7 | 95.1 | 61.1 | 67.1 | 77.7 | 46.4 | 95.0 | 99.0 |
| Ours (training-free) | 77.5 | 97.0 | 65.5 | 70.1 | 81.9 | 46.2 | 97.3 | 98.0 |
| Ours | 77.7±0.06 | 96.5±0.04 | 66.2±0.19 | 70.3±0.27 | 82.1±0.06 | 46.2±0.08 | 97.3±0.00 | 98.3±0.58 |
Table 9: Per-task NDCG@10 for the six additional backbones in Table 2 (%). Backbone rows report Original embedding; Ours reports mean ± SD.
| Model | LC | LM | RT | ESG | QA | PQ | CQ | MLDR |
|---|---|---|---|---|---|---|---|---|
| Llama-1B | 54.2 | 83.1 | 48.0 | 48.4 | 56.2 | 36.2 | 84.4 | 80.8 |
| Ours (training-free) | 59.0 | 89.1 | 51.2 | 54.1 | 56.6 | 37.3 | 89.6 | 83.4 |
| Ours | 59.1±0.10 | 88.7±0.30 | 52.1±0.08 | 54.2±0.33 | 57.1±0.11 | 37.7±0.10 | 89.8±0.06 | 84.2±0.16 |
| Llama-3B | 56.3 | 75.4 | 49.2 | 57.0 | 58.2 | 34.6 | 76.8 | 80.1 |
| Ours (training-free) | 62.4 | 87.5 | 54.1 | 64.2 | 59.1 | 38.8 | 87.7 | 85.1 |
| Ours | 62.7±0.06 | 86.2±0.02 | 53.9±0.16 | 63.5±0.57 | 59.0±0.21 | 37.8±0.19 | 87.3±0.01 | 83.8±0.64 |
| EmbeddingGemma-300M | 50.4 | 79.8 | 48.4 | 41.3 | 56.9 | 37.0 | 79.1 | 82.1 |
| Ours (training-free) | 61.4 | 86.7 | 51.4 | 63.0 | 59.1 | 40.0 | 88.1 | 87.1 |
| Ours | 61.5±0.06 | 86.6±0.11 | 51.9±0.17 | 61.9±0.28 | 59.2±0.04 | 39.7±0.15 | 88.0±0.04 | 87.9±0.07 |
| Jina-v5-text-nano | 45.0 | 77.4 | 41.2 | 49.1 | 48.5 | 32.3 | 78.5 | 80.0 |
| Ours (training-free) | 58.3 | 85.9 | 49.2 | 61.4 | 53.2 | 35.7 | 86.7 | 84.8 |
| Ours | 58.7±0.01 | 85.8±0.02 | 49.5±0.28 | 60.7±0.11 | 53.8±0.23 | 36.2±0.46 | 87.1±0.09 | 85.1±0.22 |
| Qwen3-Embedding-8B | 36.3 | 77.4 | 41.0 | 44.2 | 47.4 | 30.0 | 79.4 | 77.4 |
| Ours (training-free) | 47.6 | 86.4 | 42.4 | 46.7 | 50.3 | 34.2 | 84.4 | 80.7 |
| Ours | 53.0±0.25 | 88.5±0.05 | 44.7±0.20 | 45.5±0.05 | 54.2±0.18 | 34.5±0.46 | 84.2±0.05 | 82.1±0.21 |
| Llama-Nemotron-8B | 58.2 | 85.8 | 51.3 | 50.9 | 56.5 | 35.6 | 81.0 | 83.4 |
| Ours (training-free) | 63.4 | 90.3 | 56.0 | 60.1 | 60.0 | 37.8 | 89.5 | 85.2 |
| Ours | 64.0±0.10 | 90.0±0.23 | 57.0±0.12 | 60.1±0.66 | 60.6±0.14 | 37.7±0.15 | 89.6±0.03 | 85.8±0.17 |
D ADDITIONAL SCORING ANALYSIS
Motivating example. Figure 1 uses the saved training-free Qwen3-Embedding-4B configuration on LMEB LoCoMo, with token budget and equal-weight standardized fusion. We jointly remove the six highlighted query tokens' excess-over-floor contributions across all candidate memories. Query and memory encodings, whole-memory scores, the query-token denominator, and the original local normalization remain fixed. The relevant memory changes from fused rank 1 to rank 32. This intervention removes score contributions, not text, and does not re-encode the inputs or renormalize the remaining local scores. Removing only the contribution of “progress” leaves the relevant memory at rank 1. The displayed memories are excerpts, and word groups are used for readability rather than exact tokenizer boundaries. The match between “progress” and “come” is contextual, within “how far I’ve come,” rather than a claim that the isolated words are synonyms.
Top-10 recovery counts. The bars in Figure 1 count queries for which original retrieval has no labelled relevant memory in Top-10 but training-free fusion retrieves at least one. Across all 1,976 saved LMEB LoCoMo queries, including all five question types, there are 607 such recoveries and 84 reverse transitions, giving a net gain of 523 hit queries. The original labels and query set are retained. These are gross query-level counts, not category-normalized rates or Recall@10. They do not imply a net improvement in every category: open-domain queries have 9 recoveries and 10 reverse transitions.
Independent chunking at shorter windows. The main Chunk-MaxP baseline uses 512-token chunks with 64-token overlap. On Qwen-0.6B LoCoMo, shorter independent windows of 128, 64, and 32 tokens yield Recall@10 of 44.99–46.87 and NDCG@10 of 33.42–34.23. Original embedding reaches 46.87/34.24 Recall@10/NDCG@10, compared with 67.98/53.42 for our method without query adaptation. In this setting, reducing the window size does not close the gap to token matching and fusion.
Table 10: Effects of exact search and missing-score estimation at . Adapted Recall@10/NDCG@10 (%), averaged over three training seeds.
| Model | Dataset | HNSW + floor | Exact + floor | HNSW + zero |
|---|---|---|---|---|
| Qwen-0.6B | LoCoMo | 68.69/54.51 | 69.30/55.31 | 61.84/47.04 |
| Qwen-0.6B | LongMemEval | 94.06/87.48 | 94.01/87.50 | 92.46/82.35 |
| Qwen-4B | LoCoMo | 67.83/53.58 | 69.44/55.49 | 60.69/45.60 |
| Qwen-4B | LongMemEval | 95.94/88.15 | 95.96/88.68 | 93.99/85.58 |
Table 11: Scoring controls, Recall@10/NDCG@10 (%).
| Task | MaxSim | MaxSim + Whole | Sparse | Sparse + Whole | ||||
|---|---|---|---|---|---|---|---|---|
| Training-free | Query-adapted | Training-free | Query-adapted | Training-free | Query-adapted | Training-free | Query-adapted | |
| Qwen-0.6B | ||||||||
| LoCoMo | 64.2/51.3 | 66.3/53.7 | 61.6/48.9 | 63.6/50.3 | 66.7/52.1 | 67.4/53.3 | 68.0/53.4 | 68.7/54.5 |
| LongMemEval | 92.2/82.5 | 92.7/83.2 | 93.0/84.3 | 93.2/84.7 | 93.0/86.4 | 93.3/86.2 | 94.5/87.1 | 94.1/87.5 |
| REALTALK | 53.4/43.8 | 55.9/45.9 | 54.7/44.6 | 56.4/45.6 | 51.8/41.9 | 53.7/44.3 | 55.1/44.9 | 55.6/45.9 |
| ESG | 54.3/37.7 | 57.0/39.7 | 56.3/44.9 | 56.3/45.3 | 66.3/47.1 | 65.8/49.9 | 64.1/52.3 | 65.1/51.3 |
| QASPER | 73.8/47.1 | 75.0/48.4 | 75.5/52.1 | 75.9/52.7 | 74.0/47.6 | 74.5/48.3 | 76.2/51.7 | 76.6/52.5 |
| PeerQA | 43.0/32.2 | 43.5/31.9 | 42.9/32.8 | 44.1/32.8 | 41.0/32.8 | 42.8/33.2 | 44.6/34.0 | 44.3/34.9 |
| CovidQA | 94.4/82.7 | 94.5/83.7 | 94.9/82.9 | 95.2/83.0 | 94.4/83.1 | 94.6/84.1 | 95.4/83.8 | 95.9/84.4 |
| MLDR | 96.0/80.7 | 97.0/82.3 | 96.0/81.6 | 96.0/82.0 | 96.0/80.6 | 96.0/81.4 | 96.0/81.6 | 96.0/81.7 |
| Qwen-4B | ||||||||
| LoCoMo | 54.2/43.3 | 66.0/53.6 | 54.9/42.2 | 62.2/48.3 | 62.1/49.2 | 66.4/52.7 | 63.5/49.7 | 67.8/53.6 |
| LongMemEval | 93.3/84.6 | 93.1/85.1 | 92.9/84.7 | 94.4/86.2 | 94.7/87.0 | 95.2/87.2 | 95.4/87.7 | 95.9/88.2 |
| REALTALK | 48.4/40.5 | 57.6/48.6 | 51.6/41.9 | 55.3/45.5 | 50.9/41.3 | 55.5/45.7 | 52.3/42.7 | 56.6/46.7 |
| ESG | 49.2/31.9 | 53.1/40.4 | 55.1/44.2 | 55.1/45.7 | 58.7/40.2 | 64.2/48.4 | 68.0/49.3 | 70.8/53.3 |
| QASPER | 68.2/42.9 | 76.7/50.4 | 75.5/52.0 | 78.1/54.4 | 68.6/43.4 | 76.5/50.6 | 75.1/51.1 | 78.9/54.4 |
| PeerQA | 39.3/30.0 | 44.5/34.6 | 40.1/30.9 | 41.7/33.6 | 42.5/32.4 | 46.2/35.0 | 44.2/33.7 | 44.0/34.2 |
| CovidQA | 94.6/82.6 | 95.3/83.1 | 96.0/84.9 | 96.0/84.6 | 95.1/83.1 | 95.8/83.6 | 95.7/85.3 | 95.9/85.5 |
| MLDR | 95.0/79.0 | 96.0/81.8 | 95.0/80.0 | 96.0/82.5 | 94.0/79.1 | 96.0/81.8 | 96.0/80.0 | 96.0/82.5 |
E COMPRESSION AND COST MEASUREMENT
Table 12 reports the quality–storage trade-off across tasks, while Table 13 adds the latency comparison for both Qwen backbones.
Measurement settings. Storage and latency use the 568-candidate LoCoMo bank with median candidate-text volume; quality uses all 1,976 LoCoMo queries. Adapted Qwen configurations use the source-selected checkpoint from seed 31070. Latency is the median over eight fixed queries and five warm repeats, including query encoding and ranking. Methods run separately with one CPU math thread on a shared server; BM25 and XTR run on CPU, while other neural methods use GPU acceleration. Storage counts the index, token-to-memory mappings, pooled vectors, candidate IDs, and deployed adapter, excluding encoder weights, source text, and caches. RP128 uses the same fixed projection for memory and query states without subsequent normalization.
Table 12: Retrieval quality and storage under compression. Quality is Recall@10/NDCG@10, evaluated on all queries and averaged over three query adapters; storage is measured on a fixed representative candidate bank per task.
| Task | Full | SQ4 | RP128+SQ4 | Pool 4 | Pool 8 | Pool 16 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R/N | MiB | R/N | MiB | R/N | MiB | R/N | MiB | R/N | MiB | R/N | MiB | |
| Qwen3-Embedding-0.6B | ||||||||||||
| LoCoMo | 68.7/54.5 | 153.9 | 68.3/54.3 | 26.2 | 66.8/52.0 | 10.7 | 65.9/49.5 | 11.7 | 67.3/50.9 | 20.9 | 66.2/50.7 | 39.3 |
| LongMemEval | 94.1/87.5 | 597.0 | 94.6/87.6 | 95.1 | 94.9/86.5 | 32.9 | 90.1/76.6 | 9.8 | 92.0/80.4 | 17.6 | 92.9/82.8 | 33.0 |
| REALTALK | 55.6/45.9 | 173.1 | 55.1/45.4 | 29.5 | 54.6/44.8 | 12.0 | 53.3/42.0 | 13.6 | 51.6/42.2 | 24.3 | 51.4/41.1 | 45.8 |
| ESG | 65.1/51.3 | 86.3 | 68.3/52.5 | 14.1 | 59.4/47.4 | 5.5 | 66.7/41.8 | 2.3 | 64.6/42.9 | 4.0 | 57.0/40.2 | 7.3 |
| QASPER | 76.6/52.5 | 19.9 | 76.7/52.6 | 3.5 | 74.7/51.2 | 1.9 | 72.3/48.0 | 1.3 | 72.0/47.9 | 2.1 | 71.8/47.6 | 3.7 |
| PeerQA | 44.3/34.9 | 34.6 | 44.6/35.2 | 6.4 | 44.6/33.2 | 3.4 | 41.0/30.9 | 5.1 | 41.8/30.9 | 8.8 | 40.3/29.8 | 15.8 |
| CovidQA | 95.9/84.4 | 22.9 | 95.9/84.2 | 3.9 | 94.7/82.0 | 2.0 | 91.9/74.1 | 0.9 | 92.5/74.5 | 1.4 | 93.0/75.0 | 2.5 |
| MLDR | 96.0/81.7 | 9.7 | 96.0/81.7 | 1.8 | 97.0/82.9 | 1.3 | 98.0/80.8 | 0.5 | 98.0/78.0 | 0.7 | 96.3/78.3 | 1.1 |
| Qwen3-Embedding-4B | ||||||||||||
| LoCoMo | 67.8/53.6 | 376.6 | 68.6/54.2 | 57.3 | 63.3/49.5 | 15.2 | 62.8/46.7 | 28.7 | 65.3/49.1 | 51.2 | 64.2/49.1 | 96.3 |
| LongMemEval | 95.9/88.2 | 1460.4 | 96.2/88.6 | 205.8 | 94.5/85.8 | 36.8 | 92.8/80.6 | 24.2 | 94.0/82.9 | 43.0 | 95.1/84.1 | 80.8 |
| REALTALK | 56.6/46.7 | 423.7 | 57.4/47.6 | 64.5 | 52.1/43.2 | 17.0 | 49.5/39.5 | 33.4 | 48.8/39.7 | 59.6 | 47.6/38.1 | 112.1 |
| ESG | 70.8/53.3 | 211.2 | 71.0/53.4 | 30.5 | 65.4/48.0 | 7.3 | 66.1/42.5 | 5.7 | 62.2/41.2 | 9.8 | 65.5/42.4 | 18.0 |
| QASPER | 78.9/54.4 | 48.6 | 78.8/54.4 | 7.7 | 76.5/52.6 | 3.4 | 74.7/50.1 | 3.1 | 74.8/49.5 | 5.1 | 73.6/48.1 | 9.0 |
| PeerQA | 44.0/34.2 | 84.7 | 43.9/34.3 | 14.3 | 43.5/34.0 | 6.0 | 36.3/25.9 | 12.6 | 39.2/26.9 | 21.5 | 38.3/27.4 | 38.8 |
| CovidQA | 95.9/85.5 | 55.9 | 95.9/85.5 | 8.5 | 95.6/83.5 | 3.3 | 92.6/75.7 | 2.2 | 93.1/75.5 | 3.5 | 93.5/75.5 | 6.0 |
| MLDR | 96.0/82.5 | 23.7 | 96.0/82.8 | 3.9 | 97.0/81.1 | 2.5 | 99.0/78.9 | 1.3 | 98.0/77.9 | 1.8 | 99.0/78.9 | 2.8 |
Table 13: Retrieval quality, storage, and latency on LoCoMo.
| Method | Recall@10 ↑ | NDCG@10 ↑ | Size (MiB) ↓ | Query (ms) ↓ |
|---|---|---|---|---|
| Qwen3-Embedding-0.6B | ||||
| Original embedding | 46.87 | 34.24 | 2.23 | 16.66 |
| Search-Adaptor | 49.08 | 35.62 | 4.24 | 16.83 |
| Ours (Full) | 68.53 | 54.45 | 153.93 | 29.21 |
| Ours (SQ4) | 68.37 | 54.31 | 26.17 | 21.68 |
| Ours (RP128+SQ4) | 66.69 | 51.92 | 10.70 | 20.69 |
| Qwen3-Embedding-4B | ||||
| Original embedding | 41.60 | 29.95 | 5.56 | 22.71 |
| Search-Adaptor | 44.79 | 32.31 | 10.58 | 24.91 |
| Ours (Full) | 67.93 | 53.50 | 376.65 | 35.12 |
| Ours (SQ4) | 68.51 | 54.11 | 57.27 | 33.15 |
| Ours (RP128+SQ4) | 63.09 | 49.33 | 15.15 | 29.31 |
F DOWNSTREAM QUESTION-ANSWERING DETAILS
Evaluation protocol. We use Qwen3-30B-A3B-Instruct-2507 as the answering model and GPT-4o-mini-2024-07-18 as the judge. The main comparison retrieves memories; the budget analysis uses . Memory construction and task-specific prompts follow EvoEmbedding (Nie et al., 2026). One API-rejected input for Qwen-8B Ours on LongMemEval was answered locally with the same named reader's BF16 weights and greedy decoding, then scored by the same API judge; all other answers used the API reader.
Metrics. Native retrieval uses Recall and binary-relevance NDCG on 1,533 LoCoMo questions with resolved evidence labels and 470 non-abstention LongMemEval questions. Question answering retains all 1,540 and 500 questions, respectively, with question-weighted overall accuracy and F1. LoCoMo F1 follows its category-aware evaluation code. LongMemEval F1 is a supplemental lexical metric applying the same normalization and stemming to the full predicted and reference answers, including abstention questions.