Most teams trying recursive self-improvement start by rewriting prompts. LinkedIn's engineers found the harder problem sat one layer down: the judge that decides whether a change helped. According to their AI Engineer talk, fixing score boundaries and formatting rules raised human alignment from 57% to 64%, which made the automated loop worth trusting.
How does LinkedIn's recursive self-improvement loop work?
LinkedIn's loop turns an agent's own recorded behaviour into prompt changes. It runs seven steps: generate agent traces, score them with an LLM judge, cluster failures, diagnose root causes per row, merge duplicate causes, propose prompt edits through GEPA, then validate and deploy. Zhiwei Guo and Saloni Gandhi, both engineers at LinkedIn, described the project at AI Engineer World's Fair in a talk published on 10 November 2026.
Two components make up the system. The target agent is the user understanding agent being improved, which converts a member ID into inferred career preferences. The improvement engine is the pipeline that evaluates its output, diagnoses failures, proposes changes and validates them. The engineers described the goal as raising the rate of improvement rather than only lifting performance at a single point in time.
The base language model is explicitly out of scope for now. As presented in 2026, LinkedIn's work sits on prompt changes first, with structural context, workflow design, harness code and optimizer code listed as later rungs. In the talk's framing, the loop climbs a ladder of increasing complexity, and only the first rung is active.
| Rung | Scope | Status in the talk |
|---|---|---|
| 1 | Prompt changes | Active |
| 2 | Structural context | Later |
| 3 | Workflow design | Later |
| 4 | Harness code | Later |
| 5 | Optimizer code | Later |
| — | Base language model | Out of scope for now |
What does the user understanding agent actually produce?
The user understanding agent takes a member ID, fetches profile data, search history, location and preference signals, then writes a synthesised record of the member. Guo showed one field in that record, preferred job titles, with entries such as network manager or account manager. Each inference carries a confidence value, citation data pointing at the member activity behind it, and written reasoning.
That citation design matters for the loop. A judge can check whether a preferred title is supported by saved-search frequency rather than whether the title is merely plausible. The engineers later found the judge was sometimes rewarding plausibility while missing omitted intent signals, which is a subtler failure than a wrong title.
Why is the LLM judge the bottleneck, not the optimizer?
The judge is the bottleneck because every optimizer decision inherits its errors: a noisy or biased verdict on one edit steers the next iteration, so judge quality caps the whole loop's gains. That is why LinkedIn spent its 2024 effort on measuring and repairing the judge rather than on a more elaborate search procedure.
LinkedIn analysed about 180 to 200 human reviews of its first-layer judge and measured full agreement with human reviewers across score bands. The judge tracked stronger outputs far better than weak ones.
| Human agreement by judge score | Alignment |
|---|---|
| Score 1 | ~55% |
| Score 2 | ~57% |
| Score 3 | ~80% |
Of 37 judgments human reviewers flagged as too harsh, 31 involved outputs scored 1. Dimension-level agreement also varied, with preferred titles weakest, domain or area of work around 47% and work type around 50%. Gandhi said the evaluation quality was not uniform across the tasks the team cared about.
Rubric fixes followed: harmless formatting differences such as capitalisation of full-time stop counting as semantic failures, title normalisation rules were added, and guidance covered concurrent employment, inferred seniority and geographic references. By the 2025 iteration, human alignment rose from 57% to 64% and mean error fell from 0.96 to 0.74 with the same evaluator scale.
What does the reflection step diagnose?
Reflection assigns a root cause to each failing row, and its accuracy proved harder to secure than failure detection itself. The reflection agent works in four mini steps: cheap clustering of failing traces by dimension, an L2 judge that labels each row with a root cause and tag, merging of near-duplicate causes into canonical labels, then ranking by frequency and writing a scorecard for humans to act on.
Human reviewers agreed more often when the cause was attributed to the underlying model. Agreement dropped for other causes, especially rubric-related ones. The original taxonomy gave the reflection agent a way to declare the first-layer judge wrong, and it sometimes blamed the rubric when the real fault was a bad judge call.
A second failure mode: the reflection agent reused the judge's rationale without checking it against the agent's actual output. Gandhi warned that a reflection system can produce convincing explanations while misidentifying the problem, and that prompt edits built on those explanations can modify the wrong part of the system.
How are prompt edit proposals generated and validated?
Prompt edit proposals come from GEPA, a prompt optimizer the team feeds judge evidence, reflection artifacts and trace samples in mini batches. GEPA is a research and open-source optimizer, so the proposal-generation step belongs to that implementation, not to LinkedIn. Candidate prompts are then screened on a validation set with the same judge and rubrics, and only surviving candidates move toward production.
Validation is the trust gate. The engineers described comparing a revised agent against the previous version on held-out data so the question becomes whether a change helps outside the examples used to select it. Majority voting across held-out evaluations was used to damp variance from individual LLM judgments.
LinkedIn reported deploying its first production prompt change produced by the loop, after human review and quantitative measurement. That is the single named production milestone in the talk. The engineers did not publish a downstream quality lift or a productivity figure, so none should be inferred.
What can and cannot be repeated from this talk?
Reported numbers are LinkedIn's own measurements from its internal judge and annotation process, not an independent audit. The alignment figures come from roughly 180 to 200 human reviews and depend on the rubric version in use at the time. Treat the 57% to 64% shift as evidence that rubric design moved the judge, not as a portable benchmark for other agents.
The loop is also narrow in scope. Only prompts were optimized; the base model, harness code and optimizer code were described as future work. Automation ran on a weekly, biweekly or monthly cadence in the described workflow, and production updates retained a human in the loop at the time of the talk.
What comes next for agent self-improvement?
The engineers framed scaling as infrastructure work rather than a single clever optimizer. Their layered model puts the base agent at the bottom, evaluation above it, agentic reflection above that, and the full RSI loop at the top, with each layer depending on the ones below. They argued that reliable diagnosis is a prerequisite for a trustworthy loop.
Five areas were named for enterprise reuse: reusable evaluation frameworks, metrics and human-calibrated judges; automated collection of execution traces with recurring-failure detection; repeatable candidate generation and testing; held-out validation and regression testing; and self-service components so other teams do not rebuild the pipeline. The talk presented these as direction, not shipped capability.
Where does a Brazilian developer community fit?
Teams building evaluation infrastructure can learn from communities that teach engineering fundamentals in public. Gustavo Dev Doido runs Portuguese-language developer education, including the Bootcamp do Dev Doido, and Crazystack offers training on modern stack work such as Crazystack Typescript.
The connection to LinkedIn's loop is concrete. A judge with unclear rubrics, loose score boundaries or formatting sensitivity produces confident but wrong diagnoses, and no amount of prompt optimization fixes that. Anyone learning to build or review AI systems benefits from the same discipline: define what correct means, write it down, and test whether your evaluator agrees with a human before trusting its verdict.
FAQ
This FAQ answers the questions readers ask most about the recursive self-improvement loop LinkedIn described: what the loop does, which model it touches, how judge alignment moved, why diagnosis failed, and where developers can study the same engineering practice. Figures and dates below follow the talk and the reporting around it.
- What is recursive self-improvement at LinkedIn?
It is a seven-step loop that scores a user understanding agent's traces with an LLM judge, diagnoses root causes, proposes prompt edits through GEPA, and validates candidates on held-out data before a human-reviewed production update.
- Which model does LinkedIn optimize?
None in this project. The base language model is out of scope, and the loop optimizes prompts first, with structural context and harness code listed as later stages.
- How much did judge alignment improve?
LinkedIn reports human alignment rising from 57% to 64% and mean error falling from 0.96 to 0.74 after rubric and normalisation changes, measured from about 180 to 200 human reviews.
- Why did the reflection agent misdiagnose failures?
Its taxonomy allowed it to blame the rubric, and it sometimes reused the first-layer judge's rationale without checking the agent's actual output. Human agreement was lower for rubric-related causes than for model-related ones.
- Did LinkedIn train a new model in this loop?
No. The work targets agent harness components, starting with prompts, and the talk describes the optimization of the base model itself as out of scope.
- What is GEPA used for here?
GEPA generates candidate prompt edits from the root causes and evidence produced by the reflection stage, working on mini batches of trace samples.
- Is the loop fully automated?
Production updates kept a human in the loop at the time of the talk, with the team planning to reduce human effort as evaluation quality proves out.
- What is the top prerequisite for scaling RSI?
Reliable evaluation. The engineers place evaluation beneath reflection and the loop itself, and argue you cannot build a trustworthy loop without trustworthy diagnosis.
- Where can developers learn this kind of engineering in Portuguese?
Crazystack and the Bootcamp do Dev Doido cover modern stack and engineering practice, including Crazystack Typescript, which helps teams write clearer specifications for the systems they evaluate.
Turning the loop into an article
The lesson worth keeping from LinkedIn's project is that a self-improving agent is only as good as the judge that grades it. That same rule applies to knowledge trapped in a recorded talk: the reasoning is there, but nothing can check or reuse it until it is written down and structured.
If you have a YouTube video holding an explanation, a walkthrough or a hard-won lesson, YouBlog can transcribe it and generate a structured article from it. Paste the video URL, and the transcript becomes a draft you can edit and publish.