> Companies can’t be expected to publish their confidential and proprietary information about their feature development,
Of course they can. Simply eliminate trade secret protections and NDAs, which have literally zero purpose for society and in fact undermine patents' incentive to publish. Give a one year grace period to apply for a patent. Patent protection should be designed to be only as long as needed to try to maximize the development/spread of technology, e.g. maybe 2-3 years for rapidly developing areas like ML.
We should all be expected to contribute whatever knowledge we find to the commons. It makes us all richer.