Is MountainCar really an exploration or reward function problem?

Is MountainCar really an exploration or reward function problem?

Hi everyone,

I recently finished my master’s degree, and I’m interested in reinforcement learning. Since I had some free time, I ran MountainCar as a toy project. I was originally interested in the phenomenon of plasticity loss, and I suddenly wondered whether the MountainCar environment might not necessarily be a problem of exploration or reward function design, as it is often described.

Briefly, plasticity loss refers to the phenomenon where a model’s ability to adapt to data decreases when the data distribution changes during training. Dormant neuron ratio and effective rank are often used as indicators of this. In simple terms, dormant neuron ratio measures the proportion of neurons in hidden layers whose activations contribute very little to learning, somewhat similar to dead neurons. Effective rank, on the other hand, can be interpreted as the number of dimensions that the penultimate layer is able to represent.

I used CleanRL’s code and hyperparameters almost as-is, and ran experiments with 5 seeds. I compared the baseline with a method known to be effective against plasticity loss: adding Layer Normalization between the linear layer and ReLU.

https://preview.redd.it/oxd7rhr95v4h1.png?width=2700&format=png&auto=webp&s=5d4fd1e1708249ea0238604994bbd2c5faafef73

Surprisingly, simply adding LayerNorm reduced the model’s dormant neuron ratio, noticeably improved the effective rank, and also made learning much smoother. Those familiar with this environment will know that a return of around -110 can be considered very strong performance.

Based on this experiment, I would like to decide what direction to take next. To summarize, my thoughts and questions are:

  1. The MountainCar environment may be solvable simply by adding LayerNorm, without changing the reward function or the exploration strategy.
  2. However, even if LayerNorm solved the problem, I don’t think this necessarily proves that the issue was plasticity loss. What other possible explanations could there be? Why did LayerNorm solve this problem?
  3. I would appreciate any thoughts or feedback on how I could further develop this result.
reddit.com
u/Disastrous-Ladder-46 — 8 days ago

I made a web tool to automatically slice images for the Samsung Galaxy Good Lock QuickStar grid (One UI 8.5)

Hey guys!

While taking a break from job hunting, I was watching YouTube and stumbled upon a video by a tech creator named TheSINZA (Unfortunately, this is Korean video). In the video, they showed how you can use individual quick panel tile backgrounds to display one large composite image. It's an awesome way to customize your shade with pics of your girlfriend, pets, or favorite characters—but the problem is that manually slicing an image into perfectly sized tiny tiles is a massive, tedious chore.

So, I decided to do some "vibe coding" and built a web tool that handles all the tedious slicing for you!

Here is a quick 4-step guide on how it works:

  1. Set up the grid layout to match your phone's quick panel configuration.
  2. Upload your image and crop the exact area you want to use.
  3. Preview the cropped area, then select the sections that correspond to your control panels (Button Box, Media Player, Brightness, Volume).
  4. Hit 'Download ZIP' and extract it. You will get a series of images (image_1image_2, etc.). Then, just open Good Lock -> QuickStar -> Style your own Quick Panel, and apply them one by one in order.

Here are the links:

I've only tested this on my Galaxy S23 so far, so it might not be perfect for every device just yet. From my experience, if you have too many active buttons, a lot of the image gets cut out, making it harder to look clean. I find it looks best when the main subject of your image aligns with a larger element like the button box.

If anyone wants to try it out, please give it a spin and let me know if you run into any bugs or have any feedback. Thanks!

u/Disastrous-Ladder-46 — 16 days ago
▲ 43 r/OneUiHomescreens+1 crossposts

I made a web tool to automatically slice images for the Good Lock QuickStar grid (One UI 8.5)

Hey guys!

https://preview.redd.it/ntkwxsqbja3h1.png?width=1203&format=png&auto=webp&s=ee0327de26b4cb6f4cea85791ba5a46e9953ce84

While taking a break from job hunting, I was watching YouTube and stumbled upon a video by a tech creator named TheSINZA (Unfortunately, this is Korean video). In the video, they showed how you can use individual quick panel tile backgrounds to display one large composite image. It's an awesome way to customize your shade with pics of your girlfriend, pets, or favorite characters—but the problem is that manually slicing an image into perfectly sized tiny tiles is a massive, tedious chore.

So, I decided to do some "vibe coding" and built a web tool that handles all the tedious slicing for you!

https://preview.redd.it/0a2e82djha3h1.png?width=552&format=png&auto=webp&s=28fe790a52cea3b1ddf982b003952bc69cb7ea36

Here is a quick 4-step guide on how it works:

https://preview.redd.it/07ao19lmha3h1.png?width=897&format=png&auto=webp&s=7bc29d390cbdf9b829f64a2248bb7ebbdffd4a86

  1. Set up the grid layout to match your phone's quick panel configuration.

  2. Upload your image and crop the exact area you want to use.

https://preview.redd.it/ee946lozha3h1.png?width=824&format=png&auto=webp&s=678315c636aea798e4514b6cc036019618ec0352

  1. Preview the cropped area, then select the sections that correspond to your control panels (Button Box, Media Player, Brightness, Volume).

  2. Hit 'Download ZIP' and extract it. You will get a series of images (image_1, image_2, etc.). Then, just open Good Lock -> QuickStar -> Style your own Quick Panel, and apply them one by one in order.

Here are the links:

I've only tested this on my Galaxy S23 so far, so it might not be perfect for every device just yet. From my experience, if you have too many active buttons, a lot of the image gets cut out, making it harder to look clean. I find it looks best when the main subject of your image aligns with a larger element like the button box.

https://preview.redd.it/nund9oejia3h1.png?width=1018&format=png&auto=webp&s=fbda78ceff6ec771f27a0eca339f425f6ad2f8ac

Tip) If you use the Gallery app to add text labels (like 'Wi-Fi', 'Bluetooth') over each sliced tile image before applying them, you won't get confused about what each button does! I highly recommend doing this.

If anyone wants to try it out, please give it a spin and let me know if you run into any bugs or have any feedback. Thanks!

reddit.com
u/Disastrous-Ladder-46 — 16 days ago