Work,
so far.

I'm an LLM Post-Training Researcher at JetBrains. Since January 2026, I've been working on continual learning and post-training of language models.

I've been working with Transformers for more than 5 years.

Current research /
With my context-compression poster.
JetBrains sticker
Try dragging the sticker!
5posters & counting

Drag a sticker or use the arrow keys to turn it. Home restores the front view.

Saved keyword-spotting example: Sheila probability over time with a decision threshold.

Speech, keywords and accents

Experiments2020-2021
Keyword spotting: an example from my PyTorch implementation.
QuartzNet architecture. Kriman et al., 2019, Fig. 1.

I implemented QuartzNet speech recognition from scratch in PyTorch, alongside attention-based keyword spotting and an accent-classification team project.

Random Forest fandom sticker
Verified Coffee Addict sticker
Expression-tree diagram from the symbolic mathematics material.

Transformers before ChatGPT

Bachelor's thesis2021Top mark
Expression trees, from my bachelor thesis.
Top markHSE bachelor thesis
First page of Kirill Gelvan's bachelor thesis, Empirical Study of Transformers for Symbolic Mathematics (2021).

I tested whether expression trees helped Transformers integrate expressions and solve differential equations. The idea did not beat the baseline; the evaluation anomalies were the interesting result.

What the evaluation revealed / sources & note

Giving the model explicit expression-tree structure did not improve the baseline overall. In a small set of examples with long numbers, relative methods handled the digits better: the baseline could mix their order, while structure-aware attention often found the correct answer among its first ten hypotheses.

Prediction analysis from my bachelor thesis.
Euler identity sticker
Not Normal sticker
Digital Kirill clone demo showing a conversation about age and becoming a programmer, alongside dialogue generation settings.

Fine-tuning a model to clone myself

Experiment2021
A conversation with my digital clone.

I fine-tuned ruDialoGPT3 on Telegram exports to make a bot that talked like me. A personal funny thing about the result: it was depressed! As I was back then!

Received dozens of GitHub stars. Open source is the way!

A whiteboard filled with transformer, self-attention, summarization, and evaluation diagrams.

Transformer-based dialogue summarization bot

Project2021-2025300k+ Hugging Face model downloads
Teaching attention, before implementing it.

The actual input

Timur: @summarization_bot

Timur: Does it work?)

Timur: Yes)

Timur: Pretty funny

Timur: I don't have any text handy

Timur: Too many requests!

Timur: I didn't understand how it works

Timur: It needs to be added to the chat

Timur: Or forward it messages from the chat

Here's what came out:

Timur is surprised that there is a so-called "summarization_bot". It needs to be added to the chat or sent messages from the chat.

An actual chat and the bot's summary.
300k+Hugging Face model downloads
1,000+daily requests, historically
$100+/monthhistorical revenue
$6,000investment won in an HSE competition

I taught three school pupils self-attention, then we implemented Transformers in PyTorch and built a Russian chat-summary bot. The project ran from 2021 to 2025 and won $6,000 in investment through an HSE competition. Keeping it going became my first experience managing a team, subscriptions and server bills.

From the first lesson to closure / model, sources & note

We started before ChatGPT. I kept the project going after the original intensive program, designing features around user requests. Our teaching implementation was pure PyTorch; the deployed summarization model was a fine-tuned mBART, which remains available.

The example shows a chat about using the bot: adding it to a group or forwarding messages. The project became financially self-sustaining, but that didn't last. When it closed, subscriber support covered less than half of what we needed to break even.

PyTorch sticker
Official EVA AI App Store promotional screenshot showing a character conversation in the mobile app.

NLP Research Engineering at EVA AI

2022-2023LLM memory, summarization and retrieval

I built LLM memory and retrieval systems for EVA AI. Integrating conversation summaries gave the chatbot 3x longer memory and increased ARPU by 9%.

~500kMAU / ML team of <5
$25k/daytotal app revenue at the time
3xlonger memory
+9%ARPU from summarization
EVA AI today: official App Store image, October 2026.

Dialogue summarization

I integrated summaries to retain more conversation: 3x longer memory and a 9% increase in ARPU.

Questions about yesterday

Generating questions about the previous day's dialogue increased ARPU by 8%.

Fact extraction and retrieval

Built from scratch RAG-based (Retrieval-augmented generation) pipeline for extracting and using facts by a custom LLM. Used vector DB and scaled it for half a million monthly active users.

Automated error classification

I automated collection, labeling, training and deployment. Unethical responses fell by 35%, as measured by OpenAI's safety classifier.

A smaller classifier

A distilled, quantized BERT-like classifier replaced rules and improved quality at roughly the same throughput.

