When state lawmakers handed Tesla a $1.3 billion tax break back in 2014, they were chasing jobs and a shiny new factory. But the real payoff, it turns out, may have been the engineers who walked out the door years later to start their own businesses—recycling lithium from the very batteries the company makes.

A new study published in the Journal of Accounting Research suggests that giant tax incentive packages, known as "megadeals," can spark innovation far beyond the gates of the companies they lure into a community. And the evidence is hiding in something you might not expect: patents.

Aruhn Venkat, an assistant professor of accounting at UC Riverside's School of Business and a co-author of the study, and his colleagues looked at 115 megadeals approved between 1990 and 2014. These are the big ones—tax subsidies worth more than $50 million that cities, counties, or states hand out to attract factories, headquarters, and other major facilities.

To measure innovation, the researchers counted the number and value of patents filed by businesses in the counties where the subsidies were awarded. The result was clear: in counties with a megadeal, local firms filed more patents. A substantial jump in subsidy size was linked to roughly a 3.3% to 4.9% increase in patent filings by nearby companies—about two to three extra patents each year at the county level.

Why does this happen? The study points to something researchers call "knowledge spillover." When a large, technologically advanced operation arrives, it brings skilled inventors and fresh ideas into a region. Highly trained workers may eventually leave for jobs at other local businesses—or strike out on their own.

The Tesla Gigafactory near Reno, Nevada, is a perfect example. The company built its $5 billion battery factory there, and Venkat said former Tesla engineers left to launch businesses focused on recycling battery materials. They had cooked up ideas for retrieving and reusing lithium from spent batteries that might otherwise have been tossed away.

Some tax incentive deals go even further by requiring companies to team up with community colleges to train future workers. Not everyone who learns those skills ends up working for the subsidized company. Some take their technical know-how to other employers or use it to start ventures of their own, building a broader pool of skilled talent across the community.

Venkat is careful to note the study is not a full cost-benefit analysis of megadeals. Earlier research on jobs and business formation has often found limited benefits, and the debate over whether these deals are worth their price is fierce. But he argues that less tangible outcomes like innovation deserve a seat at the table.

"I'm not saying they always occur, but they do occur for the average megadeal," he said, "which I think should be considered when you're evaluating these sorts of tax subsidies."