Shayan Shirahmad Gale Bagi
Research Subjects
Shayan Shirahmad Gale Bagi has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
- Behzad Moshiri
School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran
2 shared publications - Amir Hossein Ashouri
University of Toronto Canada
1 shared publication - Bryan Chan
Huawei Technologies R&D Canada
1 shared publication - Hossein Gharaee Garakani
Department of Information Technology, ICT Research Institute, Tehran, Iran
1 shared publication - Ibrahim Saidoun
Huawei Technologies R&D Canada
1 shared publication - Jonathan Zl Zhao
Huawei Technologies R&D Canada
1 shared publication
Latest Publications
- 22 August 2026
- Published by Springer Nature in Machine Learning
- Vol. 115 (9)
Modeling Soft Intervention Effects for Implicit Causal Representation Learning
- 22 August 2026
- Published by Springer Nature in Machine Learning
- Vol. 115 (9)
Modeling Soft Intervention Effects for Implicit Causal Representation Learning
- Open Access
- 7 August 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 23 (3) , 1-26
Protean Compiler: An Agile Framework to Drive Fine-grain Phase Ordering
The phase ordering problem has been a long-standing challenge since the late 1970s, yet it remains an open problem due to having a vast optimization space and an unbounded nature, making it an open-ended problem without a finite solution; one can limit the scope by reducing the number and the length of optimizations. Traditionally, such locally optimized decisions are made by hand-coded algorithms tuned for a small number of benchmarks, often requiring significant effort to be retuned when the benchmark suite changes. In the past 20 years, Machine Learning has been employed to construct performance models to improve the selection and ordering of compiler optimizations; however, the approaches are not baked into the compiler seamlessly and have never been leveraged at a fine-grained scope of code segments. This article presents Protean Compiler — an agile framework to augment LLVM with built-in phase-ordering capabilities at a fine-grained scope. The framework also comprises a complete library of more than 140 handcrafted static feature collection methods at varying scopes, and the experimental results showcase speedup gains of up to 4.1% on average and up to 15.7% on select CBench applications relative to LLVM’s -O3 , by just incurring a few extra seconds of build time on CBench. Additionally, Protean compiler can speed up SPEC CPU 2017 (Integer suite) by an average of 1% and up to 6.4% on selected benchmarks. Our framework supports parallel compilation and a built-in recommender system to speed up the search and reduce build-time overhead. Protean compiler allows for easy integration with third-party ML frameworks and other Large Language Models, and two applications of this two-step optimization show a gain of 10.1% and 8.5% speedup w.r.t. -O3 on CBench’s Susan and Jpeg applications. Protean compiler is seamlessly integrated into LLVM and can be used as a new, enhanced, full-fledged compiler. We plan to release the project to the open-source community in the near future 1 .
- 7 August 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 23 (3) , 1-26
Open AccessProtean Compiler: An Agile Framework to Drive Fine-grain Phase Ordering
The phase ordering problem has been a long-standing challenge since the late 1970s, yet it remains an open problem due to having a vast optimization space and an unbounded nature, making it an open-ended problem without a finite solution; one can limit the scope by reducing the number and the length of optimizations. Traditionally, such locally optimized decisions are made by hand-coded algorithms tuned for a small number of benchmarks, often requiring significant effort to be retuned when the benchmark suite changes. In the past 20 years, Machine Learning has been employed to construct performance models to improve the selection and ordering of compiler optimizations; however, the approaches are not baked into the compiler seamlessly and have never been leveraged at a fine-grained scope of code segments. This article presents Protean Compiler — an agile framework to augment LLVM with built-in phase-ordering capabilities at a fine-grained scope. The framework also comprises a complete library of more than 140 handcrafted static feature collection methods at varying scopes, and the experimental results showcase speedup gains of up to 4.1% on average and up to 15.7% on select CBench applications relative to LLVM’s -O3 , by just incurring a few extra seconds of build time on CBench. Additionally, Protean compiler can speed up SPEC CPU 2017 (Integer suite) by an average of 1% and up to 6.4% on selected benchmarks. Our framework supports parallel compilation and a built-in recommender system to speed up the search and reduce build-time overhead. Protean compiler allows for easy integration with third-party ML frameworks and other Large Language Models, and two applications of this two-step optimization show a gain of 10.1% and 8.5% speedup w.r.t. -O3 on CBench’s Susan and Jpeg applications. Protean compiler is seamlessly integrated into LLVM and can be used as a new, enhanced, full-fledged compiler. We plan to release the project to the open-source community in the near future 1 .
- Open Access
- 17 October 2022
- Published by Institution of Engineering and Technology (IET) in IET Intelligent Transport Systems
- Vol. 17 (3) , 606-619
Deep representation of imbalanced spatio‐temporal traffic flow data for traffic accident detection
Automatic detection of traffic accidents has a crucial effect on improving transportation, public safety, and path planning. Many lives can be saved by the consequent decrease in the time between when the accidents occur and when rescue teams are dispatched, and much travelling time can be saved by notifying drivers to select alternative routes. This problem is challenging mainly because of the rareness of accidents and spatial heterogeneity of the environment. This paper studies deep representation of loop detector data using long‐short term memory (LSTM) network for automatic detection of freeway accidents. The LSTM‐based framework increases class separability in the encoded feature space while reducing the dimension of data. The experiments on real accident and loop detector data collected from the Twin Cities Metro freeways of Minnesota demonstrate that deep representation of traffic flow data using LSTM network has the potential to detect freeway accidents in less than 18 min with a true positive rate of 0.71 and a false positive rate of 0.25 which outperforms other competing methods in the same arrangement.
- 17 October 2022
- Published by Institution of Engineering and Technology (IET) in IET Intelligent Transport Systems
- Vol. 17 (3) , 606-619
Open AccessDeep representation of imbalanced spatio‐temporal traffic flow data for traffic accident detection
Automatic detection of traffic accidents has a crucial effect on improving transportation, public safety, and path planning. Many lives can be saved by the consequent decrease in the time between when the accidents occur and when rescue teams are dispatched, and much travelling time can be saved by notifying drivers to select alternative routes. This problem is challenging mainly because of the rareness of accidents and spatial heterogeneity of the environment. This paper studies deep representation of loop detector data using long‐short term memory (LSTM) network for automatic detection of freeway accidents. The LSTM‐based framework increases class separability in the encoded feature space while reducing the dimension of data. The experiments on real accident and loop detector data collected from the Twin Cities Metro freeways of Minnesota demonstrate that deep representation of traffic flow data using LSTM network has the potential to detect freeway accidents in less than 18 min with a true positive rate of 0.71 and a false positive rate of 0.25 which outperforms other competing methods in the same arrangement.
- 11 March 2021
- Published by Springer Nature in International Journal of Intelligent Transportation Systems Research
- Vol. 19 (2) , 389-404
Blind Spot Detection System in Vehicles Using Fusion of Radar Detections and Camera Verification
- 11 March 2021
- Published by Springer Nature in International Journal of Intelligent Transportation Systems Research
- Vol. 19 (2) , 389-404
Blind Spot Detection System in Vehicles Using Fusion of Radar Detections and Camera Verification