Mikołaj Pacek
· 6 previous affiliations
- University of WarsawSince 2017
- Researcher · Since 2024
- MS student · 2021–2023
- Bachelor's degree, Computer Science · 2017–2020
- Google (United States)Since 2024
- Software Engineer in AI · Since 2024
- Machine Learning Engineer · 2024
- Nomagic Warsaw MIMotaurs2022–2024
- Machine Learning Engineer · 2022–2024
- IDEAS NCBR2023–2024
- Research Engineer · 2023–2024
- Nvidia (United States)2022–2023
- Software Engineering Intern - AI · 2022–2023
Research Overview
Mikołaj Pacek focuses on the intersection of reinforcement learning, tree-based planning, and the architectural optimization of large language models. His research addresses the challenges of integrating search-based planning with deep learning and the technical hurdles associated with scaling the context windows of transformer architectures. By developing algorithms that improve the efficiency of planning and the focus of attention mechanisms, Pacek’s work contributes to the robustness of autonomous agents and the utility of generative models in handling extensive datasets.
Research Trajectory
Pacek’s research trajectory is characterized by a transition from the foundational problems of reinforcement learning to the contemporary challenges of large-scale language modeling. Between 2021 and 2022, his work was primarily concerned with the efficiency and stability of planning in complex environments. This period focused on the development of novel tree search algorithms that utilize maximum entropy frameworks to improve upon existing state-of-the-art systems. The core problem addressed during this phase was the failure of traditional maximum entropy planning when combined with neural learning components, a gap that Pacek and his collaborators sought to bridge.
In 2023, Pacek’s research focus shifted toward the domain of large language models (LLMs), specifically investigating how training methodologies can be adapted to maintain model performance as input sequences grow significantly longer. This work involves the application of contrastive learning techniques to the attention mechanism, aiming to mitigate the "distraction issue" or score dilution that occurs in long-context scenarios. This evolution reflects a broader move in the field from general reinforcement learning toward the specific structural and training requirements of massive transformer-based systems.
Planning and Learning in Reinforcement Learning
In his early research, Pacek addressed the limitations of combining tree-based planning with deep learning. While systems such as AlphaZero demonstrated the power of this combination, they relied on specific planning components like Predictor Upper Confidence Bound applied to Trees (PUCT). Pacek’s work explored the maximum entropy paradigm as a more robust alternative for exploration and decision-making.
This research led to the development of Adaptive Entropy Tree Search (ANTS), an algorithm designed to maintain performance when planning is integrated with neural learning components. The primary contribution of this work was identifying and resolving the issues that cause traditional maximum entropy planning methods to fail in a learning context. By introducing an adaptive approach, Pacek and his co-authors demonstrated that ANTS could significantly outperform PUCT on standard benchmarks like the Atari suite. This work established a framework for more efficient and robust planning in autonomous agents, emphasizing the importance of entropy-based exploration in complex state spaces.
Context Scaling and Attention Mechanisms
More recently, Pacek has participated in research addressing the architectural and training challenges of scaling transformer models. As models are required to process increasingly long sequences—reaching into hundreds of thousands of tokens—they encounter the problem of Countering Attention Dispersion in Long Contexts. This phenomenon occurs when the attention mechanism, tasked with weighing the relevance of tokens, becomes overwhelmed by the volume of "noise" in a large context window, leading to a dilution of the signal from relevant information.
Pacek’s contribution to this area involves the use of Hard Negative Selection for Contrastive Representation Learning to structure the model's attention space. By training the model to better distinguish between relevant and irrelevant data points, this approach allows for effective context scaling without the performance degradation typically seen when models are extended beyond their initial training lengths. This research is closely related to methods for Positional Embedding Interpolation for Long Context Transformers, which provide the positional framework necessary for such extensions.
Furthermore, Pacek’s work touches upon the broader goal of improving the structural reasoning of neural networks. This includes interests in Differentiable Stacks for Hierarchical Neural Reasoning, which seeks to move beyond simple pattern matching toward models that can master underlying structural and algorithmic rules.
Representative Work
Robust and Efficient Planning using Adaptive Entropy Tree Search As the second author of this 2021 study, Pacek contributed to the development of the Adaptive Entropy Tree Search (ANTS) algorithm. The paper identifies a critical failure point in existing maximum entropy planning methods when they are combined with deep learning. The authors present ANTS as a solution that achieves state-of-the-art performance on the Atari benchmark, outperforming the planning components used in systems like AlphaZero.
Planning and Learning using Adaptive Entropy Tree Search Published in 2022, this work further details the ANTS algorithm and its application within the maximum entropy paradigm. As a second author, Pacek helped demonstrate how the combination of tree-based planning and deep learning can be made more robust through adaptive entropy measures, ensuring that the planning process remains effective even as the underlying neural models evolve during training.
Focused Transformer: Contrastive Training for Context Scaling In this 2023 paper, Pacek participated as the third author in the development of the Focused Transformer (FOT). The research addresses the "distraction issue" in LLMs by using a training process inspired by contrastive learning. This method structures the attention space to better differentiate between relevant and irrelevant information, enabling the creation of models like LongLLaMA that can handle context lengths of 256k tokens and beyond, even when fine-tuned on significantly shorter sequences.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Focused Transformer: Contrastive Training for Context Scaling | NeurIPS | 2023 |
| Planning and Learning using Adaptive Entropy Tree Search | IJCNN | 2022 |
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