HNHacker News
TopNewBestAskShowJobs

taliesinb

2,464 karma · joined July 25, 2010

Category theory and AI @ symbolica.ai

https://tali.link

https://twitter.com/taliesinb

submissionscomments
taliesinb··on Inside the Matrix: Visualizing Matrix Multiplication, Attention and Beyond
You might gain some basic intuition from this (partially complete) Numpy tutorial I wrote for the Deep Learning Indaba: https://arrayalgebra.info
taliesinb··on Simple Drawings with Mathematica
I have yet to find an adequate replacement for Mathematica and its graphics DSL. To create the visualizations in https://math.tali.link/classical-array-algebra/ takes a fair amount of interplay of code and data, I shudder to think how I would do this in a non-term-rewriting language.
taliesinb··on Lean 4.0
Does anyone know if Lean 4 has encoded much category theory?
taliesinb··on From word models to world models
Exactly. Thought is prior to language, and much confusion happens when you conflate the them. In particular the surface syntax of language tells you next to nothing about the "syntax" of thought, which is hypergraphical, not tree-structured.
taliesinb··on Attention with Linear Biases (ALiBi)
please clarify your suffix "which is natural language of the sentence"? are you referring to the positional encoding?
taliesinb··on There’s no such thing as a tree phylogenetically (2021)
Interesting article, though I thought this was going to be about the fact the the "phylogenetic tree" is not in fact a tree but a hypergraph, owing to the existence of sexual reproduction.
taliesinb··on FTX to file for U.S. bankruptcy, CEO resigns
Amazing! Even includes anagrams: a person called Charis Law who owns a company called Whirl Casa.
taliesinb··on FTX tapped into customer accounts to fund risky bets, setting up its downfall
I'd be fascinated to read these published things if anyone can point to them!
taliesinb··on Why mathematicians study knots
I would love to have some pointers to the higher dimensional algebra you're referring to.
taliesinb··on NSA, NIST, and post-quantum crypto: my second lawsuit against the US government
Why is the submission URL using http instead of https? That just seems... bizarre.
taliesinb··on Evolution is not a tree of life but a fuzzy network
Yup. Genetic recombination means some genotypes are the result of crossover of two parents. Horizontal gene transfer has a similar implication. This means the true structure is a directed hypergraph.
taliesinb··on Plenoxels
Interesting, but the video is only available at 480p for now, so it's hard to actually see any details in the demo. I assume this was uploaded very recently and YT is still processing the higher-quality versions.
taliesinb··on Ask HN: Those who quit their jobs without anything planned. How did it go?
Very well put!
taliesinb··on Ask HN: Those who quit their jobs without anything planned. How did it go?
> It also looks like you should have a strong plan to do something (hobby, hike, or work in another capacity). If you don’t, you may just stagnate and waste some of your prime years for growth and development.

Having been on this journey too, I provide this reassurance for those on the edge of quitting: trust in your superego. Your superego is always there, always watching, always asking: "is this what you should be doing?". When you are working on someone else's project, doing something you don't want to, it is easy to ignore this inner voice, because in a way it is not your own. Procrastination, and stagnation, are natural when your job isn't your dream. But when you're on your own dime, things feel very different.

It is a mistake to extrapolate your tendency to procrastinate from the world of work to that of a free agent: with no immediate constraints it is much easier to recognize and slip out of those peculiar knots of irrational behavior that tend to trap smart people with unsatisfying jobs. But on the other hand, you will be forced to confront the terrifying choice of what to actually want! This is terrifying because, in a way, it is the most important choice you'll ever make.

taliesinb··on Ask HN: Those who quit their jobs without anything planned. How did it go?
I've had quite a journey since quitting, so sorry for the long post!

I worked at a company writing mathematical software for 8 years. The work was interesting, but I kept feeling there was a deeper way of thinking about some particular topic I was working on (e.g. data science, array programming, visualization, deep learning). Unfortunately, writing production code didn't leave me the time and energy to pursue these "deeper truths". Thinking deeply takes a lot of time!

