NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Junwei Ma

LinkedIn (United States)
6 previous affiliations
    • Researcher · Since 2025
  • layer62019–2025
    • Researcher · 2019–2025
  • Layer 6 AI2019–2025
    • Machine Learning Scientist · 2019–2025
    • MS student · 2017–2019
    • Master's degree, Computer Science · 2017–2018
    • Bachelor of Applied Science (B.A.Sc.), Electrical and Computer Engineering · 2012–2017
    • Research Assistant for Quantum Cryptography · 2014
    • Machine Learning Research Intern · 2018
    • FPGA and Embedded Software Intern · 2015–2016
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Junwei Ma focuses on the development of deep learning architectures for tabular data, with a specific emphasis on in-context learning (ICL) and the creation of tabular foundation models. His work addresses the historical performance gap between neural networks and tree-based models by leveraging transformer-based architectures that can adapt to novel datasets without task-specific retraining. Ma’s research trajectory has evolved from adapting discriminative models for generative tasks to establishing scaling laws for tabular models and investigating the fundamental requirements for cross-domain generalization.

Research Trajectory

The early stages of Ma’s documented research focus on bridging the gap between discriminative and generative modeling in the tabular domain. While deep generative models have seen significant success in computer vision and natural language processing, their application to tabular data has been hindered by the modality's inherent structural heterogeneity. In 2023, Ma addressed this by developing TabPFGen, a framework that repurposes TabPFN—a high-performance in-context discriminative model—into an energy-based generative model. This approach allowed for the generation of synthetic tabular data without the need for additional hyperparameter tuning, effectively inheriting the in-context capabilities of the underlying transformer.

By 2024, Ma’s work shifted toward optimizing the efficiency and scalability of in-context learners. A primary challenge in this area is the difficulty of scaling transformer models to large, complex datasets that exceed the model's context window. Ma contributed to the development of LoCalPFN, which introduced a retrieval-augmented generation (RAG) approach to tabular modeling. By identifying and fine-tuning on a query’s nearest neighbors rather than the entire dataset, this framework enabled deep learning models to consistently outperform traditional tree-based methods like XGBoost on standard benchmarks. This period marked a transition from using deep learning as a Decoupling Neural Feature Extraction from Final Classifiers tool toward using it as a primary, end-to-end decision engine for tabular tasks.

In 2025, Ma’s research expanded into the establishment of tabular foundation models. This work, exemplified by the development of TabDPT, demonstrated that tabular models follow predictable scaling laws similar to those observed in Large Language Models (LLMs). By utilizing self-supervised pre-training on massive corpora of real-world data, Ma showed that model performance improves consistently with increases in model size and data volume. This research also explored the application of these models to specialized tasks, such as participating in the development of CausalPFN, a transformer model designed for amortized causal effect estimation.

Most recently, Ma has investigated the theoretical and empirical limits of generalization in tabular models. In Generalization Can Emerge in Tabular Foundation Models From a Single Table, he challenged the prevailing assumption that broad generalization requires pre-training on vast, diverse datasets. His findings suggest that simple self-supervised pre-training on even a single real-world table can facilitate significant transfer across heterogeneous benchmarks, suggesting that the underlying Scalable Manifold Learning for High Dimensional Data captured by these models is more robust than previously understood.

Current Directions

Ma’s current work is centered on the refinement of tabular foundation models and the exploration of their limits in real-world applications. A key area of interest is the robustness of these models when faced with imperfect data. This involves the integration of Noise-Robust Loss Functions for Weakly Supervised Learning to ensure that foundation models do not memorize errors present in large-scale, web-scraped, or machine-generated training sets.

Furthermore, Ma is exploring the intersection of tabular modeling and complex system analysis. While his primary focus remains on machine learning architectures, the potential application of these models to domains like public health is an emerging theme. This includes the possibility of using high-capacity tabular models for Modeling Epidemics Beyond the Homogeneous Mixing Assumption or analyzing Systemic Saturation and Indirect Mortality in Public Health Crises. However, evidence of direct contributions to these epidemiological fields is currently limited compared to his foundational work in machine learning. There is also minor evidence of participation in research regarding Localizing Video Events from Video Level Labels, suggesting a broader interest in weak supervision across different data modalities.

Representative Work

TabPFGen – Tabular Data Generation with TabPFN In TabPFGen, Ma as first author addresses the structural mismatch between generative models and the discriminative models typically used for tabular data. The paper introduces a technique to transform TabPFN, a transformer designed for in-context discriminative tasks, into an energy-based generative model. The significance of this work lies in its ability to perform generative tasks without additional training or hyperparameter tuning, leveraging the pre-trained weights of the discriminative model to maintain high performance across diverse tabular domains.

LoCalPFN: Retrieval & Fine-Tuning for In-Context Tabular Models As second author on LoCalPFN, Ma contributed to a framework that combines retrieval-augmented generation with task-specific fine-tuning. The research addresses the scaling limitations of in-context learning by focusing the model's attention on a subset of nearest neighbors within a large dataset. This approach allowed transformer-based models to achieve state-of-the-art performance on tabular benchmarks, notably outperforming heavily optimized gradient-boosted decision trees.

TabDPT: Scaling Tabular Foundation Models on Real Data In TabDPT, Ma serves as the lead author in establishing a foundation model for tabular data. The work demonstrates that tabular models, when pre-trained on a massive corpus of real-world data using self-supervised objectives, exhibit scaling laws analogous to those found in other modalities. The resulting model achieves state-of-the-art results across a wide array of classification and regression tasks without requiring per-dataset tuning, representing a significant step toward general-purpose tabular AI.

CausalPFN: Amortized Causal Effect Estimation via In-Context Learning Ma participated as a co-author in the development of CausalPFN, a transformer model designed for causal inference. By training on a large library of simulated causal structures, the model is capable of estimating causal effects "out of the box." This work highlights the versatility of the in-context learning paradigm, showing that a single model can match the performance of specialized estimators while operating at significantly higher speeds.

Generalization Can Emerge in Tabular Foundation Models From a Single Table In this first-author paper, Generalization Can Emerge in Tabular Foundation Models From a Single Table, Ma investigates the data requirements for generalization in tabular ICL. The study reveals that pre-training on a single, well-chosen real-world table can produce surprisingly strong transfer capabilities across heterogeneous datasets. This finding challenges the necessity of massive data collection for tabular foundation models and suggests that the structural patterns learned from limited real data are highly informative for broader tasks.

Profile updated

See something wrong? Report a mistake