iQs Groupaegnyx.comResearch & insights

Retiring Knowledge in AI Systems That Keep Learning

Trace withdrawn knowledge through derived artifacts and model updates, preserve historical decisions, and show reviewers which answers remain eligible.

At a fictional plant, a cached answer gives an operator the old pressure limit after the plant withdraws a test rig procedure. The answer cites an equipment guide. It got the number from a summary of Procedure v1. Removing the procedure from search leaves the cached instruction in circulation.

Lineage determines how much else a team has to take out of service to retire one claim. A passage-level withdrawal can take a whole summary offline if its record stops at the document ID. When the same passage enters training and the manifest stops at the dataset name, the team may have to exclude the whole dataset snapshot from replay until it can verify a clean replacement.

What the plant knew when it acted

A retirement order records the claim version, scope, effective time, owner and reason. Withdrawal ends the claim's authority in scope. Supersession hands that authority to an approved replacement. A retroactive correction can trigger review of earlier decisions. Preserve the original assertion in restricted history.

Valid time says when an assertion applies. Transaction time says when the system held that version of the record. Use inclusive starts and exclusive ends on both clocks. The fictional plant records a pressure limit of 8 bar on May 1 and learns on May 12 that the applicable limit had dropped to 6 bar on May 8. The May 12 correction closes the original row's transaction interval and opens two rows.

Row Limit Valid time Transaction time
Original 8 bar May 1 onward May 1 up to May 12
Corrected 6 bar May 8 onward May 12 onward
Carried forward 8 bar May 1 up to May 8 May 12 onward

To reconstruct a May 10 decision, query May 10 on both clocks. The limit on record was 8 bar. Keep May 10 as the valid date and query the record after the May 12 correction to get 6 bar. Under that corrected record, May 6 still returns 8 bar.

Resolve authority within scope. A replacement for one facility leaves the old assertion in effect elsewhere. Among claims valid for the facility and date, rank by authority and then scope specificity. Escalate conflicts that remain tied. Authorize access to historical guidance separately from current use.

Follow the limit through the artifacts

In the W3C PROV Ontology (PROV-O), each immutable artifact version can be an entity. Record prov:wasDerivedFrom from consumer to source and prov:wasGeneratedBy from artifact to the activity that produced it. The serving gate reads toward the inputs to check eligibility. Index those edges in reverse so a retirement worker can follow them from an input to all its downstream consumers. Evaluate scope at each candidate output. A summary shared by several facilities can carry a site-specific limit into an answer even when the summary itself has no site-specific catalog entry.

Record every input the generator used, including retrieved passages, prompt templates and tool results. Keep citations in a separate field. The extracted limit and workflow guide both derive directly from Procedure v1. The summary also derives from it and supplies the limit to the cached answer. That answer cites the equipment guide, which supplies no part of the limit in this example.

Figure 1 — The solid arrows lead from withdrawn Procedure v1 through the summary to the cached answer. They show derivation in the direction the retirement worker traverses. The dashed arrow points from the answer to the equipment guide listed in its citations. Illustrative artifact relationships, not measured data.

Capture support per claim when a withdrawal targets a passage. If several inputs support a claim only jointly, losing any one breaks that support. The claim can survive if an independent set supports it and a reviewer verifies the scope and derivation. Issue a new version from those eligible inputs so the manifest records the new basis for the claim. If lineage stops at source document IDs, replace the whole summary within the affected scope.

At admission, verify that every input version resolves. Record passage or dataset slice IDs where the producer has that resolution, along with the activity ID, authority scope and status revision. Make the manifest and reverse entries durable before exposing the output. Publish the catalog entry only if the authority revision used to validate its inputs is still current at commit. If the revision changed, validate again. Without that check, an output built during withdrawal can miss the inventory scan and enter service under the superseded revision. When shipping a guide outside the serving boundary, record the copy ID, source version, destination and recall owner.

Stop serving before chasing copies

Publish the authority change to the serving status store before dispatching cleanup. On a query or semantic cache hit, read the cached answer's manifest and validate its transitive inputs for the request scope against the current status snapshot. A cache downstream of retrieval can incorporate input versions and the status revision into its key, since retrieval has already identified those inputs. Keep the serving check for dependencies outside that key, such as a tool result used when the answer was generated.

In the embedding index, key vectors by stable source-version and passage IDs. Apply the current status snapshot after retrieval and before prompt assembly, batch-checking each candidate's transitive inputs. The status change takes effect without rewriting vectors. If stale candidates crowd out eligible results, fetch more in bounded batches or rebuild the affected partition.

A request can still be generating when the withdrawal takes effect. Serialize the final status check and response admission with publication of the withdrawal. For streams, check each chunk at admission to the outbound queue and terminate on loss of eligibility. Chunks already admitted can still reach the client. Buffer the response when the decision must cover the complete answer.

In the fictional plant's withdrawal ledger, the inventory starts with 90 managed versions, one per route, and 10 guide copies exported from those versions. A serving block leaves the exports in their delivery channels until the channel owners act.