It was a hugely difficult decision, but in 2018 I quit, without much of a plan. I attended some summer schools in different things, taught at some other summer schools, started reading papers and watching lectures on youtube about things that interested me. I trained with a friend to get a job as research engineer at DeepMind, but when it came time to apply, I worried I'd repeat the same pattern as before if I got the job. So I got cold feet.

The second decision, even more difficult, was to trust my instincts that I could learn topics and work on my own proto-ideas independently without the imprimatur of a PhD program or industrial lab. I had saved money, and I had enough runway for a couple years.

I have roughly 3 ideas in me that I need to formalize -- or die trying (meaning run out of money). I have cute names for them: hyperbooks, algebraic arrays, and discrete geometry. I'm working on the last one right now [1].

My inspiration was people like Andrew Kelley (author of Zig), and Rich Hickey (author of Clojure). They just did the things they believed in, worked hard, and have contributed something useful and novel to the world. Of course, I don't know if what I'm working on will be useful to others, but I have reason to be hopeful.

If one of my ideas succeeds, I'll be able to find a way to make a living off of it somehow. If they all fail, I'll have learned an enormous amount, had an adventure, and I can still go back to the ordinary career path.

In the end, the fundamental question was: "do I believe in an idea enough to pay my own salary to work on it?" Realizing I could honestly answer "yes" was a profound inflection point in my life.

[1]: https://quivergeometry.net

taliesinb··on Music on a Clear Möbius Strip [video]
A bizarre coincidence: this morning I was reading about a role for the Möbius strip in music, but it had nothing to do with this!

It turns out orbifolds have an application in music theory. Orbifolds are a kind of generalization of a continuous manifold [0]. The mathematician Tymoczko (and others) used orbifolds to describe the abstract geometry of musical chords, in which the Möbius strip is the geometry of the dyad. The work was published in Science [1], and is quite short and readable, but is also summarized in a short article by the AMS [2].

[0]: https://en.wikipedia.org/wiki/Orbifold

[1]: https://dmitri.mycpanel.princeton.edu/files/publications/sci...

[2]: https://www.ams.org/publicoutreach/math-in-the-media/mmarc-1...

taliesinb··on Linus Torvalds on Community, Rust and Linux’s Longevity
I read some of the recent submissions on the issues around C undefined behavior, which sound almost nightmarish. The common impression is "C is dangerous because it is so powerful" -- which makes it seem like an honest tradeoff, right on the Pareto frontier between those two.

But I know think a more accurate summary would be "C was designed at a time when computer architecture had not yet consolidated, and it suffers for it, leaving you with impendence mismatch between language guarantees and hardware semantics, costing both performance and safety". It seems you need a heuristic model of compiler behavior under different optimization levels to actually achieve predictable machine behavior, really the opposite of deep control!

If we are imagining a language that could stand in the place of C and deliver on that advertised promise, I would think Zig (when stable and self-hosted), not Rust. Also, it's clear to anyone following Zig that it is just plain fun! The language reference is quite entertaining, for example. And Zig Showtime is a great YT channel.

taliesinb··on The Simple Math Behind the Mighty Roots of Unity
A nice introduction! An interesting next step is to look at so-called cyclotomic polynomials.

Wildberger's has a gentle introduction to this [0], though you'll have to tolerate his idiosyncratic notation ("polynumbers" instead of "polynomials")

A more sophisticated next step would be Richard Borcherd's video [1] on them as part of his series on Galois theory. Airdropping into the middle of that series might be a bit confusing, hopefully an enticement to watch the whole thing from the beginning, and well worth it since Galois theory is a historically important and rich vein of mathematics.

[0]: https://www.youtube.com/watch?v=5A5qNgmE5Ng

[1]: https://www.youtube.com/watch?v=SFVnkR2I9QI

taliesinb··on The Geometry of Color Perception
This site is an extraordinary labor of expository love! I've encountered it a couple times over the last 8 years or so. Page after page of detailed summaries, explanations, arguments, graphs, pictures, diagrams. It just keeps going. It is at least a booksworth of material, and with book-style glosses and marginalia. I wonder why it's not already published as one.
taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
I agree, it's a high priority to build discrete versions of differential geometry, calculus, PDEs and so on. That's what I'm trying to do
taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
Wow, it looks extremely interesting!

