Task Relation-aware Continual User Representation Learning

Sein Kim, Namkyeong Lee, Donghyun Kim, Min-Chul Yang, Chanyoung Park · DOI

Introduction

In modern digital ecosystems, user modeling is fundamental to personalization services such as recommendation systems and demographic profiling. Traditionally, these tasks are handled by separate, service-specific models, which leads to significant maintenance overhead. The ideal alternative is a Universal User Representation (UUR)—a single generalized embedding capable of serving multiple downstream tasks.

While Multi-Task Learning (MTL) can produce such embeddings, it requires simultaneous access to all task data, which is often impractical in real-world scenarios where new services are launched sequentially. Continual Learning (CL) offers a solution but faces two critical hurdles: capacity exhaustion, where model parameters are progressively frozen until no learning capacity remains, and task blindness, where the inherent relationships between sequential tasks are ignored.

Methodology

To address these challenges, we introduce TERACON (Task Embedding-guided Relation-Aware CONtinual learner). The framework is built on three primary innovations designed to maintain model plasticity and leverage task synergies.

1. Task Embedding-guided Soft Masks

Unlike traditional parameter isolation methods that use binary "hard masks" to freeze weights, TERACON employs low-dimensional task embeddings to generate soft masks. These continuous values (between 0 and 1) are applied to layer outputs, allowing all parameters to remain available for every task. This prevents the model from running out of trainable parameters as the task stream grows.

2. Relation-Aware Masking

TERACON does not treat tasks in isolation. It aggregates information from previous task embeddings to determine which features should be amplified or suppressed for a new task. This mechanism facilitates positive transfer, where knowledge from one task aids another, and mitigates negative transfer from unrelated tasks.

3. Knowledge Retention via Pseudo-Labeling

To combat catastrophic forgetting, TERACON utilizes a knowledge retention module. During training on a new task, the model is simultaneously optimized to predict its own previous outputs (pseudo-labels) for past tasks. Efficiency is maintained through a Relation-aware User Sampling strategy, which prioritizes sampling users from tasks most dissimilar to the current one.

The overall TERACON framework, illustrating the training process for current tasks, knowledge retention via pseudo-labels, and the generation of relation-aware task-specific masks.

Experimental Evaluation

TERACON was evaluated against state-of-the-art baselines, including CONURE and HAT, across three diverse datasets:

  • Tencent TL (TTL): 6 tasks including news consumption and user profiling.
  • MovieLens (ML): 3 tasks focused on recommendation and rating prediction.
  • NAVER Shopping: A proprietary dataset with 6 tasks covering search queries and demographics.

Results and Discussion

TERACON consistently outperformed all baselines across all tasks and datasets, achieving superior accuracy in profiling and higher MRR@5 in recommendation tasks.

Overall performance comparison showing TERACON outperforming state-of-the-art baselines across the TTL, ML, and NAVER Shopping datasets.

Key Insights

  • Backward Transfer: By maintaining parameter plasticity, TERACON enables "positive backward transfer," where learning a new task can actually improve performance on previously learned tasks.
  • Sequence Robustness: Unlike isolation-based methods, TERACON is robust to task order. Performance remains stable even when the task sequence is reversed, as the model's capacity does not diminish over time.
  • Noise Resilience: Experiments with "noisy" tasks (random labels) demonstrated that TERACON can successfully ignore irrelevant information, whereas competing methods suffered significant performance degradation.

Conclusion

TERACON represents a significant step forward in continual user representation learning by replacing rigid parameter freezing with flexible, relation-aware masking. While the current implementation uses a Temporal Convolutional Network (TCN) backbone, the framework is backbone-agnostic. Future research will focus on scaling the system to hundreds of tasks and optimizing the computational overhead associated with pseudo-label generation in massive industrial settings.

Summary updated

BibTeX
@inproceedings{kim2023task,
  author = {Sein Kim and Namkyeong Lee and Donghyun Kim and Min-Chul Yang and Chanyoung Park},
  title = {{Task Relation-aware Continual User Representation Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2023},
  doi = {10.1145/3580305.3599516},
}
Figure