Also, the article title is one that heavily emphasizes the AI autoresearch aspects, and doesn't mention interaction nets at all, so it makes sense that people would go into the article primed to think about the autoresearch aspects.
Llms are pretty good at porting software.
If this stuff works, it'll surface first as some PCIe extension device that work can be dispatched to when it makes sense. Then maybe it'll get integrated into SoCs and be exposed via new CPU instructions or devices. Perhaps compilers can then start to identify blocks of code that can be reduced to interaction nets, compile the net and then run them on Frostbite style chips opportunistically.
> Another issue with multi-core CPUs is the difficulty of programming them. Debuggability is a major issue, and entirely new classes of issues arise, such as race conditions. However, in interaction nets, all active pairs are independent, and so can actually be executed in any order. This property is known as confluence, and means that no matter the order in which things are executed, the result will be the same. This makes debugging straightforward and eliminates issues like race conditions. This allows Vine to be parallel out of the box; the programmer does not have to do anything special with threads, processes, CUDA kernels, etc. to get parallel execution.
So there is 'no sharing of state' baked into the computational model by design, enforced by this very simple and elegant design choice.
principal ports are where computation happens
The aux side, you can have as many terms as you want, but on the principal side, you can only have one.
The novel thing here is that you can connect two principal ports, in which case you get an actual equation (or interaction pair in inet terminology) - but the whole thing is only valid if the two sides actually can be made equal.
From HS algebra, you probably know how turn this into an imperative for (essentially solve for x) - which brings the inet into a normal form, and the computation becomes a DAG, just like with other representations of computation.
I feel like im missing the big idea though.
Seems to describe something analogous instruction level parallelism, which traditional CPUs made this millennium have as well via instruction pipelines, branch prediction, and speculative execution. Some of which turned out to not work too well so now we generally run hobbled CPUs with Spectre mitigation enabled.
The reason why we tend to reach for difficult abstractions for core level parallelism is that most automatic/safe approaches tend to stumble pretty hard on Amdahl's law, where most parallel code is consequently almost entirely designed around minimizing critical sections.
I don't fully see how inets would resolve Amdahl's law.
But even when it's possible to reduce, you often need the compiler to do it for you. For example the simple C loop:
for (int i = 0;i<LEN;i++){
b += a[i];
}
The naive implementation of this loop is serial - every iteration of i relies on the previous one. In this case, the compiler can trivially infer that this is not the case, and can produce the nth value of i without doing all the previous computation, and thus enable parallelism. But if we were to feed the 'naive' version into an inet cpu, we'd still get serial performance.If a computation's dependencies are not so trivial to determine, this simple parallelization might be beyond the compiler's ability, or may be straight up impossible. The latter seems to be the case for more general software.
Tbh, I'm not criticizing inets, and as GP has pointed out, out-of-order computation already does dependency tracking, but that ends at the scope of a single logical CPU thread, and what comes beyond that is user-managed-threading, a very difficult and bug-prone approach.
So there needs to be a better primitive for hardware parallelism, I agree, but imo inets. are not the whole solution in of themselves.
Curiously, the nqueens algorithm as presented has no memory accesses, so we have no idea how this tackles that.
On the optimistic side, this looks like a kind of "bigger step" in the direction that GPU/shader programming took, where you change the way you think about and break down a problem to get insanely fast results. Feels like if you target this interaction net structure and give it to this CPU that uses them natively, we could amplify the speed of computations to possibly allow for things that are currently way to slow to do. Realtime physics sims with magnitudes faster steps. That's pretty cool. And all of the downstream effects that would allow for, in product design, scientific modelling, etc. And that's just one train of thought.
On the pessimistic side, though, I have no clue how to "program for an interaction net". Seems like the authors took a "you don't need to, an LLM will do it for you" position, and I can get behind that, but that's a pretty huge step in the direction of "Natural Language Programming" in that I literally can't program it without using an LLM and natural language, because I don't understand the underlying details and probably won't have any structural support to understand it for a while, as the tooling slowly rolls out and gets iterated on, until it can do something we can recognize as "Debugging". I imagine there's some kind of "program it in C, and translate it" thing, too, but it feels like the point here is not to have me be able to debug it, and a detour through C just wastes LLM tokens.
So those are the initial impressions, but then I'm making a TON of assumptions in both sides of that. So I don't even know if my initial impressions are conceptualizing the right paradigms, much less if they are worth discussing with people who are seriously considering this topic. Only speaking for myself here, but at least my own silence is due to not having enough information myself, and not seeing enough in this paper to interest me in research in the topic just yet. Maybe if they've got something I can play with, I could get my head around it more. But, for now, it's just neat.
I mean, it's basically what out-of-order CPUs already do: read lots of instructions in at the same time, dispatch instructions as their inputs become ready to execute.
Sort of the reality of modern processors is that we have the units available to do the work, we just don't have dispatch logic to keep them fed with work, given how slow memory is. When you have very regular parallelism--dense linear algebra is the canonical example here--SIMD works very efficiently to minimize the dispatch logic needed to keep units fed. When you've got irregular parallelism, dataflow architectures seem to work well at first, until you start trying to make actual chips and you find you've been consistently underestimating how much overhead your dispatch logic is actually chewing up.
If it is true that what is offering is some kind of "super-simd" processor that is built in a way that everything run through it must be similar to simd style code, but because it's hardware, it will run it much faster, then my questions are definitely targeted toward what the speed up is vs a highly-performant SIMD application. I would hope that their "coming next" stuff includes comparisons against the types of SIMD-boosted dense linear algebra you referenced. What is the speed up compared to that. And if it's less than (arbitrarily, say) 10x, how much can be gained by just having an LLM target breaking more stuff down in to multiplex-able instructions? But then, if it's more than that, my questions start turning towards "how much would it take to prototype" and "how much has to be changed from current tooling to produce the chips at scale" and "what is a good showcase target for an initial run? what would be something that could be made actually (in real dollars/hours) cheaper/faster/better by using this chip?"
if it is, that has been tried before and failed (with itanium/etc), because the optimization burden on compilers means that they never end up getting the projected speeds over conventional execution
The computers we have today are a compromise - they can’t be too complicated we can’t program them reliably and effectively (VLIW) - but that’s a human limitation. All machines we have are structured around concepts we can grasp.
I’m sure the near term future will introduce us to systems with so many degrees of freedom no human will be able to fully understand them.
It’s in Portuguese, but that’s what AI is for.
The hopium is INETs are the right program representation to make this works, because it doesn't make much difference between program and data (both are nodes).
This is a very interesting project, but unfortunately at this point in time anything with “AI” in the title invites too many hot takes and personal opinions about AI that are unrelated to the story.
On Hacker News (and Reddit and every other social news site) the title drives the comments more than the article content because, frankly, most people don’t even try to read the article. If you had submitted this with a headline that didn’t mention AI and instead said something about interaction nets the tone would probably be very different in the comments.
Please don’t be discouraged, though. This content is very interesting to many of us, but it takes time to read and appreciate it, whereas firing off some “AI bad” hot takes in the comments without reading the article is an easy way to get some upvotes and ignite large comment chains without reading the article. That asymmetry always biases the comments in one direction, but don’t take the comment section bias as a sign that it wasn’t appreciated as a submission. It’s currently the #1 story which is a much better signal of interest than the comments.
Really? They let a swarm of AI agents loose and you're sure they didn't draw upon more than 4 references?
Did they just ignore Taelin and HVM?
In short, how can we be sure it will work and be stable, and that we're not just watching another AI hallucination?
Will be cool to see if Linux can run on a QEMU or FPGA based implementation of this and how the efficiency numbers look then because it's not quite as interesting if it's not general purpose computing ready.
People had a lot of novel ideas for nomenclature back then in the 1940s, that just don't work 80 years later, it's a shame they still clung on to it in 2026.
in python :
a, b = (0,1)
(0,1) is a pair construction : 2 inputs (0 and 1), a single output (a pointer to the pair)
a,b = is a pair deconstruction: 1 input (pointer to a pair) 2 outputs
If you can program it in rustish language with the intermediate representation, that makes everything portable to it without having to figure out the parallelism, potentially.
Very impressive and potentially revolutionary. Micron or Samsung needs to see this, they are having to reinvent compute anyway.
> without having to figure out the parallelism...
Parallelism can be regular (matrix or tensor operations are examples of that) and irregular (Barnes-Hut as a very simplified example). To extract something like Barnes-Hut from the code with quadratic complexity, one have to make some interesting assumptions. E.g., one has to figure out something.One may think that regular parallelism is a solved problem, but even nested loops are not always parallelizable without figuring out how to make them to work in parallel.
Then there comes Microsoft Word. Can we make a CPU where Microsoft Word gets executed with maximum IPC achievable? If you do not like MS Word, take a look at Linux Kernel and userland programs as a whole.
[1] https://en.wikipedia.org/wiki/Dataflow_architecture
Every step there is local, every dependence is explicit and every value has only one owner.
> same as interaction nets, no?
Exactly my point. But well researched and has compilers from high level languages (Id and some others). > except they are strongly confluent and have incremental sharing
Data flow is an inverted representation of data demand (lazy evaluation, which is strongly confluent) [1] and I do not see why it cannot (be constrained to) have strong confluence.[1] https://dl.acm.org/doi/pdf/10.1145/93548.93578
Have authors compared interaction nets to the data flow machines? No.
They did not even compared their results to the Transport Triggered Architecture [2] automatic core construction workflow.
[2] https://web.archive.org/web/20051125195128/http://ce.et.tude...
In some cases (FFT), TTA's automatic synthesis was able to provide power-per-operation reduction of three orders of magnitude, when compared to specialized ASIC hardware.
However, in call-by-need reduction, sharing never goes beyond a function's body: In two different invocations of the same function, shared computation in their bodies will still be evaluated twice. This is different when sharing incrementally, which can famously not be implemented just by a reduction strategy (Lévy etc.). Instead, you require a whole different model of computation - for example interaction nets. Commutation propagates duplication nodes (ie. sharing of computation) incrementally, step-by-step, in a lazy manner. Only when duplication is also incremental, then can it be strongly confluent. See Lafont's initial work on interaction nets and combinators for the reasoning.
"In programming language theory, lazy evaluation, or call-by-need, is an evaluation strategy which delays the evaluation of an expression until its value is needed (non-strict evaluation) and which avoids repeated evaluations (by the use of sharing)."
Algol-68 had call-by-name semantics for function arguments and it was not called lazy.
Haskell and Miranda before it, and LazyML before both of them, have call-by-need evaluation and they are called lazy.
I think part of the problem is that when people talk about Haskell or call-by-need being lazy, some think that "lazy" somehow represents the whole evaluation strategy. It is just one of the properties the evaluation strategy adheres to. In contrast, call-by-name is not often talked about as being lazy, as most people associate it with call-by-need. As such, people not calling Algol-68 lazy does not mean that it is non-lazy (aka strict). It implements call-by-name, therefore it is lazy by definition.
For other sources, see e.g.
- https://csci3155.cs.colorado.edu/pppl-course/book/lazy-evalu...
- https://ku-sldg.github.io/plih/funs/6-Strict-and-Lazy.html
- or my TAPL copy: "In contrast, non-strict (or lazy) strategies such as call-by-name and call-by-need evaluate only the arguments that are actually used."
Why is incremental higher order sharing is important?
Can interaction combinators be implemented with just lazy (graph reducing) computations?
https://bathtub-01.github.io/technical/ouros-demo/ - that was on Hacker News front page not so long ago. It is a data flow CPU implementing Haskell through graph reduction.
This is why I consider graph reduction and data flow superior to interaction nets.
Incremental sharing mean essentially that when arguments are duplicated and they are _needed_ (as in call-by-need), only the outermost "constructor" (graph node) of the shared computation is duplicated, while the rest is left as-is. This duplication proceeds only whenever more constructors are _needed_. It is essentially lazy, or, incremental.
Incremental higher-order sharing is when incremental sharing can be applied to higher-order functions, say in a lazy semantics. This is very tricky (Asperti wrote a whole book on it), but, when done correctly, can make some algorithms exponentially faster than call-by-need, without affecting performance negatively.
I wonder if this architecture was sitting around and about to be implemented regardless of AI sort of like how 3d printing was in patent hell for 20 years starting in the early 90s, then we saw a veritable cambrian explosion once that ended.
> I wonder whether interaction nets are more amenable to hardware implementation?
I've finally found it!https://en.wikipedia.org/wiki/TRIPS_architecture
"TRIPS uses an instruction set architecture designed to be easily broken down into large groups of instructions (graphs) that can run on independent processing elements. The design collects related data into the graphs, attempting to avoid expensive data reads and writes and keeping the data in high speed memory close to the processing elements. The prototype TRIPS processor contains 16 such elements. TRIPS hoped to reach 1 TFLOP on a single processor per paper published from 2003 to 2006."
These pesky interaction nets are TRIPS in disguise. TRIPS is a kind of reduced data flow CPU.
I think AI sentiment is charged and skews negative amongst culture, but amongst engineers because of the "impending doom" and how our jobs are obviously changing. Interesting news just becomes another rung in the ladder of job insecurity.
Nice to see you on the interwebs Chris-san :)
I.e. they are on the same level as Turing machines and Lambda Calculus. Arguably they are more elegant than LC as beta-reduction doesn't look like a primitive operation.
E.g. if try to 'run' Turing machine using pencil and paper, a primitive step is to update one step. With IN one step can also be 'local'.
OTOH LC beta-reduction might be impossible to do in-place - you might need a lot of new pages to do just one beta-reduction.
From Webster's:
> Paradigm comes from the Greek verb paradeiknynai, meaning “to show side by side.” It has been used in English to mean “example” or “pattern” since the 15th century. There is debate, however, about what kind of example qualifies as a paradigm. Some people say it’s a typical example, while others insist it must be an outstanding or perfect example. The scientific community has added to the confusion by using paradigm to mean “a theoretical framework,” a sense popularized by American scientist Thomas S. Kuhn in the second edition of his influential book The Structure of Scientific Revolutions, published in 1962. Some usage commentators now advise avoiding the term entirely on the grounds that it is overused, but we contend that it can sometimes make a useful, conversation-enriching replacement for idea, theory, or concept, as in “an article about sandwiches that shifts the paradigm by including hot dogs.”
My question: if these new developments roll out steadily for enough years, what does that mean for nvidia or amd or intel? Do they benefit? They must, right? They already have the manufacturing pipelines to dive in. Or no?
Several new kinds of architectures have been tried: the iAPX 432, the Mill, the Reduceron, but things just keep coming back to the out-of-order modified Harvard (a.k.a. fake von Neumann) machine being the most efficient general-purpose computer in our laws of physics.
Even if people know they are it doesn't help that a good chunk of the article is dedicated to their AI methods, and there are very little technical explanations of how this actually works.
That's a shame, because I think that Frostbite is absolutely positively f'ing brilliant!
In fact, I'd probably go as far as to put it in my top ten favorite articles on HN of all time!
Why?
Well, it's the future of CPU (/GPU/NPU/xPU/?PU) design!
At least the paradigm is!
If you're getting less-than-positive responses to Frostbite here on HN, then keep in mind that 50% of the comments are generated by agenda-driven bots, and of the remaining human commenters, 50% of those are bitter academics who wished that they'd invented it, and of the remaining group, most remaining people are probably not chip designers themselves -- so they have no appreciation of the problem space (I'm not a chip designer myself -- but I have a vast appreciation of the problem space!)
So, that's why you're probably getting less-than-positive responses here on HN.
Remember, if a negative response is only a few sentences long, look at that poster's other comments... if most of them are only a few sentences long and most of those are negative -- it's probably a bot!
Anyway, I think that Frostbite is absolutely positively f'ing brilliant!
One of my top ten favorites in HN -- because I deeply appreciate the problem set!
Do people here know what interaction nets are? They are a fundamentally different programming paradigm, different from the most basic harvard architecture of the 1940s. Whether you think this particular implementation will genuinely support them, and whether that will bring the performance they claim it does, it another question (I'm not sure). But at least let's focus on the topic.
https://en.wikipedia.org/wiki/Interaction_nets