NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
NeuralOS: An operating system powered by neural networks (neural-os.com)
yuntian 1 days ago [-]
Thanks everyone for trying out NeuralOS, and apologies for the frustrating user experience!

I coded up the demo myself and didn't anticipate how disruptive the intermittent warning messages about waiting users would become. The demo is quite resource-intensive: each session currently requires its own H100 GPU, and I'm already using a dispatcher-worker setup with 8 parallel workers. Unfortunately, demand exceeded my setup, causing significant lag and I had to limit sessions to 60 more seconds when others are waiting. Additionally, the underlying diffusion model itself is slow to run, resulting in a frame rate typically below 2 fps, further compounded by network bottlenecks.

As for model capabilities, NeuralOS is indeed quite limited at this point (as acknowledged in my paper abstract). That's why the demo interactions shown in my tweet were minimal (opening Firefox, typing a URL).

Overall, this is meant as a proof-of-concept demonstrating the potential of generative, neural-network-powered GUIs. It's fully open-source, and I hope others can help improve it going forward!

Thanks again for the honest feedback.

deepdarkforest 13 hours ago [-]
This is a shockingly fresh idea. I get that this generates every pixel from scratch, unlike Gemini approaches. But, i wonder how do you think this type of neural OS would be able to communicate with the internet or other similar neural os. It would have to at least send and get http responses?
idiotsecant 6 hours ago [-]
And when you lose your Internet connection, no problem! The OS can just imagine what the content should be!!
carlhjerpe 4 hours ago [-]
Is AI just fancy text compression on steroids? :p
cupantae 23 hours ago [-]
Nǐ hăo, xìe xìe Yuntian! I read the readme and paper but haven’t played around much yet. I find this fascinating and I don’t care much about poor “experience” because intuitively I feel this idea couldn’t produce something as reliable and flexible as a real OS anyway. I see you talked about inability to install new software and my reaction was “well obviously”, because surely it will be at least as limited as the training data, while a real OS provides lots of software of great complexity which is seldom used.

Could you talk about your hopes for the future on this project? What are your thoughts on having a more simplified interface which could combine inputs in a more abstract way, or are you only interested in simulating a traditional OS?

Thanks again.

PS the waiting time while firefox “loads” made me laugh. I presume this is also simulated.

yuntian 21 hours ago [-]
Thanks for your comment! I completely agree that currently NeuralOS is far from being as reliable as a real OS. The Firefox loading time is indeed a funny artifact of the neural model simulating delay in real OS.

However, my real dream behind this project is to blur the boundaries across applications, not just simulate traditional OS interactions. For example, imagine converting a movie we're watching directly into an interactive video game, or instantly changing the interface of an app (like Signal) to something we prefer (like Facebook Messenger) on the fly.

Of course, the current training data severely limits what's achievable today. But looking forward, I envision combining techniques from controllable text generation (such as Zhiting Hu's "Toward Controlled Generation of Text" paper) or synthesizing new interaction data to achieve greater and customization. I believe this is a promising path toward creating truly generative and personalized interfaces.

Thanks again for your interest!

23 hours ago [-]
yalogin 18 hours ago [-]
Hey OP, I understand the load you are seeing on the servers. Given that, can you describe the functionality and how the interface is supposed to work? Specifically how NNs and LLMs provide this functionality?
yunyu 1 days ago [-]
Maybe put the warning below the UI, so it doesn't cause the layout to change?
yuntian 24 hours ago [-]
Good idea. I'll update when no one is using it, don't want to cause further interruptions...
pinoy420 22 hours ago [-]
[dead]
munchler 1 days ago [-]
I tried to use this but the lag made it impossible to even click on an icon. On top of that, a message that other people were waiting popped up intermittently, pushing the emulation down the page, away from the mouse pointer. I'm not sure what sort of experience you're aiming for, but this probably isn't it.
sensen 7 hours ago [-]
I opened the terminal and typed `which bash`. This was interpreted as `ls`.. It's a very fun demo, but the utility of disregarding my input and trying to guess what I wanted to type is very questionable.
K0balt 18 hours ago [-]
Very interesting idea. The entire computing experience, os applications, potentially even file systems etc exists only in the “imagination “ of the model.

Although this is of course ridiculously wasteful right now, I can see this being the optimal solution for many things if a technology like thermodynamic well based neural networks get to the point of viability.

A thermodynamic well based model could have a trillion parameters in the size of an so card at a few milliwatts of power.

In case like that it’s easy to imagine that mass produced implementations could be a one size fits all solution for all but the most trivial or advanced computing tasks. For perhaps less than a dollar for a 100b sized chip, you get the ability to “imagine” video, sound, etc and a strong general purpose “reasoning” capability imbedded into everything right down to children’s toys and toasters.

Kinda makes me think of Rick and Morty with the butter passing robot. A lot of pointless capabilities, but still cheaper than a purpose built deterministic computing device. OTOH having embedded knowledge as an ambient part of everyday life would be kinda neat, even if it would almost surely mean the end of human civilization lol.

