Erik Nijkamp
· 2 previous affiliations
- SalesForce.comSince 2025
- Principal Researcher · Since 2025
- Salesforce (United States)Current
- Current
Research Overview
Erik Nijkamp focuses on the development of generative models, specifically bridging the gap between energy-based models (EBMs) and large-scale language modeling for specialized domains such as program synthesis and protein design. His work explores the intersection of latent variable models, Markov Chain Monte Carlo (MCMC) sampling, and the scaling of neural architectures to capture complex, high-dimensional data distributions. By investigating the theoretical underpinnings of The Amortization Gap in Latent Variable Models, Nijkamp has contributed to methods that improve the fidelity of synthetic data and the efficiency of probabilistic inference.
Research Trajectory
Nijkamp’s research trajectory began with an emphasis on structured generative learning, particularly through the lens of random field models. In 2017, he participated in the development of Generative Hierarchical Learning of Sparse FRAME Models, which generalized the sparse FRAME (Filters, Random field, And Maximum Entropy) framework into a hierarchical deformable template. This early work utilized EM-type algorithms to infer unknown locations, scales, and rotations of object parts, establishing a foundation in hierarchical latent structures that would persist throughout his subsequent research.
By 2020, Nijkamp’s focus shifted toward Overcoming the MCMC Sampling Bottleneck in Energy Models. During this period, he investigated how EBMs could be integrated with generator networks to improve semi-supervised learning. This involved coupling symbolic one-hot vectors with latent vectors to facilitate classification based on inferred representations. A recurring challenge in this domain was the difficulty of MCMC sampling in high-dimensional spaces, where the energy function—often parameterized by deep networks—tends to be highly multi-modal. Nijkamp addressed this by proposing models where the EBM serves as an exponential tilting of a flow-based backbone, allowing for more effective mixing in the latent space.
In 2022, Nijkamp’s work expanded significantly into the realm of large-scale sequence modeling. This transition applied the principles of Scaling Generative Models for High-Resolution Visual Synthesis to discrete domains, specifically proteins and source code. He led the development of ProGen2, a suite of protein language models scaled to 6.4 billion parameters, which demonstrated the utility of large-scale genomic and metagenomic data in capturing evolutionary distributions. Simultaneously, he addressed the complexities of Multi-turn Iterative Code Generation and Refinement through the CodeGen family of models. This work moved beyond one-shot synthesis toward a conversational paradigm of program generation, supported by the release of the JAXFORMER training library.
Current Directions
Nijkamp’s current research is characterized by the refinement of Progressive Domain Adaptation via Multi-Stage Fine-Tuning. This involves not only scaling the number of parameters but also optimizing the data curricula and sampling strategies for specialized tasks. In the context of program synthesis, this includes exploring Navigating the Combinatorial Search Space of Program Synthesis, where language models are used to navigate the vast search space of executable code more effectively than traditional discrete search methods.
Another active area of investigation is the continued evolution of EBMs. Nijkamp continues to work on methods that allow explicit probabilistic modeling of the output distributions of arbitrary generator networks. By formulating models that account for the "gap" between generator outputs and the actual image manifold—often represented as a residual random variable—his work seeks to provide more robust foundations for synthetic data generation and density estimation. This includes leveraging coreset selection and entropic regularization to identify high-fidelity samples within generative pipelines, thereby improving the performance of semi-supervised learning tasks.
Representative Work
CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
As the lead author, Nijkamp introduced the CODEGEN family of models, which range up to 16.1 billion parameters. This work addresses the democratization of large-scale code models by providing an open-source alternative to proprietary systems. The research emphasizes a multi-turn approach to program synthesis, where a problem specification is solved through iterative natural language interaction rather than a single prompt. The release included JAXFORMER, a library designed for efficient training of these large-scale models on natural and programming languages.
ProGen2: Exploring the Boundaries of Protein Language Models
In this first-author paper, Nijkamp explored the scaling laws of protein language models. By training ProGen2 on a diverse dataset of over one billion protein sequences—including genomic, metagenomic, and immune repertoire data—the research demonstrated that increasing model scale and data diversity significantly improves the ability to capture evolutionary distributions. The models proved effective for both the classification of existing proteins and the generation of novel, viable protein sequences, providing a toolset for AI-driven protein design.
MCMC Should Mix: Learning Energy-Based Model with Neural Transport Latent Space MCMC
Nijkamp led this research into the fundamental limitations of MCMC sampling in high-dimensional EBMs. The paper identifies the lack of mixing in standard data-space MCMC as a primary obstacle to the practical application of EBMs. To resolve this, Nijkamp proposed a model where the EBM acts as a correction to a flow-based or latent variable backbone. By performing MCMC in the latent space of this backbone, the sampling process achieves better mixing, leading to more stable training and higher-quality generative results.
Learning Probabilistic Models from Generator Latent Spaces with Hat EBM
As a primary contributor, Nijkamp developed the "Hat EBM" framework, which allows any pre-trained generator network to be used as the basis for an energy-based model. The approach posits that observed data consists of a latent component passed through the generator plus a residual variable. This formulation enables explicit probabilistic modeling without the need for calculating the generator's Jacobian determinant or performing complex latent inference during training. This method provides a flexible way to add a probabilistic layer to existing generative architectures.
Long Document Summarization with Top-Down and Bottom-Up Representation Inference
In this work, Nijkamp contributed to a new inference framework for text summarization that moves beyond the purely bottom-up approach of standard Transformer encoders. The proposed model assumes a hierarchical latent structure where top-level representations capture long-range dependencies at a coarser scale, while bottom-up processes handle token-level details. This dual-directional inference addresses the quadratic complexity of self-attention and improves the model's ability to condense long documents while retaining critical information.
Generative Hierarchical Learning of Sparse FRAME Models
This early-career research involved the development of hierarchical random field models. Nijkamp participated in creating a model that decomposes the sparse FRAME framework into multiple parts capable of shifting in location, scale, and rotation. This resulted in a hierarchical deformable template that could be trained using an EM-type algorithm. The work was foundational in exploring how generative models can learn to represent complex objects through a hierarchy of parts and their spatial relationships.
Profile updated
| Paper | Venue | Year |
|---|---|---|
| Learning Probabilistic Models from Generator Latent Spaces with Hat EBMGitHubpoint0bar1/ | NeurIPS | 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