nhorozov.xyz — all content

Every page on the site, concatenated in BFS crawl order starting from the main page. Crawled from the live site on 2026-11-23.

Pages in this file:

  1. nhorozov.xyz
  2. programming
  3. mathematics
  4. About me
  5. Blog
  6. Thoughts
  7. Mandelbrot set
  8. Strange Attractors
  9. Word2vec
  10. rockets
  11. NEMI was really cool
  12. Newspapers to Numbers
  13. Hessian Nullspace continuation effect on rank of matricies
  14. Reversing Conway’s Game of Life using a Visual Transformer
  15. Model Rocketry
  16. thought-2026-11-18-1916
  17. thought-2026-11-18-1245
  18. thought-2026-11-18-1207
  19. thought-2026-11-13-1921
  20. thought-2026-11-13-1635
  21. thought-2026-11-09-1004
  22. thought-2026-10-19-1643
  23. thought-2026-10-14-1015
  24. thought-2026-10-14-0914
  25. thought-2026-10-11-1740
  26. thought-2026-10-11-1233
  27. thought-2026-10-07-0924
  28. thought-2026-10-02-2301
  29. thought-2026-10-01
  30. thought-2026-09-29
  31. thought-2026-09-28
  32. thought-2026-09-27
  33. bits per cake
  34. sat
  35. thought-2026-09-25
  36. [big sentences]
  37. digging in my middle school google drive
  38. thought-2026-09-23
  39. hyper unpolished thoughts
  40. thought-2026-09-21
  41. trustless things are neat
  42. thought 2026 09 19
  43. superrationality cosmic host (?)
  44. thought 2026 09 18
  45. things easy vs hard
  46. system 1 and 2
  47. ∴ in casual english
  48. thought 2026 09 16
  49. sleep placebo
  50. thought 2026 09 15
  51. agent coding thinking bottleneck
  52. revert vs reverse

nhorozov.xyz

Nickola Horozov’s personal website

I like programming, mathematics, and everything that falls between

You can learn more about me here

I have a blog and save quick thoughts


anon feedback


nhorozov.xyz/aboutme/programming

programming

I’ve been programming for a few years now and I love it. I started in 2019 with Python, and then switched to p5js and JavaScript because it was easier to share.
I then became interested in chaos theory from a book I read and I made several programs plotting strange attractors and the Mandelbrot set.

My programming accounts:

Due to many of the dependencies of my projects in p5js implementing breaking changes in the years since I have worked on them, many of these will not work unless they are run with p5.js 1.x.x You can change this in the upper right corner of the screen by pressing the gear and then changing the version of the p5js libary. I have spent many years working here and some of my favorite work is here


nhorozov.xyz/aboutme/mathematics

mathematics


nhorozov.xyz/aboutme/

About me

Hi, I’m a highschooler who enjoys things that make me think. I really like Quiz Bowl, Math, Computers, and Philosophy.

Blog + quick thoughts (most often updated)

My interests

Things I’m proud of/had fun doing


nhorozov.xyz/blog

Blog

I write down things I’m working on, and explainations of things I’ve done. I often write quick things in thoughts.


nhorozov.xyz/thoughts

Thoughts

I write quick things that occur to me here. I write longer things in blog. Some of the stuff I’ve thought up a while ago and randomly recall them, so there might not be some consistent timeline of my thinking after I use this for a long enough time. I still think it shows a lot about what goes through my head on a daily basis. This page is mostly just a way to get me to write more. If you dont like clicking millions of links try this site as a single concatenated page


nhorozov.xyz/blog/mandelbrot-set

Mandelbrot set

I wrote this program in Feburary of 7th grade, shortly after I wrote my strange attractor plotter.

In 7th grade I became interested in Chaos theorey while reading a book about it.

I forced myself to not look at other existing implementations of it online, and wrote my own. (You can tell I did this because wrote it such that the past values of z are stored in a list, and I manually implemented the complex arithmetic needed instiad of simplifying it further). I really liked how the value for z jumped arround the complex plane, and sometimes settled down at zero and sometimes zoomed off to infinity. I remember in 7th grade french class taking a piece of paper, and manually going through 4 iterations of the algorithm to see if a point (with relativly simple coordinates, like i+1) was in the set or out of it. I tinkered a lot with that program and used it to draw out various zoomed in parts of the set, which I put in a newspaper article for school later that month. Later in the article I wrote I section about my Strange Attractor plotters.


nhorozov.xyz/blog/strange attractors

Strange Attractors

I wrote this program in January of 7th grade.

I became interested in Chaos theory after reading a book on the subject. It described how a scientist working on weather models liked to experiment with various equations and run them on his computer, eventually finding a really nice looking shape with some really interesting properties. I found this pretty interesting, and when the actually showed me the formulas used to make this, I felt like I should chalenge myself and figure out how to work with these.

So now in 7th grade, years away from formally learning integration, I gave myself the task of trying to figure this out. So I aproached a teacher in the highschool, and when I showed him the formulas from the book, he told me they couldnt be solved. Which was true, they couldnt be explictily solved, but I wanted to figure out what Lorenz had done and get it to work. So I asked arround a little further, and I learned that dx/dt describes the change of x over the change in time. (I learned this written with the Greek letter Δ instead of ‘d’, so thats what I ended up using in my programs). I also learned that I could multiply both sides of each of the three equations by Δt, and got me into a good state to tinker arround with my program. It took me a long time to figure out what a good value for Δt should be, and I was very happy when my program was able to plot a nice visual of the attractor in less than an hour (which is what happened before I increased Δt by a few OoM).

Here is a visual of the Lorenz attractor I made

