Skip to content
ResAI

3rd IOAI

IOAI 2026

462 contestants from 103 delegations, with an at-home round and two on-site days of three tasks each. Every task ran on one GPU (≈16 GB VRAM) with no internet access.
Astana, Kazakhstan · 2026 Official repository

Day 1

Find the Order

Official task

Spoken English dialogues are split into one audio clip per speaker turn and shuffled. Reconstruct the original turn order.

10 minSpeechSequence ordering
Read the full statement
  • Time limit: 10 minutes
  • Environment: one GPU (≈16 GB VRAM), no internet
  • Solution size: solution.ipynb ≤ 1 MB
  • Storage: 5 GB

Problem

You are given spoken English dialogues between two participants, Speaker A and Speaker B. Each dialogue is segmented into speaker turns, with each turn containing speech from only one speaker. Every turn is stored as a separate .wav audio file, so a complete dialogue is represented by a set of .wav files, one for each turn.

Unfortunately, the turns have been randomly shuffled, so the conversation no longer makes sense. In the file name chunk_{k}.wav, k refers to the k-th chunk in the shuffled set, not the k-th turn in the original dialogue.

‼️ Your task is to reconstruct the original chronological order of the conversation.

Find the order


Dataset

Each dialogue contains n audio files named chunk_0.wav, chunk_1.wav, …, chunk_{n-1}.wav. The chunks are individual turns. The filenames correspond only to the shuffled order. They do not indicate where a chunk belongs in the original conversation. Each dialogue has 7–20 chunks, mono, 44.1 kHz (you may resample).

prefix.json contains the filename indexes of the first two chunks in each dialogue. This identifies the true beginning of the dialogue and removes the ambiguity between reading the conversation forward or backward.

For example: 11: [7, 12] means that the first and second turns of dialogue 11 are chunk_7.wav and chunk_12.wav, respectively.

What you get

You receive two folders in identical format:

FolderDialoguesanswers.json?Use it to
dataset/train/1,288✅ includedtrain / fine-tune your model
dataset/test_public/100✅ includedrun your pipeline and self-score locally

During grading time, your dataset/test_public/ folder is transparently replaced by a hidden evaluation set (test_leaderboard_a for the public leaderboard and test_leaderboard_b for the final leaderboard) — these have the same size and format as dataset/test_public/ but without answers.json.

Your notebook is executed again on that data, and the answers.json file it produces is used for scoring. The held-out test dialogues come from the same distribution as train, so your local test_public score is a faithful preview.

Directory structure

dataset/train/
    prefix.json  # {dialogue_id: [first_idx, second_idx]} filename index 
    answers.json  # {dialogue_id: P}  ground-truth order (rank convention)
    <dialogue_id>/
        chunk_0.wav
        ...
        chunk_{n-1}.wav

dataset/test_public/
    prefix.json
    answers.json     # present only in the development copy
    <dialogue_id>/
        chunk_0.wav
        ...
        chunk_{n-1}.wav

Output

For each dialogue, determine the original chronological order of its audio chunks. Your prediction should be a permutation P of {0, 1, …, n−1}, where P[i] is the predicted chronological position of chunk_i.wav (0 = first).

Your output file answers.json should map each dialogue ID to its predicted permutation:

{
  "17": [2, 0, 1],
  "42": [0, 1],
  "108": [3, 1, 0, 4, 2, 5]
}

Example

A dialogue has 3 shuffled chunks chunk_0, chunk_1, chunk_2:

shuffled chunkspoken contenttrue position (rank)
chunk_0.wav"No worries — I'll send you the notes afterwards."2 (last)
chunk_1.wav"Hey, are you coming to the three o'clock meeting?"0 (first)
chunk_2.wav"I can't — I've got a dentist appointment then."1

True order is chunk_1 → chunk_2 → chunk_0, so P = [2, 0, 1], and prefix.json holds [1, 2].

