When Everything Flows Together: A Unified Polyvariant Analysis Framework for Optimizing Impure Higher-Order Programs
Yijia Chen, Harry Y. H. Li, and Lionel Parreaux
I'm interested in a broad range of topics in computer science. My primary interest lies in programming language design and implementation, alongside software engineering. I'm especially drawn to designing simple, expressive, compositional, and principled abstractions that unify concepts, making software easier to read, write, reason about, and maintain. I also have extensive experience in full-stack development, as well as data mining, analysis, and visualization.
HKSAR Government Scholarship Fund
HKSAR Government Scholarship Fund
School of Engineering, HKUST
IET Hong Kong
Victor and William Fung Foundation
Department of Computer Science and Engineering, HKUST
Hong Kong University of Science and Technology
Department of Computer Science and Engineering, HKUST
School of Engineering, HKUST
Hong Kong University of Science and Technology
Hong Kong University of Science and Technology
Department of Computer Science and Engineering, HKUST
School of Engineering, HKUST
Hong Kong University of Science and Technology
Flow-Based Program Optimization
COMP 4981H · Project LP4. Advised by Prof. Lionel Parreaux.
I'm investigating how reusable flow analysis can support program optimizations that preserve behavior in MLscript, TACO Lab's experimental programming language. The project uses flow webs to group related producers and consumers, such as functions and their call sites, so that transformations can update them together.
Eta expansion can move a computation into a lambda, changing when or how often it runs, including when it mutates or observes a state. I implemented an effect-analysis prototype and integrated it into the existing eta-expansion optimization, avoiding transformations that may move observable effects or state mutations and observations. The analysis propagates effects through calls, including recursive calls and calls to imported functions.
Other directions I'm considering include storing reusable analysis results in symbols, extending flow webs to constructors and destructors, preserving web relationships during deforestation, generalizing dead-parameter elimination to dead-everything elimination, and investigating further transformations such as defunctionalization.
Yijia Chen, Harry Y. H. Li, and Lionel Parreaux
Opportunistic Parallelism
I work on PopPy, a compiler for parallelizing Python agentic programs, at the University of Pennsylvania with Prof. Osbert Bastani and Dr. Stephen Mell. I joined the collaboration in Spring 2026 and also took part in a summer research internship.
I extended Bezoar, PopPy's intermediate language, with control transfer statements (early return, break, and continue) and a general for/while loop construct. I formalized the extension's syntax, semantics, and lowering to core Bezoar.
I also worked on control-flow transformations, iterator sequencing, and memory scheduling, and adapted agent-workflow benchmarks for evaluation.
I'm designing a unified effect system to broaden PopPy's support for effects such as object mutation and I/O. This ongoing work connects with my thesis on flow-based program optimization.
Stephen Mell, David Mell, Harry Y. H. Li, Zhihao Jia, Konstantinos Kallas, Steve Zdancewic, and Osbert Bastani
Programming Language Design and Implementation
Advised by Prof. Lionel Parreaux, I investigated how to support ad hoc polymorphism in MLscript, our lab's experimental programming language, while keeping compilation independent of full type inference. The challenge was to recover enough information at each use site to select the intended definition and supply implicit arguments.
use[T]. Alongside the implementation, I formalized the translation into explicit calls and explored a declarative algorithm for interacting instance requirements; the general algorithm remained unimplemented.Commonsense Reasoning with Knowledge Graphs
I was advised by Prof. Yangqiu Song and PhD candidate Zihao Wang. I studied a postgraduate course about graph machine learning, graph neural networks, and knowledge graphs. I participated in a research project about logic reasoning over knowledge graphs, where I gained hands-on experience in the research field.
Software Engineering Intern, Hong Kong
Incoming Software Engineering Intern at Jane Street's Hong Kong office for Summer 2027.
Intelligent Feedback and Style Coach for Programmers
Advised by Prof. Desmond Tsoi.
CRS Request System
Advised by Prof. Desmond Tsoi. The system serves COMP 1023, COMP 2011, COMP 2012, and COMP 2211, with over 2,000 active users.
AI Agents as Dynamic, Adaptive Language Assessors: Building a Patentable App
Co-advised by Prof. Desmond Tsoi and Prof. Mei Yi Angel Lin at the Education University of Hong Kong.
Undergraduate Teaching Assistant
As Main TA for COMP 1023, I teach the course's tutorial sections. In other UGTA roles, I help deliver tutorials and labs, prepare course materials, and answer students' questions. My winter and summer appointments focus primarily on preparing assignments, tutorial notes, lecture notes, and self-tests.
Summer Internship
Head of Backend & App Team Leader
USThing is a student-run app for HKUST. I led the backend and app teams within the 26-member organization.
I led a rewrite from June to August 2024 to bring an unmaintained backend and its dependent features back into service.
The app later recorded 15,000 active users over a 90-day period and up to 5,000 daily active users.
APLAS/ATVA 2026, HKUST, Hong Kong
Serving as a student volunteer for APLAS/ATVA 2026, hosted at HKUST.
Hall Affairs and Operations Committee (HAOC), HKUST
Nominated by Prof. Cindy Li, I am serving as a student representative on the Hall Affairs and Operations Committee, contributing a student perspective to the review of hall-residence appeals and the interpretation of hall rules.
ICFP 2026, Indianapolis, IN, USA
Served on the ICFP 2026 Artifact Evaluation Committee (co-chaired by Son Ho and Prof. Lionel Parreaux), reviewing artifacts submitted to the International Conference on Functional Programming.
Hall X, HKUST
Working with Prof. Cindy Li and fellow students on AI literacy for Hall X residents, including first-year students. I am developing two beginner-friendly, 90-minute workshops combining live demonstrations and hands-on activities.
Oregon Programming Languages Summer School
Attended the Oregon Programming Languages Summer School (OPLSS), a two-week intensive program on programming language theory. The topic was Types, Proofs, and Program Logics.
32nd Meeting, Student-Staff Liaison Committee, CSE, HKUST
My personal website and portfolio, covering research, projects, teaching, and other experiences.
A platform for students and instructors to manage class swaps, absences, and deadline extensions. Used across four HKUST courses, with over 2,000 active users.
An experimental to-do language and VS Code extension, with a compiler written in Rust. It supports relative dates and times, with a hand-written parser and pretty-printer.
UG in ... IDK @ HKUST '29
Funny science student who claims to be from the business school 🐽
UG in DS. @ HKUST '27
Exchange @ ETH Zurich
Research Interest:
He doesn't know either. 😛
UG in CS+Math @ HKUST '25
PhD in CS+Stats @ UPenn
Theory and Empirical Science of Deep Learning and LLMs 🥺