Mining the Self-Rewriting System: A Vision for Data Mining on AI-Native Infrastructure
Organizations: Nokia, Sunnyvale, California, USA · University of Connecticut, Storrs, Connecticut, USA
Abstract
Classical data mining treats data as generated outside the learner. Emerging AI-native infrastructure invalidates this assumption: as agents observe system state, act, update retrieval stores and models, and promote new artifacts into the serving path, their own decisions reshape the future logs, traces, corpora, and evaluation records used for later training and release. We call this new research object a self-rewriting system and the resulting system-induced distribution shift endogenous drift. Our central, falsifiable claim is that cross-surface causes are not identifiable in general from marginal per-surface monitoring: different coupled failures can produce the same individual signals while differing in their joint behavior, requiring joint analysis for reliable attribution. This agenda comprises four foundational research problems: fusing heterogeneous drift signals into calibrated gating and attribution (C1); mining agent traces whose activity alphabet evolves (C2); maintaining knowledge fabrics through online reindexing, faithfulness, and compression decisions (C3); and safely promoting concurrent learning streams through one shared evaluation gate (C4). These remain fragmented across concept drift, performative prediction, process mining, streaming retrieval-augmented generation, and MLOps, without a unified data-mining agenda. We outline public benchmarks and evaluation criteria, using AI-native telecom only as a motivating exemplar with analogues in finance, software CI/CD, and clinical decision support.
Figures & tables
| Existing area | What it studies | Why it is not enough for self-rewriting systems |
|---|---|---|
| Concept drift; continual / online learning [ 13 , 14 , 15 ] | changing data distributions, and a model adapting to a (possibly partially observed) stream | treat the stream as one largely exogenous source; not drift jointly induced across corpus, tools, policies, adapters, registry, and serving |
| Performative prediction / feedback loops [ 9 , 11 ] | predictions changing the population they predict | focuses on one model’s decisions; not a multi-artifact infrastructure loop with heterogeneous, incommensurable signals |
| MLOps [ 16 ] | the model deployment and release lifecycle | operationalizes models but defines no mining task over endogenous traces and coupled promotion interactions |
| AIOps [ 17 ] | operational telemetry (metrics, logs, alerts) | mines system signals, not the agent’s own structured reasoning/action trace as the primary data object |
| Process mining; business-process drift [ 18 , 19 ] | event logs, workflow discovery/conformance, and detecting/localizing control-flow change in a running process | handles drift among a roughly fixed activity set; not open-vocabulary alphabet growth where tools, roles, and skills are added and retired by the same loop being mined |
| Streaming RAG [ 20 , 6 ] | retrieval over changing corpora | does not unify citation contracts, summary invalidation, reindex decisions, multimodal updates, and bounded compression |
| Benchmark | Data object | Perturbation / update | Labels / oracle | Metrics |
|---|---|---|---|---|
| Drift-arena (C1) | multi-surface drift over corpus, models, tools, policies, serving | controlled updates with changing cross-surface dependence | update times, affected surface, root-cause update | detection delay, attribution F1, joint FPR, gate regret |
| Agent-trace (C2) | span-level reasoning/action traces | new tools, role changes, failures, prompt-injection detours | labeled failures and planted patterns | per-task F1, latency, tracing overhead, robustness to unseen tools |
| Streaming-RAG (C3) | versioned multimodal corpus with time-stamped queries | document updates, stale summaries, query shifts | answer-validity intervals, gold citations | time-to-truth, faithfulness, staleness, cost, compression frontier |
| Closed-loop (C4) | artifact registry with replayable promotion/eval logs | concurrent promotions, rollbacks, workload shifts | safe-promotion oracle, non-interference labels | non-interference, no-skip-eval, rollback time, promotion regret |
Distribution Shift
Distribution shift studies how changes between training and deployment data affect model reliability, and how to detect, measure, and address them.
See all 179 papersInvariant Discovery for Networked Systems
hard'' rules, struggling with real-world approximation caused by inherent noise in data. LLMs are tools that can provide semantic reasoning over data, but are non-deterministic and opaque in their learning. Our key idea is to partition the invariant search problem into an AI-driven grammar discovery'' problem, followed by a statistics-driven ``search'' problem within the learned grammar. Taken together, this allows non-deterministic, hallucination-prone AI to help produce auditable invariants with formal guarantees. We design and implement such a system, Autogram, and evaluate it on both public and production telemetry data, recovering expert-derived invariants with high coverage and low false positives. We close with discussion on open problems on the path toward fully open-ended discovery.