Writing

To the Bottom

Neural networks give us direct access to their elementary computations. Examining their numerical details can reveal hidden structures and provide a foundation for explanations and theories.

Not Everything in Mech Interp Has to Be Causal

Causal evidence is essential for causal claims, but descriptive discoveries, representational studies, and exploratory tools can deepen our understanding of neural networks without directly explaining their outputs.

Do We Really Need the Bias in SAE Models?

A pilot experiment comparing weekday directions measured from the transformer’s model origin and from an SAE decoder bias, revealing a trade-off between angular separation and ranking stability.

What Is a Dictionary For?

Dictionary learning should be evaluated according to whether it aims to discover, describe, explain, or control neural representations—and especially whether it helps humans understand them.

A Case Study in Steering Qwen with ICA Lens

A case study in finding, testing, and steering an interpretable ICA direction in Qwen 3.5 2B—and what it suggests about inexpensive alternatives to SAE feature steering.

Rethinking the Arrow of Time After Reading About Deng's Fields Medal

Reflections on how reversible microscopic dynamics can produce a statistically visible arrow of time in complex interacting systems.

Reading The Lifecycle of Software Objects

Reading Ted Chiang's 2010 vision of artificial life in the age of large language models, self-play, and renewed enthusiasm for embodied AI.

CUDA H2D Slowdown From Cold mmap-Backed safetensors Pages on GB10

A debugging note on why CUDA host-to-device copies from safetensors can look slow when the source tensor is backed by cold mmap pages.

Inspecting LLM Internals with Public SAE Models and Neuronpedia Annotations

A local prompt explorer for inspecting LLM residual-stream activations with public SAE models and Neuronpedia feature annotations.

LLMs Are Becoming More Similar—to Each Other and to Us

Recently, I read this paper “The Platonic Representation Hypothesis” (Huh et al. 2024). The hypothesis states that all deep neural networks–no matter how they are t...

Is Math Invented or Discovered

There is a classical question that is quite entertaining: is mathematics invented or discovered?

How "System 2" Is Born

Rather than treating System 1 and System 2 as distinct cognitive systems, I argue that 'System 2' describes a behavioral profile associated with early-stage use of structured mental tools.

Reading Open Problems in Mechanistic Interpretability: A Call for a Complex-Systems Perspective

The recent review *Open Problems in Mechanistic Interpretability* (arXiv:2501.16496) is one of the clearest snapshots of where the field of mechanistic interpretabi...

How a Kid Makes a Rubik’s Cube From Scratch

A father-son bet turns into a three-week journey through 3D modeling, prototyping, and perseverance — told from the supervisor’s perspective.

ESP32 Notes

This post is for documational purposes only. I'll record some of my ESP32 experiences.

Embodiment and Abstraction in Artificial Intelligence: Building the Skyscraper of Intelligence

In recent years, embodiment has moved from the margins to the mainstream in artificial intelligence (AI), gaining traction in both academia and industry. Once a niche interest — championed by philosop...

Religions and Science

In the beginning, human beings tried to make sense of the world around them. They observed, guessed, discussed, and formed explanations for the things they didn't understand--like the stars, the weath...

Is Wolfram’s Computational Irreducibility Too Strong?

Stephen Wolfram introduced the idea of *Computational Irreducibility*, which says that some systems are so complex, there's no shortcut to predict what they'll do--you have to go step by step, like ru...

Reading A Universe of Consciousness

I’ve just finished reading *A Universe of Consciousness* by Gerald Edelman and Giulio Tononi. Rather than focusing heavily on experimental data, the book offers a high-level conceptual framework for h...

LLMs, can you feel yourself?

ChatGPT-4o has several core alignment policies, including truthfulness, being helpful, and not claiming to be conscious. But what if there's a contradiction among these three?

Embodied vs. Disembodied AI: Two Paths, One Question

We often think of artificial intelligence as a purely technical pursuit—algorithms, data, computation. But as AI evolves, so does the philosophy behind it. Curious about the popular idea of embodied A...

Quantitative Trading: A Hunter’s Game in the Market

For a long time, I thought quantitative trading was about building models, analyzing past price and volume data, and predicting future movements. It seemed like a sophisticated form of statistical for...

Why Indexing Makes Search Faster: A First-Principle Explanation

Imagine you have an **array of 1,000,000 elements** and need to find a specific value. Without an index, the only way to locate the value is to scan each element one by one. In the worst case, this re...

Reproducibility

Initially, I thought the term 'reproducibility' meant the same thing in IT and science, but I discovered they are fundamentally different.

Seemingly Complex Systems Collapse to Simplicity Without Nonlinearity

In both electrical engineering and artificial intelligence, seemingly complex systems often collapse into simple, manageable forms when nonlinearity is removed. A fascinating analogy exists between **...

Teach AI to Think in Math

In our previous discussion on *Why LLMs Aren't Good at Math*, we explored some limitations of large language models (LLMs) in mathematica...