godelski 23 hours ago [-]
I didn't get to do much. Had a hard time clicking on Firefox and then getting to the nav bar and type in "Hackernews". Boy was that wild watching it type. Those definitely weren't letters. Then it tried to translate the page for me into Finish and weirdly the "I'm not a robot" box would appear, disappear, and then I'd see the title of some paper. I never actually made it to the Google results...

It's an interesting project. I'll totally accept "for fun" or "because" but I'm interested in the why. Even if just a very narrow thing, is there any benefits we would get from using a ML based OS? I mean it is definitely cool and that has merit in its own right, but people talk about Neural OSs and I just don't "get it"

yuntian 17 hours ago [-]
Thanks for the feedback! Yes, the demo is definitely limited. The reason I built NeuralOS is that I'm excited about a future where boundaries between software categories fade away. Imagine converting a movie directly into an interactive video game, customizing app interfaces by talking to it, or sharing the same underlying physics/world model between movies and games. Perhaps someday, movies or even interactive games could just be detailed text prompts describing scenes and characters, with the OS "hallucinating" everything on the fly (maybe movies adapt to user preferences as well so different users watch different "versions" of the same underlying movie plot). This minimizes storage and download times, but also provides maximal flexibility.

Unlike other ML-based OS projects (such as Gemini OS, which generates code and renders traditional UIs), NeuralOS directly generates every pixel. While this makes it susceptible to hallucination, in my opinion the other side of hallucination is full flexibility. In the future, I imagine operating systems running entirely (or mostly) on GPUs, adapting to user intent on the fly rather than relying on pre-designed menus and options.

godelski 15 hours ago [-]
I definitely have many of the same dreams as you. I've always been captivated by the holodeck. But I'm not convinced things need to be neural from top to bottom. There are many things I do not want my machine to hallucinate about. There are things I want to be static and uncompromising. You're also talking about compression, which, to be fair, is what current ML systems do best. Though I think we need some serious innovation to get to the point of generating world models.

That isn't to say that I don't think there shouldn't be neural OS's. But I do imagine them being something radically different. Do we really want them to mimic what we have now? Or is that not, in some vague way, more like a mind?

Regardless, I think this is really neat. I'm a big fan of doing things "just because" and "I wonder what would happen if". So I'm not trying to knock you down. I mean, I'm wrong about a lot of things haha

cookiengineer 16 hours ago [-]
Woah.

This essentially is the idea of Star Trek computers, where there were "neural gel packs" being programmed/primed for different purposes on the starship's systems.

Damn, I have to think about this more. Essentially you are building a holodeck computer, where the users interacting with it just describe roughly what they want and the computer just generates it - in human language being the primary interface.

yuntian 18 hours ago [-]
In response to complaints about the laggy demo experience (due to limited GPU resources), I've now set up a huggingface space version for developers: https://huggingface.co/spaces/yuntian-group/neural-os

Note: The Space is intended as a template, so please duplicate it and run with your own GPU for a better experience. (The default Space has only one worker.)

Recommended GPU: At least an L40, ideally an A100-large. (The original demo at neural-os.com used H100s.)

All code and models are self-contained in the huggingface space.

mpascale00 1 days ago [-]
This brings personal nostalgia to when I was very young and made an "OS" in PowerPoint using links between slides, animations, and the embedded internet explorer object. Similarly, I'm not sure I see any practical use in this. Still it's a really fascinating conceptual demonstration of networks understanding intent in the complex state-machine that is a graphical user interface.
typewithrhythm 12 hours ago [-]
I think this was a prototype for windows 8.
dxroshan 10 hours ago [-]
Haha I like this.
arm32 23 hours ago [-]
I'm glad I wasn't the only one who did this, except for me, I used Microsoft Frontpage.
vimredo 20 hours ago [-]
I did a similar thing when I was younger, except with Batch.
sieabahlpark 1 days ago [-]
[dead]
yuntian 1 days ago [-]
A generative operating system that directly predicts screen images based on mouse and keyboard inputs, powered by an RNN for state modeling and a diffusion model for image generation.

See my tweet for more details: https://x.com/yuntiandeng/status/1944802154314916331

5- 1 days ago [-]
i like how most of your demo video is clicking through various firefox and google popups.
arm32 23 hours ago [-]
Pretty realistic, actually.
sieabahlpark 1 days ago [-]
[dead]
pmxi 23 hours ago [-]
This is a cool proof-of-concept! It reminds me of https://oasis-model.github.io/. which friends and I had a lot of fun with
1dom 1 days ago [-]
Tried to use this, also found lag made it basically impossible, and felt uncomfortable being reminded that other people might be waiting for me to get on with it.

However, I was able to click on a folder, it opened and looked fairly convincing. Only indicator that something was off - other than lag - was the at the bottom of the file browser, it mentioned how much diskspace was available: the first digit was clearly 6, the second was flickering and blurring between different numbers.

