Most employer agreements have fairly draconian claims around IP. And I believe that many universities require their faculty to run consulting, etc. gigs through their legal teams, and the university gets a "right of first refusal" of sorts on the generated IP. Many academics get around this by claiming that they are doing research X at company (more applied, etc.) and research Y at the university (more theory, technically different projects under different grants). But with ML it seems like it would be harder. Regardless, I'd love to figure out if we can get these agreements through freedom of information act requests, to shed light on what state-employees are doing.
Yeah, at my university partnerships between academia and industry have very complex IP terms that depend on the scope of work, how much of it involves novel research, etc.
And there, there's the clarity of "I'm an employee of the university". With dual appointments...the agreement has to be complex. Either that, or really draconian based on Facebook throwing it's weight around and saying "Accept this, or we'll find another university that will."