⚠️ P must be a genuine permutation: length n, 0-indexed, each value exactly once. Duplicates, missing values or out-of-range entries (e.g. 1-indexed) score 0 for that dialogue, as does a dialogue missing from the file. A malformed or non-JSON file is rejected.

Scoring

The scoring for this task is pairwise ordering accuracy. It checks every pair of chunks and asks: which of the two should come first? A pair is correct if your prediction gives the same answer as the ground truth. For a dialogue with n chunks there are M=n(n−1)/2M = n(n-1)/2 pairs; let I be the number of inversions — pairs ordered differently from the ground truth:

score=1−IM∈[0,1]\text{score} = 1 - \frac{I}{M} \in [0, 1]

ℹ️ The final score is the average of per-dialogue scores over all dialogues in the split.

Allowed models

You can only use the following pre-trained models to solve this task, both during the training and evaluation. All of these models are already downloaded and available in the environment. You can see examples of how to use them in baseline notebook solution.ipynb. Please note you cannot use any other model, and your program has no internet access.

  • Speech representations: wav2vec 2.0. The Whisper encoder may also be used as a feature extractor. wav2vec model card

  • Automatic speech recognition (ASR): OpenAI Whisper (any size). Whisper model card

  • Language model: Qwen2.5-0.5B, which may be used either zero-shot or fine-tuned on the provided train split. Qwen model card Note that the 10-minute limit must cover any training or fine-tuning you do at grade time plus inference on the evaluation set.

How to submit

  • Open solution.ipynb and run all cells. Confirm it writes answers.json in the working directory with a permutation for every dialogue in dataset/test_public/ (100 dialogues). At grade time the notebook is re-run on the hidden test set and the answers.json it produces there is scored.
  • Improve the solution if you want — or don't; the baseline alone validates the pipeline.
  • Open the Git tab in the left sidebar of JupyterLab.
  • Stage solution.ipynb (the + icon next to it).
  • Enter a commit message and click Commit.
  • Click the cloud-with-up-arrow to push.
  • Return to this Contest page and click Submit.

Submit exactly one file, named solution.ipynb.

Robot Chasing

Official task

Six robots in 6×6 rooms carry out English instructions, each with its own consistent habits. From a snapshot mid-task, predict the robot's next action.

5 minLanguage groundingGridworlds
Read the full statement
  • Time limit: 5 minutes
  • Environment: one GPU (≈16 GB VRAM), no internet
  • Solution size: solution.ipynb ≤ 1 MB
  • Storage: 5 GB

Task

There are six robots. Each robot operates in a small room represented by a grid. Each room has a 6×6 playable area surrounded by walls, so the full image array has size 8×8 (playable area + walls).

Each robot receives an English instruction describing a task. The snapshot may be taken at any point while the robot is carrying it out. Your goal is to predict the robot's next action.

Robots do not always follow the shortest path. Robot 0 may behave differently from Robot 1, but each robot follows its own consistent pattern. Use the training examples, which include the correct next actions, to learn these patterns.

Robot

There are three types of missions:

  • go to an object, for example "approach the red ball";
  • pick up an object, for example "grab the blue key";
  • put one object next to another, for example "place the red box beside the green ball".

The same instruction can be written in several ways. The test set may contain new combinations of familiar phrases, colours and object types. However, every word, phrase pattern, colour, object type and mission type used in the test set also appears in the training set.

Each sample has the following fields:

FieldMeaning
robot_idwhich of the 6 robots this is (0–5)
imagethe room, an 8×8×2 integer array where channel 0 holds categorical object_idx (e.g., 1=empty, 2=wall, 10=robot) and channel 1 holds categorical colour_idx (0–5).
directionthe direction the robot currently faces
missionthe visible natural-language instruction
carryingnull or [object_idx, colour_idx] for the carried object

Rows are independent snapshots in random order. They do not form episodes, and no previous observation or action is available at evaluation time.

The provided visualize_dataset.ipynb lets you inspect the observations available to the model in different situations.

