Manuscript Offprint
arXiv:2611.07820Axis-LoRA: Probing and Adapting Embedding Models for Personal-Memory Retrieval
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
As LLMs are increasingly asked questions about a user's personal experiences, retrieval must distinguish memories by time, place, person, and event. Current personal-memory pipelines rely on frozen dense embedding models to embed memories for retrieval, but we find that these models do not capture the four axes well. Swapping a memory's date or place barely shifts its embedding, and a trained projection on top of the frozen embedding does not recover the missing signal. The problem lives inside the model, where each axis is encoded by a distinct attention-head pattern. Guided by these findings, we propose Axis-LoRA, a per-axis adapter that places four LoRA branches inside the embedding model and combines them via a per-query gate. Across three standard embedding models evaluated on LongMemEval, ATM-Bench, and LoCoMo, Axis-LoRA improves 4-benchmark mean R@10 by +1.28 to +1.56 pp while training only a small fraction of the base parameters on a small axis-counterfactual training set. Code is available at https://github.com/dohoonkim-ai/axis-lora.
1 Introduction
Large language models (LLMs) are increasingly expected to answer questions about a user's personal experiences (e.g., "What did I discuss with Marco at Tuesday's meeting?" or "Where did I park at the Boston conference?"), not just open-domain factual queries (Packer et al., 2023; Chhikara et al., 2025; Gutiérrez et al., 2024). Several benchmarks have been introduced to evaluate this personalized memory QA ability: LongMemEval (Wu et al., 2025) and LoCoMo (Maharana et al., 2024) target long-term multi-session conversations, with LoCoMo spanning multiple months, while ATM-Bench (Mei et al., 2026) extends memory to multi-source personal data (images, videos, emails).
Retrieval is central to personalized memory QA: given a finite LLM context window, surfacing the query-relevant memories from a user's long memory corpus largely determines answer quality (Lewis et al., 2020). To support retrieval over long personal memory corpora, a line of recent work develops memory-management pipelines with hierarchical and long-term storage (Chhikara et al., 2025; Kang et al., 2025; Li et al., 2025; Hu et al., 2026), yet uniformly relies on a general-purpose embedding model (Karpukhin et al., 2020; Izacard et al., 2022) for the retrieval itself.
Personal memory, however, differs in structure from general retrieval corpora: each memory is naturally indexed along a small set of categorical axes, of which we consider four: TEMPORAL (timestamps, dates), SPATIAL (places, locations), ENTITY (persons, objects), and EVENT (actions, event types). A useful personalized memory retriever must discriminate along each of these axes. General embedding model training (Karpukhin et al., 2020; Izacard et al., 2022; Gao et al., 2021; Wang et al., 2022), however, optimizes encoders for topic and content overlap, so it under-trains them on the per-memory attributes that distinguish otherwise topically similar episodic records.
We confirm this gap on three standard embedding models. Swapping a memory's axis value (e.g., replacing Tuesday with Friday) barely changes its embedding, and the retriever therefore fails to rank the right memory near the top when a query targets that axis. To understand where the signal is missing, we run two diagnostic probes (Goldfarb-Tarrant et al., 2024). A learned projection trained on top of the frozen embedding cannot recover it, but a per-attention-head analysis shows each axis concentrated in a distinct attention-head pattern. The signal lives inside the model, not at its output.
Guided by these findings, we propose a simple per-axis adapter, Axis-LoRA (Figure 1b): four
*Corresponding author
(a) Failure Case in Personal Memory Retrieval

(b) Our Method: Axis-LoRA
Figure 1: Overview. (a) Failure case in personal-memory retrieval. A frozen retriever groups same-content memories into a single embedding cluster, where shared content tokens place candidates at near-equal cosine distance. An axis cue in the query (here, the time axis) does not separate the gold from content-similar distractors that mismatch on the axis, so the gold falls below them in the ranked list. (b) Axis-LoRA. Four axis-conditional LoRA adapters (T/S/E/Ev) attach to the last 20% of layers of the frozen embedding model and produce per-axis representations , . A per-query gate (MLP sparsemax) outputs routing weights with exact zeros on inactive axes. The final score is the frozen-base similarity plus a gated per-axis term.
axis-conditional LoRA (Hu et al., 2022) branches inside the frozen embedding model, gated per query. We train Axis-LoRA on AxisCF, a synthetic axis-counterfactual triplet set, and evaluate its retrieval R@10 on three dense embedding models (MiniLM-L6-v2, bge-base-en-v1.5, Qwen3-Embedding-0.6B) over LongMemEval, ATM-Bench, and LoCoMo, consistently improving the 4-benchmark mean R@10 on all three embedding models.
Our contributions are summarized as follows:
-
We show that frozen dense encoders exhibit axis-asymmetric under-exposure of personal-memory attributes (each axis is under-exposed to a different degree), evident both in axis-counterfactual cosine distance and in axis-anchored R@10.
-
Two diagnostic probes localize the cause inside the encoder: an external projection over the frozen output cannot recover the gap, and each attribute draws from a distinct attention-head footprint, which naturally motivates an inside-encoder, axis-specific fix.
-
We propose Axis-LoRA, a simple per-axis adapter with four axis-conditional LoRA branches and a per-query gate, trained on AxisCF, our synthetic axis-counterfactual triplet set. On LongMemEval, ATM-Bench,
and LoCoMo, Axis-LoRA improves mean R@10 across the three encoders by +1.28 to +1.56 pp, with the largest per-bench gains on the multi-evidence ATM-Bench Hard split (+2.4 to +3.8 pp across the three encoders).
Setup: Axis-isolated counterfactuals. To isolate the effect of each axis, we use AxisCF, a synthetic corpus of axis-isolated counterfactuals. For each memory , AxisCF provides four counterfactuals , one per axis . Each differs from only in tokens of axis , leaving non-axis content unchanged (Table 1). Pool composition and axis balancing are detailed in Appendix A.3, and corpus generation in Appendix A.2.
Table 1: Axis-isolated counterfactual example. Each CF swaps the value of axis while keeping the rest of the memory unchanged.
| I met Marco at the Boston conference on 2024-06-15 to discuss the rehearsal dinner. | |
|---|---|
| CF | “2024-06-15” → “2024-09-20” |
| CF | “Boston” → “Seattle” |
| CF | “Marco” → “Sarah” |
| CF | “rehearsal dinner” → “budget meeting” |

Figure 2: Axis-counterfactual cosine distance per axis across three embedding models. Violins show the distribution over the evaluation pool; diamonds mark the per-axis mean. The red dashed line is the per-model non-axis 1-word edit floor. TEMPORAL sits at this floor on every model, while SPATIAL, ENTITY, and EVENT clear the floor but remain small in absolute magnitude.
2.1 Embedding-level: Axis-swap cosine response
Figure 2 plots the per-axis cosine distance on the pooled embeddings across three embedding models: two BERT-style encoder-only models, all-MiniLM-L6-v2 (Wang et al., 2020) (22M) and bge-base-en-v1.5 (Xiao et al., 2024) (110M), and one causal-attention LLM-based embedding model, Qwen3-Embedding-0.6B (Qwen Team, 2025) (600M). As a reference scale we use a non-axis 1-word edit floor: one content word per memory swapped with a random vocabulary word, axis values excluded. We further compare against the retrieval-relevant scale , the mean
Table 2: Per-model, per-axis mean axis-CF cosine distance, expressed against two reference scales. Top: multiple of the non-axis 1-word edit floor . Bottom: percentage of the inter-memory distance . TEMPORAL is at-floor on every model, and every axis sits at of .
| Encoder | TEMP. | SPAT. | ENT. | EVENT |
|---|---|---|---|---|
| Multiple of non-axis 1-word edit floor | ||||
| MiniLM () | ||||
| bge-base () | ||||
| Qwen3-Emb-0.6B () | ||||
| Percentage of inter-memory distance | ||||
| MiniLM () | 1.0% | 9.0% | 9.7% | 7.4% |
| bge-base () | 2.8% | 13.2% | 14.4% | 7.5% |
| Qwen3-Emb-0.6B () | 1.6% | 12.7% | 8.3% | 8.1% |
cosine distance between any two memories in the corpus (per-encoder values 0.5–0.8; Table 2 and Appendix B.1). All four axis swaps lie far below this scale.
The ordering is consistent across all three encoders: TEMPORAL is the smallest, with EVENT, SPATIAL, and ENTITY larger but all far below . Table 2 reports two ratios per cell. Against the non-axis 1-word edit floor, TEMPORAL is at-floor (, effectively at the noise scale across all three models), while SPATIAL, ENTITY, and EVENT clear the floor by . Against the retrieval-relevant scale , however, all four axes sit at only . The under-exposure pattern holds across all three models. It also holds beyond synthetic AxisCF memories: repeating the measurement on real memories from the three benchmarks (200 ATM-Bench, 200 LoCoMo, 100 Long-MemEval, with axis counterfactuals built by the same pipeline) reproduces the pattern, with TEMPORAL at or below the 1-word edit floor on all three encoders and every axis at of (Appendix F.5).
2.2 Retrieval-level: Axis-anchored R@10
We next test whether the embedding-level gap translates to retrieval failure, using an axis-anchored retrieval task: each query is a short sentence built from a single axis value of a memory in the AxisCF evaluation pool. For example, a TEMPORAL query is built from 's date as “This event happened on 2024-06-15.”, and an ENTITY query from 's named person as “This memory involves Marco.” (per-axis templates in Appendix A.3). The retriever ranks all memories in the pool by cosine similarity to the query, with as the gold target.
Table 3 (raw columns) reports raw cosine
Table 3: Axis-anchored retrieval R@10 on the evaluation set: raw cosine vs. projected (per-axis MLP trained with InfoNCE), with = projected – raw. TEMPORAL gets the largest projection lift, while non-TEMPORAL cells stay flat or decrease.
| Axis | MiniLM | bge-base | Qwen3-0.6B | ||||||
|---|---|---|---|---|---|---|---|---|---|
| raw | proj | raw | proj | raw | proj | ||||
| TEMP. | 0.061 | 0.150 | +8.9 | 0.072 | 0.167 | +9.5 | 0.039 | 0.183 | +14.4 |
| SPAT. | 0.248 | 0.251 | +0.3 | 0.305 | 0.275 | -3.0 | 0.231 | 0.233 | +0.2 |
| ENT. | 0.163 | 0.224 | +6.1 | 0.154 | 0.179 | +2.5 | 0.152 | 0.197 | +4.5 |
| EVENT | 0.254 | 0.260 | +0.6 | 0.295 | 0.266 | -2.9 | 0.312 | 0.231 | -8.1 |
R@10. Across the 12 (encoder, axis) cells, R@10 ranges from 0.039 (Qwen3 TEMPORAL) to 0.312 (Qwen3 EVENT), with TEMPORAL the lowest on every encoder (0.039–0.072). Together with the embedding-level finding of §2.1, this confirms that axis information is under-exposed in frozen-embedding cosine retrieval.
3 Diagnosis: Why Axis Signals Are Under-Exposed
The under-exposure shown in §2 raises two questions. (i) Can the missing axis discrimination be recovered from the frozen output by a learned head (i.e., does the encoder already surface it but in a geometry that cosine retrieval cannot exploit)? (ii) If not, where inside the embedding model does each axis signal live, and is the internal footprint shared across the four axes or axis-specific? Two diagnostic probes follow: a projection probe (§3.1) tests (i), and a head-spectrum probe (§3.2) tests (ii).
3.1 Projection probe: External projection cannot close the R@10 gap
For TEMPORAL, which sits at the non-axis edit floor, is the axis signal erased during encoding, or merely latent-compressed (preserved in the frozen output and recoverable by a learned projection)? For SPATIAL, ENTITY, and EVENT (raw cosine R@10 0.17–0.33), can an external projection improve R@10, or is this the ceiling an output-side head can reach?
Setup. We train a strong external projection: a per-axis 2-layer MLP head over the frozen memory embeddings, optimized with InfoNCE. Positives are ; hard negatives are the axis-A counterfactuals of from §2. We evaluate on the same setup as §2.2. The setup isolates the question: what can we achieve with the frozen latent plus axis-CF training signal alone, without modifying the encoder? Full training and evaluation details, including two simpler projection variants we considered, are in Appendix C.1.
Two findings. (i) The axis signal is not fully erased, but recovery is small. The projection lifts TEMPORAL R@10 by +8.9 to +14.4 pp across all three encoders (Table 3), confirming that some axis information survives in the latent and is reachable by an output-side head. The absolute R@10 ceiling, however, stays at 0.15–0.18, far short of useful retrieval. An external head does not close the gap.
(ii) Projection effects vary across axes. ENTITY lifts consistently (+2.5 to +6.1 pp), while SPATIAL and EVENT are mixed, with per-cell deltas ranging from small positive lifts to drops of up to −8.1 pp. An output-side projection therefore does not provide a uniform fix across axes.
Implication. Axis information is partially recoverable, but a strong external head cannot bridge the R@10 gap and does not uniformly help across non-TEMPORAL axes. This rules out an output-side fix and points to modifying the embedding model itself, changing how axis information is encoded internally rather than how the frozen output is post-processed.
3.2 Head-spectrum probe: The attention-head spectrum is axis-asymmetric
The projection probe established that axis information lives inside the embedding model. To find where each axis signal lives, we run a per-(layer, head) analysis: for each (layer , head ) and axis , we measure the change in the pooled per-head output when the input is perturbed by a single-edit that alters exactly one token (Appendix C.2):
averaged over many pairs, where is the per-head output after token-pooling (last-token for Qwen3-Embedding-0.6B, mean-pool for MiniLM and bge-base).
Axis response concentrates in late layers. Figure 3 shows the per-(layer, head) response across the three models, with brighter cells indicating heads whose pooled output changes more under axis perturbation. We find a consistent pattern: on every model and every axis, the bright cells cluster in the later layers, indicating that axis-sensitive computation is concentrated in the late layers of the embedding model.
Per-(layer, head) axis-CF response

