Ilya Trofimov
· 7 previous affiliations
- Applied AI InstituteSince 2024
- Research Scientist · Since 2025
- Researcher · Since 2024
- Research scientist · 2019–2025
- Яндекс.Маркет2017–2019
- Principal Data Scientist · 2017–2019
- Вычислительный центр РАН (ФИЦ ИУ РАН)2014–2019
- Doctor of Philosophy - PhD, computer science · 2014–2019
- Yandex Data Factory2014–2017
- Principal Data Scientist · 2014–2017
- Yandex (Russia)2010–2014
- Data Scientist / Principal Data Scientist · 2010–2014
- Yandex School of Data Analysis2009–2011
- Master's degree, Internet Data Analysis · 2009–2011
Research Overview
Ilya Trofimov focuses on the intersection of topological data analysis (TDA), neural architecture search (NAS), and large-scale distributed optimization. His work has evolved from developing efficient algorithms for high-dimensional click prediction and generalized linear models to creating structural frameworks for evaluating deep learning representations and generative models. Currently, his research emphasizes the application of persistent homology to interpret and improve transformer-based models, specifically in the contexts of protein language modeling and the detection of hallucinations in large language models (LLMs).
Research Trajectory
The early phase of Trofimov’s research was centered on the computational challenges of large-scale machine learning, particularly within the domain of sponsored search and clickstream data. In 2013, his work addressed the problem of click prediction for commercial search engines, focusing on the engineering of query-dependent features to improve accuracy for advertisements with sparse view histories. This period was characterized by a focus on high-dimensional feature spaces and the necessity of distributed computing. By 2014, this focus shifted toward the optimization of L1-regularized logistic regression in distributed settings. He developed algorithms designed to handle datasets exceeding the memory capacity of single machines, utilizing coordinate descent methods to achieve superior performance over standard truncated gradient approaches.
By 2018, Trofimov’s interests expanded into the structural optimization of recommendation systems and multi-task learning. This included exploring Pairwise Ranking Optimization for Personalized Recommendation, which moved away from absolute regression-based predictions toward relative ranking, and Dynamic Weighting for Multi-Task Learning, addressing the challenge of balancing competing objectives in complex models. This transition toward model structure culminated in a significant body of work on Neural Architecture Search (NAS). Between 2020 and 2024, he investigated methods to reduce the computational cost of NAS, proposing multi-fidelity evaluation techniques that leverage knowledge distillation to accelerate the search for optimal architectures. During this time, he also participated in research applying NAS to reinforcement learning agents and event sequence classification.
Since 2021, Trofimov’s work has increasingly focused on the application of topological data analysis to deep learning. This research direction seeks to move beyond traditional performance metrics by analyzing the underlying manifold topology of data and neural representations. He has contributed to the development of new divergence scores based on persistent homology, which allow for the comparison of data manifolds and the assessment of disentanglement in latent spaces. His most recent work applies these topological frameworks to specialized architectures, such as protein language models and code-generating LLMs, using attention map topology to identify structural biological information and detect model hallucinations.
Current Directions
Trofimov’s current research is primarily concerned with the reliability and interpretability of large-scale transformer models through the lens of TDA. A major theme in his recent work is the extraction of topological features from attention mechanisms. By treating attention maps as distance matrices or graphs, he employs persistent homology to identify "structural" signals that standard embeddings might miss. In the biological domain, this involves using minimum spanning trees and topological features to improve token-level classification in protein sequences.
In the context of generative AI, Trofimov is investigating the relationship between the topological consistency of attention maps and the factual correctness of generated outputs. This approach treats the "hallucination" problem in LLMs not merely as a linguistic failure but as a detectable anomaly in the model's internal representation space. This work aims to provide a robust, automated framework for assessing code correctness and security vulnerabilities in AI-assisted programming.
Representative Work
In Distributed Coordinate Descent for L1-regularized Logistic Regression, Trofimov introduced d-GLMNET, an algorithm designed for training logistic regression models on massive datasets in distributed environments. The work addresses the limitations of single-machine memory by partitioning data and employing coordinate descent, demonstrating empirical superiority over distributed online learning methods. This research laid the groundwork for subsequent developments in fitting Distributed coordinate descent for generalized linear models with regularization, where he provided convergence proofs and addressed the "slow node" problem in cluster architectures.
Trofimov’s contributions to automated machine learning are highlighted in Multi-fidelity Neural Architecture Search with Knowledge Distillation. This paper addresses the high computational cost of NAS by proposing MF-KD, a Bayesian multi-fidelity method. The core innovation involves using knowledge distillation to provide high-quality, low-fidelity evaluations of neural architectures after only a few training epochs, significantly accelerating the search process without sacrificing the quality of the discovered models.
In the field of topological evaluation, Trofimov co-developed the Manifold Topology Divergence: a Framework for Comparing Data Manifolds. This work introduced the MTop-Divergence score, a tool that uses "Cross-Barcodes" to track multiscale topological discrepancies between distributions in high-dimensional spaces. The framework was applied across diverse domains—including 3D shapes, time-series, and images—to assess the performance of deep generative models more rigorously than traditional distance metrics. This was followed by Representation Topology Divergence: A Method for Comparing Neural Network Representations, which introduced RTD to measure dissimilarities between point clouds in different ambient spaces, providing a practical TDA-based method for comparing how different models represent the same data.
His recent application of TDA to biological sequences is detailed in Exploiting Topology of Protein Language Model Attention Maps for Token Classification. By leveraging the persistent homology of attention maps within the ESM-2 family of models, the research demonstrates that topological features, such as those derived from minimum spanning trees, encode critical structural information about proteins. This method outperforms traditional embedding-based approaches in amino-acid classification tasks.
Finally, Topology of Attention Detects Hallucinations in Code LLMs represents Trofimov’s latest work in model reliability. The paper proposes a TDA-based approach to evaluate the correctness of code generated by LLMs like StarCoder2 and CodeLlama. By analyzing the topology of attention maps, the method identifies patterns associated with hallucinations, offering a new path for the automatic assessment of code safety and functional correctness in AI-assisted development.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake