The Coordinate System Problem in Persistent Structural Memory for Neural Architectures
Organizations: National Institute of Electronics and Information Technology (NIELIT)
Abstract
We introduce the Dual-View Pheromone Pathway Network (DPPN), an architecture that routes sparse attention through a persistent pheromone field over latent slot transitions, and use it to discover two independent requirements for persistent structural memory in neural networks. Through five progressively refined experiments using up to 10 seeds per condition across 5 model variants and 4 transfer targets, we identify a core principle: persistent memory requires a stable coordinate system, and any coordinate system learned jointly with the model is inherently unstable. We characterize three obstacles -- pheromone saturation, surface-structure entanglement, and coordinate incompatibility -- and show that neither contrastive updates, multi-source distillation, Hungarian alignment, nor semantic decomposition resolves the instability when embeddings are learned from scratch. Fixed random Fourier features provide extrinsic coordinates that are stable, structure-blind, and informative, but coordinate stability alone is insufficient: routing-bias pheromone does not transfer (10 seeds, p>0.05). DPPN outperforms transformer and random sparse baselines for within-task learning (AULC 0.700 vs 0.680 vs 0.670). Replacing routing bias with learning-rate modulation eliminates negative transfer: warm pheromone as a learning-rate prior achieves +0.003 on same-family tasks (17 seeds, p<0.05) while never reducing performance. A structure completion function over extrinsic coordinates produces +0.006 same-family bonus beyond regularization, showing the catch-22 between stability and informativeness is partially permeable to learned functions. The contribution is two independent requirements for persistent structural memory: (a) coordinate stability and (b) graceful transfer mechanism.
Figures & tables
| Epoch | Val. Acc. | Entropy | |
|---|---|---|---|
| 0 | 0.476 | 6.76 | |
| 5 | 0.638 | 5.97 | |
| 10 | 0.708 | 5.94 | |
| 20 | 0.722 | 5.93 | |
| 30 | 0.734 | 5.93 | |
| 50 | 0.734 | 5.93 |
| Same Family (A) | Different Family | ||||
| Model | Condition | A2 | A3 | B1 | C1 |
| DPPN | Cold | ||||
| Distilled | |||||
| Rank-reduced | |||||
| Transformer | Cold | ||||
| Same Family | Different Family | ||||
|---|---|---|---|---|---|
| Model (distilled) | Seeds | A2 | A3 | B1 | C1 |
| DPPN (learned + Hungarian) | 3 | ||||
| Fourier (token+position) | 3 | ||||
| Fourier (position-only) | 3 | ||||
| Fourier (position-only) | 10 | ||||
| Experiment | What it fixed | Next obstacle identified | Insight |
|---|---|---|---|
| 1: Contrastive updates | Pheromone saturation ( uniform) | Surface entanglement | Structured pheromone transferable pheromone |
| 2: Single-source transfer | Task difficulty calibration | Surface-structure coupling | Cannot disentangle with one instance |
| 3: Multi-source distillation | Surface contrast (two instances) | Coordinate mismatch (3.5% vs. 3.1%) | Learned slots are unaligned across runs |
| 4: Decomposition coordinates | Slot arbitrariness (fixed regions) | Embedding arbitrariness ( ) | Any learned coordinate system is unstable |
| 5: Position-only Fourier | Extrinsic, surface-free coordinates | Routing-bias mechanism itself — even with stable coordinates, biasing forward-pass routing from a previous task imposes a cost | Coordinate stability is necessary but not sufficient. The transfer mechanism (routing bias vs. learning rate) matters independently. |
| Same Family | Different Family | ||||
|---|---|---|---|---|---|
| Mechanism | Seeds | A2 | A3 | B1 | C1 |
| Meta-LR | 7 | ||||
| Routing bias | 10 | ||||
| Same Family | Different Family | |||
|---|---|---|---|---|
| Mechanism | A2 | A3 | B1 | C1 |
| Completion (learned ) | ||||
| Completion (extrinsic ) | ||||
| Random completion control | ||||
| Trained Random (same fam.) | ||||
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
| Model dimension ( ) | 64 |
| Number of heads | 4 |
| Number of layers | 3 |
| Number of slots ( ) | 32 |
| Top- (sparse mask) | 32 |
| Slow-lane window ( ) | 16 |
| Parameter | Value |
|---|---|
| Vocabulary size | 32 |
| Sequence length | 128 |
| Training samples | 2000 |
| Motifs per sample | 2–3 |
| Noise level | 0.02 |
| Number of classes | 2 |
| Seed | Condition | A2 | A3 | B1 | C1 |
|---|---|---|---|---|---|
| 42 | Cold | .683 | .689 | .693 | .676 |
| Distilled | .677 | .690 | .695 | .675 | |
| Rank-red. | .678 | .691 | .695 | .678 | |
| 137 | Cold | .696 | .697 | .719 | .665 |
| Distilled | .706 | .696 | .715 | .661 | |
| Rank-red. | .707 | .693 | .715 | .666 |
| Model | Seed | A2 | A3 | B1 | C1 |
|---|---|---|---|---|---|
| Transformer | 42 | .671 | .661 | .669 | .653 |
| 137 | .688 | .686 | .689 | .648 | |
| 256 | .700 | .691 | .711 | .692 | |
| Random Sparse | 42 | .658 | .657 | .671 | .642 |
| 137 | .680 | .675 | .703 | .638 | |
| 256 | .696 | .687 | .684 | .669 |
Memory-Augmented Neural Networks
Memory-augmented neural networks combine learned computation with explicit or persistent memory for retrieval, long-context reasoning, and adaptation.
See all 91 papers