# Imitacja z korektą eksperta (DAgger)

EN: **Interactive imitation learning (DAgger)** · id `dagger`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Uczenie ze wzmocnieniem i decyzje](https://aiatlasgraph.com/t/decisions.md) › [Uczenie przez imitację](https://aiatlasgraph.com/t/imitation.md) › Imitacja z korektą eksperta (DAgger)

## Description

- PL: Ekspert etykietuje poprawne akcje także w sytuacjach osiągniętych przez uczącą się politykę, a nowe przykłady są dołączane do danych. Metoda ogranicza kumulowanie się błędów klonowania zachowań.
- EN: An expert labels correct actions in states reached by the learning policy, and the new examples are added to the dataset. This mitigates compounding error in behavioural cloning.

## In one sentence

- PL: To uczenie z pokazów uzupełnianych korektami człowieka w sytuacjach, do których program sam dotarł.
- EN: This learns from demonstrations supplemented with human corrections in situations reached by the program itself.

## Problem it solves

- PL: Po pierwszej pomyłce program trafia w nieznaną sytuację, której nie było w poprawnych pokazach, i dalej błądzi.
- EN: After an initial mistake, software enters a situation absent from correct demonstrations and continues going wrong.

## What it does

- PL: Zbiera od człowieka poprawne działania dla nowych obserwacji programu, dołącza je do wcześniejszych pokazów i ponownie uczy wybory.
- EN: It collects correct human actions for new situations encountered by the program, adds them to earlier demonstrations and relearns choices.

## Everyday example

- PL: Robot źle chwyta ręcznik; człowiek wskazuje ruch poprawiający tę sytuację, a nowy przykład trafia do danych kolejnej nauki.
- EN: A robot grips a towel incorrectly; a person identifies a corrective move, and that example becomes part of the next training data.

## This concerns you if you…

- PL: program gubi się poza sytuacjami z pokazów
- PL: możesz dostarczać korekty dla napotkanych nowych przypadków
- EN: find that software struggles beyond demonstrated situations
- EN: can provide corrections for newly encountered cases

## Keywords

dataset aggregation · expert relabeling · on-policy data collection · no-regret learning · human corrections

## How it works

- PL: Polityka wykonuje zadanie, a ekspert oznacza działania właściwe w odwiedzonych przez nią stanach. Nowe przykłady dodaje się do zbioru demonstracji i ponownie dopasowuje politykę.
- EN: The policy executes the task, and an expert labels appropriate actions in states it visits. New examples are added to the demonstration dataset and the policy is refitted.

## Limits

- PL: Ekspert musi być dostępny dla stanów wywołanych przez uczący się model. Zbieranie takich danych może być kosztowne i wymagać bezpiecznej kontroli wykonania.
- EN: An expert must be available for states reached by the learning model. Collecting this data can be costly and require safe execution controls.

## Key terms

- PL: **agregacja danych**: Łączenie kolejnych rund przykładów w zbiór treningowy.
- PL: **oracle ekspercki**: Źródło właściwego działania dla stanu przedstawionego przez algorytm.
- EN: **dataset aggregation**: Combining successive rounds of examples into a training dataset.
- EN: **expert oracle**: A source of appropriate actions for states presented by the algorithm.

## Know first

- [Klonowanie zachowań (behavioral cloning) (Behavioural cloning)](https://aiatlasgraph.com/t/behaviorcloning.md)

## Examples

- PL: DAgger · korekty człowieka w pętli · agregacja danych
- EN: DAgger · human-in-the-loop corrections · dataset aggregation

## Related topics

Untyped, symmetric "see also" links.

- [Douczanie robota próbami w realnym świecie z pomocą człowieka (Real-world reinforcement learning with human interventions)](https://aiatlasgraph.com/t/realworldrl.md)

## Sources

- [A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning](<https://arxiv.org/abs/1011.0686>) `dagger-2011` · by S. Ross, G. J. Gordon, J. A. Bagnell

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/dagger · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
