Patrick Kahardipraja
· 3 previous affiliations
- PhD student · Since 2023
- University of Potsdam2018–2023
- MS student · 2018–2023
- Swiss German University2013–2017
- Undergrad student · 2013–2017
Research Overview
Patrick Kahardipraja focuses on incremental natural language understanding, the interpretability of Transformer architectures, and in-context learning mechanisms. His trajectory traces a path from developing adaptive revision strategies for streaming text to analyzing how large language models process structural ambiguities and external knowledge. His most recent work investigates the functional specialization of attention heads in steering model behavior.
Research Trajectory
The early phase of Kahardipraja's research addresses the challenge of adapting standard Transformer architectures for streaming data, specifically focusing on the research direction of Efficient Incremental State Updates for Streaming Transformers. In 2021, he investigated how these models handle continuous, token-by-token input in Towards Incremental Transformers: An Empirical Analysis of Transformer Models for Incremental NLU. This work provided an empirical foundation for understanding the limitations and capabilities of Transformers when processing text incrementally, touching upon broader areas such as The Expressivity Gap in Linear Attention and the area of Enforcing Temporal Causality with Causal Attention Masking.
Building on this empirical foundation, he developed more sophisticated mechanisms for streaming text processing. In TAPIR: Learning Adaptive Revision for Incremental Natural Language Understanding with a Two-Pass Model, he introduced a two-pass architecture designed to learn adaptive revision strategies. This approach allows models to dynamically update their understanding as new tokens arrive, utilizing tunable thresholds for dynamic inference. By balancing immediate prediction with the ability to revise past outputs, the model improves performance in real-time natural language understanding tasks where context is continuously evolving.
The focus of his work subsequently expanded from architectural design to mechanistic interpretability, specifically examining how incremental models resolve linguistic uncertainty. With collaborators, he explored the research direction of Resolving Structural Ambiguity in Complex Natural Language through the study When Only Time Will Tell: Interpreting How Transformers Process Local Ambiguities Through the Lens of Restart-Incrementality. This research analyzes the internal states of restart-incremental Transformers to understand how they handle garden-path sentences and other local ambiguities. By proposing an interpretable method to track sequential state updates, the study sheds light on the broader area of Hierarchical Feature Abstraction Across Transformer Layers. It reveals the specific mechanisms that trigger revisions which are otherwise impossible in strictly autoregressive models, demonstrating how sequential structure encodes the resolution of ambiguity.
Continuing the theme of interpretability, Kahardipraja participated in evaluating explainable AI (XAI) techniques applied to large language models. The 2025 preprint A Close Look at Decomposition-based XAI-Methods for Transformer Language Models provides a comparative analysis of attribution methods that redistribute prediction logits through the network. This collaborative work juxtaposes prominent decomposition-based approaches, such as ALTI-Logit and LRP, to better understand how importance scores are assigned to input tokens and intermediate representations during the model's decision-making process.
Most recently, his research has advanced into the mechanistic interpretability of in-context learning. In The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentation, he mapped the functional division of labor within large language models. This work isolates specific attention heads responsible for distinct operations—such as processing instructions, retrieving external data, and accessing internal memory. By causally intervening on these heads, the research demonstrates how to steer model behavior, contributing to the research area of Task Vectors for Steering Large Language Models. This functional mapping allows for precise tracing of whether a model's output originates from provided contextual documents or its own parametric knowledge, offering a powerful tool for resolving conflicts between the two.
Current Directions
The most recent work in Kahardipraja's trajectory addresses the mechanistic interpretability of large language models, with a particular emphasis on how specific architectural components govern complex behaviors. Current directions investigate the functional specialization of attention heads, exploring how models balance internal parametric memory with external contextual information during in-context learning. By developing methods to causally isolate and manipulate these components, this ongoing research aims to provide finer control over model outputs, ensuring that language models can be reliably steered to utilize retrieved data or follow specific instructions without hallucination. Additionally, there is a sustained focus on refining explainable AI methodologies to better understand the layer-wise decision-making processes inherent in modern Transformer architectures.
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