Future clock timestamp dominates
Detect: One record ranks first across unrelated current queries.
Recover: Validate timestamp bounds and quarantine implausible metadata.
Blend semantic relevance with task-appropriate freshness while distinguishing publication time, event time, and validity.
Time-weighted retrieval adjusts evidence ranking using temporal information. A recent incident update may matter more than an older operational note, while a foundational specification may remain authoritative for years. The correct time signal depends on the question: publication date, last modification, event occurrence, and effective validity are not interchangeable.
A common architecture combines a relevance score with a calibrated freshness function after applying hard validity constraints. Freshness is a preference; superseded or not-yet-effective policy status is often an eligibility rule. Time decay should be tuned by document class and query intent rather than applied uniformly to the entire corpus.
A prototype compares relevance-only results with time-aware ranking on explicitly time-sensitive questions.
Production normalizes timestamps, preserves source timezone and validity, and distinguishes live status from historical queries.
At scale, handle late-arriving events, clock errors, source-specific freshness contracts, and evaluation across both current and historical evidence needs.
Extracts publication, event, modification, and effective dates with provenance.
Determines whether the user asks about now, a historical point, or a period.
Excludes evidence outside required validity or authorization constraints.
Balances semantic relevance and document-class-specific recency.
Detects delayed ingestion and source update gaps.
flowchart LR
Q["Question and reference time"] --> V["Validity filter"]
V --> R["Semantic candidates"]
R --> T["Class-specific time weighting"]
M["Event and publication metadata"] --> T
T --> C["Revision conflict check"]
C --> A["Answer with evidence dates"]Identify the requested reference time and clarify internally whether current or historical evidence is needed.
Exclude superseded or future-effective records where the task requires active guidance.
Collect relevant candidates without allowing recency to substitute for topic relevance.
Use the appropriate timestamp and calibrated decay for each evidence class.
Prefer authoritative active versions while retaining historical context when requested.
Attach source dates and any ingestion lag to the answer’s evidence.
Cybersecurity operations · Illustrative enterprise scenario, not a reported customer outcome.
An incident assistant summarizes an active service compromise from investigation notes and status updates.
An older high-similarity note describes a hypothesis that later evidence disproved.
Favor current supported findings while retaining the timeline of changed understanding.
Incident documents carry event time, publication time, and supersession links.
A late-arriving note with an old event timestamp does not automatically replace newer operational status.
Track stale-evidence selections, source lag, and historical-query accuracy; freshness improvements should not erase useful older evidence.
| Decision | Benefit | Cost |
|---|---|---|
| Strong recency weighting | Helps rapidly changing operational questions. | Can demote enduring authoritative material. |
| Hard validity filtering | Prevents use of superseded guidance. | Requires reliable version and effective-date metadata. |
| Multiple timestamps | Supports accurate temporal interpretation. | Adds ingestion and query-policy complexity. |
Detect: One record ranks first across unrelated current queries.
Recover: Validate timestamp bounds and quarantine implausible metadata.
Detect: Query time is ignored by the filter.
Recover: Carry an explicit reference time through retrieval and generation.
Store the different temporal meanings separately.
Calibrate by document class and task.
Preserve source authority and validity rules.