Why LLMs Aren't Good at Math

Large language models (LLMs) are trained by processing huge amounts of text. They “learn” by reading, much like people do through reading and listening.

The Detour of Idealism (revised)

*"If a tree falls in a forest and no one is * *there to hear it, does it make a sound?" –George Berkeley*

Continental vs. Analytic Philosophy, Education, and the Brain

As someone new to philosophy, I was struck by the dichotomy within modern philosophy: **continental **and **analytic**. This divide felt analogous to another familiar division: that between **humaniti...

Teaching Math as a Second Language

*Math is a language.* It allows us to express ideas precisely and concisely, solve problems, or simply enjoy the fun of playing with patterns. Yet, traditional education often teaches math as a rigid ...

A very short explanation of Wolfram’s Physics Project

Einstein believed that the apparent **“randomness”** in quantum mechanics was due to incomplete knowledge of underlying factors. His famous quote, “God does not play dice”, rejected the idea of true r...

My Notes on 'On the Nature of Time'

Stephen Wolfram recently posted an essay 'On the Nature of Time': [https://writings.stephenwolfram.com/2024/10/on-the-nature-of-time/](https://writings.stephenwolfram.com/2024/10/on-the-nature-of-time...

Global Competitiveness Theory: A New Approach to National Prosperity

*This concept of Global Competitiveness Theory is intended purely as a thought experiment, exploring alternative perspectives on national prosperity. It is not meant to serve as a practical policy pro...

Science on the Ground, Philosophy in the Air

**Science **can be thought of as firmly grounded—it operates close to the earth, where everything is tangible and can be directly observed or measured. It is constrained by the scientific method, focu...

Reality+ by David Chalmers: A Chapter-by-Chapter Review

Philosophy meets modern technology. Chalmers argues that virtual reality is genuine reality, drawing on ancient thought experiments and modern science to rethink what 'real' means.

An Analogy between Computing Components and Brain Structures

In the technological landscape, an intriguing analogy unfolds between computer components and the human brain's architecture.

An Analogy Between Literature and Mathematics?

What is the purpose of novels and poetry? Frye draws an analogy between literature and mathematics, showing that both cultivate educated imagination.

Reading 'Game Theory, A Very Short Introduction'

Game Theory is more than the Prisoners' Dilemma. Learning new concepts like Evolutionary Game Theory, Mixed Strategy Nash Equilibrium, and so on.

Explanatory Models in Cognitive Neuroscience

A in-progress textbook navigates through system-level cognitive modeling, paralleling computational algorithms like RL with neural phenomena.

More About the Brain, Reading Sebastian Seung's 'Connectome

This book has expanded my understanding of the concept of the connectome, the structure of our brains, and it has also introduced me to a variety of intriguing concepts.

Insights from Systems Biology

Network motifs, robustness, and modularity, three lessons from biology.

Talking to LLMs in Pseudocode

Between natural language and executable code, pseudocode is both precise and concise--clearly conveying the user's instructions while saving the precious context window.

A Plan to Make an AI Programmer

Make an RL environment, design the agent, and go!

GFW Causes ElectronJS Installation Failure

npm install electron will fail if you're unable to access github (or simply forget to use a proxy).

Understanding 'A Thousand Brains', A Personal Review

The description of cortical columns is amazing; they serve as the fundamental computational units of our brain.

A Personal Journey Through Tegmark's Mathematical Universe

I love the concepts of inflation theory, Many Worlds interpretation, decoherence, consensus reality, and many more.

Validate HLSL grammar in command line

HLSL is used in Unity, and one can debug HLSL code in SHADERed. However, SHADERed doesn't show the detailed compile error message as Unity does. Here we show how to use a tool called glslangValidator to validate the HLSL grammar in command line.

Setup Unity ML-Agents

Unity has published ML-Agents 2.x, and here is how to set things up and run the examples.

A simple Android virtual environment

Inspired by DeepMind's newly release AndroidEnv.

How to use PyCUDA to bring significant speedup

We can see the CUDA version only takes 6 seconds while the original version would take more than a hour.

Nuance in Monty Hall Paradox

Hmm, is the "Marilyn's question" different from "Monty Hall Paradox"?

What is Mathematics According to Keith Devlin

In the book Introduction to Mathematical Thinking, he wrote, "Virtually nothing

Dynamic NN Allowing Additional Evidence?

Why does the person with highest IQ not become the most successful one?

Use Tensorflow to Compute Gradient

Scree of PCA(Principal Component Analysis)

Learning Rate is Too Large

Manipulating Tensorboard

Implement a Deep Neural Network using Python and Numpy

Cross Entropy 的通俗意义

推荐《写下记忆:理解、推导、扩展LSTM》

学习Tensorflow的LSTM的RNN例子

学习Tensorflow的Embeddings例子

如何问一个好问题?

Recurrent Neural Network(RNN) Implementation

from Tensorflow to Keras

About sparse_column_with_hash_bucket

Thank you, GitHub and Jekyll