Hossein Hajipour

Helmholtz Center for Information Security
2 previous affiliations
5Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Hossein Hajipour focuses on machine learning for software engineering, neural program synthesis, and the security of code generation models. His early work explored generative models for automatic program repair and the reverse-engineering of black-box functions. More recently, he investigates out-of-distribution generalization and the propagation of security vulnerabilities in large language models for code.

Research Trajectory

Beginning around 2019, Hajipour’s research centered on applying deep generative models to automate complex software engineering tasks, with a particular emphasis on handling ambiguity. A major challenge in automatic program repair is that multiple valid code modifications can implement the same functionality, making it difficult to predict a programmer's exact intent. To address this, Hajipour led the development of SampleFix: Learning to Correct Programs by Efficient Sampling of Diverse Fixes (NeurIPS 2020). Formulated as a deep conditional variational autoencoder, this approach learned a distribution over potential fixes, allowing the system to sample functionally diverse corrections for erroneous programs rather than relying on a single deterministic prediction.

Concurrently, Hajipour investigated the interpretability and formal verification of opaque systems. In IReEn: Reverse-Engineering of Black-Box Functions via Iterative Neural Program Synthesis (NeurIPS 2020), he proposed a method to reveal the functionality of black-box agents using only input-output pairs. By iteratively refining a candidate set through neural program synthesis, the work aimed to generate interpretable, high-level program descriptions of black-box behavior, contributing to applications in computer security and software explainability.

As large language models (LLMs) for code generation became increasingly prevalent in AI-assisted programming, Hajipour’s focus shifted toward understanding their limitations, particularly regarding robustness and security. Recognizing that code models often struggle when deployed in environments that differ from their training data, he authored SimSCOOD: Systematic Analysis of Out-of-Distribution Generalization in Fine-tuned Source Code Models (NAACL 2024). This work introduced a systematic approach to simulating out-of-distribution (OOD) scenarios across various dimensions of source code properties, exposing failure modes in state-of-the-art models.

Extending this critical evaluation to security, Hajipour investigated how unsanitized training data from open-source repositories impacts the safety of commercial code generation tools. In the CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Models (SaTML 2024), he developed frameworks to systematically identify how LLMs learn and propagate software faults during the code generation procedure. As the first author across this trajectory, Hajipour has consistently driven the transition from building generative tools for code to rigorously auditing their safety and reliability.

Current Directions

The most recent papers in the evidence address the reliability, safety, and evaluation of large language models deployed for code generation. A primary focus is the systematic auditing of black-box models to identify how unsanitized training data leads to the propagation of security vulnerabilities in AI-assisted programming workflows.

Furthermore, this focus on model limitations under unexpected conditions intersects with the broader research direction of Mitigating Length Extrapolation Failure in Transformers. This area explores how models behave when encountering sequences during inference that exceed their training distributions or context windows—a critical factor in out-of-distribution generalization. Together, these directions aim to establish more rigorous benchmarks and evaluation frameworks to ensure the safe deployment of code-generating LLMs.

Profile updated

See something wrong? Report a mistake