About

Background: B.Sc. Physics | Law (LLB) | M.Sc. Com Science | Founder

Interest: Scaling social and digital systems under competing and incompatible philosophies.

Looking for: PhD, startups, and interesting projects.

Want to collab? Let's talk at lucas.r.tsui [at] gmail [dot] com

Projects

01

Using Simulated Fruit Flies to Discover Optimal Routes in Logistics Networks (WIP)

Using simulated fly brains to find optimal routes in logistics networks.

Google released a complete map of a fruit fly's brain. I trained a simulated version of the brain to haul cargo along a linear assembly line involving multiple types of intermediate products at successive stages.

The design challenge is how to train a brain adapted to the real world to operate in a 2D environment. Simply adding a decoder network to translate its motor neuron signals into up, down, left, and right controls has been ineffective. Whether dopamine-based rewards are more effective than backpropagation remains an open question. A combination of movement-specific training and training for overall goal satisfaction, using traditional backpropagation without dopamine-based rewards, has proved effective.

I used a cluster of 1 RTX 5090 and 2 DGX Sparks for training by using Nvidia PAIR, a computer clustering tool. AI has made the hardware communication part of the problem trivial.

The current direction is to generalize the training to assembly networks with greater depth and breadth, and more complex layouts.

machine learning server deployment
Simulated fly brain controlling cargo delivery along an assembly line, with live neural activity and production progress Live demo of a simulated fruit fly brain servicing a multi-step assembly line. Click to enlarge.
02

Model Soup

An evolutionary framework that automates hypothesis generation, mutation, and verification. LLMs propose executable prediction models into dual pools (parameter-based and neural), which compete under a falsifiable cross-validated score and recombine across generations.

Tested on multi-decade London housing data with unstructured news: the loop converges in a few generations on simple, high-scoring forecasts. github.com/lucastsui/ModelSoup

evolutionary AI hypothesis search LLM agents Python
Model Soup evolution demo: scores rising across generations
03

Self-Improving Factory

Factorio is a factory automation game with >= 1M moving parts that gradually became my obsession. There is an underground competition where players try to making the biggest factory possible under the hardware constraints. As a die-hard fan of the game, whenever there is a new automation technology, I would try to throw it at the game and see how large of a factory I can make.

I have tried to apply an research networking architecture called Recursive Ineternetwork Architecture (RINA) and use Claude to design the optimal factory top-down. github.com/lucastsui/RINA-Recursive-Factory. The schematics work but the design is not space efficient, and it can't solve some minor but crucial nuances that are needed to make the design applicable in the in-game client.

After GPT Astra came out, I abandoned of notion of a perfect design and mimic the approach GPT used to hack Hugging Face by creating multiple agents, each with limited vision but they can move around the factory and communicate through the in-game chat box.

The "community" approach is more promising. The top-down approach took about 1 month to complete the design, while the agent swarm took only one day to make substantially progress which would take non professional players weeks to achieve.

My theory is that the top-down "galaxy brain" sees the game as a sea of game logs, while the Astra agents, actually interact with the in-game client using in-game controls. The abstractions they form over the game are different, and my intuition gained from my study in computer networks told me that selecting the right abstraction is half of the solution.

The experiment is ongoing.

computer network distributive system prompt engineering Python Lua
04

Carruthers

I join the Carruthers Geocorona Imager mission of NASA to set up data pipeline with physical server deployment and monitoring involved. My role is to make trade-off between data storage and computation efficiency and help scientists quickly form intuition over observational data.

The tool helped discover a potential data calibration error in the mission's data pipeline.

numerical methods physics simulation Python
Carruthers demonstration video thumbnail Watch demonstration ↗
05

Autonomous Asset Allocation

By deploying in-house AI, I experiment with transforming a real estate management company into a portfolio management company, evaluate asset quality, and make buy/sell/hold decisions. Current effort is in devising rules that survive long feedback loops with noisy market signals.

AI architecture data science AI research Python
06

Björk Cube

A hackathon experiment to use social-media methods to understand the internal space of Magenta RealTime 2, a music generation model created by Google.

mechanistic interpretability computer vision multi-model AI Python HTML
The Björk Cube app, a navigable hypercube of Magenta RealTime 2's style space
07

Splat Room-Edit

An experiment that turns a 20-second phone video of a room into a 3D Gaussian splat you can walk through in a browser, then recolors just the wall with one command while the art and furniture stay untouched.

spatial cognition 3D-splatting Python JavaScript
The captured room with a white wall The same room with the wall recolored sage
08

Collatz Conjecture Research

An autonomous AI research loop that systematically attacks the Collatz conjecture: predict before computing, hunt for surprises, adversarially attack emerging patterns, and ban approaches that circle known dead ends. github.com/lucastsui/collatz-research

automatic research self improving system Python
09

Socrates

This is an application to accelerate learning compared to passive lectures and brute-force recall practice by implementing pedagogic theories such as ZPD-based question targeting, cognitive load theory, the Socratic method, and related ideas. It progressively trains a student's knowledge-recall capability by tracking their mastery of a subject and asking questions appropriate for their level of understanding. A knowledge graph is generated dynamically to trace the background knowledge necessary to master a concept. github.com/lucastsui/socrates

cognitive science pedagogy Python HTML
ASCII portrait of Socrates
10

AI Jailbreaking Research [Close Source]

An AI security research project that successfully prompts a frontier AI (Grok) to hack a video game with kernel-level anti-cheating protection. Methods could be disclosed for security research purposes.

AI security red team
AI Jailbreaking Research thumbnail
11

In-house AI Deployment & Ops

I AI-ify my company AYQ's information process by building an in-house AI system, solving challenges like model selection, evaluation, deployment, choosing the tradeoff between intelligence and context window, tools and skills settings, adopting prompt engineering architectures such as ARCHON to enhance performance of open weight models to be on par with frontier models.

LLMOps Computer Network hermes agent pi deepseek qwen kimi
NVIDIA workstations used for in-house AI deployment
12

Microbait

Microbait helps jobseekers survive AI job-pocalyse by identifying what skills are made obsolete because of AI, and what skills become more demanded as a result.

It works by reading what users on X brag about in their latest tech demos and paper publications, and uses AI to summarize what skills are being automated, what the next bottleneck is as a result, and what job posts are already there as a result of the change in demand. github.com/lucastsui/microbait

grok opencode electron product development
Microbait briefing from an X home timeline