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

Man Ngo

University of Science
1 previous affiliation
4Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Man Ngo focuses on the intersection of deep learning, symbolic reasoning, and out-of-distribution (OOD) generalization. This research explores how mechanisms inspired by human cognition—such as analogy-making and indirection—can be integrated into neural architectures to improve their ability to handle data outside their training distribution. More recently, this work has expanded into the optimization of large language models (LLMs), specifically regarding the integration of symbolic solvers for mathematical reasoning and the efficiency of in-context learning through prompt engineering.

Research Trajectory

The early phase of this research trajectory, spanning 2022 to 2023, was primarily concerned with the structural limitations of standard neural networks when faced with OOD scenarios. During this period, Ngo contributed to the development of frameworks that utilize "indirection"—a mechanism that binds two representations and uses one to refer to the other—to facilitate conceptual abstraction. This work initially focused on performing these operations in the functional space rather than the data space, aiming to mimic the human ability to make analogies. By 2023, this approach evolved into the design of specific architectural modules, such as indirection layers, which use symbolic graph representations to capture internal data relationships more effectively than traditional feed-forward structures.

Starting in 2024, the focus shifted toward the challenges inherent in large language models, particularly their difficulties with precise arithmetic reasoning and the computational costs of prompt optimization. This transition involved moving from general OOD generalization in neural networks to the specific problem of "neuro-symbolic" integration. This work explored how the linguistic strengths of LLMs could be combined with the precision of symbolic solvers to solve complex math word problems. Most recently, in 2025, the research has addressed the sensitivity of LLMs to the ordering of in-context demonstrations, utilizing embedding space analysis to find efficient ways to optimize prompt structures.

Current Directions

Current research efforts are directed toward improving the efficiency and reliability of LLMs in complex reasoning tasks. A significant portion of this work involves the "clustering property" of prompt embeddings, investigating how the positioning of examples within a prompt affects model performance. By identifying patterns in how models embed different permutations of demonstrations, this research seeks to reduce the search space for optimal prompt configurations, making high-performance in-context learning more accessible and less computationally expensive.

Additionally, there is an ongoing interest in the formalization of natural language problems into symbolic forms. This involves not only the development of hybrid model architectures but also the creation of specialized datasets designed to train models in the translation of linguistic context into solvable symbolic equations. This direction maintains the earlier focus on symbolic representation while applying it to the contemporary landscape of generative AI.

Representative Work

Ngo’s contributions are characterized by participation in collaborative projects that bridge theoretical cognitive mechanisms with practical machine learning applications. In 2022, Ngo contributed to the development of the Functional Indirection Neural Estimator for Better Out-of-distribution Generalization. This work hypothesized that OOD generalization could be improved by performing analogy-making in the functional space. The resulting FINE framework was designed to learn compositions of functions, moving away from simple data-space mappings to achieve better performance on unseen distributions.

In 2023, Ngo participated in research that refined these concepts into a more modular format with Improving Out-of-distribution Generalization with Indirection Representations. This project introduced the Indirection Layer (InLay), a generic module that treats input sequences as complete weighted graphs. By mapping data to a symbolic graph with trainable vertices, the InLay module allows various neural architectures to leverage data-independent representations, which the research demonstrated could significantly enhance OOD performance across different tasks.

The shift toward mathematical reasoning was marked by the 2024 paper Math2Sym: A System for Solving Elementary Problems via Large Language Models and Symbolic Solvers. As a co-author, Ngo assisted in developing a system that offloads the arithmetic components of math word problems to symbolic solvers while using LLMs for linguistic comprehension. A key contribution of this work was the introduction of the EMSF dataset, which provided a structured basis for training models to formalize math problems. The study found that fine-tuned models using this hybrid approach could outperform standard LLMs like GPT-3.5 in few-shot mathematical tasks.

Most recently, Ngo contributed to research on prompt optimization in Rapid Selection and Ordering of In-Context Demonstrations via Prompt Embedding Clustering. This work addressed the "factorial nightmare" of finding the optimal order for examples in an LLM prompt. The research team discovered that prompts sharing the same first and last examples tend to cluster in the model's embedding space. By leveraging this property, they introduced a cluster-based search method that significantly reduces the time required to find high-performing example orders, maintaining near-peak performance while reducing search time by over 90%.

Profile updated

See something wrong? Report a mistake