Nick Rui

I am an undergraduate at Stanford University studying math and computer science. I am currently involved in data, reasoning, and interpretability research at SAIL. Previously, I have interned at Amazon Web Services and worked in outdoor swimming pool management and operations.

Email  /  LinkedIn  /  X  /  GitHub

profile photo

Research

I am broadly interested in data, reasoning, and interpretability.

Test-Time Meta-Adaptation with Self-Synthesis
Zeyneb N. Kaya, Nick Rui
ICLR Workshop on AI with Recursive Self-Improvement, 2026

arXiv

Bilevel optimization framework for training language models to self-adapt at inference time via reinforcement learning and meta-gradients.

Projects

Hackathons and side projects.

Vital Cue

Voice and AI-powered platform for patient care documentation. Built for EMS.
Acquired by First Due.

Power Lever

Agentic inference optimization with dynamic speculative decoding and GPU orchestration.
Winner at TreeHacks.

XiaoPrompt

Prompt distillation and translation API to optimize token efficiency.
Winner at HackMIT.

AgenTeX

Cursor for LaTeX.
Winner at AgentOps x Stanford Hackathon.

Math

Some notes and short expository writeups.

Topological and Spectral Connectivity in Random Graphs
Bertrand's Postulate
Derangements and Rubik's Cubes
Probabilistic Estimation of Prime Number Density

Articles

I write about math on Substack.

An 'Odd' Application of Linear Algebra
December 2025

The oddtown theorem.

Balls (in 10+ dimensions)
August 2025

A weird fact about ten dimensional balls.


Template from Jon Barron.