I'm not saying it's right to be oblivious, but more than likely some poor sleepless grad student is more worried about his/her thesis, graduating, and getting the whole algorithm published in a journal, having lots of people use it and cite her/him, than trapping and suing people. Doing sneaky stuff on purpose would reflect very poorly on the student, professor, research group, and institution.
If this were the work of a startup, I would have a different opinion, but coming out of UCLA, I'd highly, highly, highly doubt they are deliberately trying to trap you.
Send them a comment on Github and gently remind them to provide licence information.
Research purposes only.
Explicit license must be obtained for commercial use directly from UCLA.
I don't think it is a trap either. I think it is exactly what their department's legal advisor told them to put on there or is boilerplate they even put in a printed document of the algorithm or any research paper.
It doesn't need more than that just because it is open source and it doesn't need a well-known OSS license either.
Now, I hope they DO go with a more detailed license that is "more" OSS friendly.
It's conceivable that they may want to use said patent to spin-off a startup or do something else with it. However, I agree with you that I do not think it is a trap. As a general rule it's very, very bad to be sneaky in academia and once you publish anything it's pretty standard that you should be open about your intentions regarding already-published work.
The real trap is: if you were foolish enough pay money for a license, then when somebody with deep pockets invalidates the patent, you got nothing for your money.