jakkarin-promsee/ README.md

Jakkarin Promsee

Night · Computer Engineering @ KMUTT, Thailand

I study how an agent can learn the rules of an unfamiliar world from limited experience — and what it could pass on to another agent.

Causal World Learning Learning Policies Mathematical Modeling Knowledge Transfer

Explore my portfolio website →


I follow that question across mathematics, hardware, and software. I start with an intuition, build something that can test it, then use the literature and controls to challenge my own explanation. Some of my most useful results came from finding out that an idea I liked was wrong.


The research path

I need to see a mechanism work before I trust it. I proved linear regression without matrices and worked out double descent on my own — because I wanted to watch how intelligence actually lives inside a single weight. Those explorations brought me to a harder question: how does an agent come to understand a world it has never seen?

ChronoForge — I built a 2D game engine and Python-to-ROM compiler whose runtime is FPGA logic: no CPU, OS, or instruction set. It made the effect of a computational substrate concrete, and showed me I could build the whole path from an authoring language to working hardware.

Bio-Analog CPU — I explored resident weights, local updates, and a possible analog substrate for continual learning. My first attribution rule broke at the mathematics: contribution magnitude could not tell a weight which direction to move. I rebuilt the system as a forward-only learner with a small closed-form classifier. Controlled simulations showed stronger retention than a tuned replay baseline in some shifting streams, alongside clear losses on static accuracy. This is a tested learning architecture, not a fabricated chip or a complete account of intelligence.

my-harness — I built a coding-agent harness to expose the model loop, tools, permissions, and sessions usually hidden behind an SDK. It helped me see how much useful agent behavior comes from the surrounding system, and sharpened my question about what a fixed model can actually learn from experience.

Active Sensing — I tested a visual model with a coarse map, a few high-resolution glimpses, and a carried state. It learned where to point, but stronger controls showed that the state did not need to remember the previous glimpses: a shuffled state worked as well, and a glimpse-blind policy pointed better. I closed this tested route as a scoped negative result, rather than calling the apparent state a world model.

Causal World Learning and Transfer — This is my current question in a form I can test precisely. An agent enters an unfamiliar Boolean world, chooses limited interventions, and observes what changes. I have built exact inference and action-selection baselines to measure what the evidence permits. The longer goal is a reusable learning policy that constructs its own understanding and can pass useful evidence or guidance to another agent through limited bandwidth. That learned policy and transfer are still open work.


Other things I've built

  • Hot Potato — A deployed, teacher-led learning platform with a full-stack lesson editor, student experience, and AI study companion for critical-thinking discussion.
  • CTerminalPlot — A C11 terminal plotting library and CLI, built from a hand-made data abstraction, CSV handling, and a renderer using terminal characters and Braille dots.
  • Indicator-augmented Regression — An end-to-end ML experiment: clean questionnaire data, train and evaluate a missing-answer model, then serve an interactive Big Five quiz in Streamlit.
  • Rebirth — A complete playable 2D pixel-art action game, with state-driven enemy behavior, room combat, and a multi-phase boss.

Contact

LinkedIn Email Facebook

jakkarin-promsee/ README-EXTEND.md

How the question changed

The question behind my research is: how could I build a system that learns to understand an unfamiliar world? I began by asking how intelligence could live in fixed numerical weights. Deriving learning and optimization by hand showed me how weights change, but not how a system comes to understand its surroundings. I suspected that the training rule or the hardware itself might matter. I needed to test those intuitions.

ChronoForge, a game engine running directly in FPGA logic, made the hardware question concrete. In Bio-Analog CPU, I tried to design a learner with resident weights and local updates. My first rule looked promising until I worked through the mathematics: knowing how much a weight contributed did not tell it which direction to move, and the rule did not escape the computation I had hoped to avoid. I abandoned it and rebuilt the system as a forward-only learner with a small classifier. Simulations showed where it retained information across changing data and where tuned baselines did better. I had found a way to train a learner, but still not an answer to how it understands a new world.

That distinction sent me back to modern ML, which I had been too quick to dismiss. Building my-harness showed me how much useful agent behavior comes from the tools and system around a fixed model. I then studied transformers and memory to ask: could an agent use earlier observations to choose what to inspect next? In Active Sensing, a visual model learned to point at useful locations. Yet a state borrowed from another image worked about as well as its own, and a policy blind to its previous glimpses pointed better. The controls did not support the kind of memory I was looking for.

After months of testing other explanations, I closed that particular setup. A credible next test required a major redesign, with no evidence yet that it would reveal the mechanism I wanted. This was a scoped negative result about my experiment, not a proof that active sensing cannot work. It changed how I work: I define what would count as learning and what could disprove my interpretation before trusting a good score. It also moved my question from where learning happens to what an agent does to learn from experience.

What I'm working on now

