esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
Let’s talk

I’ll build the agent for it.

Feedback Loops and the Data Flywheel

How user feedback and live logs make an AI product better over time, how the loop can go wrong, and what to say in your AI interview.

In short

A feedback loop turns what users do and say into better tests, labels and fixes, so the product improves with use. Repeated over and over, it is a data flywheel, and it needs careful sampling and a release gate, or it can learn the wrong lesson.

12 min readIntermediateCommon · estimateFacts checked 27 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

A feedback loop means the product gets better from how people use it. Users rate answers, and every chat is logged. My team labels a sample, adds the hard cases to a test set, fixes the cause and checks the new version against that set before it ships. Repeat that cycle and you have a data flywheel. The catch is that the signals are biased, so the loop can learn the wrong lesson.

What is a feedback loop, in plain words?

A feedback loop is a path that carries what happens in use back into the product. Someone uses the product, the system records what happened, a person or a script judges it, and the team changes something. The next round starts with better material.

Think of a call-centre lead who listens to a sample of complaint calls every week and rewrites the script where customers get stuck. The calls are the feedback and the new script is the fix. An AI product works the same way, but the calls are chats and the script is a prompt, a search setup or a model.

Here is the AI case. A customer asks, "Is there a fee for a wire transfer?" The bank's assistant gives a wrong answer about the fee. The customer thumbs it down. Without a loop, the same mistake repeats until someone notices. With one, the chat becomes a test case that every later version must pass.

Key words

Feedback loop
A cycle where what the product does changes what it does next.
Data flywheel
A feedback loop that keeps turning, so each round leaves a bigger test set.
Test set
A fixed set of real cases with the right answers, used to check every new version.
Implicit signal
Something a user does without saying so, like retrying a question or leaving the chat.
Label
A judgement added to a case, such as right, wrong or unsafe, by a person or a grader.

How does the flywheel turn, step by step?

  1. 1

    Log

    Save each chat with its prompt, answer, rating and any follow-up question.

  2. 2

    Sample

    Pick a random share of chats, not only the angry ones, for review.

  3. 3

    Label

    Experts mark each sampled case as right, wrong or unsafe.

  4. 4

    Add to the test set

    Keep the hard cases and the fixed ones in a set that every version runs against.

  5. 5

    Fix and gate

    Change the prompt, the search or the model, then block the release unless the test set passes. That block is a gate: a check that must be passed before anything ships.

The data flywheel

Users chat with the bot

thousands of chats a week

Logs and ratings

prompt, answer, rating, follow-up

Turn it into tests

Experts label a sample

about 150 chats a week

Add to the test set

every new version must pass it

Fix and re-test

prompt, search or model change

Ship if tests pass

users get the better bot

  1. 1Each chat is saved with its rating and any follow-up.
  2. 2A sample goes to experts for a judgement.
  3. 3Labelled cases join the test set.
  4. 4Failing cases show what to fix.
  5. 5A fix that passes every test is released.
  6. 6The next round starts with more labelled cases.
Each pass adds labelled cases to the test set. A fix that passes the set ships, and its chats feed the next round. That repeating cycle is the flywheel.

The test set is the part that stops the wheel from turning backwards.

A worked example. Say the bank's bot handles 9,000 chats a week and gets a rating on about 3 in 100 of them. Each week, experts read 150 sampled chats, including 50 that nobody rated. They find that fee answers are out of date after a policy change. The team adds 22 cases to the test set, fixes the fee rule, and the new version passes before release.

Here is the filter in plain Python. It is a made-up sketch with no real model: it picks chats for expert review (the thumbs-downs, plus every second chat as a stand-in for a random sample) and drops the account number first.

Python
# A simplified filter that picks which bank-bot chats go into the test set. Made-up logs, no real model.
logs = [
    {"id": 1, "rating": "up", "text": "Gold cards have no annual fee", "account": "4411"},
    {"id": 2, "rating": "down", "text": "Wire transfers are free for students", "account": "9023"},
    {"id": 3, "rating": None, "text": "Reset your PIN at any branch", "account": None},
    {"id": 4, "rating": None, "text": "Your loan rate is fixed for 5 years", "account": "1187"},
    {"id": 5, "rating": "down", "text": "Overdraft has no fee this month", "account": None},
]

def pick_for_review(log):
    # Queue every thumbs-down, plus every second chat as a stand-in for a random sample.
    return log["rating"] == "down" or log["id"] % 2 == 0

def remove_personal(log):
    # Data minimisation: the account number is not needed for a test, so it is dropped.
    return {key: value for key, value in log.items() if key != "account"}

review_queue = [remove_personal(log) for log in logs if pick_for_review(log)]
for row in review_queue:
    print(row["id"], row["rating"] or "no rating", row["text"])