After this project I had this nagging feeling that I really didnt get what it meant for a set of such equations to be “explicitly solvable”. To try and fix this, I wrote a number of smaller programs in which I tryed to plot different equations and got a circle to be plotted using ODEs.


nhorozov.xyz/blog/word2vec

Word2vec

I wrote this program in in 8th grade.

This program finds meaningful vectors that correspond to the meanings of the words it’s given. This program takes in all the words and symbols from the corpus, splits them up, takes the relative positions between the words, and then strongly compresses that information by training a neural network on it. The lower the blue line during training gets, the more compressed the data is. Once the neural network is trained on this information, different parts of the network store relevant information for different words. The incredible part of this is that this word-specific information in the neural network actually describes the coordinates of a meaningful point in an abstract space - not a normal 2D or 3D space as we are used to, but a much more complex 100D space. It is basically impossible to visualize anything in a 100 dimensional space, but many of the same rules and mathematics we are used to in lower dimensional space can still be used when we go to 100D. For example, we can still find the distance between two points in the same way as we would in 2D space, by applying the Pythagorean theorem. The reason these 100D points are interesting is because words with points that are closer to each other have similar meaning. And it gets even better because (when this method is applied to much larger collections of text), you can actually do literal arithmetic on the points the words correspond to. Google’s paper describing the word2vec system gives the example of vector(“King”) - vector(“Man”) + vector(“Woman”) giving a vector close to vector(“Queen”). By now it would probably be a good idea to say that ‘vector’ and ‘point’ mean mostly the same thing in this context (sometimes in the field of machine learning its helpful to look at the distance between two points in terms of the angle between them from the origin, and other times it’s helpful to rotate the points by an angle around the origin, so the word vector is often used) I find this system really interesting because it is one of the shortest ways I could find to automatically quantify the meanings of words. I first learned how this process works in 8th grade, and now (11th as I write this) I understand much more about this. The idea of turning words into vectors is a very powerful one, and gave me a very helpful inital intuition about how LLMs work. Inside the code, there is a variable named ‘corpus’ that I would recommend changing the content of and reruning the program.


nhorozov.xyz/aboutme/rockets

rockets

In late 9th grade I wanted to land a model rocket. The easiest way to do this would be to place the center of mass underneath the center of thrust. First, I constructed and tested a version of the rocket made from my violin stand and 3 rocket motors arranged at the top of the rocket. Ideally, they would ignite at the same time and pull the rocket up. But when I couldn’t get the engines to ignite all at the same time, I needed to switch the design to a rocket with only one engine and 3 landing legs.

For this, I made a simulator in Python that took the thrust of the engines as they changed over time and showed when they would land. When I launched the second version of the rocket, the one with a single engine and 3 legs, it flew and flipped over and crashed. I believed the rocket would land correctly because the center of mass was below the center of weight. In the future will need to increase the distance between the two. One way to do this would be to put a more powerful motor. Below is me launching the rocket with one motor at my friends house.

That’s me with the welding helmet. The engine I used had an ejection charge in it and I wanted to make sure it didnt hurt me.


nhorozov.xyz/blog/nemi26

NEMI was really cool

I flew back from Europe on August 12th (alone, for the first time :) ) so I used my jetlag to my advantage to get to Boston. I woke up at midnight to catch a 3am bus to Boston and I met a lot of really cool people there. I only met one other person who works on mech interp before this, and it was really great there.

I half wanted to go to NEMI to meet more people that do this, and half to see if I could do it.

There was one project I was really interested in, from the first student speaker, in which they built a method that finds directions in the loss landscape where the curvature is minimal, and moves the neural net in one of those directions (along with training the new network to have similar behavior as the inital one). These two steps are then repeated a lot. While I was watching the presentation I was thinking that the new neural networks would probably be harder to compress their weights that the inital ones, in the sense that their internal structures would be more complex.
I later asked the presenter about how the rank of the matrices in the neural networks changes and while she said she hadn’t thought about it she figured from a graph of the RNN’s state that it increased there, which made me really happy because that intution about compressablity was right :)

I wonder if this happens for other neural nets when you apply this method, that the rank increases.

note from the future (20/09/2026), the actual methods the speaker presented considered the loss landscape with respect to a behavior-preserving metric. i didnt correct the above because i wrote it directly after nemi and wanted to save that. I tinker with the method in this post


nhorozov.xyz/blog/newspapers-to-numbers

Newspapers to Numbers

This was done for my English Honors class in mid 11th grade. Here is my final slideshow with the graphs I made for this.

I have been interested in some time how words change meaning over time. My English teacher gave us an amazing month long assigment in which we had 2 weeks to learn everything we could on a subject, and 2 weeks to synthesize what we learned into something we would present. I wanted to use methods in machine learning and AI (like the idea of quantifying the meanings of words and representing them as vectors) to quantitativly model how language change. I looked into various datasets of historical text, and eventually settled on the Library of Congress’s collection of scanned newspapers from 1850-1950.

I wrote a program that trained a small ~11 million parameter BERT model on 300 megabytes of text. Each document I fed the model was prefixed with the year the document was from, so the model would learn the associations between the tokens for the year, and the rest of the newspaper exerpt. I found that the system was easier to train when it was given more documents that each were shorter, so I cut up each newspaper articles into 20 exerpts. To look at trends in how words change over time, I considered the document embeddedings the BERT model used to produce its distribution over its vocabulary, from its last hidden layer. I then took the embeddings in document-space the BERT model gave me for a series of strings containing a year and a term (eg. “YEAR: 1893 | Spanish Empire”). I took all these vectors and computed the consine distace between them and a base vector, such as BERT-vector(“Spanish empire”) ⋅ BERT-vector(“YEAR: 1893 | Spanish Empire). I then plotted the cosine distances between these ideas, as one stayed static through time, and one moved though time.