You know, it's bizarre, I recently pursued a similar approach, attempting to derive quadratic kinetic energy of an automaton controlled by a computer program (it used a circular tape to decide whether to move left or right). I set up a coarse-groaning, identifying energy with information, well, negentropy of the state of the tape, and arrived at similar results: higher energy = fewer microstates, in other words, there are fewer programs that move at the speed of light than at some slower speed. Which makes sense! There is only one tape that tells the automaton to move right at every step. Toffoli says exactly this: "A low-energy state is 'cheap' because it is 'common', there are so many ways to achieve it". Conservation of energy is exactly microscopic reversibility! What could be cleaner?

That whole approach is on the shelf for now, because I first want to develop a discrete version of contact, and thence symplectic geometry, since that will provide the mathematical formalism to express a kind of "discrete classical physics", rather than just a single toy model.

Anyway, I'm beyond grateful for this reference!

taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
Thanks for the link! I'd be curious if you know about other information-theoretic approaches to understanding phenomena even in say classical mechanics (let's put aside statistical mechanics where the connections are already well understood). I'm dimly aware that there are fields like "symbolic dynamics" but not sure of the best entry point into that literature, or where to find the most powerful perspectives it offers without getting stuck in the weeds.
taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
I largely agree about the book: I think there might be something there, but the case is far from being made. One small correction: the rewriting systems he proposes are not deterministic.

As for how non-local entanglement can occur, I'll just offer my current speculation, having spent about a year working on this kind of approach. You'll have to give up SR in its traditional sense. There will be a preferred reference frame, which is the rule application order that the automata uses in any particular history. The challenge becomes to explain why it is not observable and you have approximate Lorentz covariance. I think this will be less hard than one imagines -- even in Feynman's lectures you see explanations of SR that involve an aether (or a global frame if you prefer) and clocks defined by light bouncing between mirrors moving in this aether. Of course all physical laws have to be covariant, and explaining how this happens requires you to know how the physical laws are "microphysically". But the graph itself in graph-automata models is a good candidate for an ether, with particles being e.g. topological defects. Somehow covariance must reflect how a dynamical account of defect behavior changes as one foliates rule application order, mysterious but not inconceivable.

Now, entanglement: one imagines entanglement is implemented by long-range connections, which in graph-type models could take many forms. This is a kind of discrete version of the "ER = EPR" proposal. But they will have to be such a limited form of connection that they do not permit signaling, and I think they way they can do this is via some sort of knot-theoretic braiding. Only be comparing measurement outcomes classically will it be possible to deduce the way the braiding was effected by measurement and confirm you had e.g. a GHZ state.

Now, QM is more than just entanglement, but in the words of Jaynes: "QM is a peculiar mixture describing in part realities of Nature, in part incomplete human information about Nature - all scrambled up by Heisenberg and Bohr into an omelette that nobody has seen how to unscramble." When scrambled, all the ingredients look inextricably connected. I think the unscrambling will seem beyond hope until one has the exact recipe to recreate the omelette.

taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
> Aren't these multiway systems essentially what we see with ambiguous grammars...

Yes.

> One application of these might be to resolve the meaning of probabilities under the many-worlds interpretation...

There's some ways to go before we Hilbert spaces, operator algebras, and the like, but yes, the idea would be that some path counting procedure would be used to derive the Born rule. It would be great to bridge with Carroll's self-locating uncertainty paper [0]

> Under the section titled "Observers, Reference Frames and Emergent Laws" in this article, you can see some branches merging again in that first graph, so perhaps the probabilities of the Born rule are due to parallel computations that merge in this way...

Right!

[0]: https://arxiv.org/abs/1405.7907

taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
Shame, Atiyah was senile at that point. A sad note to end on after a brilliant career. But whatever you may think about him, Wolfram is not senile.
taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
I'm not an expert in Petri nets, but they are definitely used for modeling in various fields. Krohn-Rhodes theory also claims some successes if you read that article.

