CoMemNet: Continual Traffic Forecasting
- The paper introduces CoMemNet, a dual-branch framework that enables continual traffic prediction by addressing evolving node sets and traffic patterns.
- It employs a Dynamic Contrastive Sampler and a Node-Adaptive Temporal Memory Replay Buffer to select high-shift nodes and adapt efficiently without full retraining.
- Empirical evaluations on PeMS datasets demonstrate state-of-the-art improvements in MAE, RMSE, and MAPE while reducing computational overhead.
Searching arXiv for the topic and closely related names to ground the article in current papers. to=arxiv_search.search 总代理联系 ՞նչ query="CoMemNet OR CoMEM OR Chain-of-Memory CoMemNet COMNet CMMAC" max_results=10 sort_by="relevance" to=arxiv_search.search 天天彩票网 天天中彩票有json {"query":"CoMemNet OR CoMEM OR Chain-of-Memory CoMemNet COMNet CMMAC","max_results":10,"sort_by":"relevance"} CoMemNet most directly denotes the framework introduced in “CoMemNet: Contrastive Sampling with Memory Replay Network for Continual Traffic Prediction” (Wu et al., 7 May 2026), a continual spatio-temporal forecasting architecture for expanding traffic networks. In that formulation, CoMemNet addresses sequential prediction on graphs whose node set and traffic patterns evolve over time, combining a dual-branch continual learning design, a Dynamic Contrastive Sampler driven by Wasserstein Distance features, and a Node-Adaptive Temporal Memory Replay Buffer. The name also overlaps with adjacent usages in recent literature: CoMEM denotes a continuous memory module for vision-LLMs (Wu et al., 23 May 2025), “CoMemNet” is discussed as a natural system interpretation of Chain-of-Memory for LLM agents (Xu et al., 14 Jan 2026), and related abbreviations such as COMNet and co-membership-based anomaly frameworks appear in other domains (Su et al., 2023, Lapid et al., 2022). In current arXiv usage, however, the explicit title “CoMemNet” refers to the continual traffic prediction framework (Wu et al., 7 May 2026).
1. Definition and scope
CoMemNet is a dual-branch continual learning framework for traffic prediction on expanding road networks, where both the node set and traffic patterns change over time (Wu et al., 7 May 2026). The underlying setting is a sequence of graphs
with
so that new nodes and edges are added over time (Wu et al., 7 May 2026). At the forecasting level, the model consumes historical traffic
and predicts future traffic
for each period (Wu et al., 7 May 2026).
The framework is designed for continual prediction without retraining from scratch and without storing all past data (Wu et al., 7 May 2026). Its central claim is that static-graph spatio-temporal methods are inadequate when , , and evolve and when traffic distributions drift over years (Wu et al., 7 May 2026). Accordingly, CoMemNet replaces fixed-topology dependence with a graph-free, embedding-based backbone and augments it with replay- and sampling-based continual learning mechanisms (Wu et al., 7 May 2026).
A useful contextual distinction is that the traffic-prediction CoMemNet is not a generic umbrella term for all “co-memory” systems. In multimodal reasoning, CoMEM denotes a continuous memory module attached to a frozen VLM (Wu et al., 23 May 2025). In LLM-agent memory, a hypothetical CoMemNet is described as a reusable module built around Chain-of-Memory (Xu et al., 14 Jan 2026). In weakly supervised semantic segmentation, COMNet denotes a co-occurrent matching network (Su et al., 2023). These systems share a memory-centric vocabulary, but they solve different problems and use different inductive biases.
2. Problem formulation in expanding traffic networks
The motivating problem is continual traffic prediction on streaming, expanding graphs (Wu et al., 7 May 2026). Most earlier spatio-temporal GNNs assume a fixed adjacency matrix and a bounded training window, whereas real traffic systems exhibit node expansion, edge evolution, and nonstationary traffic dynamics (Wu et al., 7 May 2026). This makes naive incremental training vulnerable to catastrophic forgetting and full retraining computationally prohibitive (Wu et al., 7 May 2026).
CoMemNet formalizes the task as sequential learning over years, with each year treated as a period (Wu et al., 7 May 2026). Data are split temporally into train/valid/test with ratio $6:2:2$, and the model is updated sequentially from year 1 to the final year, retaining learned parameters and compact memory rather than full raw history (Wu et al., 7 May 2026). The adjacency matrix used for baselines is defined by Post-Mile distance as
0
with 1 and 2 (Wu et al., 7 May 2026). The paper explicitly notes that this adjacency is not used directly by the CoMemNet backbone (Wu et al., 7 May 2026).
This formulation situates CoMemNet closer to identity- and embedding-based spatio-temporal forecasting than to conventional STGNNs. A plausible implication is that the method treats topology change primarily as a source of distribution shift in node representations rather than as an object of explicit message passing. That interpretation is consistent with the paper’s emphasis on node features, time embeddings, Wasserstein-distance-based drift estimation, and replay over compact temporal summaries (Wu et al., 7 May 2026).
3. Dual-branch architecture and objective
CoMemNet consists of three main parts: a backbone, an Online branch, and a Target branch (Wu et al., 7 May 2026). The backbone includes the DC Sampler, a Node Memory Bank with TMRB-N, and an MLP-based Encoder plus a 3 Conv Projector (Wu et al., 7 May 2026). The Online branch is the fast learner updated by gradient descent on the current period, while the Target branch is a momentum-updated copy that provides stable historical features (Wu et al., 7 May 2026).
The supervised objective is MAE on the dynamically selected node subset: 4 The paper explicitly notes that despite the term “contrastive” in the name, CoMemNet does not use an InfoNCE-style contrastive loss; “contrastive” refers to contrastive sampling based on inter-period feature change (Wu et al., 7 May 2026).
The Online branch parameters 5 are updated as
6
while the Target branch parameters 7 follow an EMA update
8
with 9 (Wu et al., 7 May 2026). This dual-timescale design separates fast adaptation from stable historical representation.
The backbone itself is intentionally lightweight and graph-free (Wu et al., 7 May 2026). Spatio-temporal context is injected through spatial identity, temporal identity, and temporal memory rather than explicit graph convolution (Wu et al., 7 May 2026). The encoder is described as an 0-layer MLP producing node-level features 1, followed by a linear 2 convolutional projector (Wu et al., 7 May 2026). This suggests a deliberate trade-off: weaker explicit structural inductive bias in exchange for robustness under topology drift and lower replay cost.
4. Dynamic Contrastive Sampler
The Dynamic Contrastive Sampler is the mechanism that selects informative nodes for training in each period (Wu et al., 7 May 2026). It operates on Target-branch embeddings from consecutive periods,
3
and uses Wasserstein Distance features to quantify node-level distribution shift (Wu et al., 7 May 2026).
For each node 4 present in both periods, current-period features are normalized as
5
These normalized features are discretized into 6 bins, yielding
7
and similarly for 8 (Wu et al., 7 May 2026). The paper then defines a Wasserstein-style discrepancy
9
with the operational interpretation of a per-node score
0
for sampling purposes (Wu et al., 7 May 2026).
Given a ratio hyperparameter 1, the number of replayed historical nodes is
2
The selected node subset is
3
that is, all new nodes plus the historical nodes with largest Wasserstein distance (Wu et al., 7 May 2026). This focuses optimization on nodes with the greatest distributional change and on newly introduced nodes, thereby mitigating catastrophic forgetting while reducing per-period training cost (Wu et al., 7 May 2026).
The paper’s terminology can be misleading if read through the lens of metric learning. The “contrastive” component is not pairwise representation learning with positive and negative pairs, but contrastive node selection based on temporal discrepancy (Wu et al., 7 May 2026). This distinction is central to understanding the method’s contribution.
5. Node-Adaptive Temporal Memory Replay Buffer
The Node-Adaptive Temporal Memory Buffer, TMRB-N, is CoMemNet’s replay mechanism for temporal information (Wu et al., 7 May 2026). Rather than storing full time series or full-graph neighborhoods, it stores a compact temporal memory vector 4 for each period (Wu et al., 7 May 2026). The module is designed to adapt to varying node set sizes and to emphasize nodes whose temporal embeddings change most (Wu et al., 7 May 2026).
For selected nodes 5, the model constructs daily embeddings 6 and weekly embeddings 7, then concatenates them into
8
(Wu et al., 7 May 2026). Given previous-period memory 9, the difference signal is
0
The key nodes are selected by
1
and their weighted average temporal representation is
2
where 3 is a learnable weight matrix (Wu et al., 7 May 2026).
Temporal fusion is then performed by a GRU-like update: 4 The resulting 5 is stored for the next period (Wu et al., 7 May 2026).
This design is explicitly motivated as a response to memory explosion (Wu et al., 7 May 2026). A plausible implication is that TMRB-N should scale more gracefully than replay schemes that preserve full node histories, though it also implies a strong compression bottleneck. The ablations reported in the paper show that removing TMRB-N, replacing key-node selection with random selection, or disabling temporal update all worsens MAE/RMSE/MAPE (Wu et al., 7 May 2026).
6. Empirical evaluation and continual-learning behavior
CoMemNet is evaluated on three multi-year PeMS-based datasets: PEMSD3(S), PEMSD4(L), and PEMSD8(M) (Wu et al., 7 May 2026). These datasets were derived from PeMS 30-second sensor data aggregated to 5-minute intervals, with prediction of the next 60 minutes from the previous 60 minutes (Wu et al., 7 May 2026). The node counts expand over time: PEMSD3(S) from 655 to 871, PEMSD4(L) from 1118 to 2406, and PEMSD8(M) from 216 to 320 (Wu et al., 7 May 2026).
The paper reports state-of-the-art performance across all three datasets (Wu et al., 7 May 2026). On 12-step annual-average forecasting, CoMemNet achieves 13.57 MAE, 22.94 RMSE, and 18.80% MAPE on PEMSD3(S); 22.00 MAE, 37.38 RMSE, and 15.86% MAPE on PEMSD4(L); and 17.03 MAE, 28.41 RMSE, and 17.82% MAPE on PEMSD8(M) (Wu et al., 7 May 2026). It is compared against retrained, static, and expansible backbones as well as continual-learning baselines including TrafficStream, STKEC, PECPM, TFMoE, and EAC (Wu et al., 7 May 2026).
A salient result is node efficiency. The DC Sampler drastically reduces training-node counts while preserving or improving accuracy (Wu et al., 7 May 2026). On PEMSD3(S) in 2017, CoMemNet trains on 192 of 871 nodes; on PEMSD4(L) in 2015, on 1089 of 2406 nodes; and on PEMSD8(M) in 2018, on 92 of 320 nodes (Wu et al., 7 May 2026). Training time per epoch is also substantially reduced relative to heavier continual baselines (Wu et al., 7 May 2026).
The ablation results identify both DC Sampler and TMRB-N as essential (Wu et al., 7 May 2026). Removing new-node inclusion or historical replay degrades performance; a static variant performs worst; and a retrained version is strongest but more expensive (Wu et al., 7 May 2026). Hyperparameter studies show that increasing 6 generally improves MAE with diminishing returns and that 7 yields the best and most stable results across datasets (Wu et al., 7 May 2026).
7. Related usages of the name and conceptual neighbors
The name “CoMemNet” has a broader conceptual neighborhood in recent arXiv literature, but these systems should not be conflated.
In vision-language modeling, CoMEM is a continuous memory module that encodes each retrieved image-text item into 8 and prepends the resulting dense memory vectors to a frozen VLM’s input embeddings (Wu et al., 23 May 2025). It uses the same VLM as encoder and decoder, adds a Q-Former compression head, trains only 1.2% of parameters, and evaluates on eight multimodal reasoning benchmarks (Wu et al., 23 May 2025). This work describes CoMEM as a continuous memory network for VLMs, but its problem setting is multimodal retrieval-conditioned reasoning rather than continual forecasting (Wu et al., 23 May 2025).
In LLM-agent memory, “Chain-of-Memory” proposes lightweight construction plus sophisticated utilization of external memory (Xu et al., 14 Jan 2026). The paper explicitly remarks that its design is highly relevant to a system like a “CoMemNet,” describing a hypothetical reusable memory module built around write(turn) and read(query) semantics (Xu et al., 14 Jan 2026). The core mechanism organizes top-9 retrieved nodes into chains with gating score
0
and adaptive truncation
1
to prune irrelevant steps (Xu et al., 14 Jan 2026). Here “CoMemNet” is an interpretive extension rather than the paper’s formal title.
In weakly supervised semantic segmentation, COMNet stands for Co-Occurrent Matching Network (Su et al., 2023). It improves CAMs through inter-matching across paired images with common classes and intra-matching within an image, achieving 67.1/67.6 val/test mIoU with ResNet-50 and 67.8/68.1 with ResNet-101 on PASCAL VOC 2012 (Su et al., 2023). Although the details note that COMNet is sometimes loosely referred to as “CoMemNet,” the official name is COMNet (Su et al., 2023).
In network anomaly detection, CMMAC constructs a co-membership bipartite graph and ranks communities by aggregated membership probabilities inferred via link prediction (Lapid et al., 2022). This is conceptually a co-membership network model, but not a system formally named CoMemNet (Lapid et al., 2022).
Taken together, these papers indicate that “CoMemNet” functions both as a specific model name in traffic prediction and as a broader memory-network descriptor in adjacent areas. This suggests a convergent design tendency across fields: compact external state, selective replay or retrieval, and dynamic conditioning of the current computation by compressed historical information.
8. Limitations and prospective directions
The traffic-prediction CoMemNet has several explicit limitations. First, the “contrastive” component is only implicit; there is no explicit contrastive loss, which may differ from expectations associated with contrastive representation learning (Wu et al., 7 May 2026). Second, performance depends on hyperparameters such as 2 and 3, and tuning may be required for new domains (Wu et al., 7 May 2026). Third, the MLP-based graph-free backbone may underutilize explicit spatial connectivity when reliable graph structure is available (Wu et al., 7 May 2026). Fourth, the continual segmentation into yearly periods is fixed by the experimental setup and may not transfer optimally to other streaming regimes (Wu et al., 7 May 2026).
The paper suggests combining the DC Sampler and TMRB-N with stronger spatial backbones, extending discrepancy measures beyond Wasserstein distance, automating hyperparameter selection, and applying the framework to other spatio-temporal streams such as cellular traffic or IoT networks (Wu et al., 7 May 2026). A plausible implication is that CoMemNet’s main transferable contribution lies less in its specific MLP forecaster than in its separation of three concerns: fast online adaptation, slow historical representation via EMA, and replay constrained to dynamically selected high-shift entities.
Across the related literature, analogous future directions appear in different forms. CoMEM points toward larger memory banks, hierarchical retrieval, and cross-model sharing of continuous memory (Wu et al., 23 May 2025). Chain-of-Memory points toward learned gating, RL-based stopping, and multimodal extension (Xu et al., 14 Jan 2026). These parallels suggest that selective memory utilization, rather than indiscriminate accumulation of context or replay, is becoming a recurring systems principle.