# Zadanie pomocnicze na jednej próbce

EN: **One-sample self-supervised test-time training** · id `tttselfsup` · aliases: TTT-Online, rotation prediction at test time

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Trenowanie i dostrajanie](https://aiatlasgraph.com/t/training.md) › [Uczenie w czasie testu](https://aiatlasgraph.com/t/testtimeadapt.md) › Zadanie pomocnicze na jednej próbce

## Description

- PL: Krótka samonadzorowana aktualizacja na jednej próbce albo strumieniu, przed predykcją zadania głównego.
- EN: A short self-supervised update on one sample or a stream, before the main-task prediction.

## In one sentence

- PL: Z jednego nieoznakowanego przykładu model robi sobie ćwiczenie i dopiero potem odpowiada.
- EN: From one unlabeled example the model makes an exercise, and only then answers.

## Problem it solves

- PL: Nowy przykład wygląda inaczej niż trening, a nie masz poprawnej etykiety, żeby go douczyć.
- EN: A new example looks unlike training, and you have no correct label to train on.

## What it does

- PL: Model rozwiązuje samonadzorowane zadanie pomocnicze na bieżącej próbce, a kilka kroków aktualizuje wagi przed właściwą decyzją.
- EN: The model solves a self-supervised auxiliary task on the current sample, and a few steps update weights before the actual decision.

## Everyday example

- PL: Na zdjęciu z deszczu model najpierw rozwiązuje pomocnicze zadanie bez etykiety, a potem podaje, co znajduje się w kadrze.
- EN: On a rainy photo, the model first solves an unlabeled auxiliary task, then says what is in the frame.

## This concerns you if you…

- PL: masz pojedynczy przykład bez etykiety
- PL: wygląd danych zmienił się po treningu
- PL: możesz poświęcić kilka dodatkowych kroków
- EN: have a single example without a label
- EN: data appearance changed after training
- EN: can spend a few extra steps

## Keywords

test-time training · self-supervised auxiliary task · online test-time training · distribution shift · image classification

## How it works

- PL: Wspólny trzon ma głowę zadania i głowę pomocniczą. Podczas testu gradient z samonadzorowanego ćwiczenia na bieżącej próbce aktualizuje wybrane wagi, a następnie głowa główna oblicza etykietę. W wariancie online kolejne próbki kumulują aktualizacje.
- EN: A shared trunk has a task head and an auxiliary head. At test time, the gradient from a self-supervised exercise on the current sample updates selected weights, then the main head predicts the label. In the online variant, later samples accumulate updates.

## Limits

- PL: Ćwiczenie musi być powiązane z zadaniem. Za dużo kroków dopasowuje się do szumu jednej próbki. Opis pochodzi z obrazów i nie przenosi się sam na tekst.
- EN: The exercise must relate to the task. Too many steps fit noise in one sample. The account comes from images and does not transfer to text by itself.

## Key terms

- PL: **głowa pomocnicza**: Część sieci licząca ćwiczenie bez etykiety zadania.
- PL: **wariant online**: Aktualizacje zbierane na kolejnych próbkach strumienia, nie na jednej.
- EN: **auxiliary head**: The network part that computes an exercise without the task label.
- EN: **online variant**: Updates accumulated across a stream of samples, not one sample.

## Know first

- [Samonadzorowane uczenie z obrazów (Self-supervised visual pretraining)](https://aiatlasgraph.com/t/visionssl.md)
- [Uczenie nadzorowane (Supervised learning)](https://aiatlasgraph.com/t/supervised.md)

## Sources

- [Test-Time Training with Self-Supervision for Generalization under Distribution Shifts](<https://arxiv.org/abs/1909.13231>) `sun-ttt-2020` · by Yu Sun, Xiaolong Wang, Zhuang Liu, John Miller, Alexei A. Efros, Moritz Hardt

---

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