The engineering behind the numbers / sources
One encoder, several languagesIllustration: messages in English, Spanish and French pass through a shared multilingual encoder into aligned representations. A classifier uses the existing English labels.HelloHolaBonjourSharedencoderAlignedBillingclassifierEnglish labelsOne encoder, several languagesEnglish, Spanish and French messages become aligned representations in a multilingual encoder, then enter a billing classifier trained on English labels.HelloHolaSalutMultilingual encoderBilling classifierTrained on English labels

Example of a task: Llama 2 could reply in other languages, but our English-only classifier missed messages that should have been billed. A multilingual encoder and a head trained on existing English labels fixed it in a day.

Original MASTER multi-agent architecture diagram connecting the supervisor, user profiler, retrieval, consultant, answer generator and privacy manager.

Multi-agent LLM sales assistant (Mercedes-Benz & Salesforce)

Makeathon2024 / TUM.ai
The specialist agents behind MASTER.

For a Mercedes-Benz and Salesforce challenge, I built an EV sales assistant with Denis and Anastasiia using specialist agents, retrieval and a supervisor. Second among more than 80 teams.

Deadlines sticker
Yann LeCun's LinkedIn repost of the robot grasping project, with the comment JEPA-based grasping FTW.

JEPA for robot grasping

Poster2024 / With Denis

At TUM, I and Denis explored JEPA-style self-supervised representations for robot grasping.

Open the full poster
Full Self-supervised learning for robot grasping research poster by Kirill Gelvan and Denis, without the team photograph.

A few objects from the project.

Box (ground truth)
Domed cylinder
More project videos ↗
First page of Kirill's written review, State Space Models for Long Sequence Challenges.

State-space models (SSMs) for long sequences

Review2025
First page of Kirill's written review, State Space Models for Long Sequence Challenges.

A review connecting HiPPO, linear recurrent models, and attention/state-space duality.

Kirill in a pink hoodie holding a Convolutional Occupancy Networks poster.

3D reconstruction from point clouds

Poster2025 / TUM ML43D
With our Convolutional Occupancy Networks poster.

Noisy point-cloud reconstruction with Anastasiia Chaikova, Omar Al-Dabooni and Yi Wang: sinusoidal activations, positional encodings and semantic conditioning.

Open the full poster
Full Convolutional Occupancy Networks poster by A. Chaikova, O. Dabooni, K. Gelvan and Y. Wang, with 3D reconstruction diagrams, experiments and results.
Red origami bird sticker
Kirill holding his Implicit Context Compression poster at a research gathering.

Compressing context for LLM agents

Master's thesis2025 thesis / 2026 paperTool output compressed into learned memory
With my context-compression poster; shared October 2025.
Original context compression paper preview.

My TUM master's thesis with JetBrains asked whether a coding agent could carry less context between steps. I used an encoder to compress tool output into fixed-size memory embeddings for the language model. The compressed memory retained answers on single-shot tasks, but agents solved fewer software-engineering issues.

Thesis, paper & a personal note

The follow-up paper investigates two possible reasons for the multi-step performance drop: errors accumulating over time and important details being lost during compression.

TUM sticker
This is fine sticker
Original step-level LLM routing poster preview.

Step-Level LLM Routing

Poster2026 / Partial research

Which model, at which step?

This poster records partial research on choosing a model for each step of a software-engineering agent. Early prefixes provided weak routing signals; training raised problems with exploration and the cost-quality tradeoff.

Interior slide from How to train a MoE-LLM: top-k expert routing, normalized token weights and router stability.

How to train a MoE-LLM

Talk2026
Interior slide from How to train a MoE-LLM: top-k expert routing, normalized token weights and router stability.

Expert routing, GPU parallelism, profiling and the practical difficulties of fine-tuning mixture-of-experts models.

Clawd Coffee sticker
Three coauthors in a tiled pool holding their Budget Internalization poster.

LLM reasoning under a token budget

Paper2026 / Ongoing researchAIME accuracy vs base: +38.9 pp at 4k tokens; -35.0 pp at 64k tokens
Under review for an A* conference
With coauthors and our poster.
+38.9 ppat 4k test-time tokens
-35.0 ppat 64k test-time tokens

Qwen3.5-4B / 4k training cap / AIME 2024/25 avg@3 / against the base model at each test budget.

The initial idea was mine: what does a fixed training budget teach a reasoning model? I noticed that giving trained models more tokens could put them behind the baseline. We investigated that reversal.

Setup, limitations, poster & sources

Training improved answers near the training cap, but could weaken the ability to benefit from more test-time tokens. Evaluating only at the cap would have hidden the reversal shown above.

The study covers three small model families, with one training seed per condition. Shorter responses remained useful on some transfer tasks. Keeping the gains without losing high-budget performance remains an open problem.

Original Budget Internalization poster preview.
burning GPU... sticker

Room for
the next question.

At the JetBrains table.

How do we fix overthinking?

Also, a talk
about life.

Document reader

Open in tab ↗
A close portrait of a person wearing a white shirt indoors.