TLDR: A new study reveals that language models linearly encode the order in which they learn information during training. By sequentially fine-tuning a Llama model, researchers found that its internal activations form a ‘timeline’ of learned data. This allows linear probes to accurately distinguish between early and late learned information (up to 90% accuracy) and enables the model to report its own training history (up to 80% accuracy). The temporal signal is robust, persistent, and not explained by simple statistical differences, suggesting a fundamental mechanism for how AI organizes knowledge.
A groundbreaking new study reveals that large language models (LLMs) possess an inherent ability to ‘timestamp’ the information they acquire during training. This means that within the complex web of their internal activations, models implicitly record when specific data was learned, a discovery that could significantly impact how we understand and modify AI knowledge.
The research, titled “LANGUAGE MODELS’ACTIVATIONS LINEARLY ENCODE TRAINING-ORDER RECENCY” by Dmitrii Krasheninnikov, Richard E. Turner, and David Krueger, delves into this fascinating aspect of AI memory. The team set up an experiment where they sequentially fine-tuned a Llama-3.2-1B model on six distinct datasets, labeled D1 through D6. Each dataset contained information about different named entities, effectively creating a known training order for the model.
The core finding is striking: when the average activations of test samples from these six training datasets were projected into a two-dimensional space, they arranged themselves perfectly in the order of training, forming a straight line. This ‘training-order recency’ direction consistently appeared across independent fine-tuning runs, even with different datasets and test prompts, suggesting a fundamental mechanism at play.
Probing the Model’s Memory
To confirm that this encoded information was genuinely accessible, the researchers employed ‘linear probes’ – simple classifiers designed to detect specific patterns in the model’s activations. These probes achieved remarkable accuracy, distinguishing between entities learned “early” (from D1) and “late” (from D6) with over 90% accuracy. Crucially, these probes generalized to entities the probes themselves had never seen, indicating they learned a general temporal pattern rather than just memorizing specific examples.
Even more impressively, the model could be fine-tuned to explicitly report an unseen entity’s training stage, achieving around 80% accuracy. This demonstrates that the temporal information isn’t just a detectable byproduct but is actively accessible to the model’s own computations.
Robustness and Persistence
The temporal signal proved to be remarkably robust. Even after 30 additional fine-tuning epochs on a mixed and shuffled dataset (combining D1 through D6), where no training-order distinction was reinforced, the probe accuracy only decayed to about 63%. This is still significantly above the 50% chance level, suggesting that once this temporal encoding is established, it persists strongly.
The study also ruled out several simpler explanations for this phenomenon. The temporal signal doesn’t seem to be attributable to basic differences in activation magnitudes, training or validation losses, or the model’s confidence. Extensive statistical balancing experiments confirmed that even when controlling for various activation and output statistics, the training-order encoding largely remained.
Further experiments showed that the encoding reflects when data was *last encountered*, not necessarily when it was first introduced. Re-exposing an intermediate dataset as a seventh training stage caused its centroid to shift to the ‘most recent’ position, highlighting the recency aspect. The amount of training also played a role, with more epochs pushing a dataset’s centroid further along the ‘more recent’ direction.
These findings extend beyond the Llama family, replicating with models from the Qwen2.5 family and holding true for parameter-efficient fine-tuning methods like LoRA, indicating a broad applicability of this discovery.
Also Read:
- Unveiling LLM Self-Awareness: Predicting Answer Accuracy Before Generation
- Unlocking LLM Insights: How Hidden Representations Reveal Question Difficulty
Implications for AI Understanding and Control
This research carries significant implications for understanding how language models manage conflicting data and respond to knowledge modifications. If models implicitly timestamp everything they learn, this capability becomes crucial for techniques like training-based belief editing. For instance, could a model use this internal timestamp to detect when a new belief was ‘implanted’ and decide whether to conform or resist based on its perceived recency?
Future work could explore whether this training-order axis can reveal information about the order of pre-training data, how conflicting information is reflected, and if models can leverage this temporal awareness to resist unwanted modifications. For a deeper dive into the methodology and results, you can read the full research paper here.


