Aaron T Wang

Duke University · TikTok
5 previous affiliations
  • Duke UniversitySince 2023
    • Undergrad student · 2023–2027
    • Researcher in Lawrence Carin Lab · Since 2023
    • Researcher in Pan Xu Lab · 2025
  • TikTokSince 2026
    • Machine Learning Engineer Intern · Since 2026
    • Research Assistant · 2022–2024
    • International Baccalaureate (IB) Diploma · 2019–2023
  • Utah Transportation Research and Artificial Intelligence Laboratory (U-TRAIL)2021–2022
    • Research Assistant · 2021–2022
4Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Aaron T Wang focuses on the theoretical foundations and mechanistic underpinnings of in-context learning (ICL) within Transformer architectures. His research primarily investigates how these models approximate optimization algorithms, specifically functional gradient descent, to perform inference on structured data during the forward pass. By bridging the gap between deep learning heuristics and classical statistical methods—such as kernel-weighted averages and Reproducing Kernel Hilbert Spaces (RKHS)—he seeks to provide a rigorous mathematical framework for understanding the emergent capabilities of large-scale language models.

Research Trajectory

Wang’s research trajectory is concentrated in the 2025–2026 period, characterized by a transition from establishing the fundamental relationship between attention mechanisms and functional gradients to investigating the specific architectural components required for complex data types. In 2025, his work focused on the theoretical alignment between ICL and gradient-based optimization. This period established that Transformers, when presented with contextual data pairs, can be viewed as performing iterative steps of functional gradient descent to approximate a latent function. This work was instrumental in moving the field toward a more formal understanding of ICL as an implicit optimization process rather than a purely heuristic pattern-matching behavior.

By 2026, this focus evolved toward a more granular mechanistic analysis. This included examining the limitations of attention-only models when dealing with the non-linearities inherent in categorical outputs and exploring the role of Multi-Layer Perceptrons (MLPs) in overcoming these barriers. During this time, Wang also participated in research extending the ICL framework to semi-supervised learning settings, investigating how models can leverage unlabeled data within a prompt to improve performance.

Representative Work

In On Understanding Attention-Based In-Context Learning for Categorical Data, Wang addresses a significant gap in Transformer theory by examining ICL for discrete tokens. While previous research often focused on real-valued regression, this work demonstrates that ICL for categorical data can be mathematically framed as performing functional gradient descent. The study introduces a novel architecture designed to exactly implement multi-step gradient descent for classification and provides evidence that standard Transformers naturally converge toward this behavior during training.

The theoretical basis for this gradient-based interpretation is further developed in Functional Gradients and Generalizations for Transformer In-Context Learning. In this first-author paper, Wang analyzes ICL from the perspective of an RKHS, manifesting an alternative kernel-averaging perspective. This analysis allows for a formal interpretation of softmax attention as a Nadaraya-Watson kernel-weighted average. The work demonstrates how a single attention layer can be designed to implement specific functional updates, providing a generalization that links Transformer operations to classical non-parametric statistics.

Wang’s more recent work shifts toward the internal mechanics of the Transformer block. In Mechanistic Study of Transformer In-Context Learning with Categorical Outputs, he explores the necessity of different architectural layers. The study reveals that while attention-only Transformers can perform functional gradient descent for real-valued outputs, categorical outputs introduce non-linearities that these models struggle to capture. The research identifies a crucial role for MLP layers in managing these non-linearities, though it also delineates specific conditions under which attention-only models can still achieve high performance.

Additionally, Wang participated in research expanding the scope of ICL applications in In Context Semi-Supervised Learning. This work investigates the capacity of Transformers to utilize both labeled and unlabeled examples within the context window, effectively performing semi-supervised learning without explicit parameter updates.

The available evidence suggests a research program deeply rooted in the mathematical formalization of Transformer behavior, with a specific emphasis on the transition from continuous regression tasks to the discrete classification tasks that define modern language modeling. While the corpus is currently focused on a narrow temporal window, it reflects a consistent effort to move from high-level observations of ICL to a detailed understanding of its algorithmic and architectural requirements.

Profile updated

See something wrong? Report a mistake