Pretty interesting idea though. What framerates should it run at? I felt I was getting <5fps.

Sharlin 24 hours ago [-]
I managed to open the terminal, unsurprisingly trying to type something just resulted in hallucinations. And even though menus open and look plausible, clicking the items either didn't do anything or hallucinated some garbage.
ivolimmen 15 hours ago [-]
Ok tried to execute 'ls'. Worked and it showed me some files. Tried to type 'less' and it just kept doing weird stuff. Removed my input and tried it again; it interpreted it as 'ls' and again showed me the content.
Nevermark 17 hours ago [-]
Give it a permanent pre-prompt of “no bugs, no security holes, no ads, no tracking, no feed manipulation, no spam in search, online and subscription tools all backed up to run local, all online data also backed up local, all interactions or tasks to display in completed form within 100ms or less, … (burn everyone else’s Bitcoin when they attempt to transact, but not mine), …”

Looks like the entire mucky internet will be fixed with just some careful prompting as soon as this thing runs efficiently!

More seriously, it would be fun - and probably instructive - to play with a system that consistently (shallowly) simulated that. A kind of oasis.

5- 14 hours ago [-]
before the current ai craze, there was this: https://www.dangermouse.net/esoteric/petrovich.html

> imagine a Petrovich layer over another operating system, such as Microsoft Windows (TM). Every time Windows does something you don't like, you could punish it, and it would never do it again...

nither 22 hours ago [-]
It's really cool concept. Just keep going, I wonder how it will look like in 1-2 years.
vivzkestrel 18 hours ago [-]
What does it mean when you say "operating system powered by neural network"? Does it have a kernel space and user space with hard defined boundaries or is the network determining what function call is being made and switches the space based on it? what about security? what about networking? what about program execution? how does this actually work?
yuntian 18 hours ago [-]
When we say "powered by a neural network," we mean something fundamentally different from a traditional OS (or even gemini os). NeuralOS is essentially a video generation model that "hallucinates" every pixel on the screen in response to user inputs (mouse movements, clicks, keyboard inputs).

There is no underlying kernel, no function calls, no program execution, and no networking. Everything is purely visual and imagined by the neural model. You can think of it as a safe, isolated container where nothing can actually run or cause harm, since no real code executes. It's essentially an interactive video simulation, conditioned entirely on user inputs.

mrheosuper 13 hours ago [-]
it sounds more like "Neural Desktop environment" than OS.
TickleSteve 15 hours ago [-]
What they mean is UI, not OS.

The purpose of an OS is to manage the resources of the computer, CPU, RAM, devices, etc. This is simply a UI generated by an NN.

tianqi 20 hours ago [-]
This is a very inspiring concept. Although it is still in its infancy, it demonstrates the generative capabilities of AI in the field of interaction and inspired me to think of some new possibilities. However, I admit that I was surprised when I first saw the title: Neural Network Operating System? Such nonsense marketing and misuse of terminology actually appearing on HN? :)
jjaksic 23 hours ago [-]
This reminds me of a recent conversation we had at work where someone suggested that at some point all backend APIs are going to get replaced by a single LLM that'll just do anything (if you ask it nicely enough).
tartoran 7 hours ago [-]
And how do you solve the non-deterministic nature of LLMs? Or would all APIs become non-determinstic?
Scene_Cast2 22 hours ago [-]
This is a really cool idea! I wonder if a more integrated adaptation would help render real OS UIs better / faster / prettier.
273kgracia 24 hours ago [-]
You can visit NeuralOS inside NeuralOS!
e1ghtSpace 22 hours ago [-]
I've been waiting for this. Wish the resolution and framerate were higher though.
spogbiper 1 days ago [-]
seems similar to this: https://aistudio.google.com/apps/bundled/gemini_os?showPrevi...

although i wasn't able to really use it due to lag

yuntian 23 hours ago [-]
Actually NeuralOS works very differently from Gemini OS. NeuralOS directly generates each screen at the pixel level entirely from neural networks, while Gemini OS generates code that's then rendered into a traditional UI. This difference is why NeuralOS is much slower and currently runs at a lower frame rate.
animitronix 6 hours ago [-]
Why would I want a non-deterministic operating system??
Guestmodinfo 18 hours ago [-]
Feels yuck on mobile
cess11 11 hours ago [-]
I think I prefer Eagle mode when I'm in the mood for a weird UI.

https://eaglemode.sourceforge.net/

therein 17 hours ago [-]
This is like the Minecraft demo. Pretty cool conceptually.
theGnuMe 21 hours ago [-]
This is super cool. Not sure what it implies/means though..
QuaidCarloB 19 hours ago [-]
[dead]
UncleOxidant 1 days ago [-]
Who thought this was a good idea?
odyssey7 1 days ago [-]
It seems inevitable.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 22:08:42 GMT+0000 (Coordinated Universal Time) with Vercel.