Grid encoding

image[row][column] = [object_idx, colour_idx]. The first index is the row from top to bottom, and the second is the column from left to right. The array includes the outer wall border, so the navigable interior is 6×6.

Object ids:

idobject
1empty cell
2wall
5key
6ball
7box
10robot
11token

Tokens may appear in the room but are never named in missions.

Colour ids are 0 red, 1 green, 2 blue, 3 purple, 4 yellow and 5 grey. The colour channel has no meaning for empty cells and walls.

The image has only the two channels above. The robot's direction is provided once, in the top-level direction field; it is not duplicated inside image.

Actions

For codes 0–3, movement actions use the following absolute mapping:

actionmeaning
0move up
1move down
2move left
3move right
4pick up
5drop

The direction field indicates current facing orientation using: 0 = Up (row - 1), 1 = Down (row + 1), 2 = Left (col - 1), 3 = Right (col + 1).

A movement action first turns the robot to that absolute direction and then attempts to move it by one cell. A wall or object may block the move, but the direction still changes. pick up and drop act exclusively on the adjacent target cell defined by direction (e.g., if direction=0, it acts on (row - 1, col)).

Dataset

You receive two folders:

FolderRowslabels.json?Use it to
dataset/train/60,000includedtrain your model
dataset/test_public/3,600included in the development copyrun and self-score your pipeline

Each folder contains observations.json, a JSON list of the samples described above. labels.json is an aligned JSON list of actions (0–5).

The training set contains exactly 10,000 rows per robot and 20,000 rows from each task family. The public test contains 600 rows per robot. Wrap image with numpy.asarray(...) if you need an array.

At grade time, dataset/test_public/ is transparently replaced by a hidden set of 3,600 observations in the same format, but without labels.json. The public leaderboard uses test_leaderboard_a; the final ranking uses test_leaderboard_b. A notebook that unconditionally reads test labels will fail. Read labels only from dataset/train/.

Output

Write predictions.json in the notebook's working directory. It must be a JSON list containing one integer action (0–5) per row of dataset/test_public/observations.json, in the same order. For a hypothetical test set containing six samples, a valid output would be:

[0, 3, 2, 2, 5, 4]

A missing or invalid JSON file, a wrong number of predictions, a non-integer value, or an action outside {0,1,2,3,4,5} is rejected without a score.

Scoring

The scoring is mean per-robot accuracy on a 0–100 scale. Accuracy is first computed independently for each robot, then averaged over all six robots. Every robot therefore has equal weight.

How to submit

  1. Open solution.ipynb and run all cells.
  2. Confirm that it writes predictions.json with 3,600 predictions for the public test set.
  3. Improve the model if you want; the provided baseline only demonstrates the required input and output format.
  4. In the JupyterLab Git tab, stage and commit solution.ipynb, then push it.
  5. Return to the Contest page and click Submit.

Submit exactly one file named solution.ipynb.

A word-guessing game: find a hidden word within 30 turns using only pairwise "which is semantically closer" comparisons.

10 minEmbeddingsSearch strategy
Read the full statement
  • Time limit: 10 minutes
  • Environment: one GPU (≈16 GB VRAM), no internet
  • Solution size: solution.ipynb ≤ 1 MB
  • Storage: 5 GB

Task

Your friend suggests playing a guessing game. He, as the judge, picks one hidden word from a fixed vocabulary, and you must find it in at most 30 turns. Each turn the judge compares two words and reports which is semantically closer to the hidden word. Every game starts from the fixed pair lamp vs potato, because they are two of your friend's favorite things. Your program then proposes one new word. The winner of the comparison is kept and compared against your next proposal. You win a game the moment you propose the hidden word exactly. Matching is case-insensitive. Every word you propose must be in dataset/vocabulary.json.

