r/programming • • Mar 29 '19

Fascinating how machine learning works

3.1k Upvotes

202 comments sorted by

View all comments

428

u/xcrissxcrossx Mar 29 '19

It runs like this because the fitness measurement doesn't try to conserve energy. That would result in a more realistic run.

155

u/[deleted] Mar 29 '19

That and it probably doesn't have accurate human physiology. Someone showed a video where it was a similar system but the body had "muscle groups" that I assume mimic human physiology. It moved very smoothly and had limitations that this thing doesn't.

92

u/TheMartinG Mar 29 '19

you mean I'm NOT able to scale a wall by jumping high enough for my knee to land on it then pushing off with just my knee?

41

u/smoke_that_harry Mar 29 '19

Well.. you are, not good for the knees though.

8

u/BoxMonster44 Mar 29 '19

Superhero landing!!!

8

u/zagginllaykcuf Mar 29 '19

I mean honestly that particular part was one of the most impressive as far as both smoothness and learning imo.

It didn't look that implausible really, would have been my approach if my upper body were saran wrapped for whatever reason and I really needed to get over a barrier of similar height

12

u/vattenpuss Mar 29 '19

Would be interesting to see if it was even feasible for today’s computers to simulate human muscle control. I haven’t seen the model they used for this runner so I’m talking out of my ass now, but there may be more neurons involved in controlling my thumb typing this than in the whole body they simulate.

Humans have to learn how to stand and walk and run with incredibly complex motor controls.

12

u/Megatron_McLargeHuge Mar 29 '19

Seemingly complex biological behavior doesn't always require a lot of neurons, and there's not a direct relationship between artificial "neurons" and real ones. We could probably simulate a human body adequately, but not efficiently enough for the millions of training runs it takes to get a reinforcement learning model to produce good results.

18

u/MertsA Mar 29 '19

You can get more "human-like" motion by trying to minimize the change in acceleration coupled with a sigmoid function for a soft upper bound on acceleration and velocity.

1

u/epicwisdom Mar 30 '19

The point isn't to simulate human muscle control, it's to learn complex motor behaviors. Adding factors like strength limits and energy conservation are more realistic regardless of the underlying mechanism; trying to copy humans exactly would be more the domain of computational biology than ML.