Rui Wang

I study applied mathematics at UC Santa Barbara and research how to find patterns in fast streams of events as they arrive. I build the systems that test the ideas, mostly in C++ and Python.

Research

Complex event processing

Undergraduate researcher with Prof. Jianwen Su
UC Santa Barbara, 2026 to now

Systems that watch trades, bike rentals or sensors have to spot patterns as events stream in: this, then that, but not the other, all within the last few minutes. I study how to count and forecast those patterns exactly, even when the number of matches in a window grows exponentially.

First-author paper in preparation for submission, 2026

  • Studying exact streaming aggregation (COUNT, SUM, AVG) of regular-expression event patterns under skip-till-any-match semantics, and the time, memory and numerical-stability trade-offs across the A-Seq, GRETA, COGRA and SuSe line of work.
  • Building a C++20 streaming engine and a reproducible benchmark suite, with the SuSe authors' code as a baseline on NASDAQ and Citi Bike event streams.
  • Checking every engine by randomized differential testing against exact big-integer Python references and brute-force enumeration.
  • Forecasting events with Pattern Markov Chains and Prediction Suffix Trees, deploying the authors' Wayeb and RTCEF engines with Kafka-based model updates, and testing out-of-order arrival, clock skew and cross-site prediction on air-quality sensor data. See the deployment

Projects

About

I'm in my last year of a B.S. in Applied Mathematics at UC Santa Barbara, with a minor in probability and statistics. I plan to start graduate study in fall 2027.

Education

School
University of California, Santa Barbara
Degree
B.S. Applied Mathematics, minor in Probability and Statistics. Expected spring 2027, GPA 3.8/4.0.
Coursework
Real analysis, numerical analysis, ordinary and partial differential equations, linear algebra, probability, mathematical statistics, and graduate matrix analysis.

Skills

Languages
Python, C++, SQL
Tools
Git, Linux, CMake, NumPy, SciPy, PyTorch, Apache Kafka, LaTeX
Methods
Automata, streaming algorithms, Markov models, numerical analysis, differential testing

Contact

Email is the best way to reach me. I'm in Santa Barbara, California.