Does a Self-Learning Migration Agent Learn? An Audited Evaluation of Evidence-Graded Experience Memory for Oracle-to-PostgreSQL Migration
A · Strong evidence An EPAM Systems research team audits its own self-learning migration agent with confidence intervals, a leakage audit, model-free baselines and execution against Oracle, and reports a null result for learning; a preprint with method shown and numbers checkable.
Summary based on the full text·Original: about 45 minutes to read
In short
An EPAM Systems team built an agent for Oracle-to-PostgreSQL migration that stores verified experience, weights rules by evidence and adapts its strategy without changing model weights. The authors set out to show that it learns and found that it does not, on this corpus. Memory gains came almost entirely from test units whose reference answer also appeared in training, and a program that copies the nearest training answer beat every LLM system. The paper turns these findings into six rules for anyone claiming an agent learns from experience.
Key numbers
- 0.015 to 0.002memory gain in reference conformity on the full held-out panel, and on the 103 leak-free units
- 72%held-out units that shared their PostgreSQL reference with a training pair
- 0.222 vs 0.163reference conformity of a model-free copy baseline against the best LLM system
- 10-22%units accepted by PostgreSQL that were wrong when checked against Oracle output
- 98/216 to 167/224demonstrably correct units before and after a pre-registered, human-gated fix cycle
As reported by the source.
English·Web page·opens arxiv.org
What it reports
- On 1,833 documentation-derived pairs (367 held-out units, Qwen3-Coder-480B), memory raised reference conformity by 0.015 [0.004, 0.025]; the adaptive policy added nothing (-0.004).
- 72% of held-out units shared their PostgreSQL reference with a training pair. On the 103 leak-free units the memory effect fell to 0.002 [-0.008, 0.011].
- Copying the target of the most similar training source scored 0.222, above every LLM system (at most 0.163).
- On a new split grouped by reference, copying fell to 0.119 and a rerun on 374 test units in 118 reference groups found no memory effect (0.005) and no policy effect (0.000). 88% of the unit-level gain came from one reference shared by 42 test units.
- Execution against Oracle: an empty script matched Oracle behaviour on 11 of 20 curated units against 1 of 20 for the agent, because Oracle raises no error on many units. About 78% of accepted verdicts came from bodies whose inner references were never resolved; 9 of 93 and later 25 of 114 accepted units were wrong.
- An LLM judge changed 16.2% of its verdicts between two identical calls at temperature 0.
- A pre-registered, human-gated fix cycle over about four weeks raised demonstrably correct units from 98 of 216 to 167 of 224, much of it from harness fixes that cost no tokens.
- Growing the knowledge base from 12 to 1,200 entries cut the retrieval margin of a written-back correction from 0.563 to 0.261.
How they got it
Four studies. Studies 1 and 2 use one documentation corpus, ablations, fixed-policy and no-memory controls, bootstrap intervals, a leakage audit and model-free baselines (empty output, copy source, copy nearest target, copy random target). Study 3 executes real PL/SQL units against Oracle output in a lab harness. Study 4 is a controlled retrieval experiment with synthetic filler rules.
Limits
- Reference conformity measures agreement with a topically related documentation example, and no pair was reviewed by hand.
- Study 1 is a single run per system; only three systems were rerun on the reference-grouped split.
- One corpus, one main model, one harness of 34 files; raw artifacts of Studies 3 and 4 are internal.
- Study 4 filler rules are synthetic, so the margin trend is not a production estimate.
Why it matters for companies
Vendors increasingly sell agents that "learn from experience" on migration and modernisation work. This paper gives buyers concrete tests: ask how many test answers also occur in training, ask for a copy baseline and a do-nothing baseline, and do not accept "the target database accepted it" as correctness. The human-gated fix loop is the part that did work, and most of its gains came from fixing the test harness, not the model. Budget for execution-based checks against the source system before trusting any migration metric.
Summary based on the full text. Read the original for the full argument and data.Read the original on arxiv.org