Jinman Zhao
· 4 previous affiliations
- Morph TechnologiesSince 2024
- Machine Learning Scientist · Since 2024
- Amazon (United States)2021–2024
- Applied Scientist · 2021–2024
- University of Wisconsin–Madison2015–2021
- PhD student · 2015–2021
- Nanjing University2011–2015
- Undergrad student · 2011–2015
1 other author named Jinman Zhao: Jinman Zhao (University of Toronto · 22 papers)
Research Overview
Jinman Zhao focuses on the intersection of machine learning, programming languages, and natural language processing, with an emphasis on large language models for code. His trajectory spans early work in subword embeddings and neural-augmented static analysis to recent advancements in code generation and model alignment. Currently, he investigates techniques for improving the contextual awareness, robustness, and sequence-level optimization of foundation models.
Research Trajectory
Jinman Zhao’s research trajectory begins with early work at the intersection of machine learning, program analysis, and natural language processing. In 2018, he introduced Neural-Augmented Static Analysis of Android Communication, which proposed training neural networks to estimate the probability of communication links between applications. By designing an architecture that encodes abstractions of communicating objects, this work aimed to reduce the excessive false-positive rates inherent in scalable static analysis for mobile security. Concurrently, he addressed the challenge of out-of-vocabulary words in natural language processing. He developed Generalizing Word Embeddings using Bag of Subwords, a fast-to-train model that generates vectors for rare or unseen words by treating them as bags of character n-grams, demonstrating strong performance across 23 languages in morphosyntactic attribute prediction. He later expanded this approach into a probabilistic framework with PBoS: Probabilistic Bag-of-Subwords for Generalizing Word Embedding. Relying solely on word spellings, PBoS simultaneously models subword segmentation and computes compositional embeddings based on likelihood.
During this same period, Zhao also contributed to systems and theoretical computer science. He collaborated on theoretical analyses of distributed machine learning, participating in the study of The Effect of Network Width on the Performance of Large-batch Training. This work provided theoretical evidence that, for a fixed number of parameters, wider networks are more amenable to fast large-batch training than deeper ones, advancing the research areas of The Efficiency Wall of Large Batch Training and Overcoming the Communication Wall in Distributed Training. Additionally, he guided theoretical research on combinatorial optimization, establishing a critical uniqueness threshold for a unified model bridging hardcore and monomer-dimer models in Counting hypergraph matchings up to uniqueness threshold.
Moving into the 2020s, Zhao’s focus shifted heavily toward machine learning for code and the development of code-aware sequence models. He explored methods for incorporating structural priors into neural architectures, as seen in Code Prediction by Feeding Trees to Transformers. By making the Transformer architecture aware of the syntactic structure of code, this work improved the accuracy of next-token prediction for autocomplete systems. He subsequently investigated the contextual limitations of code models. With collaborators, he demonstrated in Better Context Makes Better Code Language Models: A Case Study on Function Call Argument Completion that incorporating non-local context from external dependencies significantly enhances program synthesis. To support this, the research involved curating a dataset of Python packages and utilizing program analyzers to extract repository-level information.
A major theme in his recent trajectory is the interaction between large language models and flawed or incomplete code. He contributed to Large Language Models of Code Fail at Completing Code with Potential Bugs, which evaluated model vulnerabilities when processing imperfect inputs, advancing the research direction of Bug Detection via Statistical Code Naturalness. Building on these insights, he helped develop methods for Fine-tuning Language Models for Joint Rewriting and Completion of Code with Potential Bugs. By treating drafty, partial code as implementation hints, this work explored both one-pass generation and multi-pass iterative refinement to complete functional programs, contributing to the broader area of Guiding Code Evolution with Natural Language Intent.
Most recently, Zhao has focused on the alignment and optimization of foundation models. He participated in the development of Sequence-level Large Language Model Training with Contrastive Preference Optimization, a 2025 study that bridges the gap between token-level prediction and sequence-level generation. By utilizing automatically generated negative samples, this approach improves model performance in instruction-following and text generation tasks without relying on expensive human-labeled data.
Current Directions
The most recent papers in the evidence indicate a focus on the alignment, robustness, and sequence-level optimization of large language models. Recent work investigates how to move beyond standard token-level autoregressive training by employing contrastive preference optimization, which leverages synthetic negative samples to improve instruction-following and generation quality. Additionally, ongoing research addresses the practical challenges of deploying code language models in software engineering contexts. This includes developing fine-tuning strategies that allow models to jointly rewrite and complete drafty or potentially buggy code, treating imperfect inputs as semantic hints rather than strict constraints. These directions highlight a broader interest in making foundation models more context-aware, structurally grounded, and resilient to noisy or incomplete prompts.
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