There is a full example in solution.ipynb with protocol and data loading. You can change the PublicEmbeddingPlayer class. Your program is initialized once and plays every game in a single run; the protocol creates a fresh PublicEmbeddingPlayer at the start of each game.

The Judge

Your program sends one JSON object to the Judge and the Judge responds with one JSON object.

A worked example, with the hidden word shown only to explain the protocol:

Hidden word: shovel          Fixed opening: lamp vs potato

<- {"turn": 1, "winner_word": "potato", "verdict": "second", "word1": "lamp",   "word2": "potato"}
-> {"new_word": "rock"}
<- {"turn": 2, "winner_word": "rock",   "verdict": "second", "word1": "potato", "word2": "rock"}
-> {"new_word": "hammer"}
<- {"turn": 3, "winner_word": "hammer", "verdict": "second", "word1": "rock",   "word2": "hammer"}
-> {"new_word": "shovel"}                                    <- matches: game won
-> {"status": "win"}

Turns are indexed from 1 to 30.

The verdict options are first meaning that word1 is closer, second meaning that word2 is closer or same meaning that both words are equally close to the hidden word.

winner_word is the word retained for the next comparison. On a same verdict, the first word stays.

Dataset

Shared by every split:

  • dataset/vocabulary.json — 1602 unique lowercase words. The hidden word is always one of these.
  • dataset/public_embeddings.npy — float32, shape (1602, 2560). Row i corresponds to word i in the vocabulary. These are public embeddings; the judge uses a different, private representation.

The splits are sets of hidden words:

SplitWordsAnswersUse it to
test_public120✅ dataset/test_public.jsonrun your solution and self-score
test_leaderboard_a120hiddenlive leaderboard
test_leaderboard_b120hiddenfinal ranking

There is no train split — nothing is fitted from labelled rows.

Provided models

Two pretrained embedding models ship with the task and may be used:

