Front Matter
Author:
Khaled AlAjmi
Search for other papers by Khaled AlAjmi in
Current site
Google Scholar
Close
,
Jose Deodoro
Search for other papers by Jose Deodoro in
Current site
Google Scholar
Close
,
Mr. Ashraf Khan
Search for other papers by Mr. Ashraf Khan in
Current site
Google Scholar
Close
https://orcid.org/0000-0002-0084-0240
, and
Kei Moriya
Search for other papers by Kei Moriya in
Current site
Google Scholar
Close

Copyright Page

© 2023 International Monetary Fund

WP/23/241

IMF Working Paper

Information Technology Department and Monetary and Capital Markets Department

Predicting the Law: Artificial Intelligence Findings from the IMF’s Central Bank Legislation Database

Prepared by Khaled AlAjmi, Jose Deodoro, Ashraf Khan1, and Kei Moriya

All authors contributed equally to this work

Authorized for distribution by Bachir Boukherouaa and Jihad Alwazir

November 2023

IMF Working Papers describe research in progress by the author(s) and are published to elicit comments and to encourage debate. The views expressed in IMF Working Papers are those of the author(s) and do not necessarily represent the views of the IMF, its Executive Board, or IMF management.

ABSTRACT:

Using the 2010, 2015, and 2020/2021 datasets of the IMF’s Central Bank Legislation Database (CBLD), we explore artificial intelligence (AI) and machine learning (ML) approaches to analyzing patterns in central bank legislation. Our findings highlight that: (i) a simple Naïve Bayes algorithm can link CBLD search categories with a significant and increasing level of accuracy to specific articles and phrases in articles in laws (i.e., predict search classification); (ii) specific patterns or themes emerge across central bank legislation (most notably, on central bank governance, central bank policy and operations, and central bank stakeholders and transparency); and (iii) other AI/ML approaches yield interesting results, meriting further research.

RECOMMENDED CITATION: Al Ajmi, K., J. Deodoro, A. Khan, K. Moriya, 2023, Predicting the Law: Artificial Intelligence Findings from the IMF’s Central Bank Legislation Database. IMF Working Paper 23/241. Washington, D.C.: International Monetary Fund.

article image

Title Page

WORKING PAPERS

Predicting the Law

Artificial Intelligence Findings from the IMF’s Central Bank Legislation Database

Prepared by Khaled AlAjmi, Jose Deodoro, Ashraf Khan, and Kei Moriya1

Contents

  • Glossary

  • Introduction

  • AI/ML Approaches

  • User Statistics

  • Conclusion

  • Annex I. CBLD Coding App

  • Annex II. Overview of CBLD Search Categories

  • References

  • FIGURES

  • 1. CBLD Data Coverage 2010/2015, 2020/2021)

  • 2. Number of Included Laws (by country)

  • 3. CBLD Data Flow

  • 4. Example of the Landing Page and a Coding Page of the CBLD Coding App

  • 5. Multiplicity of Categories

  • 6. Most Relevant Words and Coefficients for Category 1.01

  • 7. Fraction of Correct Categories Against Ranking

  • 8. Fraction of Correct Categories Against Ranking Across All Categories

  • 9. Most Counted Tokenized Words

  • 10. Themes of Frequently Occurring Tokenized Words in the CBLD

  • 11. Word Network Graph for Common Bigrams (Albania)

  • 12. Word Network Graph for Common Bigrams (Italy)

  • 13. Word Correlation in Laws for United Kingdom and India

  • 14. Proportion of Bigram Combinations on “Independ” and “Autonom” Across Central Bank Legislation

  • 15. Coverage of Bigram Cominations of “Independ” and “Autonom” Across Central Bank Legislation

  • 16. CBLD External Users: Number of Searches

  • 17. CBLD External Users: Regional Coverage (in percent)

  • 18. CBLD Daily User Queries (2021, 2022)

  • 19. CBLD Daily User Queries by Search Category (2021–2023)

  • 20. CBLD Daily User Queries by Country (2021–2023)

  • 21. CBLD User Queries by Country (2021–2023)

Glossary

AI

Artificial Intelligence

AIV

IMF Article IV

AML/CFT

Anti-Money Laundering/Countering the Financing of Terrorism

API

Application Programming Interface

BoE

Bank of England

CBI

Central Bank Independence

CBLD

IMF Central Bank Legislation Database

CBT

IMF Central Bank Transparency Code

ELA

Emergency Liquidity Assistance

EMs

Emerging Markets

ESCB

European System of Central Banks

FSAP

Financial Sector Assessment Program

FX

Foreign Exchange

IMF

International Monetary Fund

ITD

IMF Information Technology Department

LICs

Low-Income Countries

LLM

Large Language Models

LOLR

Lender of Last Resort

MCM

IMF Monetary and Capital Markets Department

MIT

Massachusetts Institute of Technology

ML

Machine Learning

MOID

IMF Monetary Operations and Instruments Database

NBU

National Bank of Ukraine

NLP

Natural Language Processing

NLTK

Natural Language Toolkit

RBI

Reserve Bank of India

TF-IDF

Term Frequency – Inverse Document Frequency

1

Corresponding author

1

Production assistance provided by Julie Vaselopulos.

  • Collapse
  • Expand
Predicting the Law: Artificial Intelligence Findings from the IMF’s Central Bank Legislation Database
Author:
Khaled AlAjmi
,
Jose Deodoro
,
Mr. Ashraf Khan
, and
Kei Moriya