I trained a few such models, experimenting with different model sizes and amounts of training data. The largest one I tested was 110 million parameters and took nearly 16 hours of compute on my PC. I found that I could get better results from these systems if they were given more training data, not more parameters.

Not every year is represented in the dataset, and I’ve checked and those unrepresented years acount for most of the outliers.


nhorozov.xyz/blog/hnc rank tinkering

Hessian Nullspace continuation effect on rank of matricies

Date: September 14 2026
This was tinkered around with over the course of a few hours, and written up over the course of a few days (after sep-14-26). I’m confident about my intuitions behind this but don’t fully understand all of the math. An example of this is eigendecomposition, which I can’t say I formally/rigourously know but I can clearly imagine what it would mean to have low eigenvalues in the eigendecomposition of a Hessian (there’s flatter bits in those directions, though they aren’t fully flat). I used GLM 5.3 flash for this, and my prompts are at the bottom of this post.

Intro

Last month I attended NEMI and a student presenter, Ann Huang, presented a project where they applied a method that moves the weights of a neural network in directions towards low-curvature regions of a loss landscape defined by a behavior similarity metric to the inital network (1/2 * |f_i(x)-f(x)|^2, averaged over a set of inputs). Because the Hessian only gives local low-curvature directions, they recompute it after moving the model a little in one of those directions. In the process they include an optional step of moving in flat directions that also minimize CKA, or you could just pick a random flatter direction. They alternate nudging the model with the Hessian and gradient descent on a behavior preserving loss, and repeat this prosess many times. They call their method Hessian null space continuation (HNC). This is a really cool method.

They found that the internal structures learned change when HNC is applied.

When I watched the presentation I was thinking that these new networks are probably harder to compress in some way. I know that many powerful learning algorithms have a bias towards simplicity, and I knew that backpropagation and RL generally decreases the rank of the matrices in the neural networks, which is interesting because most matrices out there are really high-rank.

Because of this I figured the rank would probably increase when HNC is applied.

What I did

I trained 3 models from scratch, a MNIST MLP, an RNN for the 3 bit memory task from the presentation, and the transformer from Progress measures for grokking via mechanistic interpretability, recording their rank during training. I then applied HNC to each of them and measured the rank as it changed. I also considered how CKA-steering affected the rank.