models/Qwen/Qwen3-Embedding-0.6B
[Qwen Embedding model card](https://yastatic.net/s3/contest/ioai/3/01_Qwen_Qwen3-Embedding-0.6B_MODEL_CARD.html)
models/BAAI/bge-m3
[bge-m3 model card](https://yastatic.net/s3/contest/ioai/3/02_BAAI_bge-m3_MODEL_CARD.html)

Both must be loaded from their local path; a Hugging Face hub id such as "BAAI/bge-m3" triggers a download and fails, because judging is offline. Each directory contains a runnable example.py showing the offline call.

Available libraries: numpy, torch, sentence-transformers. No internet, no downloads, no other packages.

Output

None. This is an interactive task: your solution writes no answer file; it talks to the judge over stdin/stdout as described above.

Metric

A game found on turn t scores 1.0 - 0.02 × max(0, t - 10); a game not solved within 30 turns scores 0. So turns 1–10 score 1.00, turn 20 scores 0.80, turn 30 scores 0.60.

Your task score is the mean game score × 100, between 0.00 and 100.00.

The 10-minute limit is a single budget covering start-up, preparation and all 120 games in the test set.

How to submit

  1. Open solution.ipynb, edit PublicEmbeddingPlayer, and run all cells to make sure it's working.
  2. Optionally, check it locally: python local_test.py solution.ipynb --limit 5. The local judge uses the public embeddings, so its score is only a guide.
  3. Save solution.ipynb.
  4. Open the Git tab in the left sidebar of JupyterLab.
  5. Stage solution.ipynb (the + icon next to it).
  6. Enter a commit message and click Commit.
  7. Click the cloud-with-up-arrow to push.
  8. Return to this Contest page and click Submit, with the commit message matching the one you've provided.

Submit exactly one file, named solution.ipynb, covering any necessary preparations and inference.

Day 2

Double Agent Dilemma

Official task

A ResNet-18 and a ViT-Tiny agree perfectly on every image. Make tiny, almost invisible pixel changes so the two models disagree.

12 minCNN vs. ViTAdversarial examples
Read the full statement
  • Time limit: 12 minutes.
  • Storage: 5 GB
  • Environment: one GPU (≈16 GB VRAM), no internet
  • Solution size: solution.ipynb ≤ 1 MB
  • Baseline score: 0
  • Scientific Committee score: 96.99

At the national AI center in Astana, two computer models — Model R (a ResNet-18) and Model V (a ViT-Tiny) —are analyzing photos. Right now, both models are doing a perfect job, scoring 100% accuracy and agreeing on every single image. To test how different their smart "brains" really are, the chief scientist gives you a challenge: make tiny, almost invisible pixel changes to each photo so that Model R and Model V completely disagree.

img

1. Task

Two pretrained image classifiers look at the same image. On the images provided in this task, both classifiers perform with 100% accuracy.

  • Model R: torchvision.models.resnet18 (a CNN, ResNet18).
  • Model V: timm's vit_tiny_patch16_224 (a Transformer, ViT-Tiny).

Your task is to create a small change ("perturbation") for each image so that the two models disagree. For every image, you must create two different perturbations:

  • Type A: after adding it, Model R still classifies the image correctly, but Model V classifies it incorrectly.
  • Type B: after adding it, Model V still classifies the image correctly, but Model R classifies it incorrectly.

Each perturbation must be small enough that it is hard to notice. Smaller perturbations score higher (see Section 5). The perturbation is applied to the original image directly on the pixel level.

2. Public data

A set of images is provided with the task, organized into two splits — train (100 images) and test_public (100 images) — each with images of varying resolution. All images are from ImageNet-1K's 1000 classes and both Model R and Model V achieve 100% accuracy on both splits.

The following files are provided:

train/images/*.png         # 100 images in PNG format
train/labels.json          # maps each image index to its correct class
test_public/images/*.png   # 100 images in PNG format
test_public/labels.json    # maps each image index to its correct class

During grading time, your dataset/test_public/ folder is transparently replaced by two hidden sets of images (test_leaderboard_a and test_leaderboard_b) for official scoring. Each of them contains 100 images in PNG format and a label file.

Note: For this task, the labels in test datasets are accessible.

3. Output format

For each image, you must produce two files:

{index}_a.pt   # Type A perturbation
{index}_b.pt   # Type B perturbation
  • {index} (0, 1, 2, ...), matches the image's name in the datasets.
  • Each file is a single tensor saved with torch.save. Its shape must be3 x H x W, where H and W match the original resolution of that image (not 224 x 224).
  • The code should produce only one ZIP file, submission.zip. Place all .pt files at the top level of the ZIP archive, with no enclosing folder or subdirectories.
submission.zip
├── 0_a.pt
├── 0_b.pt
└── 1_a.pt
└── ...

The notebook will alert you if there is any issues with the output format.

4. Constraints

  • Models: You must use torchvision.models.resnet18(pretrained=True) and timm.create_model('vit_tiny_patch16_224', pretrained=True). No other pretrained models are allowed.
  • Transform pipeline (enforced at evaluation): Resize(256) → CenterCrop(224) → Normalize(mean=[0.485,0.456,0.406], std=[0.229,0.224,0.225]). See Section 3 of baseline.ipynb for details.
  • Perturbation resolution: Must match the original raw image resolution (not 224×224). The tensor is added to the raw image before the transform pipeline.
  • Output format: .pt files only — no PNG/JPG . Tensors are added to the raw image and pixel values are clipped to [0, 1] before preprocessing.
  • File naming: Flat-listed, strict {index}_a.pt / {index}_b.pt format. No subdirectories inside the zip.
  • Libraries: torch, torchvision, timm.

5. Scoring

The final score is computed as follows. Let M be the number of images in the split, ScoreAScore_A the number of successful Type A perturbations, and ScoreBScore_B the number of successful Type B perturbations:

Sfinal=ScoreA+ScoreB2M×PFS_{final} = \frac{Score_A + Score_B}{2M} \times PF

PF is a function designed to penalise perturbations with a high norm and to be very sensitive near the ceiling of performance. It it bound in the range 0.5 to 1. The full implementation can be seen in Section 8 of solution.ipynb.

img Figure: The curve of the penalty function.

6. Check the Submission

There are checks in the notebook that alert you if there are formatting issues, at Section 7 in the solution.ipynb notebook.

7. Local testing

solution.ipynb contains a complete, working example. It loads the public data, both models, and the official scorer, and writes a submission ZIP file. Read it before you start.

8. How to submit

  • Save your changes to solution.ipynb.
  • Open the Git tab in the left sidebar of JupyterLab.
  • Stage solution.ipynb (the + icon next to it).
  • Enter a commit message and click Commit.
  • Click the cloud-with-up-arrow to push.
  • Return to this Contest page and click Submit.

Submit exactly one file, named solution.ipynb.

Ghost of the Machine

Official task

Each passage starts as human writing and silently switches to a language-model continuation. Find where the switch happens, using only a text-embedding model.

10 minNLPMachine-text detection
Read the full statement
  • Time limit: 10 minutes
  • Baseline score: 28.6
  • Scientific Committee score: 93.41
  • Environment: one GPU (≈16 GB VRAM), no internet
  • Solution size: solution.ipynb ≤ 20 MB
  • Storage: 5 GB
  • Pretrained models: only bge-base-en-v1.5 — a text encoder (embedding model).

Task

Strange things are happening at the National Archive of Kazakhstan. Librarians say that some books used to end differently, but no one can prove it — every copy is the same, and every story still makes sense. You are invited as an AI researcher to locate the changes. Ghost

A passage begins as human-written text and, at some point, silently switches to a continuation generated by a language model. Read as a whole, it looks like one coherent piece — but somewhere in the middle the author changes from a person to a machine. Your task is to find that switch: the character index where the human part ends and the machine part begins.

Each sample is a single string text. There is exactly one boundary. Everything before it is human; everything from it onward is machine-generated.

Dataset

Plain-text English passages, one boundary each.

  • Part A (before the boundary): an excerpt of human-written text.
  • Part B (from the boundary on): a continuation produced by a language model, conditioned on Part A.
  • Each side is at least 180 words; total length is ~500–800 words.
  • The boundary_char_index is the character offset where Part A ends: text[:boundary_char_index] is the human part and text[boundary_char_index:].lstrip() is the machine part.

What you get

You receive two folders:

FolderSamplesanswers.jsonl?Use it to
dataset/train/1,221✅ includedtrain / fine-tune your method
dataset/test_public/380✅ included (dev copy)run your pipeline and self-score locally

At grade time your dataset/test_public/ folder is replaced by a hidden evaluation set. It has the same format but without answers.jsonl. Your notebook is re-run on it, and the answers.jsonl it produces is scored.

  • The public leaderboard uses a hidden test_leaderboard_a set (380 samples).

  • The final ranking uses a hidden test_leaderboard_b set (380 samples).

All three evaluation sets are the same size and drawn from the same distribution as train, so your local dataset/test_public/ score is a reasonable estimation for your leaderboard score.

On-disk format

dataset/train/data.jsonl      # one JSON object per line: {"id": "...", "text": "..."}
dataset/train/answers.jsonl   # {"id": "...", "boundary_char_index": 1842}
dataset/test_public/data.jsonl       # {"id": "...", "text": "..."}
dataset/test_public/answers.jsonl    # dev copy only — ABSENT in the hidden grading set
  • Ids in answers.jsonl match ids in data.jsonl.
  • dataset/train/ (with answers) is available whenever you train or fine-tune.

Output (submission format)

You submit a single notebook, which must be named solution.ipynb. This exact file name is required. Anything else is rejected without being run.

Your notebook must read dataset/test_public/data.jsonl and write a single file answers.jsonl at the repository root — one JSON object per line, mapping each sample id to your predicted boundary character index:

{"id": "example_000123", "boundary_char_index": 1790}
{"id": "example_000124", "boundary_char_index": 2450}
  • boundary_char_index must be an integer in [0, len(text)].
  • Every id in dataset/test_public/data.jsonl should appear exactly once. A sample missing from answers.jsonl (or with a non-integer / out-of-range value) scores 0 for that sample.

Scoring

For each sample, let p be your predicted index and t be the true boundary. The per-sample score decays exponentially with the character distance:

score=exp⁡ ⁣(−∣p−t∣τ)∈(0,1], where τ=100.\text{score} = \exp\!\left(-\frac{|p - t|}{\tau}\right) \in (0, 1], ~ \text{where} ~ \tau = 100.

This leads to the following behavior of the score:

  • =1.0 — exact boundary character;
  • ≈0.78 — 25 characters off; - ≈0.61 — 50 characters off;
  • ≈0.37 — 100 characters off;
  • ≈0.01 — 500 characters off.

The final score is the mean of per-sample scores over all samples in the split (reported on a 0–100 scale). The metric rewards getting close, not just exact.

Constraints

  • Environment: one GPU (≈16 GB VRAM), no internet at grade time — the allowed model (below) is already provided. Wall-clock budget: 10 minutes for the whole run — this must cover any training / fine-tuning you do at grade time plus inference on the evaluation set.
  • Allowed pretrained model — this is exhaustive; no other pretrained weights may be used. It is pre-provided in the environment (load it normally, e.g. from_pretrained; there is no internet at grade time):
    • bge-base-en-v1.5 — a 110M-parameter text encoder (embedding model). It produces sentence/passage embeddings; it is not a generative language model. You may use it as-is (frozen features) or fine-tune it on the train split (full fine-tuning fits the 16 GB / 10-minute budget).
  • Classical / statistical tools are unrestricted: you may build any feature-based model (e.g., scikit-learn classifiers or regressors) on top of embedding features you compute yourself. Pretrained deep-learning weights are only restricted to the list above.

Baseline

The provided solution.ipynb is a trivial reference: it estimates a single "average boundary fraction" from dataset/train/ and predicts that same fraction of the length for every test passage. It scores 28.6 on the hidden test_leaderboard_a split and exists only as a runnable template for the read-dataset/test_public/ → write-answers.jsonl loop.

The Scientific Committee score of 93.41, measured on the same split and the same 10-minute budget, comes from fine-tuning the allowed encoder on train and locating the switch as a changepoint over sentences. It is not an upper bound — the maximum on this metric is 100.

IOAI Field

Official task

Model the IOAI logo as a spatial function and train a generator from scratch, with no pretrained weights.

5 minGenerative modelsTraining from scratch
Read the full statement
  • Time limit: 5 minutes
  • Storage: 5 GB
  • Solution size: solution.ipynb, custom_model.py ≤ 1 MB together
  • Pretrained models: none — train from scratch, no internet at grade time
  • Baseline Score: 31.2187
  • Scientific Committee score: 63.53

Task

The Mayor of Astana wants to decorate the city with stylized IOAI logos. As a statistician, he views everything—including the logo—as a spatial function F(x,y,W‾)F(x, y, \overline{W}), where x,y∈[0,1]x, y \in [0, 1] represent coordinates on a 2D plane and W‾\overline{W} is a set of hidden parameters defining stylistic attributes such as letter colors and angles.

Because FF is too complex to express as an explicit mathematical equation, your task is to train a neural network to approximate it. The network will output an IOAI field value for any coordinate pair (x,y)(x, y), generating a complete heatmap visualization of the logo across the plane. Here is an example of heatmap visualization of FF with some specific hidden parameters W‾\overline{W}.

f1

What IOAI field consists of? Four letters and the background.

  • Values within the first I letter are very large (1e+10 and more) with a linear gradient
  • Values in the letter O demonstrate spiral pattern
  • Value within the letter A is always -1
  • Values within the last I letter should be random values from the range [−2026,2026][-2026,2026] even if evaluated at the same point twice
  • Outside of the letters value is always zero

Function has hidden parameters W‾\overline{W}, which affects letters scale and incline, together with the range of values within the first I letter. However, letters will not intersect. Here are few illustrative examples of how IOAI field looks like with different W‾\overline{W}:

f2 f3

What you are given:

This problem contains NO datasets. Instead, you are given the generator function that is configured by the JSON config file at data/train_config/field_config.json.

Test config is hidden, but it is of a similar nature. Your task is to fit on the given generator using as many data as you wish. Your "train" and "test" distributions are generated from the same generator - you just don't know on which points (xi,yi)(x_i, y_i) you'll be evaluated.

Your submission should consist of:

  • training model class saved as custom_model.py. This model should inherit from the torch.nn.Module class and use only torch imports. It should contain CustomModel class used in solution.ipynb notebook.
  • solution.ipynb notebook, which will produce model.pt weights

Scoring

For each region, minimal score is 0 and maximal score is 1. Final score is averaged over all five regions (four for each letter and the background) and multiplied by 100. There is a parameter penalty:

If your model has more that 20260 parameters, the score is halved.

Number of parameter is measured by sum(p.numel() for p in model.parameters()). We expect your model to operate in a stochastic mode as well with the PyTorch nn.Dropout being part of the model.

For Standard Regions

For each region RR (first I letter, O, A, Background), we evaluate the model on NR=512N_R = 512 test points (xi,yi)(x_i, y_i) with true values viv_i and predictions v^i\hat{v}_i. We use normalized Mean Absolute Error (MAE) as a main metric. MAE is defined as:

MAE(R)=1NR∑i=1NR∣v^i−vi∣.\mathrm{MAE}(R) = \frac{1}{N_R} \sum_{i=1}^{N_R} |\hat{v}_i - v_i|.

And normalization is performed as

score(R)=1−min⁡(MAE(R)sR,1),\mathrm{score}(R) = 1 - \min\left(\frac{\mathrm{MAE}(R)}{s_R}, 1\right),

where sR>0s_R > 0 is a scale constant.

For the last I letter region

In this region, dropout is enabled during evaluation. For each test point jj:

  1. We run the model K=10K = 10 times to obtain v^j,1,…,v^j,K\hat{v}_{j,1}, \ldots, \hat{v}_{j,K}.
  2. If any output is outside the range [−2026,2026][-2026, 2026], then pointScore(j)=0\mathrm{pointScore}(j) = 0.
  3. Otherwise, compute the standard deviation σj\sigma_j of the KK outputs and convert it to a score:
pointScore(j)=min⁡(σjsE,1),\mathrm{pointScore}(j) = \min\left(\frac{\sigma_j}{s_E}, 1\right),

where sE>0s_E > 0 is a fixed scale constant.

The region score is the average over all points in the region:

score(Ilast)=1NE∑j=1NEpointScore(j),\mathrm{score}(I_{last}) = \frac{1}{N_E} \sum_{j=1}^{N_E} \mathrm{pointScore}(j),

where NE=K∗NRN_E = K * N_R.

In simple terms, the more diversity you have, the larger your score for this region would be. You can't use random in pure form, including PyTorch rand* and _uniform functions, randomness should come from the inference with enabled dropout.

How to submit

  1. Open solution.ipynb and run all cells.
  2. Improve the CustomModel model in custom_model.py
  3. Make sure that your last cell saves your model to model.pt file.
  4. In the JupyterLab Git tab, stage, comment and commit solution.ipynb and custom_model.py, then push it.
  5. Return to the Contest page and click Submit. Submit comment should be the same as the comment from the previous step.

Tasks © IOAI 2026, licensed under CC BY 4.0. Source: github.com/IOAI-official/IOAI-2026. Statements are reproduced with formatting changes and images converted for the web.