IDEAS home Printed from https://ideas.repec.org/p/tul/wpaper/2603.html

Optimal Audit Targeting with Machine Learning: Evidence from Pakistan

Author

Listed:
  • Nicholas Lacoste

    (Tulane University)

  • Zehra Farooq

    (Federal Board of Revenue, Pakistan)

Abstract

This paper bridges welfare economics and machine learning econometrics to develop empirically implementable algorithms for optimal audit targeting. We derive a sufficient statistic-based targeting algorithm that depends on three individualized causal effects: the immediate revenue recovered from an audit, the causal effect of an audit on long-run tax revenue, and the marginal administrative cost of an audit. We estimate these effects with a variety of machine learners comparing causal forests, LASSO, gradient boosted trees, and neural networks using the universe of Pakistani income tax returns, exploiting years in which audits were assigned completely at random. We implement our targeting algorithms in out-of-bag years, comparing them to the real-world policy when audits were partially or entirely targeted. We show that the real world audit program in Pakistan lost almost 173,000 Rs ($1,700) in net revenue per-audit, while our optimal policy generates 285,000 Rs ($2,800) in expected net revenue per-audit. We also find that targeting audits based on immediate recoup is sub-optimal to targeting on long-run deterrence in this setting. Moving forward, our framework offers a general approach to empirical welfare maximization using machine learning in resource-constrained policy settings.

Suggested Citation

  • Nicholas Lacoste & Zehra Farooq, 2026. "Optimal Audit Targeting with Machine Learning: Evidence from Pakistan," Working Papers 2603, Tulane University, Department of Economics.
  • Handle: RePEc:tul:wpaper:2603
    as

    Download full text from publisher

    File URL: http://repec.tulane.edu/RePEc/pdf/tul2603.pdf
    File Function: First Version, February 2026
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. García, Jorge Luis & Heckman, James J., 2022. "On Criteria for Evaluating Social Programs," IZA Discussion Papers 15188, IZA Network @ LISER.
    2. Natasha Sarin & Lawrence H. Summers, 2019. "Shrinking the Tax Gap: Approaches and Revenue Potential," NBER Working Papers 26475, National Bureau of Economic Research, Inc.
    3. Raj Chetty, 2006. "A New Method of Estimating Risk Aversion," American Economic Review, American Economic Association, vol. 96(5), pages 1821-1834, December.
    4. Keen, Michael & Slemrod, Joel, 2017. "Optimal tax administration," Journal of Public Economics, Elsevier, vol. 152(C), pages 133-142.
    5. García, Jorge Luis & Heckman, James Joseph, 2022. "Three Criteria for Evaluating Social Programs," Journal of Benefit-Cost Analysis, Cambridge University Press, vol. 13(3), pages 281-286, October.
    6. Kaplow, Louis, 1990. "Optimal taxation with costly enforcement and evasion," Journal of Public Economics, Elsevier, vol. 43(2), pages 221-236, November.
    7. Joel Slemrod & Shlomo Yitzhaki, 1996. "The Costs of Taxation and the Marginal Efficiency Cost of Funds," IMF Staff Papers, Palgrave Macmillan, vol. 43(1), pages 172-198, March.
    8. Timothy Besley & Torsten Persson, 2014. "Why Do Developing Countries Tax So Little?," Journal of Economic Perspectives, American Economic Association, vol. 28(4), pages 99-120, Fall.
    9. repec:bla:scandj:v:93:y:1991:i:1:p:75-88 is not listed on IDEAS
    10. George B. Dantzig, 1957. "Discrete-Variable Extremum Problems," Operations Research, INFORMS, vol. 5(2), pages 266-288, April.
    11. Mayshar, Joram, 1990. "On measures of excess burden and their application," Journal of Public Economics, Elsevier, vol. 43(3), pages 263-289, December.
    12. Juan Carlos Benitez & Mario Mansour & Miguel Pecho & Charles Vellutini, 2023. "Building Tax Capacity in Developing Countries," IMF Staff Discussion Notes 2023/006, International Monetary Fund.
    13. Eissa, Nada & Hoynes, Hilary, 2011. "Redistribution and Tax Expenditures: The Earned Income Tax Credit," National Tax Journal, National Tax Association;National Tax Journal, vol. 64(2), pages 689-729, June.
    14. Nathaniel Hendren & Ben Sprung-Keyser, 2020. "A Unified Welfare Analysis of Government Policies," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 135(3), pages 1209-1318.
    15. Jason DeBacker & Bradley T. Heim & Anh Tran & Alexander Yuskavage, 2018. "Once Bitten, Twice Shy? The Lasting Impact of Enforcement on Tax Compliance," Journal of Law and Economics, University of Chicago Press, vol. 61(1), pages 1-35.
    16. Robinson, Peter M, 1988. "Root- N-Consistent Semiparametric Regression," Econometrica, Econometric Society, vol. 56(4), pages 931-954, July.
    17. Gemmell, Norman & Ratto, Marisa, 2012. "Behavioral Responses to Taxpayer Audits: Evidence From Random Taxpayer Inquiries," National Tax Journal, National Tax Association;National Tax Journal, vol. 65(1), pages 33-57, March.
    18. Emmanuel Saez & Stefanie Stantcheva, 2016. "Generalized Social Marginal Welfare Weights for Optimal Tax Theory," American Economic Review, American Economic Association, vol. 106(1), pages 24-45, January.
    19. Heckman, James J. & Moon, Seong Hyeok & Pinto, Rodrigo & Savelyev, Peter A. & Yavitz, Adam, 2010. "The rate of return to the HighScope Perry Preschool Program," Journal of Public Economics, Elsevier, vol. 94(1-2), pages 114-128, February.
    20. William C Boning & Nathaniel Hendren & Ben Sprung-Keyser & Ellen Stuart, 2025. "A Welfare Analysis of Tax Audits Across the Income Distribution," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 140(1), pages 63-112.
    21. Nathaniel Hendren & Ben Sprung-Keyser, 2022. "The Case for Using the MVPF in Empirical Welfare Analysis," NBER Working Papers 30029, National Bureau of Economic Research, Inc.
    22. Anders Jensen, 2022. "Employment Structure and the Rise of the Modern Tax System," American Economic Review, American Economic Association, vol. 112(1), pages 213-234, January.
    23. Allingham, Michael G. & Sandmo, Agnar, 1972. "Income tax evasion: a theoretical analysis," Journal of Public Economics, Elsevier, vol. 1(3-4), pages 323-338, November.
    24. Loayza, Norman V., 1996. "The economics of the informal sector: a simple model and some empirical evidence from Latin America," Carnegie-Rochester Conference Series on Public Policy, Elsevier, vol. 45(1), pages 129-162, December.
    25. Benjamin A. Olken, 2007. "Monitoring Corruption: Evidence from a Field Experiment in Indonesia," Journal of Political Economy, University of Chicago Press, vol. 115(2), pages 200-249.
    26. repec:dau:papers:123456789/11056 is not listed on IDEAS
    27. Nathaniel Hendren, 2016. "The Policy Elasticity," Tax Policy and the Economy, University of Chicago Press, vol. 30(1), pages 51-89.
    28. Eissa, Nada & Kleven, Henrik Jacobsen & Kreiner, Claus Thustrup, 2008. "Evaluation of four tax reforms in the United States: Labor supply and welfare effects for single mothers," Journal of Public Economics, Elsevier, vol. 92(3-4), pages 795-816, April.
    29. Christopher R Knittel & Samuel Stolper, 2025. "Using Machine Learning to Target Treatment: The Case of Household Energy Use," The Economic Journal, Royal Economic Society, vol. 135(672), pages 2377-2401.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Bastani, Spencer, 2023. "The marginal cost of public funds: A brief guide," Working Paper Series 2023:14, IFAU - Institute for Evaluation of Labour Market and Education Policy.
    2. Spencer Bastani, 2025. "The marginal value of public funds: a brief guide and application to tax policy," International Tax and Public Finance, Springer;International Institute of Public Finance, vol. 32(4), pages 919-956, August.
    3. Christiansen, Tobias Gabel, 2024. "Dynamic effects of tax audits and the role of intentions," Journal of Public Economics, Elsevier, vol. 234(C).
    4. Kalina Koleva, 2005. "Seeking for an optimal tax administration: the efficiency costs’ approach [A la recherche de l'administration fiscale optimale : l'approche par les coûts d'efficience]," Post-Print halshs-00195354, HAL.
    5. Kalina Koleva, 2005. "A la recherche de l'administration fiscale optimale : l'approche par les coûts d'efficience," Cahiers de la Maison des Sciences Economiques r05050, Université Panthéon-Sorbonne (Paris 1).
    6. Maxime Fajeau & Julien Grenet & Emma Laveissière & Orane Leonetti, 2025. "Efficacité des politiques éducatives : sources et hypothèses de calcul," Institut des Politiques Publiques halshs-05458929, HAL.
    7. Hebous, Shafik & Jia, Zhiyang & Løyland, Knut & Thoresen, Thor O. & Øvrum, Arnstein, 2023. "Do Audits Improve Future Tax Compliance in the Absence of Penalties? Evidence from Random Audits in Norway," Journal of Economic Behavior & Organization, Elsevier, vol. 207(C), pages 305-326.
    8. Jarkko Harju & Kaisa Kotakorpi & Tuomas Matikka & Annika Nivala, 2024. "How Do Firms Respond to Risk-based Tax Audits?," Working Papers 22, Finnish Centre of Excellence in Tax Systems Research.
    9. Ebenezer Appiah & Na Song & Isaac Appiah-Otoo & Bright Nana Kwame Ahia & Koffi Dumor & Moumbark Toure & Yawovi M. A. Koudalo, 2025. "The impact of bureaucratic quality on tax revenue collection in democratic settings," Humanities and Social Sciences Communications, Palgrave Macmillan, vol. 12(1), pages 1-11, December.
    10. Slemrod, Joel & Yitzhaki, Shlomo, 2002. "Tax avoidance, evasion, and administration," Handbook of Public Economics, in: A. J. Auerbach & M. Feldstein (ed.), Handbook of Public Economics, edition 1, volume 3, chapter 22, pages 1423-1470, Elsevier.
    11. Britta Rude, 2024. "Middle-run educational impacts of comprehensive early childhood interventions: evidence from a pioneer program in Chile," Journal of Population Economics, Springer;European Society for Population Economics, vol. 37(2), pages 1-30, June.
    12. Garriga, Pablo & Tortarolo, Dario, 2024. "Firms as tax collectors," Journal of Public Economics, Elsevier, vol. 233(C).
    13. Andrew Feltenstein & Jorge Martinez-Vazquez & Biplab Datta & Sohani Fatehin, 2022. "A general equilibrium model of Value Added Tax evasion: an application to Pakistan," International Economics and Economic Policy, Springer, vol. 19(3), pages 537-556, July.
    14. Louis Kaplow, 2024. "Optimal Income Taxation," Journal of Economic Literature, American Economic Association, vol. 62(2), pages 637-738, June.
    15. Cowx, Mary, 2025. "Tax enforcement and R&D credits," Journal of Accounting and Economics, Elsevier, vol. 80(1).
    16. Kasper, Matthias & Alm, James, 2022. "Audits, audit effectiveness, and post-audit tax compliance," Journal of Economic Behavior & Organization, Elsevier, vol. 195(C), pages 87-102.
    17. James Alm, 2019. "What Motivates Tax Compliance?," Journal of Economic Surveys, Wiley Blackwell, vol. 33(2), pages 353-388, April.
    18. Eberhartinger, Eva & Safaei, Reyhaneh & Sureth, Caren & Wu, Yuchen, 2021. "Are risk-based tax audit stretegies rewarded? An analysis of corporate tax avoidance," arqus Discussion Papers in Quantitative Tax Research 267, arqus - Arbeitskreis Quantitative Steuerlehre.
    19. Bastian, Jacob E. & Jones, Maggie R., 2021. "Do EITC expansions pay for themselves? Effects on tax revenue and government transfers," Journal of Public Economics, Elsevier, vol. 196(C).
    20. Arun Advani, 2022. "Who does and doesn't pay taxes?," Fiscal Studies, John Wiley & Sons, vol. 43(1), pages 5-22, March.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • H21 - Public Economics - - Taxation, Subsidies, and Revenue - - - Efficiency; Optimal Taxation
    • H26 - Public Economics - - Taxation, Subsidies, and Revenue - - - Tax Evasion and Avoidance
    • C14 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Semiparametric and Nonparametric Methods: General
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tul:wpaper:2603. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Nicholas Lacoste (email available below). General contact details of provider: https://edirc.repec.org/data/detulus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.