r/MachineLearning • u/hardmaru • Apr 25 '18
r/MachineLearning • u/yuntiandeng • Jul 19 '25
Research [R] NeuralOS: a generative OS entirely powered by neural networks
We built NeuralOS, probably the world's most expensive operating system, running at a blazing 1.8fps on an NVIDIA H100 GPU. 😅
What exactly is NeuralOS?
It's an experimental generative OS that predicts every screen frame entirely from your mouse and keyboard inputs. No internet, no traditional software stack, purely hallucinated pixels.
How does it work?
An RNN tracks the computer state (kind of like a traditional OS kernel, but all neural and continuous).
A diffusion model generates the actual screen images (imagine a desktop environment, but fully neural-rendered).
The GIF shows a funny demo: NeuralOS running NeuralOS inside itself. Every single pixel you're seeing is model-generated, no network involved at all!
Long-term, our goal is to remove boundaries between software entirely and make OS fully customizable beyond fixed menus and options. Imagine asking your OS something like:
"Merge all my messaging apps into one interface."
"Make Signal look like Messenger."
"Turn the movie I'm watching into a playable video game."
I'm curious about your thoughts:
Could future OS interfaces just become human-like avatars (think Grok's Ani)? Are menus and app-specific UIs going away?
What about fully generative games: could diffusion-based games eventually replace traditional ones?
Try the live demo here: neural-os.com (you might need patience…)
More details about the project: x.com/yuntiandeng/status/1944802154314916331
r/MachineLearning • u/Andy_Schlafly • Apr 03 '23
Project [P] The weights neccessary to construct Vicuna, a fine-tuned LLM with capabilities comparable to GPT3.5, has now been released
Vicuna is a large language model derived from LLaMA, that has been fine-tuned to the point of having 90% ChatGPT quality. The delta-weights, necessary to reconstruct the model from LLaMA weights have now been released, and can be used to build your own Vicuna.
r/MachineLearning • u/NeighborhoodFatCat • May 16 '26
Discussion Backlash against Arxiv's proposed 1 year ban is genuinely perplexing. [D]
Anyone else surprised at the enormous amount of backlash against Arxiv's proposed 1 year ban for authors and coauthors publishing papers with hallucinated reference and other obvious LLM/Gen AI artifacts?
https://x.com/tdietterich/status/2055000956144935055
https://xcancel.com/tdietterich/status/2055000956144935055
Some of the responses:
"This is the age of AI, Arxiv should be part of the movement instead of holding onto the old ways"
"The P.I. is a macro-manager, not a micro-manager, can't be expected to read every reference that his/her student puts in."
"I publish 20+ papers a year with my students, how do you expect me to read everything?"
"What about teams with 100s of people? How can you expect the authors to check references?"
"Who reads references in depth anyways!?"
These responses are very revealing how academia works. Apparently people have just been slapping names on research papers they've never even read or fact-checked themselves. Very obscene!
r/MachineLearning • u/rstoj • Jun 22 '18
Project [P] Papers with Code - the latest machine learning research (with code!)
r/MachineLearning • u/amacati • May 01 '23
Project [P] SoulsGym - Beating Dark Souls III Bosses with Deep Reinforcement Learning
The project
I've been working on a new gym environment for quite a while, and I think it's finally at a point where I can share it. SoulsGym is an OpenAI gym extension for Dark Souls III. It allows you to train reinforcement learning agents on the bosses in the game. The Souls games are widely known in the video game community for being notoriously hard.
.. Ah, and this is my first post on r/MachineLearning, so please be gentle ;)
What is included?
SoulsGym
There are really two parts to this project. The first one is SoulsGym, an OpenAI gym extension. It is compatible with the newest API changes after gym has transitioned to the Farama foundation. SoulsGym is essentially a game hacking layer that turns Dark Souls III into a gym environment that can be controlled with Python. However, you still need to own the game on Steam and run it before starting the gym. A detailed description on how to set everything up can be found in the package documentation.
Warning: If you want to try this gym, be sure that you have read the documentation and understood everything. If not handled properly, you can get banned from multiplayer.
Below, you can find a video of an agent training in the game. The game runs on 3x speed to accelerate training. You can also watch the video on YouTube.
At this point, only the first boss in Dark Souls III is implemented as an environment. Nevertheless, SoulsGym can easily be extended to include other bosses in the game. Due to their similarity, it shouldn't be too hard to even extend the package to Elden Ring as well. If there is any interest in this in the ML/DS community, I'd be happy to give the other ones a shot ;)
SoulsAI
The second part is SoulsAI, a distributed deep reinforcement learning framework that I wrote to train on multiple clients simultaneously. You should be able to use it for other gym environments as well, but it was primarily designed for my rather special use case. SoulsAI enables live-monitoring of the current training setup via a webserver, is resilient to client disconnects and crashes, and contains all my training scripts. While this sounds a bit hacky, it's actually quite readable. You can find a complete documentation that goes into how everything works here.
Being fault tolerant is necessary since the simulator at the heart of SoulsGym is a game that does not expose any APIs and has to be hacked instead. Crashes and other instabilities are rare, but can happen when training over several days. At this moment, SoulsAI implements ApeX style DQN and PPO, but since PPO is synchronous, it is less robust to client crashes etc. Both implementations use Redis as communication backend to send training samples from worker clients to a centralized training server, and to broadcast model updates from the server to all clients. For DQN, SoulsAI is completely asynchronous, so that clients never have to stop playing in order to perform updates or send samples.

