> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/solutions/program-design-guides/model-in-the-loop-iteration.md).

# Model-in-the-loop iteration

Train, find where the model fails, label more of that data, and release a new version.

The fastest way to a better model is to label more of what it gets wrong. Unitlab keeps every round versioned, so you can compare models trained on each release.

<figure><img src="https://2337177515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6jXAxtoN6UXTLAJFexq%2Fuploads%2FBcfT1MjSmvmTb6vRrG4q%2Fsol-data-assets-grid.webp?alt=media" alt="Data Assets grid of robot workspace images and videos with filters by type" width="800"><figcaption><p>Data Assets holds all raw data. Filter it to pick the next batch.</p></figcaption></figure>

## One round

1. **Release** the current labels and train your model.
2. **Find failures.** Run the model on new data in a Model stage and look where people correct it most, or where it misses objects.
3. **Pick the next batch** from Data Assets: more scenes like the failures, such as low light or cluttered tables.
4. **Label with pre-labels.** The model proposes, annotators correct. See [Human–AI annotation operations](https://docs.unitlab.ai/solutions/program-design-guides/human-ai-annotation-operations.md).
5. **Release a new version** and retrain.

<figure><img src="https://2337177515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6jXAxtoN6UXTLAJFexq%2Fuploads%2F1tu0rrwEwCsFYuKrci7w%2Fsol-dataset-versions.webp?alt=media" alt="Dataset with View all versions open, listing published dataset versions" width="800"><figcaption><p>Each published dataset version is fixed, so an experiment can always point to the exact data it used.</p></figcaption></figure>

<figure><img src="https://2337177515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6jXAxtoN6UXTLAJFexq%2Fuploads%2FNfuVL4ZdsvleLZAbCCBC%2Fsol-releases.webp?alt=media" alt="Releases list with version v1, COCO format, train, validation and test split and a download button" width="800"><figcaption><p>Releases record the format and split of each export.</p></figcaption></figure>
