{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,28]],"date-time":"2026-07-28T00:06:17Z","timestamp":1785197177120,"version":"3.55.0"},"reference-count":36,"publisher":"Springer Science and Business Media LLC","issue":"4","license":[{"start":{"date-parts":[[2023,2,2]],"date-time":"2023-02-02T00:00:00Z","timestamp":1675296000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,2,2]],"date-time":"2023-02-02T00:00:00Z","timestamp":1675296000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/100010661","name":"Horizon 2020 Framework Programme","doi-asserted-by":"publisher","award":["952215"],"award-info":[{"award-number":["952215"]}],"id":[{"id":"10.13039\/100010661","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Mach Learn"],"published-print":{"date-parts":[[2023,4]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Being able to provide counterfactual interventions\u2014sequences of actions we would have had to take for a desirable outcome to happen\u2014is essential to explain how to change an unfavourable decision by a black-box machine learning model (e.g., being denied a loan request). Existing solutions have mainly focused on generating feasible interventions without providing explanations of their rationale. Moreover, they need to solve a separate optimization problem for each user. In this paper, we take a different approach and learn a program that outputs a sequence of explainable counterfactual actions given a user description and a causal graph. We leverage program synthesis techniques, reinforcement learning coupled with Monte Carlo Tree Search for efficient exploration, and rule learning to extract explanations for each recommended action. An experimental evaluation on synthetic and real-world datasets shows how our approach, FARE (eFficient counterfActual REcourse), generates effective interventions by making orders of magnitude fewer queries to the black-box classifier with respect to existing solutions, with the additional benefit of complementing them with interpretable explanations.<\/jats:p>","DOI":"10.1007\/s10994-022-06293-7","type":"journal-article","created":{"date-parts":[[2023,2,2]],"date-time":"2023-02-02T22:02:49Z","timestamp":1675375369000},"page":"1389-1409","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Synthesizing explainable counterfactual policies for algorithmic recourse with program synthesis"],"prefix":"10.1007","volume":"112","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8387-9983","authenticated-orcid":false,"given":"Giovanni","family":"De Toni","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Bruno","family":"Lepri","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Andrea","family":"Passerini","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2023,2,2]]},"reference":[{"issue":"4","key":"6293_CR1","doi-asserted-by":"publisher","first-page":"1059","DOI":"10.1111\/rssb.12377","volume":"82","author":"DW Apley","year":"2020","unstructured":"Apley, D. W., & Zhu, J. (2020). Visualizing the effects of predictor variables in black box supervised learning models. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 82(4), 1059\u20131086.","journal-title":"Journal of the Royal Statistical Society: Series B (Statistical Methodology)"},{"issue":"4","key":"6293_CR2","doi-asserted-by":"publisher","first-page":"47","DOI":"10.1109\/MCSE.2021.3083216","volume":"23","author":"L Dalcin","year":"2021","unstructured":"Dalcin, L., & Fang, Y. (2021). mpi4py: Status update after 12 years of development. Computing in Science Engineering, 23(4), 47\u201354. https:\/\/doi.org\/10.1109\/MCSE.2021.3083216.","journal-title":"Computing in Science Engineering"},{"issue":"2","key":"6293_CR3","doi-asserted-by":"publisher","first-page":"81","DOI":"10.1037\/h0043158","volume":"63","author":"GA Miller","year":"1956","unstructured":"Miller, G. A. (1956). The magical number seven, plus or minus two: Some limits on our capacity for processing information. Psychological Review, 63(2), 81.","journal-title":"Psychological Review"},{"key":"6293_CR4","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1016\/j.artint.2018.07.007","volume":"267","author":"T Miller","year":"2019","unstructured":"Miller, T. (2019). Explanation in artificial intelligence: Insights from the social sciences. Artificial Intelligence, 267, 1\u201338.","journal-title":"Artificial Intelligence"},{"key":"6293_CR5","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511803161","volume-title":"Causality","author":"J Pearl","year":"2009","unstructured":"Pearl, J. (2009). Causality. Cambridge University Press."},{"key":"6293_CR6","first-page":"14673","volume":"32","author":"T Pierrot","year":"2019","unstructured":"Pierrot, T., Ligner, G., Reed, S. E., Sigaud, O., Perrin, N., Laterre, A., et al. (2019). Learning compositional neural programs with recursive tree search and planning. NeurIPS, 32, 14673\u201314683.","journal-title":"NeurIPS"},{"key":"6293_CR7","doi-asserted-by":"publisher","first-page":"484","DOI":"10.1038\/nature16961","volume":"529","author":"D Silver","year":"2016","unstructured":"Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., et al. (2016). Mastering the game of go with deep neural networks and tree search. Nature, 529, 484\u2013503.","journal-title":"Nature"},{"issue":"6419","key":"6293_CR8","doi-asserted-by":"publisher","first-page":"1140","DOI":"10.1126\/science.aar6404","volume":"362","author":"D Silver","year":"2018","unstructured":"Silver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., et al. (2018). A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science, 362(6419), 1140\u20131144. https:\/\/doi.org\/10.1126\/science.aar6404.","journal-title":"Science"},{"key":"6293_CR9","doi-asserted-by":"publisher","first-page":"11974","DOI":"10.1109\/ACCESS.2021.3051315","volume":"9","author":"I Stepin","year":"2021","unstructured":"Stepin, I., Alonso, J. M., & Pereira-Fari\u00f1a, A. C. M. (2021). A survey of contrastive and counterfactual explanation generation methods for explainable artificial intelligence. IEEE Access, 9, 11974\u201312001.","journal-title":"IEEE Access"},{"key":"6293_CR10","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-57959-7","volume-title":"The EU general data protection regulation (GDPR): A practical guide","author":"P Voigt","year":"2017","unstructured":"Voigt, P., & Bussche, A. (2017). The EU general data protection regulation (GDPR): A practical guide (1st ed.). Springer.","edition":"1"},{"key":"6293_CR11","first-page":"841","volume":"31","author":"S Wachter","year":"2017","unstructured":"Wachter, S., Mittelstadt, B., & Russell, C. (2017). Counterfactual explanations without opening the black box: Automated decisions and the GDPR. Harvard Journal of Law and Technology, 31, 841.","journal-title":"Harvard Journal of Law and Technology"},{"key":"6293_CR12","unstructured":"Balog, M., Gaunt, A. L., Brockschmidt, M., Nowozin, S., & Tarlow, D. (2017). DeepCoder: Learning to write programs. In ICLR. https:\/\/openreview.net\/pdf?id=rkE3y85ee"},{"key":"6293_CR13","doi-asserted-by":"crossref","unstructured":"Barocas, S., Selbst, A., & Raghavan, M. (2020). The hidden assumptions behind counterfactual explanations and principal reasons. In FAT*.","DOI":"10.1145\/3351095.3372830"},{"key":"6293_CR14","unstructured":"Bunel, R., Hausknecht, M., Devlin, J., Singh, R., & Kohli, P. (2018). Leveraging grammar and reinforcement learning for neural program synthesis. In ICLR. https:\/\/openreview.net\/forum?id=H1Xw62kRZ"},{"key":"6293_CR15","doi-asserted-by":"crossref","unstructured":"Coulom, R. (2006). Efficient selectivity and backup operators in Monte-Carlo tree search. In Proceedings computers and games 2006. Springer.","DOI":"10.1007\/978-3-540-75538-8_7"},{"key":"6293_CR16","doi-asserted-by":"crossref","unstructured":"Cui, Z., Chen, W., He, Y., & Chen, Y. (2015). Optimal action extraction for random forests and boosted trees. In Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining (pp. 179\u2013188).","DOI":"10.1145\/2783258.2783281"},{"key":"6293_CR17","doi-asserted-by":"crossref","unstructured":"Dandl, S., Molnar, C., Binder, M., & Bischl, B. (2020). Multi-objective counterfactual explanations. In PPSN (pp. 448\u2013469). Springer.","DOI":"10.1007\/978-3-030-58112-1_31"},{"key":"6293_CR18","unstructured":"De Toni, G., Erculiani, L., & Passerini, A. (2021). Learning compositional programs with arguments and sampling. In AIPLANS."},{"key":"6293_CR19","unstructured":"Dua, D., & Graff, C. (2017). UCI machine learning repository. http:\/\/archive.ics.uci.edu\/ml"},{"key":"6293_CR20","unstructured":"Greenwell, B. M., Boehmke, B. C., & McCarthy, A. J. (2018). A simple and effective model-based variable importance measure. arXiv preprint arXiv:1805.04755"},{"key":"6293_CR21","unstructured":"Guidotti, R., Monreale, A., Ruggieri, S., Pedreschi, D., Turini, F., & Giannotti, F. (2018). Local rule-based explanations of black box decision systems. CoRR arxiv:1805.10820"},{"key":"6293_CR22","doi-asserted-by":"crossref","unstructured":"Kanamori, K., Takagi, T., Kobayashi, K., & Arimura, H. (2020). Dace: Distribution-aware counterfactual explanation by mixed-integer linear optimization. In IJCAI (pp. 2855\u20132862).","DOI":"10.24963\/ijcai.2020\/395"},{"key":"6293_CR23","unstructured":"Karimi, A., Barthe, G., Balle, B., & Valera, I. (2020). Model-agnostic counterfactual explanations for consequential decisions. In AISTATS (pp. 895\u2013905). PMLR."},{"key":"6293_CR24","unstructured":"Karimi, A., Barthe, G., Sch\u00f6lkopf, B., & Valera, I. (2020). A survey of algorithmic recourse: Definitions, formulations, solutions, and prospects. arXiv preprint arXiv:2010.04050"},{"key":"6293_CR25","doi-asserted-by":"crossref","unstructured":"Karimi, A., Sch\u00f6lkopf, B., & Valera, I. (2021). Algorithmic recourse: from counterfactual explanations to interventions. In FaccT (pp. 353\u2013362).","DOI":"10.1145\/3442188.3445899"},{"key":"6293_CR26","unstructured":"Karimi, A., von K\u00fcgelgen, J., Sch\u00f6lkopf, B., & Valera, I. (2020). Algorithmic recourse under imperfect causal knowledge: A probabilistic approach. In NeurIPS. https:\/\/proceedings.neurips.cc\/paper\/2020\/file\/02a3c7fb3f489288ae6942498498db20-Paper.pdf"},{"key":"6293_CR27","doi-asserted-by":"publisher","unstructured":"Kocsis, L., & Szepesv\u00e1ri, C. (2006). Bandit based Monte-Carlo planning. In ECML (pp. 282\u2013293). Springer, Berlin, Heidelberg. https:\/\/doi.org\/10.1007\/11871842_29","DOI":"10.1007\/11871842_29"},{"key":"6293_CR28","doi-asserted-by":"crossref","unstructured":"Mothilal, R. K., Sharma, A., & Tan, C. (2020). Explaining machine learning classifiers through diverse counterfactual explanations. In: FAT* (pp. 607\u2013617).","DOI":"10.1145\/3351095.3372850"},{"key":"6293_CR29","doi-asserted-by":"publisher","unstructured":"Naumann, P., & Ntoutsi, E. (2021). Consequence-aware sequential counterfactual generation. In ECMLPKDD. https:\/\/doi.org\/10.1007\/978-3-030-86520-7_42","DOI":"10.1007\/978-3-030-86520-7_42"},{"key":"6293_CR30","doi-asserted-by":"crossref","unstructured":"Ramakrishnan, G., Lee, Y. C., & Albarghouthi, A. (2020). Synthesizing action sequences for modifying model decisions. In AAAI (Vol. 34, pp. 5462\u20135469).","DOI":"10.1609\/aaai.v34i04.5996"},{"key":"6293_CR31","doi-asserted-by":"crossref","unstructured":"Spirtes, P., & Zhang, K. (2016). Causal discovery and inference: concepts and recent methodological advances. In Applied Informatics (Vol. 3, pp. 1\u201328). SpringerOpen.","DOI":"10.1186\/s40535-016-0018-x"},{"key":"6293_CR32","unstructured":"Tian, J., & Pearl, J. (2001). Causal discovery from changes. In Proceedings of the seventeenth conference on uncertainty in artificial intelligence (pp. 512\u2013521)."},{"key":"6293_CR33","doi-asserted-by":"crossref","unstructured":"Tolomei, G., Silvestri, F., Haines, A., & Lalmas, M. (2017). Interpretable predictions of tree-based ensembles via actionable feature tweaking. In Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining (pp. 465\u2013474).","DOI":"10.1145\/3097983.3098039"},{"key":"6293_CR34","unstructured":"Tsirtsis, S., & Rodriguez, M. (2020). Decisions, counterfactual explanations and strategic behavior. In NeurIPS. https:\/\/proceedings.neurips.cc\/paper\/2020\/hash\/c2ba1bc54b239208cb37b901c0d3b363-Abstract.html"},{"key":"6293_CR35","doi-asserted-by":"crossref","unstructured":"Ustun, B., Spangher, A., & Liu, Y. (2019). Actionable recourse in linear classification. In FAT* (pp. 10\u201319).","DOI":"10.1145\/3287560.3287566"},{"key":"6293_CR36","unstructured":"Yonadav, S., & Moses, W. S. (2019). Extracting incentives from black-box decisions. CoRR arxiv:1910.05664"}],"container-title":["Machine Learning"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10994-022-06293-7.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10994-022-06293-7\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10994-022-06293-7.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,3,27]],"date-time":"2023-03-27T05:12:15Z","timestamp":1679893935000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10994-022-06293-7"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,2,2]]},"references-count":36,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2023,4]]}},"alternative-id":["6293"],"URL":"https:\/\/doi.org\/10.1007\/s10994-022-06293-7","relation":{},"ISSN":["0885-6125","1573-0565"],"issn-type":[{"value":"0885-6125","type":"print"},{"value":"1573-0565","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,2,2]]},"assertion":[{"value":"1 May 2022","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"21 November 2022","order":2,"name":"revised","label":"Revised","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"7 December 2022","order":3,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"2 February 2023","order":4,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors have no competing interests to declare that are relevant to the content of this article.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}},{"value":"Not applicable.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"Ethics approval"}},{"value":"Not applicable.","order":4,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent to participate"}},{"value":"Not applicable.","order":5,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent for publication"}}]}}