Note: I have not implemented more advanced training algorithms such as Rainbow etc., so it's very likely that one can achieve faster convergence with better performance. Furthermore, hyperparameter tuning is extremely challenging since training runs can easily take days across multiple machines.
Does this actually work?
Yes, it does! It took me some time, but I was able to train an agent with Duelling Double Deep Q-Learning that has a win rate of about 45% within a few days of training. In this video you can see the trained agent playing against Iudex Gundry. You can also watch the video on YouTube.
I'm also working on a visualisation that shows the agent's policy networks reacting to the current game input. You can see a preview without the game simultaneously running here. Credit for the idea of visualisation goes to Marijn van Vliet.
If you really want to dive deep into the hyperparameters that I used or load the trained policies on your machine, you can find the final checkpoints here. The hyperparameters are contained in the config.json file.
... But why?
Because it is a ton of fun! Training to defeat a boss in a computer game does not advance the state of the art in RL, sure. So why do it? Well, because we can! And because maybe it excites others about ML/RL/DL.
Disclaimer: Online multiplayer
This project is in no way oriented towards creating multiplayer bots. It would take you ages of development and training time to learn a multiplayer AI starting from my package, so just don't even try. I also do not take any precautions against cheat detections, so if you use this package while being online, you'd probably be banned within a few hours.
Final comments
As you might guess, this project went through many iterations and it took a lot of effort to get it "right". I'm kind of proud to have achieved it in the end, and am happy to explain more about how things work if anyone is interested. There is a lot that I haven't covered in this post (it's really just the surface), but you can find more in the docs I linked or by writing me a pm. Also, I really have no idea how many people in ML are also active in the gaming community, but if you are a Souls fan and you want to contribute by adding other Souls games or bosses, feel free to reach out to me.
Edit: Clarified some paragraphs, added note for online multiplayer.
Edit2: Added hyperparameters and network weights.
r/MachineLearning • u/davidbun • Apr 17 '22
News [N] [P] Access 100+ image, video & audio datasets in seconds with one line of code & stream them while training ML models with Activeloop Hub (more at docs.activeloop.ai, description & links in the comments below)
r/MachineLearning • u/SpatialComputing • Aug 20 '22
Research [R] Sketch2Pose — estimating a 3D character pose from a bitmap sketch
r/MachineLearning • u/generalizederror • Apr 09 '19
Discussion [D] My Machine Learning Research Job Interview Experience
Hi guys,
it seems like a lot of people have questions about finding jobs in ML, or what the typical interview process looks like. Since I've gone through all that recently, I thought it might be helpful to share my experiences:
https://generalizederror.github.io/My-Machine-Learning-Research-Jobhunt/
Enjoy
r/MachineLearning • u/akhudek • Apr 18 '23
Discussion [D] New Reddit API terms effectively bans all use for training AI models, including research use.
Reddit has updated their terms of use for their data API. I know this is a popular tool in the machine learning research community, and the new API unfortunately impacts this sort of usage.
Here are the new terms: https://www.redditinc.com/policies/data-api-terms . Section 2.4 now specifically calls out machine learning as an unapproved usage unless you get the permission of each individual user. The previous version of this clause read:
' You will comply with any requirements or restrictions imposed on usage of User Content by their respective owners, which may include "all rights reserved" notices, Creative Commons licenses or other terms and conditions that may be agreed upon between you and the owners.'
Which didn't mention machine learning usage, leaving it to fall under existing laws around this in the situation where a specific restriction is not claimed. The new text adds the following:
'Except as expressly permitted by this section, no other rights or licenses are granted or implied, including any right to use User Content for other purposes, such as for training a machine learning or AI model, without the express permission of rightsholders in the applicable User Content.'
which now explicitly requires you to get permissions from the rightsholder for each user.
I've sent a note to their API support about the implications of this, especially to the research community. You may want to do the same if this concerns you.
r/MachineLearning • u/austintackaberry • Mar 24 '23
Research [R] Hello Dolly: Democratizing the magic of ChatGPT with open models
Databricks shows that anyone can take a dated off-the-shelf open source large language model (LLM) and give it magical ChatGPT-like instruction following ability by training it in less than three hours on one machine, using high-quality training data.
They fine tuned GPT-J using the Alpaca dataset.
Blog: https://www.databricks.com/blog/2023/03/24/hello-dolly-democratizing-magic-chatgpt-open-models.html
Github: https://github.com/databrickslabs/dolly
r/MachineLearning • u/[deleted] • Sep 17 '22
Project [P] Made an NLP model that predicts subreddit based on the title of a post (link in comments)
r/MachineLearning • u/[deleted] • Feb 07 '21
Discussion [D] Yet another rant on PhD Applications
I guess this is kind of a rant about PhD admissions, specifically in ML and theoretical CS.
<rant>
I recently applied to several top PhD programs, and so far I've been rejected from Berkeley, University of Washington, Columbia, Stanford, and MIT. I am expecting that I'll be rejected from the remaining programs soon. I didn't even get an interview chance, I was just rejected without speaking to anyone.
I'll start with my profile (which I am willing to verify on a zoom call if any mod requests it). I grew up in a poor city in a third world country, to a very poor family. I managed to work hard during high school, ranking 3rd in my country in national exams, and got accepted on a full ride scholarship to a Hong Kong university. I have a GPA of 3.9+. I have a first author NeurIPS paper that was completed without any faculty advisors (Me and another undergraduate wrote the paper independently and it got accepted). I also have a paper in an A* information theory conference where we settled an open problem that has been open for 8 years. I have two submissions in TCS and IEEE Transactions on information theory (both A* journals), and one has already received a minor revision (on its way to be accepted). During my undergrad, my mother got breast cancer, and I had to work two part time jobs just to help with paying for the medical bills, while keeping up with my studies and my research. I remember I slept an average of 5 hours per day in the months of treatment. I have seen two of my LORs, both professors mentioned that I am the best undergraduate who has worked with them in their lifetime as Professors.
I feel tired, mentally exhausted, and crushed. I've worked so hard over the last 8 years, just to have all my dreams destroyed. It doesn't help when everyone around me keeps saying I am "a shoo-in for Stanford". I just feel like I've been fighting an uphill fight all my life with no guidance, constantly having to work harder just to prove myself, and in the end, it still didn't work. I just don't understand what these top programs are looking for. I heard some programs like UWashington even interviewed the top 20% of applicants, which means I'm not even close.
</rant>
Edit: This
r/MachineLearning • u/siddarth2947 • Oct 18 '19
Discussion [D] Jurgen Schmidhuber really had GANs in 1990
he did not call it GAN, he called it curiosity, it's actually famous work, many citations in all the papers on intrinsic motivation and exploration, although I bet many GAN people don't know this yet
I learned about it through his inaugural tweet on their miraculous year. I knew LSTM, but I did not know that he and Sepp Hochreiter did all those other things 30 years ago.
The blog sums it up in section 5 Artificial Curiosity Through Adversarial Generative Neural Networks (1990)
The first NN is called the controller C. C (probabilistically) generates outputs that may influence an environment. The second NN is called the world model M. It predicts the environmental reactions to C's outputs. Using gradient descent, M minimises its error, thus becoming a better predictor. But in a zero sum game, C tries to find outputs that maximise the error of M. M's loss is the gain of C.
That is, C is motivated to invent novel outputs or experiments that yield data that M still finds surprising, until the data becomes familiar and eventually boring. Compare more recent summaries and extensions of this principle, e.g., [AC09].
GANs are an application of Adversarial Curiosity [AC90] where the environment simply returns whether C's current output is in a given set [AC19].
So I read those referenced papers. AC19 is kinda modern guide to the old report AC90 where the adversarial part first appeared in section: Implementing Dynamic Curiosity and Boredom, and the generative part in section: Explicit Random Actions versus Imported Randomness, which is like GANs versus conditional GANs. AC09 is a survey from 2009 and sums it up: maximise reward for prediction error.
I know that Ian Goodfellow says he is the inventor of GANs, but he must have been a little boy when Jurgen did this in 1990. Also funny that Yann LeCun described GANs as "the coolest idea in machine learning in the last twenty years" although Jurgen had it thirty years ago
No, it is NOT the same as predictability minimisation, that's yet another adversarial game he invented, in 1991, section 7 of his explosive blog post which contains additional jaw-droppers
r/MachineLearning • u/Tesg9029 • Feb 11 '21
Project [P] Japanese genetic algorithm experiment to make a "pornographic" image
I don't have anything to do with this project myself, I've just been following it because I found it interesting and figured I'd share.
This guy made a project where anyone is welcome to look at two images and choose which one they think is more "pornographic" to train the AI. There isn't really a goal, but it started out with the guy saying that the project "wins" when Google Adsense deems the image to be pornographic.
The project "won" today with the 11225th iteration getting Google to limit the Adsense account tied to the project. That being said it's still ongoing.
You can also take a look at all previous iterations of the image here
I wouldn't consider the current version to be NSFW myself as it's still pretty abstract but YMMV (Google certainly seems to think differently at least)
r/MachineLearning • u/stefsietz • Jun 09 '18
Project [Project] Realtime Interactive Visualization of Convolutional Neural Networks in Unity (feedback strongly welcomed)
r/MachineLearning • u/BootstrapGuy • Sep 02 '23
Discussion [D] 10 hard-earned lessons from shipping generative AI products over the past 18 months
Hey all,
I'm the founder of a generative AI consultancy and we build gen AI powered products for other companies. We've been doing this for 18 months now and I thought I share our learnings - it might help others.
It's a never ending battle to keep up with the latest tools and developments.
By the time you ship your product it's already using an outdated tech-stack.
There are no best-practices yet. You need to make a bet on tools/processes and hope that things won't change much by the time you ship (they will, see point 2).
If your generative AI product doesn't have a VC-backed competitor, there will be one soon.
In order to win you need one of the two things: either (1) the best distribution or (2) the generative AI component is hidden in your product so others don't/can't copy you.
AI researchers / data scientists are suboptimal choice for AI engineering. They're expensive, won't be able to solve most of your problems and likely want to focus on more fundamental problems rather than building products.
Software engineers make the best AI engineers. They are able to solve 80% of your problems right away and they are motivated because they can "work in AI".
Product designers need to get more technical, AI engineers need to get more product-oriented. The gap currently is too big and this leads to all sorts of problems during product development.
Demo bias is real and it makes it 10x harder to deliver something that's in alignment with your client's expectation. Communicating this effectively is a real and underrated skill.
There's no such thing as off-the-shelf AI generated content yet. Current tools are not reliable enough, they hallucinate, make up stuff and produce inconsistent results (applies to text, voice, image and video).
r/MachineLearning • u/[deleted] • Dec 23 '22
Discussion [Discussion] Anyone else having a hard time not getting mad/cringing at the general public anthropomorphizing the hell out of chatGPT?
It was one thing with DALLE-2, but at least it couldn’t talk back to them. I mean I have been in board meetings with powerful people in leadership positions that have nothing to do with tech have absolutely horrendous ideas about what ChatGPT is- I am not lying, I have genuinely heard them say they believe it’s basically conscious and using excerpt screenshots of it saying it hates humans as a basis to make business decisions about the future of AI in their company. Like….WHAT? Have other people heard absurd things like this too?
I think it’s just hard to see the professional reality of machine learning, becoming extremely debased from the general public idea of machine learning. I’m sure as we all get even better at our jobs it’s only going to get much much worse. I wouldn’t be surprised if soon we are the new magical witches of the world. i’ll see you guys on the pyres in 20 years.( ok really I’m just joking on that last part)
What do you all think?
r/MachineLearning • u/rjkb041 • Jul 31 '21
News [N] Hundreds of AI tools have been built to catch covid. None of them helped.
r/MachineLearning • u/Wiskkey • Nov 23 '20
News [N] Google now uses BERT on almost every English query
Google: BERT now used on almost every English query (October 2020)
BERT powers almost every single English based query done on Google Search, the company said during its virtual Search on 2020 event Thursday. That’s up from just 10% of English queries when Google first announced the use of the BERT algorithm in Search last October.
DeepRank is Google's internal project name for its use of BERT in search. There are other technologies that use the same name.
Google had already been using machine learning in search via RankBrain since at least sometime in 2015.
Related:
Understanding searches better than ever before (2019)
BERT, DeepRank and Passage Indexing… the Holy Grail of Search? (2020)
Here’s my brief take on how DeepRank will match up with Passage Indexing, and thus open up the doors to the holy grail of search finally.
Google will use Deep Learning to understand each sentence and paragraph and the meaning behind these paragraphs and now match up your search query meaning with the paragraph that is giving the best answer after Google understands the meaning of what each paragraph is saying on the web, and then Google will show you just that paragraph with your answer!
This will be like a two-way match… the algorithm will have to process every sentence and paragraph and page with the DeepRank (Deep Learning algorithm) to understand its context and store it not just in a simple word-mapped index but in some kind-of database that understands what each sentence is about so it can serve it out to a query that is processed and understood.
This kind of processing will require tremendous computing resources but there is no other company set up for this kind of computing power than Google!
[D] Google is applying BERT to Search (2019)
[D] Does anyone know how exactly Google incorporated Bert into their search engines? (2020)
Update: added link below.
Part of video from Google about use of NLP and BERT in search (2020). I didn't notice any technical revelations in this part of the video, except perhaps that the use of BERT in search uses a lot of compute.
Update: added link below.
Could Google passage indexing be leveraging BERT? (2020). This article is a deep dive with 30 references.
The “passage indexing” announcement caused some confusion in the SEO community with several interpreting the change initially as an “indexing” one.
A natural assumption to make since the name “passage indexing” implies…erm… “passage” and “indexing.”
Naturally some SEOs questioned whether individual passages would be added to the index rather than individual pages, but, not so, it seems, since Google have clarified the forthcoming update actually relates to a passage ranking issue, rather than an indexing issue.
“We’ve recently made a breakthrough in ranking and are now able to not just index web pages, but individual passages from the pages,” Raghavan explained. “By better understanding the relevancy of specific passages, not just the overall page, we can find that needle-in-a-haystack information you’re looking for.”
This change is about ranking, rather than indexing per say.
Update: added link below.
A deep dive into BERT: How BERT launched a rocket into natural language understanding (2019)
r/MachineLearning • u/cloud_weather • Jul 18 '20
Discussion [D] AI Generates 3D Human Model from 2D Image (PIFuHD - FacebookAI)
r/MachineLearning • u/faceshapeapp • Oct 26 '19
Discussion [D] Google is applying BERT to Search
Understanding searches better than ever before
If there’s one thing I’ve learned over the 15 years working on Google Search, it’s that people’s curiosity is endless. We see billions of searches every day, and 15 percent of those queries are ones we haven’t seen before--so we’ve built ways to return results for queries we can’t anticipate.
When people like you or I come to Search, we aren’t always quite sure about the best way to formulate a query. We might not know the right words to use, or how to spell something, because often times, we come to Search looking to learn--we don’t necessarily have the knowledge to begin with.
At its core, Search is about understanding language. It’s our job to figure out what you’re searching for and surface helpful information from the web, no matter how you spell or combine the words in your query. While we’ve continued to improve our language understanding capabilities over the years, we sometimes still don’t quite get it right, particularly with complex or conversational queries. In fact, that’s one of the reasons why people often use “keyword-ese,” typing strings of words that they think we’ll understand, but aren’t actually how they’d naturally ask a question.
With the latest advancements from our research team in the science of language understanding--made possible by machine learning--we’re making a significant improvement to how we understand queries, representing the biggest leap forward in the past five years, and one of the biggest leaps forward in the history of Search.
Applying BERT models to Search
Last year, we introduced and open-sourced a neural network-based technique for natural language processing (NLP) pre-training called Bidirectional Encoder Representations from Transformers, or as we call it--BERT, for short. This technology enables anyone to train their own state-of-the-art question answering system.
This breakthrough was the result of Google research on transformers: models that process words in relation to all the other words in a sentence, rather than one-by-one in order. BERT models can therefore consider the full context of a word by looking at the words that come before and after it—particularly useful for understanding the intent behind search queries.
But it’s not just advancements in software that can make this possible: we needed new hardware too. Some of the models we can build with BERT are so complex that they push the limits of what we can do using traditional hardware, so for the first time we’re using the latest Cloud TPUs to serve search results and get you more relevant information quickly.
Cracking your queries
So that’s a lot of technical details, but what does it all mean for you? Well, by applying BERT models to both ranking and featured snippets in Search, we’re able to do a much better job helping you find useful information. In fact, when it comes to ranking results, BERT will help Search better understand one in 10 searches in the U.S. in English, and we’ll bring this to more languages and locales over time.
Particularly for longer, more conversational queries, or searches where prepositions like “for” and “to” matter a lot to the meaning, Search will be able to understand the context of the words in your query. You can search in a way that feels natural for you.
To launch these improvements, we did a lot of testing to ensure that the changes actually are more helpful. Here are some of the examples that showed up our evaluation process that demonstrate BERT’s ability to understand the intent behind your search.
Here’s a search for “2019 brazil traveler to usa need a visa.” The word “to” and its relationship to the other words in the query are particularly important to understanding the meaning. It’s about a Brazilian traveling to the U.S., and not the other way around. Previously, our algorithms wouldn't understand the importance of this connection, and we returned results about U.S. citizens traveling to Brazil. With BERT, Search is able to grasp this nuance and know that the very common word “to” actually matters a lot here, and we can provide a much more relevant result for this query.
Let’s look at another query: “do estheticians stand a lot at work.” Previously, our systems were taking an approach of matching keywords, matching the term “stand-alone” in the result with the word “stand” in the query. But that isn’t the right use of the word “stand” in context. Our BERT models, on the other hand, understand that “stand” is related to the concept of the physical demands of a job, and displays a more useful response.
Here are some other examples where BERT has helped us grasp the subtle nuances of language that computers don’t quite understand the way humans do.
Improving Search in more languages
We’re also applying BERT to make Search better for people across the world. A powerful characteristic of these systems is that they can take learnings from one language and apply them to others. So we can take models that learn from improvements in English (a language where the vast majority of web content exists) and apply them to other languages. This helps us better return relevant results in the many languages that Search is offered in.
For featured snippets, we’re using a BERT model to improve featured snippets in the two dozen countries where this feature is available, and seeing significant improvements in languages like Korean, Hindi and Portuguese.
Search is not a solved problem
No matter what you’re looking for, or what language you speak, we hope you’re able to let go of some of your keyword-ese and search in a way that feels natural for you. But you’ll still stump Google from time to time. Even with BERT, we don’t always get it right. If you search for “what state is south of Nebraska,” BERT’s best guess is a community called “South Nebraska.” (If you've got a feeling it's not in Kansas, you're right.)
Language understanding remains an ongoing challenge, and it keeps us motivated to continue to improve Search. We’re always getting better and working to find the meaning in-- and most helpful information for-- every query you send our way.
r/MachineLearning • u/pg860 • Mar 25 '24
Discussion [D] Your salary is determined mainly by geography, not your skill level (conclusions from the salary model built with 24k samples and 300 questions)
I have built a model that predicts the salary of Data Scientists / Machine Learning Engineers based on 23,997 responses and 294 questions from a 2022 Kaggle Machine Learning & Data Science Survey (Source: https://jobs-in-data.com/salary/data-scientist-salary)
I have studied the feature importances from the LGBM model.
TL;DR: Country of residence is an order of magnitude more important than anything else (including your experience, job title or the industry you work in). So - if you want to follow the famous "work smart not hard" - the key question seems to be how to optimize the geography aspect of your career above all else.
The model was built for data professions, but IMO it applies also to other professions as well.
