Tse-Hsun Chen
· 2 previous affiliations
- Concordia UniversityCurrent
- Current
- Associate Professor · 2017–2025
- Queen's University2012–2016
- PhD student · 2012–2016
Research Overview
Tse-Hsun Chen focuses on software engineering, automated log analysis, and performance optimization for large-scale systems. His trajectory spans early work on object-relational mapping frameworks and load testing to recent advancements in machine learning for software maintenance. Currently, his research investigates repository-level program repair and the application of large language models to automated code remediation.
Research Trajectory
Chen’s early research extensively investigated the performance and maintenance challenges associated with Object-Relational Mapping (ORM) frameworks. Because ORM frameworks operate at the data access level, they often lack context about how retrieved data will ultimately be used by the application, which can lead to significant performance bottlenecks in large-scale systems. He introduced methods for Detecting performance anti-patterns for applications developed using object-relational mapping. This was followed by An empirical study on the practice of maintaining object-relational mapping code in Java systems, which examined how developers handle these database access abstractions in practice. Recognizing that ORM frameworks often retrieve suboptimal or excessive data sets, he developed techniques for Finding and Evaluating the Performance Impact of Redundant Data Access for Applications that are Developed Using Object-Relational Mapping Frameworks. To further assist developers in managing database-centric web applications, he created CacheOptimizer: helping developers configure caching frameworks for hibernate-based database-centric web applications.
Expanding his focus on system performance and software quality, Chen explored industrial-scale testing and defect prediction. He documented the practical challenges of simulating millions of users and analyzing terabytes of data in Analytics-Driven Load Testing: An Industrial Experience Report on Load Testing of Large-Scale Systems, noting that load-related problems directly affect customer-perceived quality. In parallel, he investigated the conceptual concerns of software systems—the technical concepts reflecting business logic that are often ignored by traditional code metrics. He proposed new evaluation methods in Topic-based software defect explanation, demonstrating that certain technical topics are inherently more defect-prone than others and that topic-based metrics provide additional explanatory power over baseline cohesion and coupling metrics.
A major theme in Chen’s subsequent work is the automated analysis and optimization of software logs, which are critical for diagnosing field failures and understanding runtime behaviors. He participated in research addressing the fundamental question of Where Shall We Log? Studying and Suggesting Logging Locations in Code Blocks. Building on this, he contributed to DeepLV: Suggesting Log Levels Using Ordinal Based Neural Networks. This work helps developers select appropriate severity levels for logging statements, balancing the need for critical execution information against the maintenance overhead and user confusion caused by overly verbose logging. Later, he guided the development of Logram: Efficient Log Parsing Using $n$n-Gram Dictionaries, an automated approach designed to convert unstructured raw logs into structured data even when the static source code templates are inaccessible. His team also explored the nuances of log parsing in Did We Miss Something Important? Studying and Exploring Variable-Aware Log Abstraction, demonstrating that dynamic variables abstracted away by traditional parsers often contain critical information for downstream analysis tasks.
Concurrently, Chen’s research group tackled challenges in software evolution and the application of machine learning to software engineering. This work intersects with the research direction of Fine-Grained Code Retrieval and Microclone Detection and the broader area of Mitigating Architectural Drift and Software Erosion. To help developers navigate the fast-paced evolution of mobile platforms, his lab developed A3: Assisting Android API Migrations Using Code Examples. This system leverages code examples to guide developers on exactly how to migrate deprecated API calls, bridging the gap between knowing what to migrate and understanding the implementation details. His team also critically evaluated the foundational tools of machine learning in software engineering, as detailed in Can pre-trained code embeddings improve model performance? Revisiting the use of code embeddings in software engineering tasks. This study investigated whether dense vector representations of code readily transfer to downstream tasks they were not explicitly trained for, contrasting their utility with similar embeddings in natural language processing.
Most recently, Chen has focused on repository-level program repair using advanced reasoning frameworks. He led the research on From Historical Patches to Repair Plans: Outcome-Conditioned Reasoning for Repository-Level Program Repair. This work introduces ConRAD (Conditional Reasoning Distillation), a framework that distills reasoning from historical bug fixes to generate step-wise repair plans. By reverse-engineering the logic of past successful patches, the system guides large language models through current repairs, achieving higher success rates with significantly less computational overhead than traditional search-based methods.
Current Directions
The most recent papers in the evidence address automated program repair and advanced log abstraction techniques. Recent work investigates how large language models can be guided by historical project data to perform repository-level program repair. By reverse-engineering the reasoning behind successful past patches, this research aims to create structured, step-wise repair plans that improve the success rates of automated fixes while reducing the compute required by traditional search-based methods. Additionally, ongoing efforts in log analysis explore variable-aware abstraction methods, seeking to preserve and utilize the dynamic runtime information embedded within software logs to improve the accuracy and utility of automated system diagnostics.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake