arXiv:2611.23354econ.GNNov 2026

Manuscript Offprint

arXiv:2611.23354

AI, Specialization, and the Organization of Knowledge Work: Evidence from Legal Services

Liu Zhang, Mark Esposito, Isabel Yang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Artificial intelligence makes specialized knowledge cheaper to use, but its effects on professional-service firms depend on how clients reallocate work and how suppliers respond. We develop a framework linking individual self-provision, enterprise make-or-buy decisions, and pricing by specialist firms. As AI improves lower-priced alternatives, clients may reallocate work across outside providers without bringing it in-house. If the departing work is more price-sensitive than the work that remains, premium firms may raise their optimal markups even as their share of work declines. We examine these margins in U.S. legal services. Across 89 federal districts, a difference-in-differences analysis finds a 6.6-percentage-point increase in non-prisoner self-representation relative to prisoner petitions by fiscal 2025, remaining substantial after adjusting for pre-existing trends. In contrast, lawyer employment shows no clear post-2022 shift toward client firms. Legal-AI benchmarks reveal continuing limitations in reliably completing complex, multi-step work, offering one possible explanation. Meanwhile, the largest law firms reported 13% revenue growth in 2025 despite nearly flat billable hours, while lower-priced firms experienced stronger demand growth. Reported AI integration is also stronger among firms with lower revenue per lawyer. These patterns highlight the importance of changes in work allocation and supplier competition, even as much of the underlying reallocation predates generative AI. The findings illustrate why cheaper expertise need not produce either widespread internalization or declining prices for premium professional services.

Keywords: generative AI, firm boundaries, knowledge specialization, make-or-buy decisions, legal services, professional services, pro se litigation, mobile demand

JEL Classification: D23, L22, O33, L84, K41

1 Introduction

AI is dramatically lowering the cost of acquiring specialized knowledge. Increasingly, it can also perform professional tasks directly from start to finish. These advances raise a fundamental question in the economics of firm boundaries: as expertise becomes cheaper, which activities will clients perform themselves, and which will they continue to purchase from specialist firms? This choice depends on how AI changes the relative costs and capabilities of clients and outside providers. Yet the make-or-buy decision is only one margin of adjustment. AI may also improve lower-priced providers’ ability to compete for work, allowing clients to reallocate purchases across outside suppliers without bringing production in-house. The resulting changes may therefore involve both firm boundaries and the composition and pricing of specialist services.

These questions connect two strands of organizational economics. The theory of the firm examines why activities are organized within firms rather than through markets (Coase, 1937; Grossman and Hart, 1986), while the economics of knowledge studies how the costs of acquiring and communicating expertise shape specialization and the division of labor (Garicano, 2000; Garicano and Rossi-Hansberg, 2006). Technological change can shift organizational boundaries in different directions (Baker and Hubbard, 2003), and specialization and transaction costs help determine the scope of law firms (Garicano and Hubbard, 2009). More recently, Garicano (2026) argues that AI may erode specialists’ cost advantage and shift production toward client organizations. We build on this literature by examining not only the boundary between clients and specialist providers, but also how cheaper expertise changes competition and the allocation of work among competing specialist providers.

Legal services provide a useful setting for studying these adjustments. Corporate legal departments routinely allocate work among in-house lawyers, lower-priced outside providers, and premium law firms, depending on the nature of the work and the capabilities of each supplier. This disaggregation of legal work, and the movement of demand across law-firm segments, predates generative AI (Regan and Heenan, 2010; Association of Corporate Counsel, 2025; Engelland, 2026). AI may accelerate these changes by expanding the range of tasks that clients and lower-priced providers can perform, while leaving some advantages of premium firms, such as specialized judgment and client relationships, intact. A client may consequently retain its relationship with a premium firm while assigning a different mix of work to that firm. The resulting change in the allocation of work can also change the value of the expertise that remains in demand (Autor and Thompson, 2025).

This reallocation also has implications for specialist pricing. Premium firms serve clients and matters that differ in how readily they can be assigned to alternative providers. As AI improves these alternatives, more substitutable work may move elsewhere, while clients continue to rely on premium firms for matters requiring specialized judgment, reputation, or relationship-specific knowledge. If the departing work is more price-sensitive than the work that remains, residual demand becomes less elastic, and the premium firm’s optimal markup may rise even as its volume declines (Frank and Salkever, 1997; Chen and Riordan, 2008). Changes in the composition of work can also affect average realized rates, allowing premium firms to report rising rates even as some work shifts to lower-priced providers.

We formalize these ideas through three linked decisions. Individuals choose whether to hire counsel, represent themselves, or forgo a legal claim. Enterprises decide which recurring activities to perform internally, weighing the fixed cost of maintaining the necessary capabilities against the cost of outsourcing. Conditional on outsourcing, clients choose among differentiated providers and determine whether AI use is permitted. Outside suppliers choose their AI adoption and pricing strategies in response to these constraints. The model shows how client restrictions can limit the returns to AI adoption, while improvements in lower-priced alternatives can shift contestable work away from premium firms. Selection into the remaining client base may then increase premium markups even as the firm’s volume declines. The framework identifies the conditions under which self-provision, internalization, and substitution among outside suppliers become attractive. It also shows why cheaper expertise need not lead to lower premium prices or a uniform contraction of specialist firms.

We examine these mechanisms using data from the U.S. legal-services market. Federal court records reveal changes in self-representation across districts and case types. Employment and spending data track the organization and demand for legal services, while law-firm revenue, billable hours, and practice-level series capture differences across outside providers. We also examine measures of AI integration and model capabilities. Legal work varies considerably in recurrence, standardization, judgment requirements, and the availability of alternative suppliers, providing a setting in which the different margins of adjustment can be examined together.

The empirical evidence reveals different patterns across these margins. First, self-representation in federal civil litigation has risen sharply since ChatGPT launched in 2022. The share of non-prisoner cases involving a self-represented party reached 16.8% in fiscal 2025, after remaining between 9.5% and 12.1% for nearly two decades. Using a difference-in-differences design comparing non-prisoner cases with prisoner petitions across 89 federal districts, we estimate a 6.6-percentage-point relative increase by 2025. The finding remains substantial at 5.7 points after accounting for a modest upward pre-existing trend. Increases are particularly pronounced in several case types requiring substantial drafting, consistent with AI reducing the cost of self-representation. Meanwhile, real household spending on legal services remained above its pre-pandemic trend, indicating that greater self-representation has not been accompanied by a broad decline in paid legal demand.

Second, we find little evidence of a new shift in lawyer employment toward client firms. The share of privately employed lawyers working outside the legal-services industry rose substantially during the 2010s, before generative AI, but stood at 29.0% in 2024, close to 28.7% in 2019. Within-state estimates show no clear post-2022 acceleration in in-house hiring, nor is industry-level AI adoption positively associated with such hiring. Evidence on AI capabilities offers one possible explanation. Model performance on legal reasoning and research tasks has improved substantially (Guha et al., 2023; Vals AI, 2026), but reliability remains limited on more demanding, multi-step legal work (Harvey, 2026; micro1, 2026; Ivo and micro1, 2026). In an October 2026 evaluation of Harvey’s Legal Agent Benchmark conducted by Vals AI, the leading model fully passed only about one-quarter of tasks (Vals AI, 2026). Separate micro1 evaluations similarly document substantial limitations in long-horizon legal reasoning and context-sensitive contract review (micro1, 2026; Ivo and micro1, 2026). AI may therefore improve the execution of individual tasks before it changes the relative costs of fulfilling more complex legal demand in-house.

Third, the outside-provider market exhibits changes in demand and pricing consistent with our model predictions. In 2025, the largest U.S. law firms reported 13% revenue growth despite nearly flat billable hours, while lower-priced firms experienced stronger demand growth. Realized rates rose substantially, and midsize firms experienced stronger hours growth. Comparing practice-level demand with legal-agent benchmark results, we find no systematic evidence that specialties with stronger AI capabilities experienced faster declines after 2022. Instead, several of these specialties, particularly patent and tax, had already experienced declining billable hours before generative AI became widely available. Meanwhile, firms with lower revenue per lawyer report stronger AI integration, consistent with AI improving clients’ alternatives to premium providers. Together, these patterns suggest that changes in the allocation of work among outside suppliers may be an important margin of adjustment.

The paper contributes to the economics of knowledge organization in two ways. Conceptually, it shows why cheaper knowledge need not imply a uniform contraction of specialist suppliers: clients reallocate different kinds of work, and selection into the remaining customer base can change specialist markups. Empirically, we examine three margins of adjustment in the legal-services market within a common framework. We extend recent evidence on rising self-representation in federal civil litigation (Shah and Levy, 2026; Cohen-Sasson, 2026) by comparing changes in non-prisoner filings with prisoner petitions within the same districts. We then connect these patterns to evidence on in-house legal employment, demand across law-firm segments, and AI integration among outside providers. Together, these findings provide a broader picture of how the organization of legal work has evolved alongside the diffusion of AI, highlighting distinct adjustments in self-provision, internalization, and competition among specialist suppliers.

Section 2 develops the framework. Sections 3 and 4 describe the data and empirical designs. Section 5 examines the household, enterprise, and outside-provider margins; Section 6 reports sensitivity analyses. Section 7 relates the evidence to the state of legal AI capability. Section 8 concludes.