I don't know, if I was financially independent, I'd do work that can be open sourced and free - get proper recognition - rather than giving it away to a corporation.
On your deathbed you are likely not going to look back favorably at all the years you put in for bigcorp advancing the industry. Even if you do have a few white papers published, so what? Effectively nobody will remember them in 10 years anyway. Trying to find meaning by working for others doesn't pan out for most people. Bank the cash, get out when you can.