Time from withdrawal Serving and recall record
At publication The serving gate blocks all 90 original versions in the affected scope.
One hour later Approved replacements reopen 30 of the 90 routes. The other 60 stay offline.
One day later Channel owners confirm removal of all 10 tracked exports. Copies forwarded beyond those channels may still circulate.

Show reviewers each answer version's eligibility, scope and authority revision. For the blocked pressure answer, show the path from the cache through the summary to Procedure v1. Track export receipts separately so reopening a route leaves any outstanding recall visible.

Validate stored memories and conversation history before prompt assembly or resummarization to prevent reintroduction through raw turns. Tombstones can suppress vector hits while bytes persist. If the order requires physical removal, compact or rebuild live storage and purge or expire affected retained copies. Reapply current retirement state before serving from a restored backup.

Price the distance back to clean weights

Retrieval controls act on context supplied to the model. A model can still emit the old limit from its weights, and an output filter can suppress known phrasings while missing paraphrases. Both controls leave the weights intact. Register each approved model update with its parent build, training-data manifest, optimizer state where applicable, and effective adapter composition. Record dependencies on teacher outputs and generated examples too. Detaching an isolated adapter can return its route to clean ancestry if the base and all remaining updates are clean. A later adapter trained with the withdrawn adapter active or merged inherits that dependency even when its nominal base checkpoint predates the affected update.

When shared weights or later learning depend on the affected update, restore the latest provably clean checkpoint and replay eligible updates from approved inputs. Replay can produce different weights and behavior even when the run configuration is pinned. Give the rebuilt candidate its own artifact ID, evaluation baseline, and approval. Compare it with prior approved builds on retained capabilities, probe for the withdrawn claim with retrieval and memory disabled, then exercise the full production path to catch reintroduction through prompts, tools, or caches. Passing those probes establishes behavior on the exercised paths.

In an illustrative cost model, measure training hours by time spent advancing training and count checkpoint stalls separately. Retain a rolling window of 48 training hours. When its endpoints align with the write schedule, count checkpoints at both ends for storage, and count only new writes after the start for stalls. Each full checkpoint occupies 40 GiB and stalls all eight allocated accelerators for 90 seconds.

Model one affected input that recovery skips, followed by six hours of eligible training before discovery. Assume the preceding checkpoint is clean, the rest of the inputs remain eligible, and replay runs at the original throughput on the same eight accelerators. Budget up to one checkpoint interval of replay before the affected input, plus the six subsequent hours. If the affected input lands uniformly within each schedule's interval, the expected gaps back are 1, 4 and 12 training hours at spacings of 2, 8 and 24 hours. Add six training hours to each gap for expected replay times of 7, 10 and 18 hours. The table and plot count replay compute separately from checkpoint writes, restore and validation.

Checkpoint spacing (training hours) Retained checkpoints Storage at alignment (GiB) Stall per 48 training hours (minutes / accelerator-hours) Replay bound (training hours / accelerator-hours) Expected replay (accelerator-hours)
2 25 1,000 36 / 4.8 8 / 64 56
8 7 280 9 / 1.2 14 / 112 80
24 3 120 3 / 0.4 30 / 240 144

Figure 2 — Read the two markers at each storage budget together. At 280 GiB, writing every 8 training hours gives a replay bound of 112 accelerator-hours and an expected replay cost of 80. Illustrative checkpoint costs under the stated timing assumptions, not measured data.

Moving from 8-hour to 2-hour spacing reserves another 720 GiB at alignment and spends an extra 27 stall minutes, or 3.6 accelerator-hours, per 48 training hours. The replay bound falls by 48 accelerator-hours. Under uniform timing the expected saving is 24 accelerator-hours per incident. Dividing 24 by 3.6 puts the expected compute break-even at one incident per 6⅔ windows, about 13 days of active training. A budget priced at the difference between replay bounds instead breaks even at one incident per 13⅓ windows, about 27 days of active training. Include storage and the value of a shorter recovery deadline separately.

Estimate how often recovery starts while both schedules still retain a clean checkpoint. For those incidents, estimate replay savings from when affected inputs actually arrive within the write cycles. Batch imports at a fixed point in the cycle can produce systematically different gaps. Budget archive restores separately for incidents that outlast either schedule's retention. Size retention for the discovery lag plus the possible gap back to the clean checkpoint. Pin that checkpoint when recovery starts and test restores from the archive or independently verified base.

Elapsed recovery includes accelerator queueing, restore, evaluation, and approval. Routing to a validated clean build buys time at the cost of later capabilities absent from that build. Approximate unlearning may save compute, but behavioral probes alone cannot establish removal of an input's influence. Preserve the restricted records needed to reconstruct earlier decisions.

At the plant, withdrawing Procedure v1 puts the cached answer out of service because the summary carried its limit forward. A replacement answer can reopen the route once its manifest leads to an approved source for the corrected limit. If the old passage also reached training, that same route needs a build with verified clean ancestry. The records captured when each artifact was made determine whether the plant can replace a single answer or must also rebuild the model that serves it.