print("kept", len(review_queue), "of", len(logs))

Output

2 down Wire transfers are free for students
4 no rating Your loan rate is fixed for 5 years
5 down Overdraft has no fee this month
kept 3 of 5

Tip

In an interview, name the sample size you read each week and the gate that blocks a release. That shows a working loop, not just a pile of logs.

Which feedback can you trust?

Feedback comes in four kinds. Each one is useful, and each one misleads in its own way.

  • Explicit

    Thumbs-down, bug reports

    Clear when it comes, but rare. Users seldom say why something failed, and only the people who choose to speak up send them.

  • Implicit

    Retries, edits, walk-aways

    Plenty of it, collected for free. But a retry can mean a wrong answer or a happy follow-up, so you have to guess.

  • Human labels

    Experts judge each case

    The most trusted label for a test set. Slow and costly, so use it on a sample.

  • Graders

    A model or script scores cases

    Runs at scale. But it can be wrong, so check it against human labels from time to time.

  • “A complete picture includes production monitoring, user feedback, A/B testing, manual transcript review, and systematic human evaluation.”

    Anthropic, on agent evals

Anthropic says the same about graders: "Reserve systematic human studies for calibrating LLM graders or evaluating subjective outputs where human consensus serves as the reference standard."

Microsoft's monitoring guidance adds a live check after launch: "Quality and safety evaluation of production traffic at a sampled rate".

Check the date on a vendor guide before you cite it. OpenAI's page says "OpenAI is deprecating the Evals platform." and that "the platform is scheduled to shut down on November 30, 2026."

Tip

Don't trust a thumbs-up rate alone. A quick, vague answer can earn a thumbs-up from someone in a hurry.

What can go wrong with a feedback loop?

A loop can also make a product worse. The system's own choices shape what users see, and what users click then becomes its training signal. A research paper on recommender systems says that such decisions "can influence user beliefs and preferences which in turn affect the feedback the learning system receives". Its authors also offer practical ways to "slow down system degeneracy", meaning the system slowly narrows and gets worse.

A feedback loop that narrows

Search shows top 5

the rest sit below the fold

Lawyers click the top ones

few scroll down to page two

Ranker learns from clicks

clicks become the training signal

Same top results again

good matches further down stay hidden

  1. 1The five results at the top are shown first.
  2. 2Lawyers click mostly those five.
  3. 3Those clicks teach the ranker to rank them higher.
  4. 4The next search shows the same five, and the loop repeats.
A search tool shows five results, and lawyers click those five. The ranker learns from those clicks, so the same five rise again. Good matches further down never get seen, and a team that only watches clicks misses it.

A worked example. A legal team searches 40,000 contracts. After six months the ranker sends most searches to the same 50 documents. Nobody notices at first, because the click numbers look healthy. The fix is to show a random slice of lower-ranked results now and then, check how many of the right answers it still finds on a labelled set, and track which relevant clauses never get shown.

  • “adequate, relevant and limited to what is necessary in relation to the purposes for which they are processed ('data minimisation')”

    EU GDPR, Article 5

Logs are personal data too, when they carry account numbers or names. Under the EU's data rules, a test set should hold only what the test needs, so strip the rest before it leaves production.

What does the interviewer want to hear?

A strong answer covers

  • A plain definition: a loop where use feeds the next version.
  • Where the feedback comes from, and which signals you trust.
  • Sampling: read a random share, not only the complaints.
  • A release gate: nothing ships without passing the test set.
  • The risks: biased signals, narrowing loops, personal data in logs.
  • Who labels, how often, and how you check the labellers.

Common traps

  • Trap"More logs always make the product better."

    BetterOnly with labels and sampling. Raw logs mostly add storage cost and privacy risk.

  • Trap"A high thumbs-up rate means we are done."

    BetterA quick, vague answer can earn a thumbs-up. Pair the rate with labelled checks.

  • Trap"Let the model train on everything users do."

    BetterThat copies the mistakes too, and the logs may hold personal data. Filter and label first.

Can you spot the bias?

Spot the bias

Your team reviews 200 chats a week, and every one came from a thumbs-down. Which problem is hidden here?

Quick check

A team tracks only the thumbs-up rate, and it climbs while the answers get vaguer. What is the best next step?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q264When do you need human evaluation?10 min
  2. Q265How do you sample production traffic for evals?12 min
  3. Q258How do you A/B test an LLM feature?12 min
  4. Q261How do you detect drift?12 min
  5. Q256Capability evals vs regression evals?10 min

Learn it in depth

Last updated on 27 November 2026

Building an AI product that learns from its users?

I design and build AI products and agents, including the logging, labels and test sets that let them improve safely. Book a short call and tell me what your product needs to do.