(note: during this I didn’t know a ton about the different ways to calculate rank and the different kinds of it, and thought that the actual `numpy.linalg.matrix_rank would be the thing changing, I was wrong about that and GLM 5.3 flash suggested using stable rank and participation ratio)
GLM 5.3 flash did a lot of the heavy lifting here and was mostly given a detailed inital prompt (where I listed the models I wanted to apply HNC to, what I wanted to graph).

Here are some figures of the rank changing for multiple seeds, with phase A being the training and B being the HNC:

Graphs

note: looking at these graphs, I notice that they don’t all call rank the same thing (stable vs effective) and while they both measure the same calculation in the code, they’re labled sloppily (glm 5.3 flash made them when working). I will fix this soon

Part A (training from scratch)

We can see the rank generally fall when training the transformer from neel nanda’s grokking paper. Depending on the matrix, something it does sometimes is go down a lot and and come up a little. For seed 2 in the W_E matrix it actually keeps going down, which is cool.

Gradient decent has a bias towards simplicity and since (stable) rank is some kind of proxy to complexity (high-rank~high complexity), it makes sense to see it fall here. This part isn’t really new but I like it a lot.

The rank falls while training from scratch in modular addition transformer

Part B (HNC)

This part is more interesting. There is a general upward trend for the rank of the matrices but its not always and its not constant. You can most clearly (out of the three seeds) see a general rise in the rank this in the transformer. But some matrices’ rank increases while others’ decreases.

Effect of HNC on modular addition transformer

I think you can see it better in this seed (#2) because it got to a lower rank in part A than the other seeds.

all images

part A (training from scratch)

part B (HNC)

Prompts I gave to the agent

Read and deeply understand the poster in this directory. More context: https://nhorozov.xyz/blog/nemi26.md. I want to apply this method to a series of simple models and use numpy.linalg.matrix_rank to see how the rank of the matricies in these models changes, as they are trained from scratch at their tasks, and then as the Hessian null space continuation method is applied. Gain a lot of comprehensive context about this project, reason deeply, and get back to me when you are ready to start.

This is good, for point 2 add the transformer from (https://www.alignmentforum.org/posts/N6WM6hs7RQMKDhYjB/a-mechanistic-interpretability-analysis-of-grokking) to the list of the three models that will be trained from scratch and then phase b, with both unsteered and CKA-steered applied to all of them. Start, and if you have questions about something or have unresovable issues with hardware stop working and ask me to help.

I gave my NEMI post to the agent because I partally describe the method there, though not very well.

You can find me at [the first two letters of my first name][my last name]@gmail.com


nhorozov.xyz/blog/conway-gol-reverse

Reversing Conway’s Game of Life using a Visual Transformer

TL;DR

Conway game of life is a deterministic cellular automata. I trained a system that produced possible candidate boards for what the previous time step looked like and checked them for correctness. With this I found some pretty cool patterns in the game.

Why I did this

I was interested in LLM-powered automatic proof machines and the ones I looked at have a statistical machine (the LLM) give possible answers to a deterministic checker (like LEAN). Its fine if the LLM hallucinates something unhelpful because the checker will discard it. This is a really cool system and the main reason I first wanted to work with Conway’s Game of Life was to play around and implement something like this.

Initially, I wanted to apply similar methods on a nondeterministic version of something like this(but with more options than one for what path it could take from the seed) but I chose to do this with GoL because it looked nicer.

In my mind I see axioms and proofs as something like this, that there exists some set of unprovable statements and definitions like x=x, []=0, and [0]=1, and we have some tools at our disposal to manipulate them into something else, like √2∉Q. Because all these theorems and proofs rest upon the same set axioms, and branch out from there, I imagine this as a tree.


(I got this image from here.)

(of course, because theorems will often build upon the work of more than one previous theorem, this doesn’t follow a tree in reality, but the analogy holds in this case)

The automatic theorem provers try to append a node to the right of this metaphorical tree, and check if the rest of the tree agrees with it. Within this analogy, I do something similar with my program for Conway’s Game of Life.

How it works

I have a vision transformer that takes in the board as a grayscale image, and outputs a series of distributions that represent how the board could’ve looked at the previous time step. After outputting the distributions (which don’t change; the model will always output the same distributions given the same input), the program picks many random configurations from the distributions of possible previous boards. It then check each of them through the Game of Life algorithm to see if they will result in the current board.

I originally considered reversing the board in patches, because the Game of Life rules only make local changes, but I figured it would be easier for the vision transformer if it had a larger view of the board.

Conways game of life is deterministic and while some boards are irreversible, most boards have multiple reversals. In other words, there often exist multiple boards that when played will lead to the same dynamics.
Given a board, only one thing can happen forwards in time, and (often) many things can happen backwards in time.

If we reverse this we can get another tree - similar to the one of math theorems

sideways tree with a blinker as a seed, branching into several patterns that result in blinkers, and so on

My goal with this was to find a board that when the GoL function is iterated upon it a few times it results in something specific. I give my program a seed board, an ‘axiom’ if you will, and it correctly guesses what boards exist that deterministically relate to it, ‘theorems’, until it reaches the depth I want it to.


nhorozov.xyz/blog/model-rocketry

Model Rocketry

In late 9th grade I wanted to land a model rocket. The easiest way to do this would be to place the center of mass underneath the center of thrust. First, I constructed and tested a version of the rocket made from my violin stand and 3 rocket motors arranged at the top of the rocket. Ideally, they would ignite at the same time and pull the rocket up. But when I couldn’t get the engines to ignite all at the same time, I needed to switch the design to a rocket with only one engine and 3 landing legs.

For this, I made a simulator in Python that took the thrust of the engines as they changed over time and showed when they would land. When I launched the second version of the rocket, the one with a single engine and 3 legs, it flew and flipped over and crashed. I believed the rocket would land correctly because the center of mass was below the center of thrust. In the future will need to increase the distance between the two. One way to do this would be to put a more powerful motor. Below is me launching the rocket with one motor at my friends house.

That’s me with the welding helmet. The engine I used had an ejection charge in it and I wanted to make sure it didnt hurt me.


nhorozov.xyz/thoughts/2026-11-18 19:16

i think one reason alignment is hard is because the world isnt orderly and neat. you cant really make a (ASI) agent with the task “while (goal not done) do x”, because the notion of “done” needs measuring, and the tools the ASI has for measuring are imperfect. so it might spend an unlimited amount of effort checking if its imperfectly specified goal is reached.

i think at least some part of the above is correct, and some of it might be wrong in ways i dont see right now bc ive had a long day.


nhorozov.xyz/thoughts/2026-11-18 12:45

maybe it would be easier to (CAI/model spec) align an ai to something very meta, so it could derive what we want from that. this could risk making it more philosophically competent, but could also widen the basin of alignment. maybe having it get good at extrapolating our values out of distribution would be good? i feel like the pretrain would have to be tinkered with to let this happen, maybe remove most examples of people saying something is good or bad, and add more synthetic high-quality debates about value extrapolation. those examples of people saying something is good or bad could be used later to test what the ai thinks in those cases (cases it didnt know about before bc pretrain filtering). i think good model spec/CAI alignment needs very very good mech interp, so you could control and target what reasoning/search it does, so you could stop it from getting philosophically competent in the “wrong” ways (?). i think the clearest example of philosophical competence being scary would come from asking the machine to list ways ai could go wrong, and it came up with new ways. if its not aligned enough, it could come up with new meanings of “wrong” we havnt yet considered, and if it comes up with these and does them then we might not notice until it was too late.


nhorozov.xyz/thoughts/2026-11-18 12:07

while its possible to rewrite software that is secure with respect to a formal spec (and you can probably make a good formal spec from natural language with an llm), pre-existing hardware is a problem.
something i need to do is get into fpgas, which ive heard are much harder to sneak hardware vulns into.
it would be nice to get a small secure text editor working on one. i wonder what a good way to do storage would be.


nhorozov.xyz/thoughts/2026-11-13 19:21

we need benchmarks to hillclimb for human empowerment (ai training).
maybe rl’ing against how well people understand somehting after 3 week periods of them learning with ai-writen anki flashcards. this could be done with a large group of people over a long 3 month time period and would probably be replaced in the future with simply really good models of how people learn things (along with real people for out of distrubtion topics they want to learn).
downsides: superpurswasion probably could fall right out of this.


nhorozov.xyz/thoughts/2026-11-13 16:35

today outlook went down, planes got grounded, and i am increasingly interested in radios.


nhorozov.xyz/thoughts/2026-11-09 10:04

ive heard that fpgas are harder to sneak hardware vulns into. i wonder what you can replace with them. maybe lora radio.


nhorozov.xyz/thoughts/2026-10-19 16:43

i  noticed that when talking to friends i sometimes call it bayes theorem, but i think calling it a theorem somewhat goes against the spirit of it (whats the point of proving it? it works well empirically, thats why its used). i think i now get why so many people call it bayes rule.


nhorozov.xyz/thoughts/2026-10-14 10:15

im thinking the HNC thing from NEMI probably didnt need to use the loss landscape of a behavior similarity function, they probably couldve used the simple training loss to get the landscape.


nhorozov.xyz/thoughts/2026-10-14 09:14

funnyanglephysics
explaination: inverse sin of 1.5 has complex solutions. acceleration on a frictionless incline is sin(angle)*mg so a block on an incline at this angle (somehow lol) could fall 1.5 times faster
theta is 1.57079633+0.96242365i, which comes from π/2 + i*ln((3+sqrt(5))/2)


nhorozov.xyz/thoughts/2026-10-11 17:40

map/territory mistake i remmeber making

in late 8th grade i implemented word2vec, which gives a way to convert between words and meaningful locations in a (100+ dimensional) space. synonyms and analogies are well defined in this space, synonyms simply being which locations of words are close to each other (you can measure closeness in different ways, i can think of 2: pythagorean distance, cosine distance (angle between lines from those locations to the orgin in the space)) and analogies being King – Man + Woman = Queen

for a while i thought antonyms just didnt exist because this space of meaning from word2vec couldnt model them well. you could have  a function that maps between a word-vector to another word-vector but it would require training data and it wouldnt be able to compress this nicely. what should be the antonym for red? blue or green? how about the antonym for car? antonyms for numbers are strange but they can be defined (1-> -1 or 1, 2-> 2 or 1/2)

i later learned about how transformers output distribution over vocab, so that takes care of this ambiguity (when you ask the model what the antonym for ‘watermelon’ is itll pick a more random answer than if you ask it for the antonym of a number, in which case it sohuld be a coin flip between the additive or multiplicitive inverse)


nhorozov.xyz/thoughts/2026-10-11 12:33

yesterday was homecoming and astronomy club was running a stand. we were selling hershy kisses and ‘pies’ (paper plats with whipped cream on them), which people could either eat or splat into their  friends faces. i got pie’ed 3 times and ran to town to get more whipped cream when we ran out.
(we had paper towels to clean ourselfs with)

it was really fun


nhorozov.xyz/thoughts/2026-10-07 09:24

i think evolution produces a lot of fractels because they have lower complexity. a pair of lungs with self-similar alveoli are probably easier to describe than some collection of pipes and tubes.
ik evolution has a simplicity bias because of this
(i read this same wiki page so often that typing ‘e’ into my browser autocompletes to it, because it matches to en.wikipedia…)

if neural networks like simpiler solutions over more complex but equivalent ones because their loss landscapes have a lot of singulaities, then maybe if you have have different genes describing the same phenotype then a similar thing might be happening in evolution


nhorozov.xyz/thoughts/2026-10-02 23:01

just watched this and learned a lot abt acausal trade
its really cool and i dont thikn i have a full grasp on all of it yet. i do understand colaborating in the prisoners’ delima with a clone of yourself, or even someone else that you know has/takes coralated actions with you. i dont really understand how its useful that theres a lot of aliens that probably take similar actions as us.

something i think i end up doing after i read/learn something is i think about it a lot, and figure out some kind of messier version of what already exists out there but i havnt read yet. after i read bostroms cosmic host paper i was thinking that the cosmic host would probably be smart enough to be superrational and acausally trade with SIs. i need to read more


nhorozov.xyz/thoughts/2026-10-01

does listening to katy perry’s hot n cold while reading the wiki page for dialectics go hard?


nhorozov.xyz/thoughts/2026-09-29

peaceful
i jus meditated for maybe 30+ minutes im not counting/ typing with my eyes close  haha

trhere was space in my and i was standing iin a basin of a mountounis loss landscape and i could feel the slope of it from left to right
i like thhis

this is gunna end up in the pretrain haha


nhorozov.xyz/thoughts/2026-09-28

epistemic status: rough intution, needs to be developed more

i think that emotions are probably just compressed representations of internal graph-search our brain does, or something of the sort. not all emotions are like this tho.
im thinking optimism is the compressed version of seeing a lot of paths forward and most of them looking like they lead somewhere good. you cant actually go and consider every possiblity of what might happen in the future though, so you rely on the compressed understanding of it.

thinking systems with limited working memory probably have functional emotions (llms do, we do)

mathy tools that work more objectively dont have working memory constrains in the same way. bayes theorem comes to mind. a few months ago my sister was reading a detective story and i asked her to give me a bunch of odds for if the killer was suspect X would this piece of evidence be true (her priors) and i very tediously found out that there was a 50% chance (there was 4 suspects) that one of them was the killer, which ended up being right as she kept reading.

i think i need to develop this idea more


nhorozov.xyz/thoughts/2026-09-27

i cant wait till we get to the utopia portion of senior year
il have enough free time to think clearly and everythign will make sense
right now i feel like i embody some terrible level of perfect larp
maybe i suffer from mode collapse?


nhorozov.xyz/thoughts/bits per cake

bits per cake

since the act of making a cake from ingredents requires searching through the space of possible recipies (which a cookbook could speed up), you can describe the number of bits this search searches.
if you have a range of temperatures which are good for cake baking (good_temp_range) and a range of temperatures your oven can produce (oven_temp_range) then you have log_2(oven_temp_range - good_temp_range + 1) bits by picking the temperature you want to bake at. (i assume that the set of good cake temps is connected and filled with integers, idk how to work with continous things yet)
i dont have a cake recipie on me right now but in the future it would be pretty fun to calculate how many bits of search making a cake requires.


nhorozov.xyz/thoughts/sat

sat

people (highschoolers) shouldnt talk abt their sat scores to each other

theres a lot of pressure/incentive for people to exaggerate scores to people. i know someone whos claimed 3 different scores from the same test to different people depending on how impressive they wanted to seem. wanting to seem as someone which a ‘high’ score means you’re conscious of how others see you, anxity ties into this. if people hear that someone they know got a really high score but say for example they havent started studying yet, theyll become more anxious. clear feedback loop, bad

sharing dishonest numbers is clearly unhelpful but whats not obvious is that sharing honest numbers can also increase collective stress. if someone hears a conversation between two people talking about some 1530s and how one of them wants to study more math to boost their score, while they havent thought about studying yet because theyre bogged down in schoolwork, this would obviously increase their anxity regardless if whether the 1530 happened or not.
to communicate helpful infomation to people theres an actual strategy to do it: just tell them what worked for you*. in doing this its important to not try to seem super braggy or impressive so they dont become more anxious.

*what worked for me is anki for english. Anki is really efficient and allows you to apply a small amount of willpower over a few weeks to learn many things. i follow this guide on anki. This pdf helped for math problems (the pdf links to a bunch of hard problems; if you can solve hard problems in math it automaticly causes you to be good at easier problems, saves time looking for pdfs). i would also recommend looking into ways to calm youself before the test. one simple way to do it is to take the sat more than once, during your second time you will be less scared of it. before my second test i listened to this guided meditation audio.


nhorozov.xyz/thoughts/2026-09-25

i just meditated. i think i meditate better when i dont sleep well which makes sense becayse im a little sleepy and dont have many thoughts rushing back into my head. this is 10:11 now, maybe i shuold do it after i wake up. a friend said its good to do it before falling asleep


nhorozov.xyz/thoughts/2026-09-24

[big sentences]

sometimes its easier to write really long sentences in quick contexts, like conversation, but then only you can follow them.

a pair of [ ] make it easier to parse sentences when their long and its hard to figure out what the objects are.

comparing apples and types of helicopters that have counterrotating propellers is a difficult and likely pointless aim.

can be turned into

comparing apples and [types of helicopters that have counterrotating propellers] is a difficult and likely pointless aim.


nhorozov.xyz/thoughts/2026-09-24

digging in my middle school google drive

im looking to ssee what stuff i saved from middle school and i just found a bunch of stuff i did and the memeories are coming back

i since lost it (and moved onto desmos), but when i got my CAS calculator i wrote a bunch of programs on it. this was ~early 8th grade, when i had all the time in the world.

i found a google doc i saved with a bunch of 1s and 0s and i remmeber how i made a script in javascript to encode a map of the world into those 1s and 0s, and how i wrote a python program on my calculator to draw it all out. i dont remmeber how i transfered the huge list of the binary tho, i probably didnt do it by hand because i wouldve remembered. the image was converted to a graysale image, and i cut it up into many sections and found if the brightness of the section was above or below some threshold. the above or below gave the 1 or 0. the google doc im looking at rn doesnt have line breaks, and remmeber how i tinkered with the modulus in the python script in my calculatro to align the different rows of the map. on my calculator i set the black/white colors to green and blue.
i copied that doc into this txt file

in ~early 8th grade i read nand2tetris and followed along for a while by rewriting the things in javascript, here (beware terrible code). my english teacher then gave us an openended writing asignment, and for that i wrote an essay about computer internals. she had a really intense grading policy but i got a 95 on that essay. she liked the structure lot, but i got that structure from the chapters of the book. i have a lot of drafts and outlines of the essay in my drive. the final is here (i remmeber my teacher suggested the title)

i found a paragraph floating arround about my interest in low-level computer things (from the same time period, i wonder why i said early 8th grade. this paragraph came later in the year)

In early 8th grade I wanted to learn how computers were made from logic gates, and then construct one myself. I created a program where I worked on my ‘virtual computer’ and planned to start from the basics and get as far as I could. I first created an ALU, a ‘chip’ that acts like a primitive calculator, being able to add, subtract and negate two 16 bit numbers. I then wanted to create a chip that would take in lines of code - a homemade variant of assembly - and execute certain commands. As I learned more about this compiler, the more I realized how difficult this would be for me to complete. Because of this, I dropped the project.

I found the diagram i made for my planned compiler!

ASSEMBLYCOMPILER (click on it to zoom in, by going to the page of the image)

i found a bunch of images of stange attractors i generated, copied folder. i read Chaos by James Gleick and wanted to plot the lorenz attractor, and then found this amazing site where i got the equations for a bunch of other attractors. I have a post where i talk a little more about this here

OMG i just found a picture of that huge snow fort me and my sister made in the [big winter storm] during covid. i remmeber we had a metal pot we filled with really hot water that we left inside it to keep us warm, and the insulation from the snow actually kept the warmth inside (not sure how much of that was placibo lol but it was really fun and i remmeber the reasoning)

i found an image i tried generating with p5js of the eye of sauron, here. i read lotr that summer.
more images i generated: hypnotizing stuff, perlinnoisemountains, bettermountains

some pictures of snap circuit radios i tinkered with

OMG i found this goofy letter i was drafting to try and convince someone to let us eat lunch eariler!

(beware terrible writing + a lot of passive voice)

The productivity of a student is inevitably influenced by their ability to focus on the lesson. One factor that plays a role in this are school start times. The average middle school in a third of the country starts before 8:00 AM, causing their students to feel sleeper in their first class. This in turn lowers students’ performance in their earlier classes. A major issue that impacts the attention of the student body, is that of lunch. Grades that have the misfortune of having a late lunch, the class prior to it is inevitably distracted.  The lack of snack early in the day only makes matters worse. Even if students have large breakfasts before school, they eventually burn the energy and remain hungry and throughout the day, until lunch.

ts had footnotes 😭
it was titled ‘want good food’ lmao. i love that i wrote this.

(below is 2021)

i just found a multiple choice question i answered where i say the antonym of ‘credible’ is ‘dishonest’, which fits better than the other options (tho i can see ‘boring’ being it) but its kinda bad. you can have credible dishonest people. the doctors paid off by big tobacco were such.

i found a bunch of crapy encryption keys i would email my friends with.

some drafts of school newspaper cryptography questions (frequency analysis of ceaser cipher)

everything i wrote was passive voice

alright i think ive found enoguh stuff il publish this to my site and look another time

anyways found a list of questions/notes i asked an areospace enginer (i was in love with rockets at the time)

Things to ask space man

  • How to make hybrid rocket engine cuz 100% liquid and gas seems tricky  
  • What’s a good oxidizer that won’t kill me  
      * I know a few like:  
      * Nitrogen tetroxide  
      * Oxygen - duh  
      * Hydrogen peroxide  
      * Nitric acid   
      * potassium perchlorate (solid)  
  • What’s a good fuel?   
      * I thought ethanol   
      * maybe nitromethane? :)  
  • Should I ditch the turbopump?  
      * I thought electric  
  • If I use oxygen for anything should I make it at home or buy it in a tank (like a welding tank)  
      * How should I make it - electrolysis with what materials?  
  • Any materials recommended for this?  
      * I thought 3d print online with stainless steels   
      *  Copper for an oxidizer impeller?  
  • Is it safe for me to make solid fuel at home?  
  • What digital tools should I be familiar with to design engines with moving fluids?  
  • What classes should I take in high school to familiarize myself with the concepts I use as an aerospace engineer?  
  • What are some resources that I can learn stoichiometry, physics, and other subjects I need to use?  
      * I currently use youtube to get my information

nhorozov.xyz/thoughts/2026-09-23

i just learned that the name for what i thought would happen when you apply HNC (hessian nullspace continuation, i thinker with it here, i learned abt it at a conference) to a nerual network (GL_n symmetry). i thought that the literal RREF rank would increase, because i thought matricies would just learn some linear transformation and then learn the reverse transformation right after. reading this it looks like theres a lot more that can happen
i need to learn more stats and more physics because i got this understanding from a post about singular learning theory (SLT), and i dont understand a lot of the formulas.


nhorozov.xyz/thoughts/2026-09-22

hyper unpolished thoughts

very unpolished thought-slop, you know how you can effectively increase your working memory by using a nice pen and paper and just writing out every thing that comes to mind? well sometimes i do that on my computer and save it

__
(this is from mid-jan 2026)
(probably not worth reading)

Search through a known set by a known measure

Examples:

Search through an unknown set by a known measure

Examples:

Search through an unknown set by an unknown measure

Example:

A note on the third type of search: while it may be possible to poll people on their opinion or measure the financial success of a work, these methods are costly and can’t be automated. Worse, they are experimental and lack the kind of elegance the previous methods have, instead measuring various real-world factors rather than just a single clean metric.

*can be known through distance between word embeddings
**only if the set of possible moves is very large; this is not applicable during the opening
__

neural nets loss function algorithsm ??

(this one isnt too bad, theres some fun intuition here)
(from early feb)

[interpreting neural networks] is largely equivalent to constructing the loss function from a minima. If there exists a loss function f over a space of neural network parameters and a local minima of f is known, how can a set of possible functions for f be constructed? I know this is possible for small neural networks, since by looking at the weights of an XOR neural network we can figure out what function the training data follows.


nhorozov.xyz/thoughts/2026-09-21

the other day i went to CAIAC, met some cool people and got their numbers.
Less Wrong is a bit intimidating and i figured it would be good for me to talk to people


nhorozov.xyz/thoughts/2026-09-20

trustless things are neat

i like systems in which many people each wanting different things can create something bigger.
if you want to evenly split a cookie with a friend, you can ask your friend to split it for you, and then you can pick the bigger piece. I like that a lot.
I never really had a good understanding of markets before reading the bitcoin whitepaper (~January 2025) and then i had a few brief moments of comprehension in which i could fit the whole system in working memory, and i really liked how you could engineer away a need for trust (with some tradeoffs, like that this depends on no one having >~50% of the compute)


nhorozov.xyz/thoughts/thought 2026 09 19

thought 2026 09 19

actually what i should be doing is rereading a few posts of the sequences every day because otherwise the compressed bits i recall from time to time are probably just high-octane fuel for motivated reasoning
doing that now


nhorozov.xyz/thoughts/superrationality cosmic host

superrationality cosmic host (?)

epistemic status: somewhat confident in the general intuitions, i might be using some terminology a little wrong though. all of this is fairly out there

i was reading bostrom’s cosmic host and i was thinking that superrationality might be common amoung SIs (cooperation without communication in the prisoners dilemma).
ASI (made by humans) probably wont have real superrationality for a while because our AIs are all trained on roughly the same training data with similar architectures, and should cooperate with each other much earlier. In FDT two identical agents always cooperate, and (i think, but probably) as they become more different they are less likely to cooperate. As you increase their intelligence theyre more likely to cooperate (bc superrationality). So whatever threshold of intelligence that needs to be passed for an entity to be superrational, we are probably going to see superrationality before we hit that threshold in our own AIs (assuming we keep making them smarter, which we might not for obvious safety reasons).

Superrationality would make sense to be a cosmic norm, and maybe intentionally seeking to create superrational ASI would be in line with that. A much safer way to do this would be to train an non-superintelegent AI to be superrational. This could be done by RL SFT’ing a synthetic reasoning trace in which the AI would try to reason what the other agent would do, and if it knows (somehow) the other is also superrational it would cooperate.

this was fun to think abt

18/09/2026 10:12:25


nhorozov.xyz/thoughts/thought 2026 09 18

thought 2026 09 18

thinking; the best possible actions you can take are probably not very different that the worst possible actions you can take. if you go all-out on solving world hunger by making food hyper-cheap to produce, imagine a meal costing a thousandth of a penny, then obesity might increase a lot. the specific details of your action matter a lot when you are trying to do the best possible thing, otherwise when exerting that effort you will miss/overshoot/overoptimize badly.
in ais a lot of safety work is dual-use for capabilties, an example being RLHF. worse than capabilties, which undersells the harm of RLHF, it also can teach smart models to be sycophantic and (sometimes, seen it) subtly passive aggressive.
(goodhart’s law)


nhorozov.xyz/thoughts/things easy vs hard

things easy vs hard

lowk easy things might be harder than hard things bc they are harder to be motivated abt


nhorozov.xyz/thoughts/system 1 and 2

system 1 and 2

a lot of ways to self-improve involve using your system 2 to guide your system 1 to be better. atomic habits talks about consciously setting your environment to have less distractions, and more reminders to do good things. doing this guides you system 1 (instinct) to make better choices.

the sequences teach your system 2 to be more rational, and specificly put your system 2 in a better position to guide your system 1.

im not fully sure about my phrasing about the sequences’ effect on the systems, i might update that in a future thought.

i thought about it a little more and i think rationality teaches you system2 to better use your system 1. an example being applying bayes rule to things, you have your system 1 come up with the priors and your system 2 actually multiplies everything out


nhorozov.xyz/thoughts/in casual english

∴ in casual english

i was recently thinking that ∴, the math symbol for ‘therefore’ should be used in english so it saves space. thinking about this more, the semicolen already does this pretty well.

While I can’t force myself to relax, I can control what I do before meditation; by listening to jazz beforehand I might be able to signal to my body that I will meditate soon.

(note from the future, 18/09/2026 07:23:07: i got the above sentence from a short essay we had to write in english clas about the habit we chose to do for a month)

17/09/2026,09:04:51


nhorozov.xyz/thoughts/thought 2026 09 16

thought 2026 09 16

just meditated again. study hall is good i  think that was 30 minutes.listenign to lofi rn


nhorozov.xyz/thoughts/sleep placebo

sleep placebo

sometimes i wonder how much my persived amount of sleep affects me. im pretty sure i act more or less the same under 7 and 8 hours, but i think about them differently. if i could somehow hide any mention of times from me and be told to fall asleep by a program i could do some kind of double-blind sleep test, where i wouldnt know how well-rested i am. this would be really hard to do though because hiding any mentino of times from me isnt something i can control. if i were to do this i would need some kind of metric of how rested i am when i wake, and if this is some kind of cognitive test then i might become used to the style of questions after a bit.


nhorozov.xyz/thoughts/thought 2026 09 15

thought 2026 09 15

for english class our amazing teacher had us read atomic habits and for a project in this class we have to pick a habit and do it daily for 1 month. i really like packing my head full of information (i love learning), even when it overwelms me. so for my habit im meditating daily for 15-20 minutes with these nice guided meditation mp3s i found. i think this is either day 5 or 6 and im not really keeping track. i have study hall every other day at school, and i stay in the libary and meditate there for a bit. its usally prett quiet. today tho i was working on a presentation for another class and forgot to so i went home. i just meditated and  i feel so at peace. :)
  17:46:29


nhorozov.xyz/thoughts/agent coding thinking bottleneck

agent coding thinking bottleneck

i like agentic coding because it moves the bottleneck when coding to how well i can think about it. this is exactly where the bottlenck should be. i can think for a few hours and then give glm5.3 flash or qwen3.8-27b a complex and detailed task, and then i can think about something else. ive done this with a lot of things. my site is a lot easier to write to because i had my agent make a cli that lets me type markdown into nvim and then rsyncs it over to the site, along with running a pile of sed commands i can imagine would should be doing but dont know how to write them (to update other pages to link to the new post/thought).

the other day i spent a while thinking about a method i saw at a conference (which was super fun to attend) and when i typed my long prompt into my agent to run a few experiments for it, i could think about other things.

in case you are interested here are the prompts

Read and deeply understand the poster in this directory. More context: https://nhorozov.xyz/blog/nemi26.md. I want to apply this method to a series of simple models and use numpy.linalg.matrix_rank to see how the rank of the matricies in these models changes, as they are trained from scratch at their tasks, and then as the Hessian null space continuation method is applied. Gain a lot of comprehensive context about this project, reason deeply, and get back to me when you are ready to start.

This is good, for point 2 add the transformer from (https://www.alignmentforum.org/posts/N6WM6hs7RQMKDhYjB/a-mechanistic-interpretability-analysis-of-grokking) to the list of the three models that will be trained from scratch and then phase b, with both unsteered and CKA-steered applied to all of them. Start, and if you have questions about something or have unresovable issues with hardware stop working and ask me to help.

I added my blog post to the agent’s context because I explain more of the method there.

this was written sept 6 2026 at 10am


nhorozov.xyz/thoughts/revert vs reverse

revert vs reverse

I was just typing up an email and I used the word ‘revert’ in the inital draft. Going over it a second time, I thought about using the word ‘reverse’ there, and quickly searched them.
I see the definition being:

Revert means to return to a previous state or condition, while reverse means to move or turn in the opposite direction or to change something to its opposite.

and I think “Reverse means to turn around while revert means to move to a previous state, so reverse is more continuous and revert is more descrete”

I like how the more descrete of the two words ends in a sharper ‘t’ sound while the more continuous one ends in a softer “s” sound.