DRDara Rahmati

Dara Rahmati

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Dara Rahmati has a total of 57 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Exploiting Weight Clustering in Stochastic Computing CNN Accelerators

    by Amirhossein Sadr, Dara Rahmati

    Convolutional neural networks (CNNs) demand extensive computational resources, particularly within convolutional layers where a vast number of multiply-and-accumulate (MAC) operations dominate execution time and hardware cost. Stochastic computing (SC) has emerged as a compelling low-cost alternative to conventional binary arithmetic for CNN acceleration, offering substantially reduced hardware footprint and power consumption. However, SC-based accelerators continue to face challenges related to long processing times imposed by bit-stream operations. In this work, we propose a weight consolidation methodology that applies K-means clustering to the filter channel weights of convolutional layers, strategically reducing the number of distinct weight values. When deployed on differential SC-based architectures that store weight differences in sorted order, this consolidation dramatically increases the occurrence of zero-valued entries in the weight buffer. We further introduce a run-length encoding (RLE) scheme for the weight buffer that exploits this increased sparsity, yielding simultaneous reductions in both computation cycles and hardware area. Comprehensive evaluations on LeNet-5 (MNIST) and AlexNet (CIFAR-10) demonstrate that the proposed approach achieves speedups of up to 4.27× and 13.02× over state-of-the-art differential and non-differential architectures, respectively, on LeNet-5, with hardware area reductions of 18%–25%. On AlexNet, speedups of 1.32× and 1.67× are attained alongside area reductions of 23%–25%, all while preserving competitive classification accuracy. Energy is reduced by 41%–83% on LeNet-5 and by 34%–48% on AlexNet relative to the differential and non-differential baselines.

  • Open Access

    A Novel Interaction-aware Gated Type-2 Fuzzy Broad Learning System for Multi-Dimensional Classification

    by Amirhossein Sadr, Kowsar Pakzad, Dara Rahmati, Mohammad Mehdi Ebadzadeh

    Broad Learning Systems (BLS) have emerged as efficient alternatives to deep networks, offering fast training through closed-form solutions while maintaining competitive performance. Fuzzy Broad Learning Systems (FBLS) extend BLS by incorporating fuzzy rule-based subsystems to handle uncertainty and enhance interpretability. However, existing FBLS variants construct separable fuzzy rules that assume feature independence, limiting their ability to model complex interactions among input variables. Moreover, they employ fixed antecedent structures that treat all features uniformly, leading to rule explosion in high-dimensional settings and reduced generalization capability. In this paper, we introduce IGT2-FBLS, a novel interaction-aware and gated interval type-2 fuzzy broad learning system that addresses these limitations by constructing non separable and unstructured fuzzy rules with adaptive shapes for multi-dimensional classification. Furthermore, we propose an adaptive self-organizing mechanism that incrementally expands the model by adding new fuzzy subsystems based on statistical error thresholds, while a Levenberg–Marquardt-based fine-tuning strategy ensures continuous adaptation to evolving data distributions. Extensive experiments across 13 benchmark datasets- spanning low-dimensional tabular data, high-dimensional images, and biomedical 3D volumes-demonstrate that IGT2-FBLS consistently outperforms existing BLS variants and achieves competitive or superior performance compared to deep learning architectures, while using orders of magnitude fewer parameters and requiring significantly less training time.

  • Open Access

    Automated Stock Trading Using Deep Reinforcement Learning and Fused xLSTM Networks

    by Nima Soltani, Amirhossein Sadr, Aida Pakniyat, Kowsar Pakzad, Dara Rahmati

    Automated stock trading presents unique challenges due to the non-stationarity, high volatility, and complex external influences inherent in financial markets, which traditional linear models struggle to capture. Deep learning methods-particularly recurrent neural networks such as Long Short-Term Memory (LSTM)-have improved forecasting by modeling nonlinear temporal dependencies, but they still face limitations in retaining information over long horizons. Extended LSTM (xLSTM) addresses this by introducing enhanced gating mechanisms and memory structures that more effectively capture both short-term fluctuations and long-term trends. Meanwhile, Deep Reinforcement Learning (DRL) algorithms like Proximal Policy Optimization (PPO) have shown strong performance in formulating adaptive trading strategies through stable policy optimization. In this paper, we propose a Fused xLSTM architecture (F-xLSTM) and synergistically integrate the enhanced temporal feature extraction capabilities of it with the robust decision-making strengths of PPO. Our method feeds F-xLSTM-generated forecasts directly into a PPO agent, enabling the model to learn trading policies that adapt dynamically to evolving market conditions. The framework is rigorously evaluated on the Dow Jones Industrial index (DJI) in the US, the Financial Times Stock Exchange 100 (FTSE 100) in the UK, and S&P BSE Sensex Index (SENSEX) in India, benchmarking against both traditional and state-of-the-art baselines. Numerical results demonstrate that our hybrid approach achieves substantially higher cumulative returns, maximum earning rate, and average profitability per trade. On the DJI, our framework attains a cumulative return of 89.43% and a Sharpe ratio of 1.395, surpassing the strongest DRL baseline by 7.56 and 0.246 points, respectively, while simultaneously reducing the maximum pullback from 29.24% to 15.42%. Consistent improvements are observed on the FTSE 100 and SENSEX, confirming the framework's superior performance and trading efficacy across diverse financial environments.

  • Open Access

    Solving Black-Scholes PDE for Option Pricing: A Unified LS-SVR-Based Hybrid Approach

    by Amirhossein Sadr, Hana Lashkari, Aida Pakniyat, Dara Rahmati

    Option pricing is a fundamental challenge in quantitative finance. The Black-Scholes-Merton (BSM) model provides a partial differential equation (PDE) for pricing European options, while American options, due to their early exercise feature, require numerical methods like the Longstaff-Schwartz Method (LSM). This paper presents a comprehensive comparison of two distinct machine learning paradigms—the data-driven approach and the physics-informed approach—to solve the Black-Scholes PDE. We apply these paradigms to three models: Least Squares Support Vector Regression (LS-SVR), Feedforward Neural Networks, and a novel hybrid approach utilizing the strengths of both. The data-driven approach trains models on a pre-computed dataset derived from analytical and LSM solutions, while the physics-informed approach directly embeds the PDE and its boundary conditions into the model’s loss function. We provide a rigorous mathematical derivation for each method, including a detailed proof of the positive semi-definiteness of the RBF kernel. Our experimental results evaluate the performance of all models against established benchmarks, highlighting the strengths of each paradigm in terms of accuracy, computational efficiency, and physical consistency. The hybrid model consistently demonstrates superior performance, bridging the gap between computational efficiency and non-linear approximation capabilities.

  • Efficient Modular Addition for FPGA-Based Cryptographic Operations

    by Saeid Gorgin, Amirhossein Sadr, Dara Rahmati, Ali Jahanian, Jungrae Kim

    Modular adders are essential components in finite field arithmetic, serving as key components in public-key cryptographic algorithms like elliptic curve cryptography (ECC) and postquantum cryptography (PQC). Naïve implementation of modular adders, due to two cascaded adders with large operand bit widths struggle to meet high-frequency requirements. On the other hand, parallel implementations, while faster, demand excessive resources and power, making them impractical for many applications. This article introduces a novel modular addition algorithm leveraging a novel operand representation based on the two-valued digit encoding (Twit). In this approach, each operand is represented as an $\boldsymbol {n}$ -bit unsigned number augmented by a twit value $\boldsymbol {\{0, \pm \delta \}}$ . The algorithm efficiently computes modular addition by speculating and dynamically adjusting the twit value in the result, achieving both computational and resource efficiency. The proposed design has been implemented on a Xilinx 7-series field-programmable gate array (FPGA), demonstrating superior performance in achieving high operating frequencies (i.e., 8%–36% depending on operand bit widths) while significantly reducing resource utilization (i.e., >36%). In addition to extensive analytical and synthesis-based evaluations, we further demonstrate the benefits of the proposed adder within application-level cryptographic datapaths (ECC and PQC).

  • Open Access

    HyperDbg: Reinventing Hardware-Assisted Debugging

    by Mohammad Sina Karvandi, Mohammad Hosein Gholamrezaei, Saleh Khalaj Monfared, Soroush Medi, Behrooz Abbassi, Ali Amini, Reza Mortazavi, Saeid Gogin, Dara Rahmati, Michael Schwarz

    Software analysis, debugging, and reverse engineering have a crucial impact in today’s software industry. Efficient and stealthy debuggers are especially relevant for malware analysis. However, existing debugging platforms fail to address a transparent, effective, and high-performance low-level debugger due to their detectable fingerprints, complexity, and implementation restrictions. In this paper, we present HyperDbg, a new hypervisor-assisted debugger for high-performance and stealthy debugging of user and kernel applications. To accomplish this, HyperDbg relies on state-of-the-art hardware features available in today’s CPUs, such as VT-x and extended page tables. In contrast to other widely used existing debuggers, we design HyperDbg using a custom hypervisor, making it independent of OS functionality or API. We propose hardware-based instruction-level emulation and OS-level API hooking via extended page tables to increase the stealthiness. Our results of the dynamic analysis of 10,853 malware samples show that HyperDbg’s stealthiness allows debugging on average 22% and 26% more samples than WinDbg and x64dbg, respectively. Moreover, in contrast to existing debuggers, HyperDbg is not detected by any of the 13 tested packers and protectors. We improve the performance over other debuggers by deploying a VMX-compatible script engine, eliminating unnecessary context switches. Our experiment on three concrete debugging scenarios shows that compared to WinDbg as the only kernel debugger, HyperDbg performs step-in, conditional breaks, and syscall recording, 2.98x, 1319x, and 2018x faster, respectively. We finally show real-world applications, such as a 0-day analysis, structure reconstruction for reverse engineering, software performance analysis, and code-coverage analysis.


  • Open Access

    ai-corona: Radiologist-assistant deep learning framework for COVID-19 diagnosis in chest CT scans

    by Mehdi Yousefzadeh, Parsa Esfahanian, Seyed Mohammad Sadegh Movahed, Saeid Gorgin, Dara Rahmati, Atefeh Abedini, Seyed Alireza Nadji, Sara Haseli, Mehrdad Bakhshayesh Karam, Arda Kiani, et al.

    The development of medical assisting tools based on artificial intelligence advances is essential in the global fight against COVID-19 outbreak and the future of medical systems. In this study, we introduceai-corona, a radiologist-assistant deep learning framework for COVID-19 infection diagnosis using chest CT scans. Our framework incorporates an EfficientNetB3-based feature extractor. We employed three datasets; the CC-CCII set, the MasihDaneshvari Hospital (MDH) cohort, and the MosMedData cohort. Overall, these datasets constitute 7184 scans from 5693 subjects and include the COVID-19, non-COVID abnormal (NCA), common pneumonia (CP), non-pneumonia, and Normal classes. We evaluateai-coronaon test sets from the CC-CCII set, MDH cohort, and the entirety of the MosMedData cohort, for which it gained AUC scores of 0.997, 0.989, and 0.954, respectively. Our results indicatesai-coronaoutperforms all the alternative models. Lastly, our framework’s diagnosis capabilities were evaluated as assistant to several experts. Accordingly, We observed an increase in both speed and accuracy of expert diagnosis when incorporatingai-corona’s assistance.


  • Open Access

    A Way Around UMIP and Descriptor-Table Exiting via TSX-based Side-Channel

    by Mohammad Sina Karvandi, Saleh Khalaj Monfared, Mohammad Sina Kiarostami, Dara Rahmati, Saeid Gorgin

    Nowadays, in operating systems, numerous protection mechanisms prevent or limit the user-mode applicationsto access the kernels internal information. This is regularlycarried out by software-based defenses such as Address Space Layout Randomization (ASLR) and Kernel ASLR(KASLR). They play pronounced roles when the security of sandboxed applications such as Web-browser are considered.Armed with arbitrary write access in the kernel memory, if these protections are bypassed, an adversary could find a suitable where to write in order to get an elevation of privilege or code execution in ring 0. In this paper, we introduce a reliable method based on Transactional Synchronization Extensions (TSX) side-channel leakage to reveal the address of the Global Descriptor Table (GDT) and Interrupt Descriptor Table (IDT). We indicate that by detecting these addresses, one could execute instructions to sidestep the Intels User-Mode InstructionPrevention (UMIP) and the Hypervisor-based mitigation and, consequently, neutralized them. The introduced method is successfully performed after the most recent patches for Meltdown and Spectre. Moreover, the implementation of the proposed approach on different platforms, including the latest releases of Microsoft Windows, Linux, and, Mac OSX with the latest 9th generation of Intel processors, shows that the proposed mechanism is independent from the Operating System implementation. We demonstrate that a combinationof this method with call-gate mechanism (available in modernprocessors) in a chain of events will eventually lead toa system compromise despite the limitations of a super-secure sandboxed environment in the presence of Windows proprietary Virtualization Based Security (VBS). Finally, we suggest the software-based mitigation to avoid these issues with an acceptable overhead cost.

  • High-Performance Deterministic Stochastic Computing Using Residue Number System

    by Kamyar Givaki, Reza Hojabr, M. H. Gholamrezaei, Ahmad Khonsari, Saeid Gorgin, Dara Rahmati, M. Hassan Najafi

    Editor’s notes: This article discusses how to reduce the latency of stochastic computations. The authors represent an integer number as a set of remainders with respect to a set of relatively prime moduli. Operations such as multiplication, implemented using a deterministic version of stochastic computing, work directly on the remainders, thus yielding a partitioning of the original computation and a significant decrease in the number of clock cycles required. — Vincent T. Lee, Facebook Reality Labs Research