r/MachineLearning • • Oct 03 '20

Project [P] I created a complete overview of machine learning concepts seen in 27 data science and machine learning interviews

735 Upvotes

Hey everyone,

During my last interview cycle, I did 27 machine learning and data science interviews at a bunch of companies (from Google to a ~8-person YC-backed computer vision startup). Afterwards, I wrote an overview of all the concepts that showed up, presented as a series of tutorials along with practice questions at the end of each section.

I hope you find it helpful! ML Primer


r/MachineLearning • • Aug 23 '18

Research [R][UC Berkeley] Everybody Dance Now

Thumbnail
youtube.com
734 Upvotes

r/MachineLearning • • May 15 '26

News arXiv implements 1-year ban for papers containing incontrovertible evidence of unchecked LLM-generated errors, such as hallucinated references or results. [N]

732 Upvotes

From Thomas G. Dietterich (arXiv moderator for cs.LG) on 𝕏 (thread):
https://x.com/tdietterich/status/2055000956144935055
https://xcancel.com/tdietterich/status/2055000956144935055

"Attention arXiv authors: Our Code of Conduct states that by signing your name as an author of a paper, each author takes full responsibility for all its contents, irrespective of how the contents were generated.

If generative AI tools generate inappropriate language, plagiarized content, biased content, errors, mistakes, incorrect references, or misleading content, and that output is included in scientific works, it is the responsibility of the author(s).

We have recently clarified our penalties for this. If a submission contains incontrovertible evidence that the authors did not check the results of LLM generation, this means we can't trust anything in the paper.

The penalty is a 1-year ban from arXiv followed by the requirement that subsequent arXiv submissions must first be accepted at a reputable peer-reviewed venue.

Examples of incontrovertible evidence: hallucinated references, meta-comments from the LLM ("here is a 200 word summary; would you like me to make any changes?"; "the data in this table is illustrative, fill it in with the real numbers from your experiments")."


r/MachineLearning • • Jul 30 '20

Project [P] I've asked a dozen researchers about their favourite ML books, here are the results

732 Upvotes

Hey all!

Over the past week or so, I went around Twitter and asked a dozen researchers which books they would recommend.

In the end, I got responses from people like Denny Britz, Chris Albon and Jason Antic, so I hope you like their top picks :)

https://mentorcruise.com/books/ml/


r/MachineLearning • • Mar 19 '23

Research [R] 🤖🌟 Unlock the Power of Personal AI: Introducing ChatLLaMA, Your Custom Personal Assistant! 🚀💬

731 Upvotes

🚀 Introducing ChatLLaMA: Your Personal AI Assistant Powered by LoRA! 🤖

Hey AI enthusiasts! 🌟 We're excited to announce that you can now create custom personal assistants that run directly on your GPUs!

ChatLLaMA utilizes LoRA, trained on Anthropic's HH dataset, to model seamless conversations between an AI assistant and users.

Plus, the RLHF version of LoRA is coming soon! 🔥

👉 Get it here: https://cxn.to/@serpai/lora-weights

📚 Know any high-quality dialogue-style datasets? Share them with us, and we'll train ChatLLaMA on them!

🌐 ChatLLaMA is currently available for 30B and 13B models, and the 7B version.