Figure 3: Head-spectrum probe: per-(layer, head) axis response for three embedding models (rows) × four axes (columns). Within each panel, rows index transformer layers (top: input side, bottom: output side) and columns index attention heads. Brightness shows how much a head's pooled output changes under single-edit axis perturbation, normalized per panel to a shared Low-High scale. On every model and axis, bright cells cluster in the later layers.
Table 4: Fraction of attention heads needed to cover 50% of per-axis single-edit response. A small fraction means the axis is concentrated in few heads, a large fraction that it is spread across many; the largest per model (most diffuse axis) is bolded. Within each model, TEMPORAL is the most diffuse, EVENT next, and SPATIAL and ENTITY are the most concentrated.
| Model | TEMP. | EVENT | SPAT. | ENT. |
|---|---|---|---|---|
| MiniLM | 41.7% | 36.1% | 29.2% | 26.4% |
| bge-base | 39.6% | 35.4% | 29.2% | 30.6% |
| Qwen3-0.6B | 32.1% | 25.4% | 19.6% | 18.5% |
Each Axis draws distinct head footprint. To quantify diffuseness, for each axis we report the percentage of top-ranked heads that together account for 50% of axis-A response, as shown in Table 4. A small percentage means the axis is concentrated in few heads, a large percentage that it is spread across many. Within each model, TEMPORAL is the most diffusely encoded, EVENT next, and SPATIAL and ENTITY are the most concentrated. This ordering is consistent across all three models. The same pattern is visible in Figure 3: the TEMPORAL and EVENT panels have bright cells spread across many heads, while the SPATIAL and ENTITY panels have bright cells concentrated in fewer positions. These results establish that each axis has its own response pattern across the heads of the embedding model.
4 Method: Axis-LoRA
The diagnosis in §3 naturally points to a simple per-axis adapter. We propose Axis-LoRA, whose three core design choices follow directly from the findings. The projection probe (§3.1) shows that an external projection over the frozen latent cannot bridge the R@10 gap, so Axis-LoRA reshapes the embedding model internally rather than projecting its output. The head-spectrum probe (§3.2) shows each axis drawing from a distinct head footprint, motivating four independent LoRA adapters. The same probe also shows axis-sensitive computation concentrated in the late layers of the embedding model, so we restrict LoRA to its late attention layers.
4.1 Architecture
Axis-LoRA scores a (query, memory) pair by adding a gated sum of per-axis similarities to the frozen base similarity. Each per-axis similarity is computed by a per-axis LoRA adapter inside the same embedding model, and the gate decides per query how much weight each axis carries. The retrieval score for query and memory is:
where is the frozen base embedding model's pooled output, is the same embedding model modified by the LoRA adapter for axis , denotes -normalization, , is the per-query gate weight on axis , and is the axis-term mixing weight.
Per-axis LoRA adapters. Each adapter attaches to the q_proj and v_proj projections of the last 20% of attention layers, with LoRA rank . The four adapters do not share parameters, so each axis can learn its own reshape direction without cross-axis interference.
Query-conditioned axis gating. A query depends on only a few axes, so the gate is designed to select them and amplify their signal: , with a single hidden-layer MLP. Sparsemax (rather than softmax) yields exact-zero entries on irrelevant axes, so unused adapters add no noise. anneals from 2.0 to 0.5 over training, giving every axis early training signal before the gate sharpens.
4.2 Training
A single joint stage trains the four LoRA adapters and the gate MLP; the base embedding model remains frozen. The total loss combines a contrastive term on personalized memory and an anchor term on general retrieval:
Contrastive loss on AxisCF. uses score from §4.1 on AxisCF, our synthetic axis-counterfactual training corpus (4,196 trips across four memory formats; construction details in Appendix A.2). Each training instance (one AxisCF triplet) consists of a positive memory , an anchor query taken verbatim from , and 1–2 single-edit axis CFs of (one CF per axis, with 1–2 axes sampled per instance). The batch memory pool contains every positive and every CF in the batch, so each CF of acts as a hard negative for and as an in-batch negative for other queries. The InfoNCE objective at temperature is:
Knowledge-distillation anchor on general retrieval. The axis term contributes to every query's score at inference, including queries that lie outside the AxisCF training distribution. Without regularization the LoRAs can overfit to AxisCF and produce arbitrary embeddings on general text, injecting noise into the axis term. We anchor each LoRA to the base embedding model on a subset of MS MARCO (Bajaj et al., 2018):
The anchor only acts on MS MARCO inputs, leaving the LoRAs free to specialize per axis on AxisCF under the contrastive loss.
5 Experiments
5.1 Setup
Benchmarks. We target the retrieval step in three personalized-memory QA benchmarks, covering four splits in total: LongMemEval (LME) (Wu et al., 2025), a long-term memory benchmark with multi-session chat histories (940-session memory pool); ATM-Bench (Mei et al., 2026), a multimodal personal-memory benchmark (images, videos, emails) with two splits, Normal and
Hard (Hard with more multi-evidence queries), over a ~11K-memory pool; and LoCoMo (Maharana et al., 2024), very long-term multi-session conversations spanning multiple months (~5.9K-turn memory pool). Per-split statistics and sample queries are in Appendix E.1. We report R@10 as the primary metric: the benchmarks pose multi-evidence queries (1.4–6.3 gold evidences per query on average across the four splits), so smaller cutoffs cannot reflect evidence recall. The full per-metric breakdown (R@1, R@5, R@10, R@100, MRR) is in Appendix F.1.
Models. We consider three standard dense embedding models spanning two architecture families: MiniLM-L6-v2 (Wang et al., 2020) (22 M, BERT-style), bge-base-en-v1.5 (Xiao et al., 2024) (110 M, BERT-style), and Qwen3-Embedding-0.6B (Qwen Team, 2025) (600 M, causal-attention LLM-based). Queries are prefixed following each model's recommended usage. For Qwen3-Embedding-0.6B, which accepts a task instruction, we use a personal-memory retrieval instruction. Full prefixes are in Appendix E.2. The main result covers all three models, while remaining experiments default to Qwen3-Embedding-0.6B.
Hyperparameters. The core Axis-LoRA configuration is shared across the three models: LoRA rank on the last 20% of attention layers, inference mixing weight . Full per-model hyperparameters and their selection process are in Appendix E.2.
5.2 Main result
Table 5 reports per-benchmark R@10. Axis-LoRA consistently improves the 4-benchmark mean on every model: +1.56 pp on MiniLM-L6-v2, +1.38 pp on bge-base-en-v1.5, and +1.28 pp on Qwen3-Embedding-0.6B. The gains are means over benchmarks: two of the twelve (encoder, benchmark) cells regress (Qwen3-0.6B/ATM-Normal –1.24 pp, bge-base/LoCoMo –0.66 pp); Appendix F.3 traces both dips to a narrow rank-10 boundary effect. The largest single per-bench lift is on ATM-Bench Hard (+3.75 pp on Qwen3-Embedding-0.6B, +2.45 pp on MiniLM, +2.37 pp on bge-base), positive on all three encoders. These gains are achieved with a lightweight setup: a per-axis adapter ( of base parameters) trained on only 4,196 AxisCF triplets with the base embedding model frozen. All numbers are 4-seed means with cross-seed std per cell.
Table 5: R@10 across three encoders on LongMemEval (LME), ATM-Bench Normal (ATM-N), ATM-Bench Hard (ATM-H, the multi-evidence split), and LoCoMo. Each encoder block reports Base (the frozen embedding model with no adaptation, deterministic across seeds) and Axis-LoRA (mean±std over 4 random seeds), with Δ the per-benchmark gain in pp on the seed mean; the bottom row averages across the four benchmarks. Axis-LoRA delivers +1.28 to +1.56 pp 4-bench mean R@10 across all three encoders, with the largest per-bench gain +3.75 pp on ATM-Hard (Qwen3-0.6B).
| Bench | MiniLM-L6-v2 | bge-base-en-v1.5 | Qwen3-Embedding-0.6B | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Base | Axis-LoRA | Δ | Base | Axis-LoRA | Δ | Base | Axis-LoRA | Δ | |
| LME | 0.4741 | 0.4872 ±0.001 | +1.31 | 0.6099 | 0.6397 ±0.003 | +2.98 | 0.7174 | 0.7238 ±0.002 | +0.64 |
| ATM-N | 0.6465 | 0.6571 ±0.002 | +1.06 | 0.7286 | 0.7368 ±0.000 | +0.82 | 0.7544 | 0.7420 ±0.003 | -1.24 |
| ATM-H | 0.2806 | 0.3051 ±0.003 | +2.45 | 0.2911 | 0.3148 ±0.008 | +2.37 | 0.2994 | 0.3370 ±0.017 | +3.75 |
| LoCoMo | 0.4422 | 0.4564 ±0.002 | +1.42 | 0.6244 | 0.6178 ±0.002 | -0.66 | 0.5856 | 0.6053 ±0.003 | +1.97 |
| Avg. | 0.4608 | 0.4765 ±0.001 | +1.56 | 0.5635 | 0.5773 ±0.001 | +1.38 | 0.5892 | 0.6020 ±0.005 | +1.28 |
Table 6: Query-level bootstrap 95% confidence intervals for the R@10 gains of Table 5 (20k resamples of per-query deltas, averaged over 4 seeds). All intervals exclude zero. ATM-Hard (n=31) is pooled across the three encoders. Per-split intervals are in Appendix F.2.
| Δ (pp) | 95% CI | |
|---|---|---|
| 4-benchmark mean | ||
| MiniLM-L6-v2 | +1.56 | [+0.54, +2.70] |
| bge-base-en-v1.5 | +1.38 | [+0.25, +2.39] |
| Qwen3-0.6B | +1.28 | [+0.15, +2.52] |
| ATM-Hard, 3-encoder pooled | +2.86 | [+0.55, +5.36] |
The 4-benchmark mean gains are statistically significant for all three encoders (Table 6). Query-level bootstrap 95% confidence intervals (20k resamples of per-query R@10 deltas, averaged over the 4 seeds) are [+0.54, +2.70] on MiniLM, [+0.25, +2.39] on bge-base, and [+0.15, +2.52] on Qwen3-0.6B, all excluding zero. The ATM-Hard lift, tested pooled across the three encoders because of the small split size (n=31 queries), is likewise significant (+2.86 pp [+0.55, +5.36]). Appendix F.2 reports per-split intervals, together with means excluding ATM-Hard to check whether the gains hinge on this single small split.
5.3 General-retrieval preservation
We verify that Axis-LoRA preserves general-retrieval competence on MTEB (Muennighoff et al., 2023), a standard benchmark for text embedding models, evaluated on a 6-task BEIR subset (NF-Corpus, SciFact, ArguAna, SCIDOCS, FiQA2018, TRECCOVID) with Qwen3-Embedding-0.6B. The metric is nDCG@10, the standard rank-sensitive retrieval metric used in MTEB.
As shown in Table 7, mean nDCG@10 with Axis-LoRA is 0.5399 versus the base's 0.5449, a
Table 7: General retrieval on MTEB BEIR-6 (nDCG@10) with Qwen3-Embedding-0.6B. Axis-LoRA preserves general retrieval competence (mean Δ = -0.50 pp).
| Setup | NFC. | SciF. | ArgA. | SciD. | FiQA | TREC-C | Avg. |
|---|---|---|---|---|---|---|---|
| Base | 0.3616 | 0.6958 | 0.6790 | 0.2305 | 0.4508 | 0.8516 | 0.5449 |
| Axis-LoRA | 0.3605 | 0.6924 | 0.6744 | 0.2289 | 0.4423 | 0.8410 | 0.5399 |
−0.50 pp shift. The MS MARCO KD anchor keeps each LoRA branch close to the base on non-axis text without preventing the personalized-memory amplification.
5.4 Ablation studies
Two complementary ablations isolate the contributions of Axis-LoRA's design. The first (Table 8) compares Axis-LoRA against four design variants spanning external prompting to internal per-axis LoRA, isolating where and how axis supervision should be applied. The second (Table 9) reports leave-one-out ablations of the three remaining method components. All ablations use Qwen3-Embedding-0.6B with the same 4-bench eval pipeline; tabulated values are 4-seed means (per-cell stds in Appendix D.5).
Where to inject axis supervision. Table 8 progresses from external to internal interventions; we describe each variant alongside its measured effect.
(a) Axis-prefix prompt replaces the default Qwen instruction (§5.1) with four axis-specific instructions that direct the model to retrieve memories given a question about a particular axis (e.g., the TEMPORAL prefix begins "Given a question about WHEN (time, date, period) something happened, retrieve relevant memory entries."; full set in Appendix E.2). The query is encoded four times, once under each axis prefix, while the memory side is encoded once with no prefix; the score for each memory is the maximum of the four per-axis cosines. We also tried mean aggregation and 5-cosine variants that include the default-prefix encoding, and all options give similar 4-bench means within ±0.002. Axis-prefix prompting yields a small lift of +0.9 pp over Base, indicating per-axis specification has a real effect. On the multi-evidence ATM-Hard split, however, prompting falls behind Axis-LoRA by 3.1 pp: prompt-only treatment cannot reshape the embedding enough.
(b) TF-PCA identifies axis-specific directions in the embedding space without training. For each axis A, we collect how the embedding shifts when axis A is flipped (the residual e(M) − e(CF_A)) across many memories, whiten these residuals, and take the top PCA components as the axis-A subspace. (c) MLP+InfoNCE replaces the training-free subspace with a per-axis 2-layer MLP head φ_A trained on the same axis CFs via InfoNCE (positives (q_A, φ_A(m)), hard negatives (q_A, φ_A(CF_A))). At inference, both project query and memory through their four per-axis subspaces/heads and uniformly average the four per-axis cosines (gate routing requires inside-model supervision unavailable to output-side projections). The two output-side projections give only small mean R@10 changes (TF-PCA: −0.4 pp, essentially flat; MLP+InfoNCE: +0.5 pp): output-side projections cannot bridge the R@10 gap, confirming §3.1.
(d) Shared-trunk LoRA uses a single shared LoRA inside the embedding model (instead of four per-axis ones as in Axis-LoRA), followed by four axis-specific output projection heads to recover per-axis embeddings. This isolates the contribution of per-axis adaptation inside the model. Without per-axis structure inside the model, shared-trunk LoRA collapses to 0.493 (−9.6 pp below Base). Reintroducing per-axis branches with sparsemax gating (Ours) lifts mean R@10 by +10.9 pp over shared-trunk: forcing four axis-decomposed outputs through shared weights corrupts the representation, while separate per-axis branches avoid this interference.
Component contributions. Table 9 reports leave-one-out ablations of the three remaining method components: the axis-CF training signal, the KD anchor, and the sparsemax gate. Replacing axis CFs with MS MARCO negatives drops mean R@10 by −0.9 pp, confirming that the axis-CF
Table 8: Design-variant ablation (R@10 per benchmark). Rows progress from no axis-aware treatment (Base) through axis-aware prompting, training-free and trained external projections, inside-model shared-trunk LoRA, and full Axis-LoRA. MLP+InfoNCE, Shared-trunk LoRA, and Axis-LoRA are 4-seed means; other rows are deterministic. Per-cell stds in Appendix D.5.
| Method | LME | ATM-N | ATM-H | LoCoMo | Avg. |
|---|---|---|---|---|---|
| Base | 0.717 | 0.754 | 0.299 | 0.586 | 0.589 |
| Axis-prefix prompt | 0.723 | 0.748 | 0.308 | 0.603 | 0.596 |
| TF-PCA | 0.716 | 0.749 | 0.285 | 0.581 | 0.583 |
| MLP+InfoNCE | 0.726 | 0.750 | 0.300 | 0.591 | 0.592 |
| Shared-trunk LoRA | 0.635 | 0.611 | 0.255 | 0.469 | 0.493 |
| Axis-LoRA | 0.724 | 0.742 | 0.337 | 0.605 | 0.602 |
Table 9: Component ablations (R@10 per benchmark, 4-seed means) on the Axis-LoRA training signal, KD anchor, and gate. All three components are essential: removing any drops Avg. R@10 below Axis-LoRA. Per-cell stds in Appendix D.5.
| Setting | LME | ATM-N | ATM-H | LoCoMo | Avg. |
|---|---|---|---|---|---|
| Base | 0.717 | 0.754 | 0.299 | 0.586 | 0.589 |
| Axis-LoRA | 0.724 | 0.742 | 0.337 | 0.605 | 0.602 |
| — axis-CF supervision | 0.731 | 0.751 | 0.297 | 0.592 | 0.593 |
| — KD anchor | 0.720 | 0.735 | 0.324 | 0.575 | 0.588 |
| — gate (uniform routing) | 0.723 | 0.752 | 0.316 | 0.605 | 0.599 |
training signal is essential. Removing the KD anchor drops mean R@10 by −1.4 pp, as the LoRAs drift on non-axis text and inject noise into the axis term at inference. Replacing the learned gate with uniform routing at inference drops mean R@10 by −0.3 pp, since uniform weighting dilutes the branches the gate has learned to emphasize. Appendix D.3 analyzes the gate’s routing behavior in detail.
6 Related Work
Multi-aspect retrieval. Retrievers map queries and passages to a shared embedding space and are trained with contrastive objectives (Karpukhin et al., 2020; Xiong et al., 2021; Qu et al., 2021; Izacard et al., 2022; Li et al., 2023; Xiao et al., 2024). Multi-aspect retrieval extends this foundation by representing items along multiple informational aspects rather than a single semantic similarity (Kong et al., 2022; Sun et al., 2024). More recent work moves aspect specification into the query itself, through embedding models that accept a task instruction as part of the input (Lee et al., 2025a; Qwen Team, 2025). A parallel line targets a single axis directly, predominantly the temporal one (Wu et al., 2024a; Abdallah et al., 2026; Han et al.,
2025; Huynh et al., 2026). Axis-LoRA extends this line to four axes jointly, placing one adapter per axis inside the embedding model and gating them per query.
Adapter composition and routing. Low-rank adapters (Hu et al., 2022) have become a standard way to inject specialized behavior into a frozen base model, and composing or routing across multiple LoRA modules has been studied for cross-task generalization (Huang et al., 2024; Wu et al., 2024b; Kim et al., 2025). A related approach routes queries among multiple expert retrieval models (Lee et al., 2025b). Axis-LoRA composes one LoRA adapter per axis and routes across them per query.
Personalization. Personalization of retrieval and language models adapts system behavior to individual users (Zhang et al., 2025). Retrieval-side approaches encode user history into embeddings (Zeng et al., 2023; Doddapaneni et al., 2024), ground retrieval in user-specific memory structures (Wang et al., 2024), or build conversational user profiles (Joko et al., 2024). Parameter-efficient fine-tuning has likewise been adapted to per-user personalization on the language-model side (Tan et al., 2024; Park et al., 2026). We instead target retrieval from a single user's personal memory itself, where adaptation is driven by the memory content rather than by user identity.
7 Conclusion
We showed that frozen dense embedding models under-expose the four axes of personal-memory text in an axis-asymmetric pattern, across BERT-style and causal-attention LLM-based architectures. Two probes localize the cause inside the model: external projection cannot bridge the R@10 gap, and each axis draws from a distinct attention-head footprint. Building on this diagnosis, we proposed Axis-LoRA, which combines four per-axis LoRA adapters inside the model, a per-query sparsemax gate, and a general-retrieval KD anchor. Axis-LoRA lifts 4-benchmark mean R@10 by +1.28 to +1.56 pp across three embedding models, with the largest per-bench gains on ATM-Hard (+2.4 to +3.8 pp across the three encoders), while training only on a small axis-counterfactual corpus.
Limitations
Several aspects of Axis-LoRA's scope and design are left for future work. The four axes (TEMPO-RAL, SPATIAL, ENTITY, EVENT) are tied to the benchmarks' annotation schemas, and other domains (e.g., clinical, legal) would need their own axis schema and counterfactual construction. AxisCF's counterfactuals edit explicit axis values; implicit cues, such as relative time expressions, vague locations, and entangled multi-entity events, are under-represented. Axis-LoRA itself is a simple per-axis baseline motivated by the diagnostic findings, leaving room for richer routing (mixture-of-experts gates), stronger inside-model supervision, and joint training with retrieval-aware objectives. Finally, we focus on simple, data-efficient adaptation of a frozen embedding model. Whether the same recipe extends to per-user personalization, quickly fitting a retrieval model to a single user from a small amount of their own interactions, is a natural next step.
Ethical Considerations
Our work uses personal-memory benchmarks (LongMemEval, ATM-Bench, LoCoMo) released by their original authors under appropriate privacy review; we do not collect any new user data. To check for test-set leakage, our AxisCF training corpus is screened against a contamination blacklist of named entities and date strings mined from the ATM-Bench corpus and a related personal-memory corpus (Appendix A.2). AI assistants (ChatGPT, Claude) were used for minor grammar and writing refinement.
Acknowledgments
This work was supported in part by the National Research Foundation of Korea (NRF) grant [No. RS-2025-02263628], the Institute of Information & communications Technology Planning & Evaluation (IITP) grants [RS-2021-II212068, RS-2022-II220113, RS-2022-II220959, RS-2021-II211343], and the BK21 FOUR Education and Research Program for Future ICT Pioneers (Seoul National University), funded by the Korean government. It was also supported by Mobile eXperience (MX) Business, Samsung Electronics Co., Ltd.
References
Abdelrahman Abdallah, Bhawna Piryani, Jonas Wallat, Avishek Anand, and Adam Jatowt. 2026. TempRetriever: Fusion-based temporal dense passage retrieval for time-sensitive questions. In Proceedings of the 19th ACM International Conference on Web Search and Data Mining (WSDM).
Payal Bajaj, Daniel Campos, Nick Craswell, Li Deng, Jianfeng Gao, Xiaodong Liu, Rangan Majumder, Andrew McNamara, Bhaskar Mitra, Tri Nguyen, Mir Rosenberg, Xia Song, Alina Stoica, Saurabh Tiwary, and Tong Wang. 2018. MS MARCO: A human generated MMachine reading CComprehension dataset. In arXiv preprint arXiv:1611.09268. Originally submitted 2016; final version 2018.
Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. 2025. Mem0: Building production-ready AI agents with scalable long-term memory. arXiv preprint arXiv:2504.19413.
Sumanth Doddapaneni, Krishna Sayana, Ambarish Jash, Sukhdeep Sodhi, and Dima Kuzmin. 2024. User embedding model for personalized language prompting. In Proceedings of the First Workshop on Personalization of Generative AI Systems (PERSONALIZE @ EACL).
Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021. SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing (EMNLP).
Seraphina Goldfarb-Tarrant, Pedro Rodriguez, Jane Dwivedi-Yu, and Patrick Lewis. 2024. Multicontrievers: Analysis of dense retrieval representations. In The 7th BlackboxNLP Workshop (EMNLP).
Bernal Jiménez Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, and Yu Su. 2024. HippoRAG: Neurobiologically inspired long-term memory for large language models. In Advances in Neural Information Processing Systems (NeurIPS).
Seung Yoon Han, Taeho Hwang, Sukmin Cho, Soyeong Jeong, Hoyun Song, Huije Lee, and Jong C. Park. 2025. Temporal information retrieval via time-specifier model merging. In Proceedings of the 3rd Workshop on Towards Knowledgeable Foundation Models (KnowFM), pages 1–13, Vienna, Austria. Association for Computational Linguistics (ACL).
Chuanrui Hu, Xingze Gao, Zuyi Zhou, Dannong Xu, Yi Bai, Xintong Li, Hui Zhang, Tong Li, Chong Zhang, Lidong Bing, and Yafeng Deng. 2026. Ever-MemOS: A self-organizing memory operating system for structured long-horizon reasoning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (ACL).
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. LoRA: Low-rank adaptation of
large language models. In International Conference on Learning Representations (ICLR).
Chengsong Huang, Qian Liu, Bill Yuchen Lin, Tianyu Pang, Chao Du, and Min Lin. 2024. LoraHub: Efficient cross-task generalization via dynamic LoRA composition. In Conference on Language Modeling (COLM).
Tuan-Luc Huynh, Weiqing Wang, Trung Le, Thuy-Trang Vu, Dragan Gašević, Yuan-Fang Li, and Thanh-Toan Do. 2026. Efficient temporal-aware Matryoshka adaptation for temporal information retrieval. arXiv preprint arXiv:2601.05549.
Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2022. Unsupervised dense information retrieval with contrastive learning. Transactions on Machine Learning Research (TMLR).
Hideaki Joko, Shubham Chatterjee, Andrew Ramsay, Arjen P. de Vries, Jeff Dalton, and Faegheh Hasibi. 2024. Doing personal LAPS: LLM-augmented dialogue construction for personalized multi-session conversational search. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR).
Jiazheng Kang, Mingming Ji, Zhe Zhao, and Ting Bai. 2025. Memory OS of AI agent. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP).
Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP).
Dohoon Kim, Donghun Kang, and Taesup Moon. 2025. DoMIX: An efficient framework for exploiting domain knowledge in fine-tuning. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (ACL), pages 14581–14602.
Weize Kong, Swaraj Khadanga, Cheng Li, Shaleen Kumar Gupta, Mingyang Zhang, Wensong Xu, and Michael Bendersky. 2022. Multi-aspect dense retrieval. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD).
Chankyu Lee, Rajarshi Roy, Mengyao Xu, Jonathan Raiman, Mohammad Shoeybi, Bryan Catanzaro, and Wei Ping. 2025a. NV-Embed: Improved techniques for training LLMs as generalist embedding models. In International Conference on Learning Representations (ICLR).
Hyunji Lee, Luca Soldaini, Arman Cohan, Minjoon Seo, and Kyle Lo. 2025b. RouterRetriever: Routing over a mixture of expert embedding models. In Proceedings of the AAAI Conference on Artificial Intelligence.
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems (NeurIPS).
Zehan Li, Xin Zhang, Yanzhao Zhang, Dingkun Long, Pengjun Xie, and Meishan Zhang. 2023. Towards general text embeddings with multi-stage contrastive learning. arXiv preprint arXiv:2308.03281.
Zhiyu Li, Shichao Song, Hanyu Wang, Simin Niu, Ding Chen, Jiawei Yang, Chenyang Xi, Huayi Lai, Jihao Zhao, Yezhaohui Wang, Junpeng Ren, Zehao Lin, Jiahao Huo, Tianyi Chen, Kai Chen, Kehang Li, Zhiqiang Yin, Qingchen Yu, Bo Tang, and 3 others. 2025. MemOS: An operating system for memory-augmented generation in large language models. arXiv preprint arXiv:2505.22101.
Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. 2024. Evaluating very long-term conversational memory of LLM agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL).
Jingbiao Mei, Jinghong Chen, Guangyu Yang, Xinyu Hou, Margaret Li, and Bill Byrne. 2026. According to me: Long-term personalized referential memory QA. arXiv preprint arXiv:2603.01990.
Niklas Muennighoff, Nouamane Tazi, Loïc Magne, and Nils Reimers. 2023. MTEB: Massive text embedding benchmark. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics (EACL), pages 2014–2037.
Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, and Joseph E. Gonzalez. 2023. MemGPT: Towards LLMs as operating systems. arXiv preprint arXiv:2310.08560.
Junho Park, Dohoon Kim, and Taesup Moon. 2026. PRISP: Privacy-safe few-shot personalization via lightweight adaptation. arXiv preprint arXiv:2601.06471.
Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, and Haifeng Wang. 2021. RocketQA: An optimized training approach to dense passage retrieval for open-domain question answering. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT).
Qwen Team. 2025. Qwen3 Embedding: Advancing text embedding and reranking through foundation models. arXiv preprint arXiv:2506.05176.
Qwen Team. 2026. Qwen3.5: Towards native multi-modal agents.
Xiaojie Sun, Keping Bi, Jiafeng Guo, Sihui Yang, Qishen Zhang, Zhongyi Liu, Guannan Zhang, and Xueqi Cheng. 2024. A multi-granularity-aware aspect learning model for multi-aspect dense retrieval. In Proceedings of the 17th ACM International Conference on Web Search and Data Mining (WSDM).
Zhaoxuan Tan, Qingkai Zeng, Yijun Tian, Zheyuan Liu, Bing Yin, and Meng Jiang. 2024. Democratizing large language models via personalized parameter-efficient fine-tuning. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP).
Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. 2022. Text embeddings by weakly-supervised contrastive pre-training. arXiv preprint arXiv:2212.03533.
Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. 2020. MiniLM: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. In Advances in Neural Information Processing Systems (NeurIPS).
Zheng Wang, Zhongyang Li, Zeren Jiang, Dandan Tu, and Wei Shi. 2024. Crafting personalized agents through retrieval-augmented generation on editable memory graphs. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP).
Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang, and Dong Yu. 2025. LongMemEval: Benchmarking chat assistants on long-term interactive memory. In International Conference on Learning Representations (ICLR).
Feifan Wu, Lingyuan Liu, Wentao He, Ziqi Liu, Zhiqiang Zhang, Haofen Wang, and Meng Wang. 2024a. Time-sensitive retrieval-augmented generation for question answering. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management (CIKM), pages 2544–2553.
Xun Wu, Shaohan Huang, and Furu Wei. 2024b. Mixture of LoRA experts. In International Conference on Learning Representations (ICLR).
Shitao Xiao, Zheng Liu, Peitian Zhang, Niklas Muennighoff, Defu Lian, and Jian-Yun Nie. 2024. C-Pack: Packaged resources to advance general Chinese embedding. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR).
Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul Bennett, Junaid Ahmed, and Arnold Overwijk. 2021. Approximate nearest neighbor negative contrastive learning for dense text retrieval. In International Conference on Learning Representations (ICLR).
Hansi Zeng, Surya Kallumadi, Zaid Alibadi, Rodrigo Nogueira, and Hamed Zamani. 2023. A personalized dense retrieval framework for unified information access. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR).
Zhehao Zhang, Ryan A. Rossi, Branislav Kveton, Yijia Shao, Diyi Yang, Hamed Zamani, Franck Dernoncourt, Joe Barrow, Tong Yu, Sungchul Kim, Ruiyi Zhang, Jiuxiang Gu, Tyler Derr, Hongjie Chen, Junda Wu, Xiang Chen, Zichao Wang, Subrata Mitra, Nedim Lipka, and 2 others. 2025. Personalization of large language models: A survey. Transactions on Machine Learning Research (TMLR). Survey Certification.
A AxisCF: synthetic axis-counterfactual corpus
AxisCF is the synthetic axis-controlled personal-memory corpus used both for the phenomenon analyses in §2–§3 and for training Axis-LoRA in §4. Each item is a triplet of a personal-memory text , an anchor query taken verbatim from , and a set of single-edit axis counterfactuals , where each alters only the schema-slot values of axis . Since and its counterfactuals differ only in those slot values, ranking above them concentrates the contrastive signal on exactly the under-exposed axes.
A.1 Schema and counterfactual definition
Schema and slot edits. Each memory follows a small slot schema spanning the four axes: TEMPORAL (date, time), SPATIAL (city, venue), ENTITY (person, object), and EVENT (action, event type). A counterfactual replaces the slot values of axis with alternatives (e.g., Tuesday Friday) while preserving every other slot verbatim. Slot values may span multiple tokens, but only one axis changes per CF; we therefore refer to these as single-edit counterfactuals in the schema-slot sense.
Per-axis counterfactual generation. For each positive memory, we generate counterfactuals per axis with a prompt that constrains the change to a single axis-class. The prompt enforces token-class rules: TEMPORAL alters only dates, clock times, and year tokens (e.g., Aug 15 Dec 22); SPATIAL alters only place or venue names within a venue-type whitelist (city, hotel, restaurant, cafe, university, ...); ENTITY alters only a single person, organization, brand, or product within a subcategory whitelist; EVENT alters only an activity term within a tight category whitelist (e.g., lunch dinner within Meal, not lunch flight). TEMPORAL further excludes event-referring temporal expressions (e.g., Christmas, birthday) to prevent latent EVENT leakage through date words. These whitelists ensure that a single axis is varied while the rest of the schema remains semantically on-policy.
A.2 Generation pipeline
Generator and inference settings. Positive memories and counterfactuals are both generated with Qwen3.5-27B (Qwen Team, 2026) through a vLLM endpoint, run in non-thinking mode (enable_thinking=False) at temperature 0.7. The same model is used at temperature 0.0 for a separate validation pass (described below).
Memory format diversity. Memories are sampled across four memory formats that share the axis schema but differ in surface form:
-
Short turn: a single sentence with one primary axis (TEMPORAL or EVENT).
-
Multi-turn dialogue: an 8–10-turn chat covering 2–3 axes.
-
Multi-field passage: an email, image log, or video transcript covering all four axes.
-
Hard composition: a long-form passage, dialogue, or email thread spanning 3–4 axes.
This format mix gives surface variation while keeping the axis-controlled schema constant across forms.
Validation and filtering. Counterfactual quality is enforced at the prompt level: the generation prompt constrains each CF to a single axis-class edit under the token-class rules above, and 96% of triplets carry at least two counterfactuals per active axis. Triplets with missing counterfactuals are kept and simply train without those hard negatives, against in-batch negatives only. For the evaluation-pool corpus run (Appendix A.3), a second pass with Qwen3.5-27B at temperature 0.0 additionally verifies that each counterfactual changes only the targeted axis and that the substituted value stays within the whitelist. Failing counterfactuals are discarded.
Contamination prevention. AxisCF generation is independent of the evaluation benchmarks by construction: prompts contain only the axis schema, generic category whitelists, and synthetic personas, and no benchmark text enters the generation pipeline. To audit the residual risk of incidental overlap, we screen the corpus against a contamination blacklist of named entities, location names, and date strings mined from the ATM-Bench corpus and a related personal-memory corpus. Candidate entries are collected by running spaCy en_core_web_trf NER and a date regex over the test-set memories; Qwen3.5-27B then filters the candidates down to genuine named entities, and the list is normalized, deduplicated, and manually reviewed, leaving roughly 76K entries. The screen flags no benchmark-identifying entity in AxisCF: every overlap with the blacklist's high-precision entries is a generic real-world term (major cities, hotel and electronics brands, holidays, common first names), while entities that identify specific benchmark memories (conference names, unique local venues) do not appear.
A.3 Evaluation pool
Splits. Two disjoint splits with zero content overlap are used:
-
Training split (4,196 trips): used for Axis-LoRA training (§4). A stratified 90/10 train/validation split is taken jointly over memory format and axis combination so that all 14 (format, axis-set) strata are represented in both folds.
-
Fair evaluation pool (662 axis-anchored positives after a content-presence filter): used as the controlled-pool setting in §2.2 and §3.1, and re-used in Appendix D.4 for an out-of-distribution method evaluation. This pool is generated from a separate corpus run with the same generator and axis schema as the training split, with no shared seeds or content.
Axis balancing. The fair evaluation pool is balanced across the four axes, so per-axis R@10 and per-axis cosine distances reported in §2 reflect equal-weight contributions rather than corpus-frequency artifacts.
Axis-anchored eval queries. For the axis-anchored retrieval task in §2.2 and §3.1, each query is built from one schema value of a positive memory via a per-axis template:
-
TEMPORAL: "This event happened on {value}." (e.g., "This event happened on 2024-06-15.")
-
SPATIAL: "This took place at {value}." (e.g., "This took place at the Boston conference.")
-
ENTITY: "This memory involves {value}." (e.g., "This memory involves Marco.")
-
EVENT: "This memory is about {value}." (e.g., "This memory is about the rehearsal dinner.")
A content-presence filter keeps only memories whose axis value appears verbatim in the memory text, so the retrieval target is to recover the memory by its actual axis value rather than a paraphrase. Failure on this task therefore does not reflect missing information: the value is in the gold memory's text, but cosine retrieval compares single pooled vectors, and the value's contribution to the memory embedding is only 1–14% of the inter-memory distance scale (§2.1). This is too small for the ranking to exploit, even though a lexical matcher would find the token directly. Lexical matching does not, however, substitute for the dense pipeline: personal-memory systems rely on embeddings for semantic content matching, and real benchmark queries often express axis cues non-verbatim (e.g., relative dates). Anchor values also recur across the pool (a median of 40–108 memories share a query's value, depending on the axis), so even an exact-match oracle could not push R@10 close to 1. Assuming random tie-breaking among memories that contain the queried value, the oracle's expected R@10 is roughly 0.26–0.43 depending on the axis. All four axes fall below this bound, but not equally, and TEMPORAL reaches only 9–17% of its bound.
Counterfactual filter choices. Two probes in the paper use the same AxisCF corpus but apply different counterfactual filters, suited to what each probe measures:
-
§2.1 (embedding-level cosine distance) and §2.2 (axis-anchored R@10) use the full per-axis counterfactual set, which allows axis-phrase swaps that may span multiple tokens (e.g., Boston conference → Seattle library for SPATIAL). The cosine and retrieval signals are sentence-level (pooled embedding), and an axis-phrase swap is a natural unit of axis change.
-
§3.2 (head-spectrum probe) restricts to counterfactuals that alter exactly one schema-slot token, because per-(layer, head) responses are per-token signals that mix when multiple tokens change at once. The strict filter shrinks the SPATIAL pool to ; a relaxed cross-check () and a position-controlled probe confirm the qualitative ordering, see Appendix C.2.
Under the strict single-token filter, the §2.1 cosine ratios shift somewhat (SPATIAL becomes a smaller multiple of the edit floor, since a single-token swap is a smaller perturbation than a full phrase swap), but the qualitative ordering (TEMPORAL the smallest, the other three above the floor) is unchanged.
B Phenomenon supporting analyses
B.1 Axis-blindness reference scales
This appendix provides the reference scales used by Figure 2 and Table 2 in §2.1.
Non-axis 1-word edit floor. For each encoder, the edit floor is the mean cosine distance between a memory and a single-token control edit on a non-axis content word (axis values excluded). It reports the response magnitude to a near-noise content perturbation and serves as a per-encoder lower bound for “meaningful” axis response. Per-encoder values: MiniLM , bge-base , Qwen3-Embedding-0.6B (Table 2, top block).
Inter-memory distance . For each model, is the mean cosine distance between any two memories in the corpus. It reflects the operating scale at which cosine retrieval distinguishes candidates: anything far below this scale will not be discriminated by cosine ranking. Per-model values: MiniLM , bge-base , Qwen3-Embedding-0.6B . Across all three models the per-axis CF cosine distances sit at 1–13% of , confirming that axis swaps fall far below the inter-memory scale that determines retrieval rank.
B.2 Robustness checks
We address three alternative explanations for the axis-asymmetric under-exposure documented in §2, and one caveat on why the phenomenon analyses use a controlled synthetic pool rather than real benchmarks.
Edit-magnitude control. A natural concern is whether TEMPORAL appears smaller simply because TEMPORAL edits modify fewer tokens than other axes. Single-edit-per-axis counterfactuals already match the schema-slot edit count, but we further normalize cosine response by Jaccard token-edit distance. On Qwen3-Embedding-0.6B (single-edit aggregate):
Table 10: Edit-magnitude control on Qwen3-Embedding-0.6B (single-edit aggregate): per-axis cosine-response ratios vs. TEMPORAL, raw and after Jaccard token-edit normalization.
| Ratio | Raw | Jaccard-normalized |
|---|---|---|
| ENTITY / TEMPORAL | 4.92 | 1.76 |
| SPATIAL / TEMPORAL | 7.56 | 2.09 |
| EVENT / TEMPORAL | 4.82 | 1.92 |
TEMPORAL remains uniquely small after the strictest edit-magnitude control; roughly 25–30% of the raw asymmetry is edit-magnitude artifact, but 70–75% is encoder-intrinsic.
Position-bias control. Another concern is that TEMPORAL tokens tend to appear in late prepositional-phrase positions, and encoders may attend less strongly to such positions. We control this by generating five positional variants per memory (natural, TEMPORAL-as-subject, TEMPORAL-as-object, ENTITY-as-subject, ENTITY-as-object) using Qwen3.5-27B, preserving the schema values, and rerun cosine-distance measurements. ENTITY-to-TEMPORAL swap-distance ratio per (model, variant):
Table 11: Position-bias control: range of ENTITY-to-TEMPORAL swap-distance ratio across five positional variants (natural, TEMPORAL-as-subject, TEMPORAL-as-object, ENTITY-as-subject, ENTITY-as-object).
| Backbone | E / T ratio range across variants |
|---|---|
| MiniLM | 20.4×–40.4× |
| Qwen3-0.6B | 18.2×–46.2× |
| Qwen3-8B | 12.6×–31.8× |
Even when TEMPORAL is moved into the subject position, ENTITY-swap distance remains larger than TEMPORAL-swap distance. Position is at most a secondary modulator; the asymmetry is not a positional artifact.
Small-edit triviality. A third concern is that the cosine response to any small token edit is near-noise, in which case TEMPORAL-at-floor is unremarkable. We already report the non-axis 1-word edit floor in §2.1 and Appendix B.1: TEMPORAL sits at 0.3–1.1× this floor on all three models, while SPATIAL, ENTITY, and EVENT sit at 2.6–8.0× — orders of magnitude apart, ruling out the small-edit-triviality reading.
Caveat on real-corpus axis-anchored R@10. The phenomenon analyses use a synthetic controlled pool rather than real benchmarks (Long-MemEval, ATM-Bench, LoCoMo). The reason is that LLM-extracted TEMPORAL values in real conversational corpora are systematically vaguer than other axis values. On LongMemEval, ~ 32% of extracted TEMPORAL anchors are vague relative phrases (“next weekend”, “tonight”), ~ 25% are month-only without year, and only ~ 5% are full year-dates; in contrast, LongMemEval SPATIAL, ENTITY, and EVENT anchors are mostly specific proper nouns or distinctive activity terms. A real-corpus axis-anchored test would therefore confound encoder under-encoding (our target) with inherent natural-language vagueness of TEMPORAL. We use the controlled pool for the phenomenon claim, and validate end-to-end retrieval on the real benchmarks in §5.
C Diagnostic probes: details and robustness
C.1 Projection probe: training and full results
The projection probe in §3.1 tests whether axis information that is under-exposed in the raw cosine geometry can be recovered by an output-side head. We considered two variants of increasing capacity; the per-axis MLP with InfoNCE is the variant reported in §3.1.
Linear ridge regression. Per-axis linear map fit by ridge regression on pairs (, 5-fold trip-level CV), evaluated as . This serves as a simple, closed-form baseline. The raw R@10 column matches Table 3; the projected column reports ridge’s lift on the same axis-anchored evaluation. Table 12 shows that linear ridge lifts TEMPORAL only modestly (+0.6→+3.9 pp) and is destructive on SPATIAL and ENTITY across all three models, indicating that a single linear map cannot bridge the raw-cosine gap.
Per-axis MLP with InfoNCE (main). A per-axis 2-layer MLP with shape and
Table 12: Linear ridge variant: per-(model, axis) raw → projected R@10, = projected – raw.
| Axis | MiniLM | bge-base | Qwen3-0.6B | ||||||
|---|---|---|---|---|---|---|---|---|---|
| raw | proj | raw | proj | raw | proj | ||||
| TEMP. | 0.061 | 0.082 | +2.1 | 0.072 | 0.078 | +0.6 | 0.039 | 0.078 | +3.9 |
| SPAT. | 0.248 | 0.182 | -6.6 | 0.305 | 0.226 | -7.9 | 0.231 | 0.193 | -3.8 |
| ENT. | 0.163 | 0.101 | -6.2 | 0.154 | 0.111 | -4.3 | 0.152 | 0.113 | -3.9 |
| EVENT | 0.254 | 0.261 | +0.7 | 0.295 | 0.328 | +3.3 | 0.312 | 0.315 | +0.3 |
GELU. The InfoNCE objective uses three negative types per axis: the positive , the same-trip single-edit axis- counterfactual as a hard negative , and in-batch other-trip memories as easy negatives. We optimize each head with Adam (learning rate ), batch size 64, 30 epochs, and softmax temperature . Hyperparameters were not separately tuned per model. We use 5-fold trip-level cross-validation so each query is scored by a head trained without that trip; the evaluation protocol matches §2.2 (axis-anchored R@10 over the evaluation set). The full 12-cell results from this variant are reported in Table 3 of the body.
The MLP variant lifts TEMPORAL by +8.9→+14.4 pp (vs. +0.6→+3.9 pp for linear ridge), while non-TEMPORAL cells either stay near raw or go negative on 3/9 cells. The MLP is therefore the strongest output-side probe of the two, and is the variant reported in the body.
C.2 Head-spectrum probe: filtering and robustness
The head-spectrum probe in §3.2 uses a stricter axis-CF filter than the axis-anchored retrieval evaluation in §2.2: each pair must alter exactly one schema-slot token of axis , not just one slot. Per-axis pair counts under this strict filter: TEMPORAL , EVENT , ENTITY , SPATIAL . SPATIAL is small because raw SPATIAL counterfactuals typically swap both venue and city tokens jointly, and only 41 pairs survive the strict single-token filter.
SPATIAL cross-checks. The absolute SPATIAL coverage at has wider sampling uncertainty than the other three axes. Two checks support the qualitative ordering (TEMPORAL most diffuse, the other three more concentrated):
- Rank ordering. Replacing absolute %-of-heads with its rank within the four axes per model, TEMPORAL is the most-diffuse rank-
1 in all three models, while SPATIAL, ENTITY, and EVENT permute among ranks 2–4 without any of them dominating.
- Relaxed-CF reproducibility. Replacing the strict single-edit SPATIAL CF pool with a relaxed pool that allows venue + city joint swap () slightly inflates the SPATIAL response but preserves the ordering: SPATIAL stays in the concentrated cluster (within 2 pp of ENTITY/EVENT %-of-heads) and TEMPORAL stays the most diffuse.
Bootstrap 95% CIs on Qwen3-Embedding-0.6B (1000 resamples): TEMPORAL , EVENT , ENTITY , SPATIAL (wider, as expected from the small ). TEMPORAL is non-overlapping with the other axes at 95%.
Position-controlled probing. A natural concern is that TEMPORAL tokens may sit at canonical sequence-header positions in personal-memory data, so the diffuse-head pattern could reflect position-based attention routing. We restrict the CF pool to pairs where the perturbed token is at mid-sequence positions (20–100, past typical header content) and re-measure heads-to-50%-mass.
Table 13: Position-controlled head-spectrum probe: ENTITY (E) vs. TEMPORAL (T) heads-to-50%-mass on the full CF pool vs. the mid-sequence subset (perturbed token at positions 20–100).
| Model | Full pool E/T % | Mid-position pool E/T % |
|---|---|---|
| MiniLM | 26.4/41.7 (ratio 0.63) | 28.1/40.9 (ratio 0.69) |
| Qwen3-0.6B | 18.5/32.1 (ratio 0.58) | 19.4/32.4 (ratio 0.60) |
The ENTITY-to-TEMPORAL ratio stays within 0.07 of the full-pool value at both models, and on Qwen3-Embedding-0.6B the TEMPORAL-vs-ENTITY gap is pp at both pool definitions. The axis-asymmetric head distribution is not a positional artifact.
D Method ablations
D.1 -sensitivity sweep
The knob (axis-term mixing weight) sweeps the composite from frozen-base () to axis-only. 4-bench mean R@10 on Qwen3-Embedding-0.6B stays at or above the frozen base across , with the best value 0.6020 at versus 0.5892 at . The val winner (val_axis R@10 = 0.9658 at )
Table 14: 4-seed meanstd R@10 on bge-base-en-v1.5. The two gate variants give comparable 4-bench means (difference 0.24 pp, within per-bench seed variance) with different per-bench trade-offs: sparsemax is slightly stronger on hard-distractor splits (LME, ATM-H), softmax+axis-CE is slightly stronger on the longer-context splits (ATM-N, LoCoMo).
| Gate | LME | ATM-N | ATM-H | LoCoMo | Avg. |
|---|---|---|---|---|---|
| Sparsemax (Ours) | 0.63970.003 | 0.73680.000 | 0.31480.008 | 0.61780.002 | 0.5773 |
| Softmax + axis-CE | 0.63600.001 | 0.74050.002 | 0.29750.003 | 0.62560.002 | 0.5749 |
coincides with the 4-bench test winner, so is not test-tuned. Above , content-overlap-dominant queries (ATM-Normal, LoCoMo) get over-weighted on the axis term and the mean drops, with the axis-only setting () collapsing on ATM-Normal.
D.2 Gate variant: sparsemax vs. softmax with axis supervision
Axis-LoRA’s per-query gate uses sparsemax and is trained only by the composite contrastive objective. A natural alternative is to replace sparsemax with softmax and add an explicit axis-supervision term — for each training sample with axis label set , a cross-entropy loss between the gate weights and a uniform distribution over :
combined as with . Every other hyperparameter matches the paper main configuration (§5.1). Table 14 compares the two on bge-base-en-v1.5 over the same 4 random seeds.
We keep sparsemax as the paper-main configuration because it is the simpler training recipe: it does not require per-sample axis labels and trains from axis-counterfactual pairs alone, while still producing exact zeros on inactive axes (so off-axis branches add no noise at inference).
D.3 Gate behavior: routing collapse, a single-adapter control, and axis-supervised routing
This appendix analyzes what the learned gate of §4.1 actually does during and after training, reports a single-adapter control that isolates the source of the mean gain, and shows that a light axis supervision on the gate realizes the per-query routing that motivates the design.
The free gate collapses to one branch per encoder. Although the gate is queried per example, its learned weights degenerate: averaged over queries, a single axis branch receives nearly all routing mass, and which branch wins varies across random seeds (on Qwen3-Embedding-0.6B, the four paper seeds collapse onto EVENT, SPATIAL, ENTITY, and ENTITY respectively). The collapsed gate carries no per-query signal, giving time-labeled questions no more TEMPORAL weight than other questions (Table 16). The gate is still not vestigial at inference: on Qwen3-0.6B, routing with the collapsed learned gate beats uniform mixing over the same branches (+1.28 vs. +0.98 pp 4-benchmark mean over Base), because it selects exactly the branch that absorbed the training signal.
Why training admits correct routing but does not select it. The collapse is not due to a missing learning signal. Writing the training score as score(q, m) = sim_b(q, m) + α ∑_A w_A(q) sim_A(q, m), the InfoNCE gradient with respect to w_A(q) is proportional to the margin sim_A(q, m⁺) − sim_A(q, CF), i.e., to how well branch A separates the positive from the axis-labeled counterfactual of that example. An axis-aligned assignment, where each branch specializes on its axis and the gate routes accordingly, is therefore an optimum of the objective. It is, however, not the optimum that training reaches. All branches start identical (LoRA initialization), so the gate gradient initially distinguishes nothing; as soon as one branch pulls ahead, its margins grow on counterfactuals of every axis, the gate shifts mass to it on all examples, and the branch monopolizes the gradient. This winner-take-all dynamic mirrors the routing collapse documented for mixture-of-experts training, and the gate temperature annealing of §4.1 (designed to give every branch early signal) delays but does not prevent it: keeping the final temperature high (τ_g → 1.0 instead of 0.5) still collapses onto a single axis on every seed (+1.09 ±0.34 pp).
A single-adapter control isolates the source of the mean gain. The collapsed configuration effectively scores with one jointly-trained branch. We make this exact with a control that routes every training example to a single branch (the other branches remain at the KD anchor) and scores with that branch alone, i.e., one adapter, no per-axis structure, no gate, trained on the full AxisCF set. Table 15 compares 4-benchmark mean gains over Base across the three encoders (4 seeds).
Table 15: Gate analysis, Δ 4-benchmark mean R@10 (pp) over Base, 4-seed means. Top: single-adapter control vs. Axis-LoRA vs. the axis-supervised gate (the loss of Table 14 at λ_gate=0.05 with sparsemax retained), with the supervised branches also read out under uniform routing. Bottom: routing decomposition on Qwen3-0.6B.
| MiniLM | bge-base | Qwen3-0.6B | |
|---|---|---|---|
| Single adapter (control) | +1.50 | +1.16 | +1.59 |
| Axis-LoRA (paper) | +1.56 | +1.38 | +1.28 |
| + axis-sup. gate | +1.49 | +0.93 | +1.54 |
| same, uniform routing | +1.55 | +1.09 | +1.63 |
| Qwen3-0.6B routing decomposition | |||
| free gate: learned / uniform | +1.28 / +0.98 | ||
| axis-sup.: learned / uniform | +1.54 / +1.63 | ||
| hard label routing / single adapter | +1.35 / +1.59 | ||
The single adapter matches the cross-encoder mean of the full method (+1.42 vs. +1.41 pp). The mean improvement is therefore driven by the axis-counterfactual training signal and adapter capacity rather than by routing per se (replacing the axis counterfactuals with generic negatives erases the full method's gain, Table 9), consistent with the phrasing of §5.4. The gated per-axis structure matches the control at no average cost while adding what a single adapter cannot provide: encoder-level axis selection where it pays off (on bge-base the full method leads the control by +0.22 pp overall and by +0.93 pp on LongMemEval), per-axis representations (the axis-anchored evaluations of Appendix D.4 require per-axis branches), and a routing space that supervision can activate, as follows.
Axis supervision realizes per-query routing. AxisCF already labels which axis each training example edits. Adding the gate cross-entropy of Table 14 toward these labels with a small weight (λ_gate = 0.05), while keeping the paper's sparsemax gate, changes the training dynamics qualitatively: the routing mass spreads over all four branches with a seed-stable distribution (TEMPORAL ≈ .43, EVENT ≈ .28, ENTITY ≈ .16, SPATIAL ≈ .13 on Qwen3-0.6B), and genuine per-query behavior appears. Time-labeled questions receive measurably more TEMPORAL weight than other questions on LoCoMo for all three encoders and on LME for Qwen3-0.6B (Table 16); MiniLM shows no alignment on LME, the same cell where the supervised gate trails uniform routing. On Qwen3-0.6B the supervised gate lifts the mean to +1.54 (+1.63 with uniform readout) while halving the single regressing cell (ATM-Normal
Table 16: Per-query alignment: mean TEMPORAL gate weight of the axis-supervised gate on time-labeled questions vs. all other questions (4-seed means). The freely trained gate shows no time-vs-other differential on any encoder (); the supervised gate does on LoCoMo for all three encoders and on LME for Qwen3-0.6B.
| LoCoMo (temporal, n=320) | LME (temp.-reasoning, n=133) | |||
|---|---|---|---|---|
| time | other | time | other | |
| MiniLM | .308 | .186 | .601 | .603 |
| bge-base | .483 | .256 | .653 | .627 |
| Qwen3-0.6B | .408 | .338 | .682 | .637 |
pp). Teacher-forcing the labels as hard one-hot routing, which trains each branch in isolation, recovers less of the gain ( vs. for the soft supervised mixture), suggesting branches benefit from learning to cooperate under the mixed routing used at inference. The effect of supervision is encoder-dependent, mirroring the encoder-level specialization above: it helps Qwen3-0.6B, ties MiniLM, and trades away bge-base’s specialization advantage ( vs. pp). We therefore report it as an analysis variant rather than a change to the method.
Summary. The free gate degenerates into an encoder-level axis selector; this costs nothing on average, and its selection is what the learned-vs-uniform ablation of Table 9 measures. The mean gain itself comes from training on joint four-axis counterfactuals, which a single adapter can absorb. The per-axis gated structure earns its place by matching that control on average while enabling encoder-level specialization, per-axis representations, and, under light axis supervision, the per-query routing that motivates the design.
D.4 Axis-LoRA on the AxisCF fair eval pool
The phenomenon (§2.2) and diagnosis (§3.1) sections both evaluate on the AxisCF fair pool (662 positives, single axis-anchor + content-presence filter). For consistency we report Axis-LoRA’s R@10 on the same pool, scored with the composite at . The AxisCF fair pool is generated from a separate corpus run from the training data with 0 content overlap, so this is an out-of-distribution evaluation of the trained adapter.
Table 17 reports the per-axis breakdown. Axis-LoRA improves R@10 over raw on 10/12 cells (the exceptions are MiniLM EVENT and bge-base EVENT, the latter essentially tied with raw) and
Table 17: Axis-anchored R@10 and median rank on the AxisCF fair pool: raw cosine, MLP+InfoNCE projection (§3.1), and Axis-LoRA (, seed 42). Lower median rank = better. Axis-LoRA improves R@10 over raw on 10/12 (encoder, axis) cells and improves median rank on all 12 cells, including the three cells where MLP+InfoNCE was destructive (bge-base SPATIAL/EVENT, Qwen3-Embedding-0.6B EVENT).
| Axis | Setup | MiniLM | bge-base | Qwen3-0.6B | |||
|---|---|---|---|---|---|---|---|
| R@10 | med | R@10 | med | R@10 | med | ||
| TEMP | raw | 0.061 | 157 | 0.072 | 109 | 0.039 | 168 |
| MLP | 0.150 | 64 | 0.167 | 60 | 0.183 | 62 | |
| A-LoRA | 0.066 | 109 | 0.181 | 45 | 0.115 | 82 | |
| SPAT | raw | 0.248 | 55 | 0.305 | 29 | 0.231 | 58 |
| MLP | 0.250 | 57 | 0.275 | 42 | 0.233 | 48 | |
| A-LoRA | 0.304 | 34 | 0.335 | 26 | 0.282 | 33 | |
| ENT | raw | 0.163 | 63 | 0.154 | 81 | 0.152 | 65 |
| MLP | 0.224 | 65 | 0.179 | 73 | 0.197 | 49 | |
| A-LoRA | 0.190 | 58 | 0.167 | 82 | 0.196 | 50 | |
| EVENT | raw | 0.254 | 52 | 0.295 | 32 | 0.312 | 39 |
| MLP | 0.260 | 27 | 0.266 | 31 | 0.231 | 29 | |
| A-LoRA | 0.220 | 40 | 0.295 | 24 | 0.340 | 23 | |
improves median rank on all 12 cells. On the three cells where MLP+InfoNCE was destructive (bge-base SPATIAL/EVENT, Qwen3-Embedding-0.6B EVENT), Axis-LoRA instead lifts or matches raw ( pp R@10), confirming that inside-encoder reshaping reaches geometry the output-side projection cannot. MiniLM lifts are smaller (the MLP+InfoNCE probe outperforms Axis-LoRA on its TEMPORAL and ENTITY cells), consistent with the small-encoder pattern in §5.2 where MiniLM’s lift on real benchmarks is also the smallest of the three encoders.
D.5 Per-cell stds for ablation tables
Table 18 gives the 4-seed mean±std for each cell in Tables 8 and 9 that was trained (deterministic rows and the inference-time uniform-routing row are omitted).
Table 18: 4-seed mean±std for the trained rows of Tables 8 and 9.
| Variant | LME | ATM-N | ATM-H | LoCoMo | Avg. |
|---|---|---|---|---|---|
| Axis-LoRA | .724 ± .002 | .742 ± .003 | .337 ± .017 | .605 ± .003 | .602 ± .005 |
| Shared-trunk | .635 ± .021 | .611 ± .011 | .255 ± .007 | .469 ± .014 | .493 ± .008 |
| MLP+InfoNCE | .726 ± .002 | .750 ± .002 | .300 ± .004 | .591 ± .001 | .592 ± .002 |
| – axis-CF supv. | .731 ± .004 | .751 ± .003 | .297 ± .003 | .592 ± .003 | .593 ± .002 |
| – KD anchor | .720 ± .004 | .735 ± .002 | .324 ± .007 | .575 ± .007 | .588 ± .004 |
Table 19: Single-axis baselines, 4-benchmark mean R@10 (pp) over Base, 4-seed means.
| MiniLM | bge-base | Qwen3-0.6B | |
|---|---|---|---|
| Temporal-only | +0.56 | +0.38 | -0.61 |
| Temporal-only (step-matched) | +0.92 | +0.77 | -0.94 |
| Joint 4-axis Axis-LoRA | +1.56 | +1.38 | +1.28 |
D.6 Single-axis baselines and step matching
To verify the advantage of joint four-axis adaptation over single-axis specialization directly, we train a temporal-only baseline with the identical recipe, data pipeline, and budget as Axis-LoRA, differing only in using the TEMPORAL counterfactual triplets and no routing (temporal is the most under-exposed axis in our diagnosis, so the strongest single-axis choice). Because the temporal subset is smaller (3,220 of 4,196 triplets), we additionally train a step-matched variant for the same number of optimizer steps as the joint model.
The temporal-only baseline recovers at most a third of the joint gain on MiniLM and bge-base and falls below Base on Qwen3-0.6B (Table 19); matching the optimizer steps narrows but does not close the gap, and on Qwen3-0.6B the additional temporal-only training deepens the deficit. Nor is Qwen3's negative number an artifact of picking a weak axis: training each of the four single-axis baselines for Qwen3-0.6B under the same recipe gives -0.61 (TEMPORAL), +0.22 (SPATIAL), -0.93 (ENTITY), and -0.97 (EVENT), so even the best single axis recovers under a fifth of the joint gain. The most useful axis differs by encoder, and joint four-axis training is what makes the gain positive and consistent across encoders.
D.7 Shared-trunk: capacity matching and training stability
Two controls confirm that the shared-trunk collapse of Table 8 reflects the design rather than optimization instability. First, a capacity-matched shared trunk with rank 64, matching the total adapter parameter count of the four rank-16 branches, still collapses under the identical recipe ( on LME / ATM-N / ATM-H / LoCoMo, 4-bench mean , below the rank-16 trunk's ), so added capacity does not recover performance. Second, training is stable: the smoothed contrastive loss descends steadily to a plateau and never diverges (Table 20).
The loss converges without divergence, the re-
Table 20: Shared-trunk contrastive training loss (4-seed mean) at 0–100% of training steps. Both ranks converge without divergence.
| 0% | 20% | 40% | 60% | 80% | 100% | |
|---|---|---|---|---|---|---|
| Shared trunk, | 0.90 | 0.75 | 0.65 | 0.60 | 0.51 | 0.45 |
| Shared trunk, | 0.77 | 0.64 | 0.50 | 0.58 | 0.52 | 0.55 |
sults are reproducible across seeds ( per cell), and quadrupling capacity does not help. The collapse is a stable property of forcing four axis-decomposed outputs through shared weights.
E Experimental setup
E.1 Evaluation benchmark details
Table 21 summarizes per-split statistics for the four evaluation splits referenced in §5.1.
Table 21: Per-split statistics. Pool is the memory pool the retriever ranks over. Avg evid. is the mean number of gold supporting memories per query; Multi-evid. is the fraction of queries with more than one gold memory.
| Benchmark | Split | Queries | Pool | Avg evid. | Multi-evid. |
|---|---|---|---|---|---|
| LongMemEval | — | 500 | 940 | 1.90 | 65% |
| LoCoMo | — | 1,977 | 5,882 | 1.42 | 21% |
| ATM-Bench | Normal | 1,013 | 11,034 | 1.44 | 25% |
| ATM-Bench | Hard | 31 | 11,034 | 6.26 | 100% |
Sample queries. One representative query per split:
-
LongMemEval: "[2023/04/10] What was the first issue I had with my new car after its first service?"
-
LoCoMo: "When did Caroline go to the LGBTQ support group?"
-
ATM-Bench Normal: "Which hotel did I stay in on the first day of my trip to Kent?"
-
ATM-Bench Hard: "I really like the steel bridge in Porto. Can you help me find all the images and videos I took during my visit?"
E.2 Per-model training hyperparameters
Shared method hyperparameters. The following hyperparameters are identical across all three embedding models: LoRA rank applied to the last 20% of attention layers on q_proj and v_proj with dropout 0.05; InfoNCE temperature ; gate temperature annealed ; KD weight over a 50K MS MARCO triplet pool; inference mixing weight ; AdamW with adapter learning rate , weight decay , and warmup ratio 0.05.
Selection process. The inference mixing weight is selected via a documented sweep on Qwen3-Embedding-0.6B (Appendix D.1). LoRA rank () and depth (last 20% of attention layers) were chosen by a small grid on a single seed of Qwen3-Embedding-0.6B; rank expansion from to added +0.30 pp 4-bench mean at 76% more trainable parameters (still 0.26% of base), and depth expansion was not explored due to GPU memory limits. The InfoNCE temperature and AdamW with linear warmup are standard defaults from dense-retrieval training. The gate annealing schedule, KD weight, and adapter learning rate were set by small grid sweeps on Qwen3-Embedding-0.6B during development (a grid over the KD weight and the final gate temperature, plus learning-rate sweeps), selected by R@10 on the held-out AxisCF validation split. Per-model optimization hyperparameters (max sequence length, batch size, epochs) are chosen to fit each architecture's memory footprint and training dynamics. Everything else is selected on Qwen3-Embedding-0.6B and transferred to MiniLM-L6-v2 and bge-base-en-v1.5 without retuning.
Query instruction prefixes. Each model is evaluated with its model-card-recommended query prefix: MiniLM-L6-v2 uses no prefix; bge-base-en-v1.5 uses "Represent this sentence for searching relevant passages:"; Qwen3-Embedding-0.6B uses "Instruct: Given a personal-memory question, retrieve relevant memory entries.\nQuery: ", a personal-memory-targeted instantiation of Qwen3's task-instruction interface.
Axis-specific instructions (axis-prefix prompt baseline). The Axis-prefix prompt variant in Table 8 replaces the default Qwen instruction with four axis-specific instructions: TEMPORAL "Instruct: Given a question about WHEN (time, date, period) something happened, retrieve relevant memory entries."; SPATIAL "Instruct: Given a question about WHERE (location, place) something happened, retrieve relevant memory entries."; ENTITY "Instruct: Given a question about WHO or WHAT (people, objects) is involved, retrieve relevant memory entries."; EVENT "Instruct: Given a question about WHAT EVENT or ACTION occurred, retrieve relevant memory entries.". All four
are followed by "\nQuery:".
Software environment. All reported evaluations were produced with a single pipeline under PyTorch 2.10.0 (CUDA 12.8), Transformers 5.6.2, and PEFT 0.19.1.
E.3 MTEB BEIR-6 reproduction setup
Table 7 reports per-task nDCG@10 for Qwen3-Embedding-0.6B base () and + Ours () on the BEIR-6 subset (NFCorpus, SciFact, ArguAna, SCIDOCS, FiQA2018, TRECCOVID). Both rows use the same evaluation configuration: max-len-q 256, max-len-m 512, and the general-retrieval query instruction prefix ("Instruct: Given a question, retrieve relevant passages that answer the question\nQuery: "). Our absolute base scores (mean 0.5449) are below the official MTEB leaderboard report for Qwen3-Embedding-0.6B (mean 0.5882): the gap is dominated by max-length truncation on the long-text tasks, since the official run uses task-specific instructions and a longer max-length budget. The relative between the two rows is unaffected because both rows share the same shortened pipeline; this is the comparison we report in §5.2.
Cross-encoder MTEB (MiniLM, bge-base). Table 23 reports the same BEIR-6 sweep on the other two main-table encoders, each evaluated with its model-card-recommended query prefix (MiniLM: none; bge-base: "Represent this sentence for searching relevant passages:").
The three embedding models show encoder-size-graded preservation: MiniLM (22M) shows the largest mean degradation (-1.10 pp), concentrated on TRECCOVID (-4.78 pp) and FiQA2018 (-1.53 pp); bge-base (110M) is near-perfect (-0.02 pp), with an ArguAna gain (+1.90 pp) partly offsetting modest drops on long-text splits; Qwen3-Embedding-0.6B (600M) sits in between at -0.50 pp (Table 7), with the largest single drop on TRECCOVID (-1.06 pp). The smaller MiniLM has proportionally larger LoRA influence (last 20% covers 6/12 layers versus 5/28 on Qwen), so the same axis-conditional reshaping translates to a larger perturbation of the general-retrieval geometry. The personalized-memory gains (+1.28 to +1.56 pp 4-bench mean R@10) more than offset the BEIR mean drops on every embedding model, but the trade-off is real and should be considered when transferring the recipe to small encoders.
Table 22: Per-architecture optimization hyperparameters. Shared method hyperparameters are listed in the surrounding text.
| MiniLM-L6-v2 | bge-base-en-v1.5 | Qwen3-Embedding-0.6B | |
|---|---|---|---|
| Max sequence length | 512 | 512 | 1,536 |
| Per-GPU batch size | 64 | 16 | 2 |
| Gradient accumulation | 1 | 1 | 2 |
| Effective batch (×4 GPU) | 256 | 64 | 16 |
| Epochs | 100 | 5 | 5 |
| Learning rate (gate) | |||
| MS MARCO per batch | 8 | 8 | 2 |
Table 23: General retrieval (MTEB BEIR-6, nDCG@10) on MiniLM-L6-v2 and bge-base-en-v1.5. The two BERT-style embedding models show different preservation: bge-base near-perfect (-0.02 pp) and MiniLM mildly degraded (-1.10 pp).
| Setup | NFC. | SciF. | ArgA. | SciD. | FiQA | TREC-C | Avg. | Δ |
|---|---|---|---|---|---|---|---|---|
| MiniLM-L6-v2 | ||||||||
| Base | 0.3152 | 0.6452 | 0.4949 | 0.2172 | 0.3681 | 0.4748 | 0.4192 | — |
| Axis-LoRA | 0.3133 | 0.6555 | 0.4849 | 0.2161 | 0.3528 | 0.4270 | 0.4083 | -1.10 |
| bge-base-en-v1.5 | ||||||||
| Base | 0.3773 | 0.7443 | 0.6026 | 0.2219 | 0.4002 | 0.7672 | 0.5189 | — |
| Axis-LoRA | 0.3747 | 0.7501 | 0.6216 | 0.2174 | 0.3951 | 0.7538 | 0.5188 | -0.02 |
F Additional results
F.1 Per-metric breakdown
Table 24 gives the full 4-seed per-metric breakdown (R@1, R@5, R@10, R@100, MRR) for the main 4-benchmark result of Table 5, on each (model, benchmark) cell.
Rank-redistribution mechanism. On Qwen3-Embedding-0.6B, R@5 dips slightly on 4-bench mean while R@10 lifts +1.28 pp; R@100 and MRR are essentially flat. Together these describe a rank-redistribution mechanism: the additive axis term reranks within the cosine-near band where §3.1 identified residual axis signal that base cosine alone cannot rank. Rank-11 to 20 axis-matching candidates move into the top-10. The pattern is sharpest on ATM-Hard (+3.75 pp R@10), consistent with multi-evidence queries benefiting most from per-axis ranking precision in the cosine-near band. On MiniLM-L6-v2 the gains are uniformly positive across all five aggregate metrics: the smallest model’s baseline axis exposure is weak across all four axes (Table 2), so Axis-LoRA lifts every retrieval band without rank redistribution. On bge-base-en-v1.5 the lift is concentrated on 3/4 benchmarks (LME +2.98, ATM-Normal +0.82, ATM-Hard +2.37) with a small dip on LoCoMo (-0.66 pp), giving a 4-bench mean of +1.38 pp.
F.2 Bootstrap confidence intervals
All intervals are query-level bootstraps: the per-query R@10 delta (Axis-LoRA – Base), averaged over the 4 seeds, is resampled 20k times; 4-benchmark means use a hierarchical resample within each benchmark. Table 25 reports, alongside the 4-benchmark mean intervals quoted in §5.2, the ATM-Hard split alone, the mean over the other three benchmarks, and the encoder-pooled ATM-Hard gain (per query, the gain is first averaged over the three encoders, then the 31 queries are resampled jointly, preserving the correlation from evaluating all encoders on the same queries).
F.3 Per-query analysis of the regressing cells
Two of the twelve (encoder, benchmark) cells regress (Qwen3-0.6B/ATM-Normal –1.24 pp, bge-base/LoCoMo –0.66 pp). Per-query ranks over the 4 seeds (Table 26) show the dips are a narrow rank-boundary effect rather than broad degradation: on both cells the large majority of queries keep the same top-10 outcome, and the net change comes from a small set of golds crossing the rank-10 cutoff, the rank-redistribution mechanism discussed with Table 24. In these two cells the exchange happens to be slightly unfavorable, while in the other ten it is favorable.
F.4 Query-type-stratified gains on real benchmarks
Using each benchmark’s own question-type labels, only one type per dataset isolates a single axis, the TEMPORAL axis (temporal-reasoning in LongMemEval, temporal in LoCoMo); the other types blend several axes, so a gain there cannot be attributed to one axis. Across the six encoder×benchmark cells for time questions, every encoder improves significantly on time questions in at least one of the two benchmarks, and no cell shows a significant loss (Table 27), matching the axis the diagnosis flags as most under-exposed.
Table 24: Per-metric breakdown of the main 4-benchmark result (4-seed mean±std, α = 0.25). Δ = Ours – Base in pp.
| Encoder | Bench | R@1 | R@5 | R@10 | R@100 | MRR | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Base | Ours | Δ | Base | Ours | Δ | Base | Ours | Δ | Base | Ours | Δ | Base | Ours | Δ | ||
| MiniLM | LME | .198 | .203±.002 | +0.4 | .378 | .398±.002 | +2.1 | .474 | .487±.001 | +1.3 | .816 | .819±.002 | +0.3 | .382 | .392±.004 | +1.1 |
| ATM-N | .352 | .352±.002 | +0.1 | .566 | .576±.003 | +1.0 | .647 | .657±.002 | +1.1 | .849 | .854±.001 | +0.5 | .501 | .507±.001 | +0.5 | |
| ATM-H | .037 | .059±.002 | +2.2 | .224 | .238±.003 | +1.4 | .281 | .305±.003 | +2.5 | .633 | .659±.004 | +2.5 | .328 | .396±.010 | +6.8 | |
| LoCoMo | .154 | .157±.001 | +0.4 | .350 | .360±.002 | +1.0 | .442 | .456±.002 | +1.4 | .772 | .777±.002 | +0.5 | .284 | .289±.001 | +0.5 | |
| bge-base | LME | .233 | .254±.003 | +2.1 | .481 | .519±.003 | +3.8 | .610 | .640±.003 | +3.0 | .877 | .895±.000 | +1.8 | .474 | .505±.002 | +3.1 |
| ATM-N | .435 | .437±.002 | +0.2 | .663 | .664±.002 | +0.1 | .729 | .737±.000 | +0.8 | .898 | .898±.002 | +0.0 | .597 | .601±.001 | +0.4 | |
| ATM-H | .069 | .065±.003 | -0.3 | .237 | .221±.003 | -1.6 | .291 | .315±.008 | +2.4 | .650 | .669±.007 | +1.9 | .394 | .407±.012 | +1.3 | |
| LoCoMo | .277 | .268±.002 | -0.9 | .518 | .517±.002 | -0.1 | .624 | .618±.002 | -0.7 | .878 | .880±.001 | +0.2 | .436 | .428±.001 | -0.8 | |
| Qwen3-0.6B | LME | .291 | .298±.004 | +0.7 | .617 | .616±.005 | -0.1 | .717 | .724±.002 | +0.6 | .940 | .940±.001 | -0.0 | .579 | .588±.004 | +0.9 |
| ATM-N | .435 | .435±.002 | +0.0 | .679 | .666±.005 | -1.3 | .754 | .742±.003 | -1.2 | .906 | .905±.003 | -0.1 | .600 | .593±.002 | -0.7 | |
| ATM-H | .075 | .056±.008 | -1.9 | .228 | .188±.007 | -3.9 | .299 | .337±.017 | +3.8 | .747 | .762±.006 | +1.5 | .416 | .383±.017 | -3.3 | |
| LoCoMo | .273 | .280±.003 | +0.6 | .508 | .519±.002 | +1.1 | .586 | .605±.003 | +2.0 | .836 | .854±.001 | +1.9 | .426 | .436±.002 | +1.0 | |
Table 25: Query-level bootstrap 95% CIs for R@10 gains (pp). At n=31 no single ATM-Hard interval excludes zero, reflecting the sample size; the gain is positive for all three encoders and significant when pooled across them.
| ATM-Hard (n=31) | 3-bench mean (excl. ATM-H) | 4-bench mean | ||||
|---|---|---|---|---|---|---|
| Δ | 95% CI | Δ | 95% CI | Δ | 95% CI | |
| MiniLM | +2.45 | [-0.85, +6.44] | +1.26 | [+0.55, +1.99] | +1.56 | [+0.54, +2.70] |
| bge-base | +2.37 | [-1.42, +5.74] | +1.05 | [+0.30, +1.82] | +1.38 | [+0.25, +2.39] |
| Qwen3-0.6B | +3.75 | [-0.35, +8.48] | +0.45 | [-0.16, +1.06] | +1.28 | [+0.15, +2.52] |
| 3-encoder pooled | +2.86 | [+0.55, +5.36] | ||||
Table 26: Per-query anatomy of the two regressing cells (4-seed averages). “Unchanged” = same top-10 hit outcome under Base and Axis-LoRA; “wins/losses” = golds that newly enter / drop out of the top-10 per seed; ranks are medians before → after.
| Cell | Unchanged | Wins / losses | Winner rank | Loser rank |
|---|---|---|---|---|
| Qwen3 × ATM-N | 92% (933/1,013) | 27 / 50 | 12 → 7 | 6 → 12 |
| bge × LoCoMo | 91% (1,794/1,977) | 80 / 103 | 15 → 6 | 7 → 12 |
ATM-Bench labels by answer format rather than axis and cannot be split this way.
F.5 Axis-response replication on real benchmark memories
We repeat the axis-response measurement of Table 2 on real memories drawn from the three evaluation benchmarks (200 ATM-Bench, 200 LoCoMo, 100 LongMemEval), building axis counterfactuals with the same generation pipeline and using the same 1-word content-edit floor. The pattern reproduces with the same axis ordering (Table 28): TEMPORAL sits at or below the edit floor on all three encoders, the other axes clear the floor, and every axis stays at or below 11% of the inter-memory distance, far below the scale at which cosine ranking discriminates. The pattern also holds within each source benchmark.
Table 27: Time-question R@10 gains (pp) with query-level bootstrap 95% CIs (4 seeds). Bold intervals exclude zero.
| temporal-reasoning(LME, n=133) | temporal(LoCoMo, n=320) | |
|---|---|---|
| MiniLM | +1.32 [-2.4, +5.0] | +2.99 [+0.8, +5.3] |
| bge-base | +4.46 [+1.1, +8.0] | -0.65 [-3.7, +2.2] |
| Qwen3-0.6B | +0.11 [-2.5, +2.7] | +3.02 [+1.0, +5.2] |
Table 28: Axis-swap response on real benchmark memories: multiple of the 1-word edit floor / percentage of the inter-memory distance.
| TEMPORAL | SPATIAL | ENTITY | EVENT | |
|---|---|---|---|---|
| MiniLM | 0.05× / 0.2% | 1.41× / 5.2% | 2.57× / 9.6% | 1.64× / 6.1% |
| bge-base | 0.28× / 1.1% | 1.57× / 6.3% | 1.84× / 7.4% | 1.54× / 6.2% |
| Qwen3-0.6B | 0.15× / 0.8% | 1.11× / 6.0% | 2.00× / 10.8% | 1.13× / 6.1% |
F.6 End-to-end QA under official protocols
We evaluate how the retrieval gains carry through to answer quality, following each benchmark’s official protocol: LongMemEval’s reading prompt and per-question-type judge prompts, LoCoMo’s QA prompt with normalized-token F1, and ATM-Bench’s official evaluator. The top-10 memories from Base and from the seed-42 Axis-LoRA run are given to the same fixed reader (Qwen3.5-9B) and judge (Qwen3.5-27B) in both conditions, so the delta isolates retrieval. ATM-Hard is omitted because each of its 31 questions carries a ~3 pp weight on the split score, larger than the QA effects of interest. Retrieval on ATM-Hard, in contrast, is graded over ~6 gold evidences per query and is reported with query-level confidence intervals (Appendix F.2).
The QA delta (Table 29) matches the sign of the retrieval delta in 8 of 9 cells, including the two retrieval regressions (Qwen3/ATM-Normal,
Table 29: End-to-end QA delta (Axis-LoRA – Base, pp) under each benchmark's official metric (single seed).
| LME (judge acc.) | ATM-N (QS) | LoCoMo (F1) | |
|---|---|---|---|
| MiniLM | +2.80 | +0.60 | +0.90 |
| bge-base | +2.00 | -0.13 | -0.31 |
| Qwen3-0.6B | +2.60 | -1.29 | +0.79 |
bge/LoCoMo): retrieval gains and dips both propagate to answer quality. The coupling is also visible per query: on ATM-Normal, questions whose gold memory is retrieved in the top-10 are answered correctly 53.7% of the time versus 5.0% when it is missed. The magnitudes are compressed relative to the retrieval deltas because roughly 90% of queries keep the same top-10 (Appendix F.3).