Justin Wong

Justin Wong

6 previous affiliations
8Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Justin Wong focuses on machine learning for repetitive optimization, software systems, and logistics. His research investigates the automatic detection and exploitation of approximate symmetries in data-driven optimizers, with a particular emphasis on scaling formal methods and improving the reliability and efficiency of generative models. His work spans the intersection of formal verification, reinforcement learning, and systems design for large-scale language and vision models.

Research Trajectory

Wong’s research trajectory reflects a transition from the rigorous constraints of formal verification to the optimization of large-scale machine learning systems. During his tenure as a research assistant at Columbia University (2019–2020), he focused on Neurosymbolic Integration for Reliable Program Synthesis, specifically designing machine learning techniques to automate deductive program verification. This early work sought to bridge the gap between the "fuzzy" nature of human intent and the rigid requirements of formal software systems, aiming to scale formal methods to industrial-level software.

Upon joining UC Berkeley for his doctoral studies, Wong expanded his focus to repetitive optimization problems found in logistics and software systems. This research involves the development of data-driven optimizers that can automatically detect and exploit approximate symmetries. A notable project from this period is Ashera, an Optimization Modulo Theory (OMT) solver designed for complex scheduling tasks such as the multi-agent Traveling Salesman Problem and multi-resource task Directed Acyclic Graph (DAG) scheduling. This work aligns with broader interests in Critical Path Prioritization for Parallel Execution, where execution time is dictated by dependent task sequences.

In recent years, Wong’s work has increasingly addressed the challenges of Large Language Models (LLMs) and generative AI. This includes research into Aligning Internal Model Knowledge with External Token Generation and improving the diversity of generative outputs. His research also explores the systems-level challenges of LLMs, such as Preemptive and Predictive Scheduling for LLM Serving, which aims to mitigate Head-of-Line blocking in heterogeneous request environments. His most recent work extends into the scaling of reasoning models through reinforcement learning and the benchmarking of video generation models as world models.

Current Directions

Wong’s current research is characterized by three primary pillars: the diversification of generative model outputs, the synthesis of programs for specialized domains, and the optimization of serving engines for agentic workflows.

A significant portion of his current work addresses the "regional dialect" problem in program synthesis, where LLMs struggle with Program Synthesis for Low-Resource Domain-Specific Languages. By developing synthetic programming elicitation techniques, he aims to improve model performance on niche, proprietary, or emerging languages used in formal verification and industrial automation. Additionally, he is investigating Enforcing Structural Constraints on Language Model Outputs to ensure that probabilistic model outputs adhere to the deterministic requirements of formal compilers and interpreters.

In collaboration with FAIR, Wong is also exploring the use of Language Models as co-creativity companions, specifically for long-form story writing. This involves fine-tuning diversity-dedicated suggestion models to provide creative and novel plot suggestions, moving beyond the standard objective of maximizing likelihood to prioritize narrative variety and coherence.

Representative Work

SimpleStrat: Diversifying Language Model Generation with Stratification introduces a training-free sampling method designed to increase the diversity of LLM responses. Traditional methods like temperature scaling often sacrifice output quality for variety. SimpleStrat instead uses the model itself to partition the solution space into "strata" or categories, ensuring more balanced coverage of the answer space. The method achieves a significant reduction in KL Divergence and up to a 4x improvement in recall on diverse tasks, effectively reducing distributional bias without the typical degradation in quality associated with high-entropy sampling.

In Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages, Wong and his collaborators address the lack of training data for niche domain-specific languages (DSLs). The research proposes a framework for eliciting programming knowledge from LLMs for languages that are underrepresented in their training corpora. This approach allows models to generate syntactically correct and logically sound code in specialized formal verification and industrial languages, bridging the gap between general-purpose programming fluency and domain-specific requirements.

Stylus: Automatic Adapter Selection for Diffusion Models presents a framework for automatically selecting and combining multiple fine-tuned adapters, such as Low-Rank Adaptations (LoRAs), to enhance image generation. The system utilizes a three-stage pipeline—Refine, Retrieve, and Compose—to transform standard diffusion models into high-fidelity engines. This approach allows for the production of diverse, prompt-aligned images that significantly outperform base models in human preference evaluations by effectively managing the composition of specialized model weights.

The Wisdom of Hindsight Makes Language Models Better Instruction Followers explores alternatives to Reinforcement Learning from Human Feedback (RLHF) for aligning LLMs with human instructions. The research demonstrates that using hindsight—relabeling "failed" attempts as successful examples of different instructions—can effectively train models to follow complex prompts. This method avoids the sensitivity and compute requirements of training separate reward and value networks, providing a more stable and efficient path toward model alignment.

DeepScaleR: Effective RL Scaling of Reasoning Models via Iterative Context Lengthening investigates the efficiency of reinforcement learning for scaling the reasoning abilities of smaller language models. Wong contributed to the development of an iterative context lengthening strategy that begins with shorter context windows and progressively extends them during training. This method allows a 1.5B parameter model to achieve significant reasoning improvements, suggesting that RL-based scaling can be made effective even at modest model scales and compute budgets.

Wong also participated in the development of Autellix: An Efficient Serving Engine for LLM Agents as General Programs. This work treats agentic workflows, such as Monte Carlo Tree Search (MCTS) or ReAct, as integrated programs rather than isolated inference requests. By optimizing for program-level scheduling and data locality, the engine achieves substantial throughput improvements over standard serving systems like vLLM. This research highlights the importance of systems-level optimization in supporting the next generation of autonomous AI agents.

Profile updated

See something wrong? Report a mistake