After that result, I asked how I had learned enough to diagnose an unfamiliar problem myself. I chose what to read and test, then changed my view when the evidence disagreed. That experience motivates my current question: can an agent learn a policy for learning—a way to choose informative actions and revise its understanding as it goes? It is an analogy that motivates the work, not a claim that I have reproduced human learning.

In Causal World Learning and Transfer, I made that question small enough to test. An agent acts in an unfamiliar Boolean world and observes what changes. Exact inference shows which hidden rules remain possible; random and information-gain policies provide baselines. This lets me measure what the evidence permits before asking a learned policy to act under a limited budget. Eventually, I want to study what one agent can pass to another through a limited channel. The world, inference, and baselines are current work; the learned policy and transfer remain open.

SELECTED WORK

Research path

Selected experiments and detours, from recent work back to the first math questions.

SEQUENTIAL PERCEPTION · CLOSED STUDY

Active Sensing

Working with agent context made me wonder whether a visual model could use what it had just seen to choose its next look. It learned where to point, but the controls did not support the experience-updating memory I was looking for. I closed this setup as a scoped negative result.

  • A state from another image worked as well as the original in a key control.
  • A policy blind to its own glimpses pointed better, narrowing what the result could mean.
AGENT SYSTEMS · TOOLING

my-harness

I was curious how a coding-agent harness worked, so I started with a small model, tool, and permission loop. I kept experimenting with prompts, context size, tool output, and model providers until it became a usable terminal agent. That work showed me how much the surrounding system shapes a fixed model's behavior.

  • Prompt tiers, token estimates, and session history make context use inspectable.
  • Provider adapters keep local and API model experiments on one execution path.
CONTINUAL LEARNING · BEHAVIORAL SIMULATION

Bio-Analog CPU

ChronoForge made designing a substrate feel possible, while gradient descent's backward pass still bothered me. I tried resident weights and local updates, but my first rule could not tell a weight which direction to move. I rebuilt the learner around forward-only updates and a closed-form classifier, then tested the resulting simulation against replay baselines.

  • Controlled shifting-stream simulations showed steadier retention in some regimes.
  • Static accuracy and same-substrate energy comparisons exposed real limits. No chip was built.
FPGA · PURE HARDWARE

ChronoForge

I started by making a ROM counter emit game events and kept asking how much of a game that simple hardware idea could run. Movement, collision, and video grew around the event stream; authoring the packed commands then pushed me to build a Python compiler and previewer. The result runs directly in FPGA logic.

  • The board runs the game without a CPU or operating system.
  • Growing one counter into a toolchain made the effect of a computational substrate concrete.
MATHEMATICS · FIRST PRINCIPLES

Learning from individual numbers

I wanted to understand how numerical weights could store learned behavior, so I derived linear regression and backpropagation one operation at a time. Studying optimization afterward led me through Hessians, eigendirections, and different update rules. I implemented the mathematics to see where the paper reasoning held up in practice.

  • ML01 built intuition about learning from individual weight updates, not a new ML library.
  • Discretization compares explicit, implicit, and Newton updates through derivation and computation.

What I've done

Products, tools, applied ML, and games built for their own reasons.

FULL STACK · EDUCATION

Hot Potato

A teacher I knew needed a way for students to question a lesson; I also wanted to push a full-stack build with a dynamic editor and AI API. What began as an editable lesson grew into a phone-first student experience and a lesson-grounded tutor, with teacher approval over AI drafts.

  • The same lesson document survives editing, saving, and mobile reading.
  • The public, phone-first student path can be used without signing in.
C11 · DEVELOPER TOOL

CTerminalPlot

For a C course project, I wanted to plot numerical data without leaving the terminal and build the data structures myself. I kept extending that experiment into a C11 plotting library and CLI, then revisited its correctness and memory safety after the course.

  • The data abstraction supports filtering, sorting, and statistics as well as plotting.
  • UTF-8, ANSI color, and Braille dots make dense plots readable in a terminal.
APPLIED ML · INTERACTIVE APP

Indicator-augmented Regression

I wondered whether a Big Five questionnaire could give a useful estimate before someone answered all 50 questions. I represented unanswered items explicitly, compared a Ridge model with simple baselines, and turned the experiment into an interactive Streamlit quiz.

  • Answer values and observation masks distinguish missing responses from real values.
  • The quiz can show estimated results after a small number of answers.
GAME DESIGN · PLAYABLE RELEASE

Rebirth

I wanted to make a game and find out how its bots could feel threatening without making every fight unfair. Starting from a map and shooting loop, we grew Rebirth into a complete action game. I focused on tuning enemy decisions against player movement, weapons, and the pace of each room.

  • Enemy archetypes patrol, pursue, circle, reposition, and dodge using tunable behavior.
  • The finished browser build is playable on itch.io.