← Latest papers
🤖 AI

Subliminal Clocks: Latent Time Modelling in Diffusion Language Models

This paper demonstrates that Diffusion Language Models, despite lacking explicit timestep conditioning, internally encode a decodable latent representation of denoising progress within their residual streams—specifically within the activation hn,th_{n,t}, where nn denotes the layer index and tt denotes the denoising timestep—which can be manipulated to systematically control model confidence and entropy, with the KL divergence exhibiting a non-linear relationship with the distance between the estimated and actual timesteps.

Original authors: Maximo Rulli (Sapienza University of Rome), Thomas Fontanari (Sapienza University of Rome), Simone Petruzzi (Sapienza University of Rome), Federico Alvetreti (Sapienza University of Rome), Giorgio Str
Published 2026-07-03
📖 5 min read🧠 Deep dive

Original authors: Maximo Rulli (Sapienza University of Rome), Thomas Fontanari (Sapienza University of Rome), Simone Petruzzi (Sapienza University of Rome), Federico Alvetreti (Sapienza University of Rome), Giorgio Strano (Sapienza University of Rome), Donato Crisostomi (Sapienza University of Rome), Giorgos Nikolaou (EPFL), Tommaso Mencattini (EPFL), Andrea Santilli (Independent researcher), Emanuele Rodolà (Sapienza University of Rome), Simone Scardapane (Sapienza University of Rome), Alessio Devoto (Independent researcher)

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.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

Imagine a Diffusion Language Model (DLM) as a master sculptor working in a dark room. Unlike a traditional writer who builds a story one word at a time from left to right, this sculptor starts with a block of stone completely covered in clay (represented by [MASK] tokens). Their job is to chip away the clay, revealing the hidden words underneath, one layer at a time, until the final statue is revealed.

The big mystery this paper solves is: Does the sculptor know how much clay is left?

In traditional writing models, the computer knows exactly how many words it has written. But in these "sculpting" models, the paper asks if the model has an internal "clock" or a sense of progress, even though it wasn't explicitly taught to count.

Here is what the researchers found, explained simply:

1. The "Subliminal Clock"

The researchers discovered that even though the model isn't told "You are 50% done," it secretly keeps track of its own progress. It's like a sculptor who doesn't have a watch but can feel the weight of the stone in their hands and instinctively know, "I'm halfway through."

To understand how this works, we look at the model's internal activation state, denoted as hh. This state is defined by two key indices:

  • nn (Position): This represents the specific location of a token within the sequence (e.g., the 5th word in the sentence).
  • tt (Time Step): This represents the current stage of the denoising process (e.g., step 20 out of 100 total steps).

The researchers found a hidden signal inside the model's brain (specifically in its "residual streams," which are like the model's internal thought pathways) associated with these activations hn,th_{n,t}. This signal acts as a latent clock. It tells the model exactly how much of the "clay" (the masked tokens) has been removed at time step tt and how much is left, regardless of the token's position nn.

2. Reading the Mind (Probing)

To prove this clock exists, the researchers built a simple "decoder" (a probe). They looked at the model's internal thoughts at different stages of the process.

  • The Result: The decoder could accurately read the model's internal clock. It could tell, just by looking at the model's activation, whether the model was at the very beginning (lots of clay), the middle, or the very end (almost no clay left).
  • The Analogy: It's like being able to look at a person's posture and instantly know if they are just starting a marathon or if they are about to cross the finish line, even if they haven't said a word.

3. Hacking the Clock (Steering)

The most exciting part is that the researchers didn't just read the clock; they rewired it. They found a specific direction in the model's brain that corresponds to "time" or "progress."

  • The Experiment: They artificially pushed the model's internal clock forward or backward.
    • Pushing Forward: They told the model, "You are almost done!" (even if it wasn't). The model immediately became more confident, spoke with less hesitation (lower entropy), and acted like it was ready to finish.
    • Pushing Backward: They told the model, "You are just starting!" (even if it was near the end). The model became confused, less confident, and started second-guessing its choices.
  • The Takeaway: This proves the clock isn't just a passive observation; it's a control mechanism. If you change the model's sense of time, you change how it behaves. Notably, the impact of this manipulation is not a simple, straight-line increase in error; the divergence between the model's true state and its manipulated state does not scale linearly with the distance of the time shift (t^t\hat{t}-t), suggesting a more complex, non-linear relationship in how the model processes temporal information.

4. The Shape of Time

The researchers also looked at the geometry of this "clock." They found that the model doesn't represent time as a messy, chaotic cloud. Instead, it organizes time into a very neat, smooth curve (like a parabola).

  • The Analogy: Imagine the model's understanding of time as a rollercoaster track. As the denoising process moves forward, the model's internal state slides smoothly along this track. The researchers found that almost all the information about "how far along we are" fits onto this single, low-dimensional track.

5. The Self-Correcting Mechanism

One of the coolest findings is that the model is smart enough to fix mistakes.

  • If the researchers messed with the clock in the early layers of the model (the "beginning" of the thought process), the model would often "correct" itself as the information moved through the deeper layers. It would realize, "Wait, I was told I'm at the finish line, but I'm actually still in the middle," and it would adjust its internal state back to the truth.
  • However, if they messed with the clock in the very final layers, the model couldn't fix it, and the behavior changed permanently.

Summary

This paper reveals that Diffusion Language Models have a hidden, internal sense of "how much work is left to do."

  1. They have a clock: They encode their progress in their internal brain states (hn,th_{n,t}), tracking both position (nn) and denoising step (tt).
  2. We can read it: We can measure this progress accurately.
  3. We can control it: By tweaking this internal clock, we can make the model more or less confident.
  4. It's structured: This "time" is organized in a neat, predictable geometric shape within the model's brain.

Essentially, the model is like a person walking through a tunnel who knows exactly how far they are from the light, even if no one told them the distance. The researchers found the part of the brain that holds that knowledge and showed they could turn the dial to change how the person feels about the journey.

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 →