← Latest papers
🤖 AI

Decoupled Temporal Encoding for Generative Recommendation

This paper proposes Decoupled Temporal Encoding (DTE), a lightweight framework for generative recommendation that improves upon existing methods by separating temporal dynamics from item order through two complementary modules: a personalized macro-temporal module for broad temporal patterns and a time-gated micro-sequential module for dense local interactions.

Original authors: Pengfei Jia, Jingjian Wang, Jingmao Li, Ge Zhang, Feng Shi

Published 2026-08-18
📖 5 min read🧠 Deep dive

Original authors: Pengfei Jia, Jingjian Wang, Jingmao Li, Ge Zhang, Feng Shi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the digital world, recommendation systems act as the quiet curators of our daily lives, suggesting what to watch, buy, or eat next. For years, these systems have relied on a powerful type of artificial intelligence known as the Transformer, which excels at understanding sequences. Think of a user's history as a story: the system reads the chapters of items a person has interacted with to guess the next chapter. To make sense of a story, the AI needs to know not just what happened, but when and in what order. Standard methods for teaching AI this sense of order were borrowed from language models, treating every item in a list as a simple step in a sequence, like words in a sentence. However, human behavior in the real world is far more complex than a simple list. It is shaped by the clock, the calendar, and the rhythm of daily life. A person's hunger at lunchtime, their shopping habits on a weekend, or their reaction to a sudden sale are all temporal patterns that standard methods often struggle to capture alongside the simple order of events.

Researchers at Alibaba's Rajax Network Technology, working within the high-pressure environment of the Taobao app's food delivery and instant retail services, identified a gap in how these systems understand time. They observed that user behavior is driven by two distinct forces that often get tangled together. One force is the broad, sweeping context of time: the fact that it is Tuesday, that it is near lunch, or that a specific shop is experiencing a sudden surge in traffic. The other force is the tight, immediate sequence of actions: the fact that a user clicked on a noodle shop, then a drink, then a dessert within a few minutes. Existing systems tried to feed both of these signals into the AI through a single, unified channel, much like trying to describe a storm by only measuring the wind speed and ignoring the rain. This approach made it difficult for the model to distinguish between the general mood of the day and the specific, rapid-fire choices a user was making in the moment.

To solve this, the team developed a new framework called Decoupled Temporal Encoding. Instead of forcing the AI to learn time and order from the same source, they built two separate, lightweight modules that work in harmony. The first module, which they call the macro-temporal encoder, focuses on the big picture. It injects compact signals into the system to tell the AI about the time of day, the day of the week, and how much time has passed since the last interaction. This allows the model to understand that a user ordering dinner at 7 PM on a Friday is likely in a different mindset than the same user ordering lunch at 12 PM on a Monday. The second module, the micro-sequential encoder, handles the fine details. It acts as a gatekeeper, only stepping in to emphasize the strict order of events when interactions happen so quickly that the timestamps alone become blurry. If a user clicks through several items in rapid succession, this module ensures the AI pays attention to the precise sequence of those clicks, rather than just the fact that they happened close together.

The researchers tested this approach on a massive dataset containing billions of interactions from the Taobao app, as well as on a public benchmark for video recommendations. The results showed that separating these two types of time information significantly improved the system's ability to predict what a user would want next. In offline tests, the new method outperformed all previous state-of-the-art models, achieving higher accuracy in predicting clicks and reducing errors. Crucially, the team found that the system worked best when users had clear, repeating patterns in their behavior, such as regular lunch orders, or when their interactions were very dense. The analysis of the AI's internal attention patterns revealed that the system learned to reinforce these periodic habits without losing track of the immediate sequence of events.

The true test of this research came when the team deployed the system into the live traffic of the Taobao app. In a rigorous three-week experiment involving millions of real users, the new method delivered measurable business improvements. It increased the click-through rate by 1.8 percent and the revenue per thousand impressions by 3.0 percent, all while adding only a negligible amount of delay to the system's response time. Because the gains were consistent and the system remained stable, the company rolled out the update to 100 percent of the traffic for the Shangou advertisement recommendation system in January 2026. This deployment demonstrates that by untangling the broad context of time from the specific order of actions, recommendation systems can become more attuned to the complex, rhythmic nature of human life, offering suggestions that feel not just timely, but truly personal.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →