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

Ravi Mangal

Colorado State University
3 previous affiliations
35Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Ravi Mangal focuses on program analysis, formal verification, and the security of machine learning systems. His early work developed scalable techniques for interprocedural static analysis and user-guided program reasoning. More recently, his research investigates the certified robustness of neural networks, safe control for autonomous agents, and the use of large language models for secure code generation.

Research Trajectory

Mangal’s early research concentrated on improving the scalability and precision of static program analysis. In 2014, he investigated the theoretical foundations of interprocedural analysis, publishing A Correspondence between Two Approaches to Interprocedural Analysis in the Presence of Join. This work established that the summary-based (functional) approach and the call-strings (k-CFA) approach can be rendered equivalent through a form of garbage collection, even in the presence of lossy joins. Concurrently, he contributed to practical scaling techniques, helping to develop a hybrid framework in Hybrid top-down and bottom-up interprocedural analysis that combined the strengths of both methods to improve summary reuse and instantiation. He also explored logic-based program analysis, collaborating on On abstraction refinement for program analyses in Datalog, which introduced a complete, solver-independent counterexample-guided abstraction refinement approach for Datalog.

Building on these foundations, Mangal sought to make program analysis more adaptable to developer intent. He introduced EUGENE in A user-guided approach to program analysis, formulating user-guided analysis as an optimization problem that balances hard rules for soundness with soft rules capturing user preferences and acceptable approximations. This optimization perspective was further expanded in Query-guided maximum satisfiability, where he and his collaborators proposed Q-MaxSAT, an iterative algorithm designed to compute assignments for specific subsets of variables, a technique applicable to program reasoning and information retrieval.

As machine learning systems became more prevalent, Mangal’s focus shifted toward the formal verification of models that operate in probabilistic or continuous environments. His 2021 dissertation, Reasoning about programs in statistically modeled first-order environments, proposed a framework for treating program inputs as samples drawn from generative statistical models, enabling formal reasoning about systems like neural networks that are not expected to be correct on all conceivable inputs. This perspective was grounded in earlier work such as Probabilistic Lipschitz Analysis of Neural Networks, where he defined probabilistic robustness based on the likelihood that a network demonstrates k-Lipschitz continuity for randomly generated input pairs.

Mangal subsequently deepened his investigation into the certified robustness of neural networks. He explored dynamic verification in A Cascade of Checkers for Run-time Certification of Local Robustness, developing methods to verify model behavior during execution. He also critically examined the assumptions underlying adversarial defenses. In Is Certifying 𝓁Robustness Still Worthwhile?, he re-evaluated the practical utility of bounding adversarial perturbations, arguing that certification remains a crucial baseline for security-critical applications. This work contributed significantly to the research direction of Deterministic Robustness Certification via Lipschitz Bounded Networks. Around the same time, he investigated the limitations of ensemble methods in On the Perils of Cascading Robust Classifiers, demonstrating that the robustness certifiers used in cascading black-box ensembles are often mathematically unsound. This finding advanced the broader area of Balancing Accuracy and Diversity in Predictive Ensembles.

Most recently, Mangal has addressed the safety and interpretability of large-scale foundation models. In Concept-Based Analysis of Neural Networks via Vision-Language Models, he leveraged multimodal foundation models to reason about vision models, designing a logical specification language to formalize human-understandable concepts. He also oversaw research into safe autonomous control, presenting Conformal Safety Shielding for Imperfect-Perception Agents, which utilized conformal prediction to restrict an agent's actions at run-time, guaranteeing safety despite high-dimensional perception errors.

His recent collaborations also tackle the intersection of large language models (LLMs) and code security. In A Mixture of Linear Corrections Generates Secure Code, he used representation engineering to show that LLMs internally encode the concepts necessary to distinguish vulnerable from secure code, allowing for targeted interventions during generation. He further contributed to SecCodePRM: A Process Reward Model for Code Security, which shifted vulnerability detection from program-level labels to granular, step-by-step security scores, aligning with ongoing work in the area of Bridging the Inter-Procedural Context Gap in Code Analysis. Finally, he has worked to formalize the study of model internals in Validating Mechanistic Interpretations: An Axiomatic Approach, introducing a statistical method to prove whether proposed human-readable circuits accurately reflect a model's logic, contributing to the research direction of Mechanistic Circuits and the Challenge of Model Scale.

Current Directions

The most recent papers in the evidence indicate that Mangal’s current research is heavily focused on the security, safety, and interpretability of modern foundation models. A major theme is the secure generation of code using large language models. Rather than relying solely on prompting, his recent work investigates the internal representations of LLMs to identify how they encode vulnerabilities, and utilizes process reward models to provide real-time, step-by-step security feedback during the coding process.

Additionally, Mangal is actively working on formalizing mechanistic interpretability. By developing axiomatic frameworks to validate whether human-readable "circuits" faithfully represent a neural network's internal logic, he aims to move interpretability from heuristic observations to rigorous reverse engineering. This is complemented by his ongoing interest in safe control for autonomous systems, where he investigates statistical guarantees—such as conformal prediction—to ensure that agents operating with imperfect, high-dimensional perception can maintain run-time safety.

Profile updated

See something wrong? Report a mistake