Checklist VsOSh AI 2026 Final Stage, Tour 1 (theory) · C task
Gradient Descent on Paper
Russian title: Градиентный спуск на листочке
Prove convergence properties of a simple coordinate-wise descent procedure with and without step-size halving.
The task
Consider f(x, y) = x²⁰ + y²⁶ and an algorithm that, from a starting point (a, b), builds points (X_i, Y_i): the direction (dx, dy) starts at (0, 1) and is rotated as (dx, dy) ← (dy, −dx) at every step, the step lr starts at 1, and a step of length lr in the current direction is accepted only if it decreases f. In variant (b) the step is halved whenever i·lr ≥ 2.
Prove that for any starting point: (a) without step halving, some point (X_N, Y_N) lies at distance at most 1 from the origin; (b) with step halving, there is N₀ such that all points with N ≥ N₀ lie within distance 1/1000 of the origin.
Abridged and translated by SOTA from the official Russian materials. The official statement has the exact rules, and it wins wherever this summary differs.
In English
This task was published in Russian. SOTA translated its 4 files into English on 17 September 2026.
- Task statement Russian original of Task statement
- Official solution Russian original of Official solution
- Full paper (all tasks of the tour) Russian original of Full paper (all tasks of the tour)
- All solutions of the tour with marking criteria Russian original of All solutions of the tour with marking criteria
Read the task statement in English
Gradient Descent on Paper
English translation by SOTA – AI Community of the Russian original. Organisers who would like this translation removed can email [email protected].
All-Russian School Olympiad in Informatics 2025–2026, Final Stage
“Artificial Intelligence” profile, Tour 1, Moscow, 23 March 2026
Task C
Consider the function . Below is an algorithm that, given a starting point , constructs a sequence of points ,
In the code below, decrease_lr = False for part (a), and decrease_lr = True for part (b).
X_0, Y_0 ← a, b
dx, dy ← 0, 1
lr ← 1
for i = 1, 2, 3, ... do
dx, dy ← dy, -dx
if decrease_lr and i · lr ⩾ 2 then:
lr ← lr / 2
end if
X_i, Y_i ← X_{i-1}, Y_{i-1}
if f(X_i + dx · lr, Y_i + dy · lr) < f(X_i, Y_i) then
X_i ← X_i + dx · lr
Y_i ← Y_i + dy · lr
end if
end for
Prove that, whatever the starting point, the following statements hold.
(a) There exists an index such that the distance from the point to the origin does not exceed 1.
(b) There exists an index such that, for every index , the distance from the point to the origin does not exceed .
Translated by SOTA. The Russian original is the official version and wins wherever the two differ. In the marking criteria, item B2 has no point value in the original. If you organise this olympiad and would like the translation removed, email [email protected] and we will take it down.
At a glance
- You get
- Statement with pseudocode.
- You submit
- Written solution (proof or answer with justification), graded by the criteria in the official solutions file.
- Scoring
- Points awarded by the published criteria (partial credit for stated intermediate results; deductions for gaps).
- Rules
- Written tour; no computer-based submission.
- Format
- Final stage, Tour 1 (theoretical), Moscow, 23 March 2026; grades 9–11; individual written tour.