As for the stuff I'm actively working on: even if it is successful, and uniquely suited to solve some particular problem, I'd imagine it would take at least a few years to be actively applied in the right places -- and it might end up being me helping to apply it!

If you look back at for example graph theory, it was explored on the pure mathematics and computer science side for many decades before it spawned e.g. network science and got applied in sociology, economics, etc.

So, yeah, don't hold your breath! If you'd prefer not to read any blog posts heralding XYZ as the next big thing before XYZ has already led to a concrete breakthrough, I think that's a totally fair. I myself am quite happy to work quietly on things until there is a satisfying and complete application, but Stephen isn't like that. Both stances have pros and cons.

taliesinb··on Multicomputation as a General Paradigm for Theoretical Science
Some of the ideas in this post might pan out, some might not. Regardless, I do think token event graphs will turn out to be important. Of course, I'm biased: I coined the name TEG -- although the underlying idea originated with Max Piskunov and his "local multiway systems" [0]

What's promising about TEGs (and their incidence hypergraph, the rewrite hypergraph) is that they offer a clean methodology to decompose the behavior of a non-deterministic automaton into its causally independent parts. We're still trying to understand how to think about them, but the most promising approach seems to use the lens of (modular) representation theory, which gives us a rich mathematical toolkit to work with.

If this methodology works, there will be possibility to represent many kinds of systems in disparate fields, ranging from distributed computation to physics to biology to machine learning, in the common language of TEGs and their representations. Of course it may turn out to be merely a recasting of older ideas. In particular the Krohn-Rhodes theorem [1], categorical Petri nets [2], and the GNS construction [3] seem like they might be describing the same or an analogous procedure.

I hope to soon be describing this approach in full detail using quiver geometry [4].

[0]: https://github.com/maxitg/SetReplace/blob/master/Research/Lo...

[1]: https://www.wikiwand.com/en/Krohn–Rhodes_theory

[2]: https://arxiv.org/abs/2101.04238

[3]: https://www.youtube.com/watch?v=OmaSAG4J6nw

[4]: https://quivergeometry.net

taliesinb··on Jupyter Book
Yes, I used Mathematica to author https://quivergeometry.net, but I had to write the markdown converter, katex generator, rasterization caching etc. myself. Took a while to set up but works quite well now.

Some parts of it are quite flexible, like using Mathematica stylesheets to separate style and content for particular mathematical forms and change them globally to find the most ergonomic thing, with Katex that matches the mathematica (though I have to manually maintain that correspondence).

taliesinb··on Visually stunning math concepts which are easy to explain
I forgot to say that if anyone hasn't seen it, RedBlobGames' tutorial on hexagonal grids is an extremely good resource that uses visualization and interactivity to great effect, and really helped me in early stages of my work:

https://www.redblobgames.com/grids/hexagons/

taliesinb··on Visually stunning math concepts which are easy to explain
This doesn't involve traditional mathematics concepts, but I'm relying heavily on visual explanations in my mathematical explorations of discrete geometry, which you can find at https://quivergeometry.net.

Probably the cleanest examples of where visualization makes things very clear is explaining the groupoid structure of paths [1], and how to generate lattice quivers [2].

But I also enjoy some of the aesthetic qualities of the sections on coverings [3] (intricate), vertex colorings [4] (very colorful!), toroidal lattices [5], and products of quivers [6]. The last in particular involves trying to understand products from both an algebraic and geometric perspective, and 3D visualization is especially helpful there, giving intuition for how a certain product slices off hexagonal pieces of a hypercube.

[1] https://quivergeometry.net/qg/paths/

[2] https://quivergeometry.net/qg/lattice-quivers/

[3] https://quivergeometry.net/qg/covers/

[4] https://quivergeometry.net/qg/colorings/

[5] https://quivergeometry.net/qg/toroidal-lattices/

[6] https://quivergeometry.net/qg/quiver-products/

← PreviousPage 2 of 25Next →