🔔 Want to stay in the loop for new ChatLLaMA updates? Grab the FREE [gumroad link](https://cxn.to/@serpai/lora-weights) to sign up and access a collection of links, tutorials, and guides on running the model, merging weights, and more. (Guides on running and training the model coming soon)

🤔 Have questions or need help setting up ChatLLaMA? Drop a comment or DM us, and we'll be more than happy to help you out! 💬

Let's revolutionize AI-assisted conversations together! 🌟

*Disclaimer: trained for research, no foundation model weights, and the post was ran through gpt4 to make it more coherent.

👉 Get it here: https://cxn.to/@serpai/lora-weights

*Edit: https://github.com/serp-ai/LLaMA-8bit-LoRA <- training repo/instructions (If anything is unclear just let us know and we will try to help/fix the issue!) (Sorry for spamming the link, don't really know how else to remind people lol)


r/MachineLearning • • Nov 28 '20

Discussion [D] Why you should get your PhD

729 Upvotes

I have been hearing some negativity about PhDs recently, much of it justified I am sure. However, as someone who has largely enjoyed their PhD in reinforcement learning, I thought I might explain some of the great things that can come from a PhD and give my advice on things to consider. My advice is not scientific and I am sure many others have written better advice you should also read*.

That being said, here is a list of things which can make doing a PhD really satisfying:

  1. A productive relationship with your advisor/supervisor. If you are lucky, you will find a supervisor who is a world expert and who responds promptly to your questions, takes interest in your ideas and suggests helpful improvements.

  2. The opportunity to learn about interesting topics without expectation of concrete output.

  3. Day to day work which matches the skill set you want to develop

  4. The autonomy to build a project based on your own ideas

  5. The expertise of the lab and your ability to collaborate, receive feedback and socialise with them

  6. Getting a chance to intern with industry

  7. Publishing your work at top tier conferences and journals

If you can get all of these things out of your PhD it can be a really fun and worthwhile experience and, with a bit of luck, will set you up for great career opportunities afterwards. However, working things out before starting can be hard. So lets say you've narrowed it down to a few advisors, how do you evaluate points 1-7? Here are some tips:

  1. Read carefully your potential advisor’s best publications and recent impactful work. Check if they have successfully supervised students in the past. Get in contact with current or past students to hear how they work with their supervisor currently. If you can, do a rotation project as part of a PhD program or Masters degree.

  2. Find out if people in the lab have a lot of pressure to publish. If they do, it may make it difficult to learn about other areas. Is your lab/University a hub for creative ideas from a variety of perspectives with opportunities to attend interesting lectures and interact with talented people?

  3. You will be an expert in the area(s) in which you do your PhD. Think about the skill set that would give you and your ability to sell that after the PhD. Equally, think about the process of acquiring those skills, and whether you would enjoy that process.

  4. Does your advisor already have a narrow project laid out for you or is it a broader picture (I would recommend the latter, although it does come with more risk). Does your advisor publish across a narrow range of topics or does he or she publish work in multiple related areas? Is that work high quality or low quality?

  5. Meet current lab members and try to get a sense of their interests, expertise and willingness to collaborate. If they have recent publications read them and ask them about it.

  6. An internship during your PhD is great both for learning and building a career. Machine learning is unusual in its ability to provide these opportunities so take them if you can!

  7. Do people in your lab regularly publish in top tier conferences and journals? Is their work widely cited, or more concretely, has it directly impacted research in the field?

Finally, bear in mind that in reality it is very unlikely you have an opportunity which satisfies all these criteria, so be reasonable in your expectations, balance them against non-PhD opportunities and having evaluated all the evidence carefully, follow your gut. Good luck!

Oh, and one more thing:

The sunk cost fallacy is real. When thinking about your existing projects and future projects, don’t be afraid to change tack if you worked hard on an idea and it just isn’t panning out. Similarly, don’t be afraid to change supervisor and or people you collaborate with if you honestly gave it your best shot and things are not working out. Be aware of when you are spinning your wheels and not making progress and do everything you can (within reason of course) to get out of it. If things get really bad, don’t be afraid to drop out. A PhD should be about excitement and opportunity and not fear of failure. Save that for the rest of your life!

*Sources of better advice include Richard Hamming and E.O Wilson

https://www.youtube.com/watch?v=a1zDuOPkMSw

https://www.youtube.com/watch?v=IzPcu0-ETTU&ab_channel=TED


r/MachineLearning • • Apr 09 '23

Research [R] Neural Volumetric Memory for Legged Locomotion, CVPR23 Highlight

728 Upvotes

r/MachineLearning • • Dec 15 '21

Discussion [D] I just found out that my 1 years' worth of research has already been published.

727 Upvotes

I'm a PhD student in the middle of my studies. A year ago I had an idea about designing a neural network for medical image segmentation using shape priors. I have done a quick literature review at that time (although I admit, it might not have been thorough enough) and I found that no one really tried to use those shape priors before, especially for the task that i wanted to use them on (these descriptors would fit the specific task especially well). I worked hard on the implementation, designing the network architecture, writing the article and understanding all the necessary mathematical proofs/theorems related to this task. I just submitted the article a few weeks ago (no word from it yet), and today, I found an article on arxiv (no citations) that has been published this spring and basically uses the same idea for the same task as I did. The network architecture is different than mine and the performance evaluation is different, but the main selling point of my article, the usage of these shape priors has already been published. I am a bit devastated at this point because this would have been my first 1st author paper and I really put a lot of effort and thought into this, only to discover that my idea has already been discovered before. Obviously I need to do a much more thorough literature review next time so that this doesn't happen again, but besides that, I don't know what else I could do to mitigate the damage that has been done to my motivation. I am even considering quitting PhD at this moment because I feel like I wasted a lot of time because of my stupidity. Has anything similar happened to you before? Do you have any advice? How could you cope with similar issues in your career?


r/MachineLearning • • Dec 12 '24

Discussion [D] The winner of the NeurIPS 2024 Best Paper Award sabotaged the other teams

724 Upvotes

Presumably, the winner of the NeurIPS 2024 Best Paper Award (a guy from ByteDance, the creators of Tiktok) sabotaged the other teams to derail their research and redirect their resources to his own. Plus he was at meetings debugging his colleagues' code, so he was always one step ahead. There's a call to withdraw his paper.

https://var-integrity-report.github.io/

I have not checked the facts themselves, so if you can verify what is asserted and if this is true this would be nice to confirm.


r/MachineLearning • • Nov 13 '21

Research [R] StyleGAN of All Trades: Image Manipulation with Only Pretrained StyleGAN

Post image
723 Upvotes

r/MachineLearning • • Jan 03 '19

AI Can Detect Alzheimer’s Disease in Brain Scans Six Years Before a Diagnosis

Thumbnail
ucsf.edu
722 Upvotes

r/MachineLearning • • Feb 02 '22

News [N] IBM Watson is dead, sold for parts.

720 Upvotes

IBM Sells Some Watson Health Assets for More Than $1 Billion - Bloomberg

Watson was billed as the future of healthcare, but failed to deliver on its ambitious promises.

"IBM agreed to sell part of its IBM Watson Health business to private equity firm Francisco Partners, scaling back the technology company’s once-lofty ambitions in health care.  

"The value of the assets being sold, which include extensive and wide-ranging data sets and products, and image software offerings, is more than $1 billion, according to people familiar with the plans. IBM confirmed an earlier Bloomberg report on the sale in a statement on Friday, without disclosing the price."

This is encouraging news for those who have sights set on the healthcare industry. Also a lesson for people to focus on smaller-scale products with limited scope.


r/MachineLearning • • Mar 31 '23

News [News] Twitter algorithm now open source

719 Upvotes

News just released via this Tweet.

Source code here: https://github.com/twitter/the-algorithm

I just listened to Elon Musk and Twitter Engineering talk about it on this Twitter space.


r/MachineLearning • • May 18 '22

News [N] Apple Executive Who Left Over Return-to-Office Policy Joins Google AI Unit: Ian Goodfellow, a former director of machine learning at Apple, is joining DeepMind.

719 Upvotes

According to an article published in Bloomberg,

An Apple Inc. executive who left over the company’s stringent return-to-office policy is joining Alphabet Inc.’s DeepMind unit, according to people with knowledge of the matter.

Ian Goodfellow, who oversaw machine learning and artificial intelligence at Apple, left the iPhone maker in recent weeks, citing the lack of flexibility in its work policies. The company had been planning to require corporate employees to work from the office on Mondays, Tuesdays and Thursdays, starting this month. That deadline was put on hold Tuesday, though.

https://www.bloomberg.com/news/articles/2022-05-17/ian-goodfellow-former-apple-director-of-machine-learning-to-join-deepmind


r/MachineLearning • • Apr 01 '23

Discussion [D] POV: you’re browsing through the COCO dataset at work & find some… unexpected stuff

716 Upvotes

r/MachineLearning • • Jun 14 '17

News [N] NumPy receives first ever funding, thanks to Moore Foundation

Thumbnail
numfocus.org
713 Upvotes

r/MachineLearning • • Sep 20 '20

Research [R] Photorealistic Rendering and 3D Scene Reconstruction - Double free zoom lecture by the author of both papers

712 Upvotes

r/MachineLearning • • Nov 09 '15

Google Tensorflow released

Thumbnail
tensorflow.org
712 Upvotes

r/MachineLearning • • Apr 22 '20

Discussion [D] Stanford's CS229 2018 course is finally on YouTube

711 Upvotes

Stanford's legendary CS229 course from 2008 just put all of their 2018 lecture videos on YouTube. Also check out the corresponding course website with problem sets, syllabus, slides and class notes. Happy learning!

Edit: The problem sets seemed to be locked, but they are easily findable via GitHub. For instance, this repo has all the problem sets for the autumn 2018 session.


r/MachineLearning • • Feb 11 '20

Research [R] A popular self-driving car dataset is missing labels for hundreds of pedestrians

707 Upvotes

Blog Post: https://blog.roboflow.ai/self-driving-car-dataset-missing-pedestrians/

Summary: The Udacity Self Driving Car dataset (5,100 stars and 1,800 forks) contains thousands of unlabeled vehicles, hundreds of unlabeled pedestrians, and dozens of unlabeled cyclists. Of the 15,000 images, I found (and corrected) issues with 4,986 (33%) of them.

Commentary:
This is really scary. I discovered this because we're working on converting and re-hosting popular datasets in many popular formats for easy use across models... I first noticed that there were a bunch of completely unlabeled images.

Upon digging in, I was appalled to find that fully 1/3 of the images contained errors or omissions! Some are small (eg a part of a car on the edge of the frame or a ways in the distance not being labeled) but some are egregious (like the woman in the crosswalk with a baby stroller).

I think this really calls out the importance of rigorously inspecting any data you plan to use with your models. Garbage in, garbage out... and self-driving cars should be treated seriously.

I went ahead and corrected by hand the missing bounding boxes and fixed a bunch of other errors like phantom annotations and duplicated boxes. There are still quite a few duplicate boxes (especially around traffic lights) that would have been tedious to fix manually, but if there's enough demand I'll go back and clean those as well.

Corrected Dataset: https://public.roboflow.ai/object-detection/self-driving-car


r/MachineLearning • • Dec 24 '24

Discussion [D] Can we please stop using "is all we need" in titles?

706 Upvotes

As the title suggests. We need to stop or decrease the usage of "... is all we need" in paper titles. It's slowly getting a bit ridiculous. There is most of the time no actual scientific value in it. It has become a bad practice of attention grabbing for attentions' sake.


r/MachineLearning • • Mar 23 '21

Discussion [D] Advanced Takeaways from fast.ai book

702 Upvotes

I recently read the Fast AI deep learning book and wanted to summarise some of the many advanced takeaways & tricks I got from it. I’m going to leave out the basic things because there’s enough posts about them, i’m just focusing on what I found new or special in the book.

I’ve also put the insights into a deck on save all to help you remember them over the long-term. I would massively recommend using a spaced repetition app like anki or save all for the things you learn otherwise you’ll just forget so much of what is important. Here’s the takeaways:

Neural Network Training Fundamentals

  • Always start an ML project by producing simple baselines

    • If is binary classification then could even be as simple as predicting the most common class in the training dataset

    • Other baselines: linear regression, random forest, boosting etc…

  • Then you can use your baseline to clean your data by looking at the datapoints it gets most incorrect and checking to see if they are actually classified correctly in the data

  • In general you can also leverage your baselines to help debug your models

    • e.g. if you make your neural network 1 layer then it should be able to match the performance of a linear regression baseline, if it doesn’t then you have a bug!

    • e.g. if adding a feature improves the performance of linear regression then it should probably also improve the performance of your neural net unless you have a bug!

  • Hyperparameter optimisation can help a bit (especially for the learning rate) but in general there are default hyperparameters that can do quite well and so closely optimising the hyperparameters should be one of the last things you try rather than the first

  • If you know something about the problem then try to inject it as an inductive bias into the training process

    • e.g. if some of your features are related in a sequential way then incorporate them into training separately using an RNN

    • e.g. if you know the output should only be between -3 and 3 then use sigmoid to design the final layer so that it forces the output of the network to be in this range

Transfer Learning

  • Always use transfer learning if you can by finding a model pre-trained for a similar task and then fine-tune that model for your particular task

  • Gradual unfreezing and discriminative learning rates work well when fine-tuning a transfer learned model

    • Gradual unfreezing = freeze earlier layers and train the later layers only, then gradually unfreeze the earlier layers one by one

    • Discriminative learning rates = having different learning rates per layer of your network (usually earlier layers have smaller learning rates than later layers)

Tricks to Deal with Overfitting

  • Best way to deal with overfitting is by getting more data. Exhaust this first before you start regularising with other methods

  • Data augmentation is really powerful and now possible with text as well as images:

    • Image data augmentation - crop, pad, squish and resize images

    • Text data augmentation - negate words, replace words with similes, perturb word embeddings (nice github repo for this)

  • Mixup regularisation = create new data by averaging together training datapoints

  • Backwards training (NLP only): train an additional separate model that is fed text backwards and then average the outputs of your two models to get your final prediction

Other Tricks to Improve Performance

  • Test time augmentation = at test time, use the average prediction from many augmented versions of the input as your prediction rather than just the prediction from the true input

  • 1 cycle training = when you increase and reduce the learning rate throughout training in a circular fashion (usually makes a huge difference)

  • Learning rate finder algorithm = algorithm that Fast AI provide to help you automatically discover roughly the best learning rate

  • Never use one-hot encodings, use embeddings instead, even in tabular data!

  • Using AdamW instead of Adam can help a little bit

  • Lower precision training can help and on pytorch lightning is just a simple flag you can set

  • For regression problems if you know the output should be within a range then its good to use sigmoid to force the neural net output to be within this range

    • I.e. make the network output: min_value + sigmoid(output) * (max_value - min_value)

  • Clustering your features can help you identify which ones are the most redundant and then removing the can help performance

  • Label smoothing = use 0.1 and 0.9 instead of 0 and 1 for label targets (can smoothen training)

  • Don’t dichotomise your data, if your output is continuous then its better to train the network to predict continuous values rather than turning it into a classification problem

  • Progressive resizing = train model on smaller resolution images first, then increase resolution gradually (can speed up training a lot)

  • Strategically using bottleneck layers to force the network to form more compact representations of the data at different points can be helpful

  • Try using skip connections as they can help smooth out the loss surface

Please let me know if you found this helpful and if there are any other training tricks you use that we should also know about?


r/MachineLearning • • Jul 30 '26

Discussion I have lost three and a half potential PhD students due to the conference review process [D]

697 Upvotes

Early-career Assistant Professor here. I identified some talented undergraduate students and worked with them on research problems, trying to convert them into either my PhD students or recommending them to my collaborators.

Three said a hard no after going through the paper submission process. They are not interested in playing this game. The fourth said, “I really like doing research with you, but I don’t like dealing with the paper reviewers.” I managed to convince that guy to do a PhD in the end, but I almost lost this student as well.

Just a side note: these were not course projects submitted as lottery tickets. They were parts of my own ongoing research, and the results were good. I have more than 10 years of publication and review experience at “big three”-level conferences, so I have a reasonably good sense of the quality of the work. In my view, the papers were well above the bar.

And yes, these papers indeed received very positive reviews, including one with four unanimous weak accepts, but were still rejected. They then got trapped in endless resubmission cycles. In every resubmission, we additionally address previous rounds' concerns, only to make the next round of reviews more random. This is funny. When a paper has obvious drawbacks, the AI picks it up, you address it, and people are happy. When a paper has no obvious drawbacks, the AI will start to pick up random points everywhere. At this point, I cannot even convince myself to persuade these students to pursue a PhD.

Just a rant. I want to remind everyone that careless or malicious behavior can alter someone’s career path.


r/MachineLearning • • Nov 04 '16

News [News] DeepMind and Blizzard to release StarCraft II as an AI research environment

Thumbnail
deepmind.com
697 Upvotes