Mario Peng Lee
chief scientist of condense.chat. making powerful AI accessible to everyone, and safe when it gets there.
I started out studying human minds, mostly how kids learn language and concepts, through linguistics, computer science and psychology at UCLA (Phi Beta Kappa). Around then the cognitive side and NLP started converging pretty fast, and once GPT-style large language models (LLMs) showed up I ended up asking the same questions of them. That meant mechanistic interpretability, first on GPT-2's circuits with Buck Shlegeris, then co-founding AI Safety at UCLA, and these days open-source work at EleutherAI through SOAR 2026 (about 2% of applicants accepted) on how stable sparse autoencoder features are across seeds.
Agents became the other interest, and I graduated already building them: Pocketful runs WhatsApp AI agents for restaurant owners in Argentina. I built the first version and ran engineering for a year, and since mid-2025 I've only been an advisor (my co-founder runs it as CEO, and it pretty much runs itself). Then I did the same at much larger scale at nexos.ai, where as a senior AI engineer I built the agent layer, a sandboxed code interpreter, and the memory model behind nexos.heartbeat, an always-on agent that keeps working while you sleep.
What I kept running into with long-running agents is that most of the context they carry isn't needed, and you pay for all of it. So now I'm cofounder and chief scientist at condense.chat, working out what context is essential and what isn't, which cuts long coding-agent sessions by up to about 70% with basically the same output. Honestly it's the same story as always, getting this tech to everyone, just with a much better sense now of why it has to be done safely (and my guess is interpretability is a big part of how).
links
writing
- My strictly local grammar POS tagger ignored the words (2026-11-13): My 2022 POS tagger, a strictly local grammar of tags, got 9 to 22% on the Brown corpus because it never sees the words. Rerun as a bigram HMM it reaches 60% on 20 training sentences and 90% on 2,000.
- adeline-v2: a fine-tuned MoE for agent context compaction (2026-10-31): condense.chat's adeline-v2 compaction model removes about 88% of the tokens it compacts and keeps 80% of critical facts on unseen repos, vs about 70% for the base model at about the same compression.
- Sparse autoencoder seeds share more than matching shows (2026-10-31): Two sparse autoencoders that differ only in seed match about half their latents one-to-one. A transplant test calibrated on toy worlds estimates the real shared share at 75 to 86%.
- Same seed, different SAE: GPU noise and seed dependence (2026-10-31): Rerun a sparse autoencoder with the same seed and data, changing only GPU kernel nondeterminism, and it leaves 43 to 85% as many latents unmatched as a new seed, mostly the same ones.
- Where role collapse happens in diffusion models (2026-10-23): Prompt SDXL for a mouse chasing a cat and you usually get a cat chasing a mouse. My first suspect was CLIP reading prompts as a bag of words, but after ruling out the encoder, guidance, and cross-attention, the problem seems to sit in the UNet itself.
- Kids vs LLMs at telling a story (2026-10-18): Give a five year old and a language model the same wordless picture book. In 2024 the kids kept track of the characters far better than GPT-4. Two years of models later, the best ones tell the story just like the kids do.
- cyclediffusion: can a picture be a bottleneck? (2026-10-17): I trained a diffusion model so a captioner could read its pictures back into the original sentence. Instead of inventing a secret visual code, it collapsed into texture, and the reason is the reader you train against.
- A transformer that passes the wug test (2026-10-16): I fine-tuned T5 to turn spelling into IPA. Nobody told it English phonology rules, but it says "wugs" with a /z/ and "wuks" with an /s/, just like a kid does.
- Why linguists keep writing about John and Mary (2026-10-15): In linguistics papers, 30% of male names are John and 31% of female names are Mary. A good list of names doesn't fix that, because people still pick from it. A random generator does.
- Do sparse autoencoders capture manifolds? (2026-07-15): A concept like "year" lives on a curved manifold, and a single sparse autoencoder often shatters it instead of capturing it whole. Training several SAEs that differ only in random seed and pooling them tiles the manifold back together, right where one SAE dilutes it.
- block-GRPO: doing RL on a diffusion language model (2026-05-09): GRPO needs a log-probability that diffusion LLMs can't give you cheaply. Using the model's own block-autoregressive structure makes most of it exact, and it beat vanilla GRPO by about 10x on tail reward.
- Infinite context agents, at WIP London (2026-04-18): At WIP, an Index Ventures x Anthropic event for London AI builders, I presented memgit, git-backed memory that lets agents keep context across sessions instead of starting from zero.
- Building nexos.heartbeat: the infinite context problem (2026-03-01): An always-on AI twin doesn't have a context window problem, it has an infinite context problem. Information theory, the design space, and why our memory is a git repository.
- Code interpreter: how we built it ourselves (2026-01-30): How the nexos.ai code interpreter lets a model run real code instead of guessing: what it is for, and the isolated, ephemeral micro-VM sandbox behind it.
- RAG isn't dead, plain RAG is (2025-12-04): Why plain RAG breaks on real enterprise knowledge, and what organizing that knowledge first (late chunking, topic clusters, models that navigate a knowledge tree) changes. With Povilas Nagrockas.
- Context engineering: where AI stops guessing (2025-11-19): The hard part of enterprise AI isn't a bigger model, it's getting the right documents, rules and situational awareness in front of the model before it answers.
- Psychology-inspired agentic AI (2025-11-17): Why agents inherit human failure modes, and how psychology and cognitive science (working memory, theory of mind, team size, bias) shape agent design. My write-up of the Tesonet talk.
- Psychology for agent design, at Tesonet's AI conference (2025-11-14): At Tesonet's AI-Focused Conference in Vilnius I argued that a lot of agent failures are old psychology problems, and that organizing agents like a small team with clear roles helps.
- GPT-2, IOI, and the sphex problem (2025-05-21): A wasp can look like it understands what it's doing right up until you move one thing. I poked at GPT-2's indirect-object circuit the same way, to see whether it understood the task or just had a routine that usually works.
- Does parameter sharing help? a multitask recommender experiment (2025-05-10): I built the same recommender four times to find out whether sharing parameters across tasks helps. It turned out the loss weighting mattered more than the sharing, which is a known and slightly annoying axis.
- Starting a blog (2025-05-01): Why this page exists, and what to expect.
selected work
- condense.chat: cofounder and chief scientist: compresses what coding agents send to the model, up to about 70% off long sessions with basically the same output (a16z speedrun Global Founder Sprint) (site) (adeline-v2)
- Sparse autoencoder seeds share more than matching shows: EleutherAI SOAR 2026 (about 2% of applicants accepted), supervised by Gonçalo Paulo: one-to-one matching says two SAE seeds share about half their latents, a toy-calibrated transplant test estimates 75 to 86% (writeup) (kernel noise)
- nexos.heartbeat: always-on AI twin and nexos.ai's biggest feature; I built the memory and continuity model (git-backed memory, presented at WIP: Index Ventures x Anthropic) (writeup) (talk) (demo)
- Code Interpreter at nexos.ai: a sandboxed runtime that lets agents write and run real code, each run in an isolated, throwaway micro-VM (writeup)
- Pocketful: co-founder, advisor since mid-2025 (ran engineering before that): WhatsApp AI agents for restaurant owners in Argentina (site)
- Where role collapse happens in diffusion models: why SDXL and SD3.5 draw "a mouse chasing a cat" as a cat chasing a mouse: the text encoder carries the roles, and the denoiser ignores them (writeup)
- Do SAEs capture concept manifolds?: the toy phase of the SAE seed work: pooling sparse autoencoders that differ only in seed tiles a concept manifold back together where one SAE dilutes it (writeup) (code)
research
- GPT-4 vs. children: narrative cohesion in wordless picture books: how children aged 4 to 6 and GPT-4 tie a story together while narrating a wordless book, measured with coreference chains (with Catherine Sandhofer, Amalia Ionescu) (writeup)
- CycleDiffusion: relational representations in visual models (with Andrew Lee, Hongjin Lu) (writeup)
- PhoneTic5: independent project: a T5 grapheme-to-phoneme model, published in the UCLA Undergraduate Science Journal (2023) (writeup) (preprint) (demo)
- child language and concept acquisition: experiments on how kids pick up words and concepts, at the Language and Development Lab
- The Diverse Names Generator: a diverse and gender-neutral name generator for linguistic examples, published at LSA 2023 (with Maura O'Leary and Rainey Williams) (writeup) (paper) (live)
- POS tagging with a strictly local grammar: experiment: a word-blind tag bigram stays near 20% on the Brown corpus, adding the word term (a bigram HMM) brings it to 60%, and 90% with more data (writeup) (code)
articles
- Code interpreter: how we built it ourselves: nexos.ai, Jan 2026: letting the model run real code in an isolated micro-VM instead of guessing (read) (original)
- RAG isn't dead, plain RAG is: nexos.ai, Dec 2025, with Povilas Nagrockas: organize the knowledge before you retrieve it (read) (original)
- Context engineering: where AI stops guessing: LinkedIn, Nov 2025: getting the right context in front of the model, not a bigger model (read) (original)
- Psychology-inspired agentic AI: nexos.ai, Nov 2025, the long version of my Tesonet talk (read) (original)
leadership
- AI Safety at UCLA: co-founded it, raised about $150k, and led its alignment research team (feature)
- a16z speedrun Global Founder Sprint: selected with condense.chat, SF Tech Week 2026
- Phi Beta Kappa: UCLA, 2024
talks
- Infinite context agents (nexos.ai · WIP: Index Ventures x Anthropic, London, Apr 2026 · with Anthropic, Revolut, Wiz, ElevenLabs)
- Psychology for agent design (nexos.ai · Tesonet AI-Focused Conference, Vilnius, Nov 2025 · with Amazon, Google Cloud Security, Hostinger)
- Using AI Agents to Navigate Data Chaos (nexos.ai · Danske Bank Tech Night, Vilnius, Nov 2025)
- nexos.heartbeat: an AI engine that works while you sleep (nexos.ai · product demo)
- On stage for nexos.ai (Nord Demo Day, Vilnius, Nov 2025)
- Model-agnostic interpretability and its real-world uses (nexos.ai meetup, Jun 2025)