Shin Hwei Tan

Shin Hwei Tan

Concordia University
4 previous affiliations
9Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Shin Hwei Tan focuses on automated program repair, software testing, and vulnerability detection. Early projects explored compiler fuzzing and program transformation for parallel computing platforms, while subsequent research investigates repository-level code repair using large language models and graph-based learning. Currently, Tan develops frameworks that leverage historical patch data and outcome-conditioned reasoning to improve automated debugging systems.

Research Trajectory

Tan’s research trajectory begins with foundational work in program analysis and transformation, gradually moving toward advanced, machine-learning-driven techniques for software testing and automated repair. In 2019, Tan contributed to Automating CUDA Synchronization via Program Transformation, which addressed the intricate challenges of parallel computing mechanisms in GPU programming. Because CUDA synchronization errors are notoriously difficult to detect, this work introduced a general framework that transforms LLVM-level control flow graphs in a semantic-preserving manner. By doing so, the system automatically and correctly places barrier functions, mitigating complex synchronization faults in CUDA kernel functions.

By 2021, Tan’s focus expanded to incorporate deep learning and graph-based representations for software reliability. Participation in Automated conformance testing for JavaScript engines via deep compiler fuzzing explored the use of language models to automatically generate structured JavaScript test code. This approach aimed to detect engine bugs and subtle deviations from the evolving ECMAScript standard, ensuring better interoperability across platforms. In parallel, Tan collaborated on Combining Graph-Based Learning With Automated Data Collection for Code Vulnerability Detection. Recognizing that traditional methods often treat programs as simple sequential text or untyped graphs, this project developed a learning framework that models source code as relational graphs. By utilizing graph neural networks to capture complex control, data, and call dependencies, the framework achieves a more precise representation of program syntax and semantics for vulnerability detection.

During this period, Tan also directed research in automated program repair, addressing the limitations of existing tools in handling complex, multi-line bugs and providing human-readable explanations. In CrossFix: Collaborative bug fixing by recommending similar bugs, Tan introduced a system that leverages cross-project collective knowledge by recommending resolved GitHub issues from external projects that exhibit similar defects. This approach provides developers with the necessary context and patches to resolve open issues more effectively. This work contributes to the research direction Coordinated Multi File Reasoning for Repository Level Code Repair and the area of Overfitting in Automated Program Repair. The methodology also intersects with the broader area of Language Agnostic Representations for Cross Language Portability and work in the area of Multimodal Fusion for Source Code Representation.

Building on these foundations, Tan's subsequent work integrates large language models with structured reasoning to tackle complex software defects at scale. In From Historical Patches to Repair Plans: Outcome-Conditioned Reasoning for Repository-Level Program Repair, Tan and collaborators developed a framework that learns directly from a project's historical data. Rather than generating fixes from scratch, the system identifies similar past bugs and reverse-engineers the reasoning behind their successful patches. This step-wise plan then guides a language model through the current repair process, achieving higher success rates with significantly less compute than traditional search-based methods. This research advances the area of Grounding Code Intent with Natural Language Metadata and the research direction Goal Directed Backward Reasoning for Robust Planning.

Current Directions

The most recent work in the evidence, dating to 2026, investigates the intersection of large language models and structured planning for repository-level program repair. A primary focus is outcome-conditioned reasoning, where systems learn to extract step-by-step repair plans from historical project data rather than relying on naive generation or exhaustive search. By reverse-engineering the logic behind successful past patches, this approach aims to guide autonomous agents through complex debugging tasks more efficiently. This evolving agenda highlights a broader interest in combining natural language metadata with formal code semantics, ultimately enabling more robust, context-aware automated software engineering tools that operate across multiple files and repositories.

Profile updated

See something wrong? Report a mistake