Nick Lertmethaphat

Articles English translation

GenAI and LLMs in the economic research process

What can economists’ new research assistant do?

GenAI และ LLMs กับกระบวนการทำวิจัยทางเศรษฐศาสตร์

Authors
Tanisa Tawichsri, Nuttapol Lertmethaphat, Nada Wasi
Published
PIER aBRIDGEd, , in Thai
Translation
This English edition was translated from the Thai with AI assistance and checked against the original. The Thai original is authoritative. The figures are in the original.
License
PIER publishes the original under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license. This translation is shared under the same license.

In the past few years, there has been more and more talk about Generative AI (GenAI) and Large Language Models (LLMs). In academic economics and at central banks, GenAI is also being brought into work processes more and more. This article describes what economists gain from GenAI and LLMs in the research process, and what they should be careful about.

What are GenAI and LLMs?

GenAI is an application of Machine Learning (ML) techniques, especially Deep Learning, which have been developed further until they can understand and respond to human language. More than 10 years ago, economists began to talk more about ML. At that time, the question was whether ML techniques such as Random Forest or Support Vector Machine are better than the econometric models that economists were using, and in what ways (Varian, 2014; Mullainathan & Spiess, 2017). The conclusion in most cases was that ML and econometrics are each good at different things. What ML clearly does better is the case where we need an accurate forecast but do not care what the main factors behind it are (prediction problem). What econometric models can still do better is causal inference, which means understanding how certain factors, such as a tax increase or financial assistance, affect behavioral or economic outcomes. Later work, such as causal forest, tried to combine the strengths of ML and econometrics. Interested readers can read more in Athey & Imbens (2019).

ML work in that period still dealt with data that had already been converted into variables. The GenAI that we discuss in this article, however, can also help researchers convert raw data in the form of text, images and sound into variables. It can also analyze, summarize content and interact with humans.

GenAI and LLMs are built on Deep Learning (DL) techniques. DL uses neural networks with many layers to learn how to transform complex raw data, without relying on variable design.1 Within the DL group, one of the important architectures is the Transformer, which has an attention mechanism that helps the model pay special attention to the important context of the data. The model gives more attention to this context than to quantity or frequency.

LLMs are one example of models that rely on the Transformer. They are trained on large and diverse text databases, whether books, websites, articles or codes, with the goal that the model learns and understands the relationships and structure of language. LLMs such as BERT and RoBERTa are encoder models that convert input text into contextual vectors made up of numbers, in a format set in advance. These vectors still preserve the meaning of the text (encoding).

GenAI, on the other hand, is a group of DL models designed to “create new content”, whether text, images, sound, video or code. It is not limited to language processing. Many widely used models, such as GPT, Claude, LLaMA and Gemini, apply both GenAI and LLMs within the model, because they can both understand natural language, as LLMs do, and continuously generate new text. However, there are also many forms of GenAI that are not LLMs, such as creating images from text (diffusion models such as Stable Diffusion and DALL·E), creating music (Suno, MusicLM), or creating video from text (Sora, Runway Gen-2).2 This is shown in Figure 1.

Figure 1: Relationship among Deep Learning, LLMs and GenAI. The figure is in the Thai original.

Source: Adapted from Financial Stability Board (2024) and Kwon et al. (2024)

In the following sections, when we mention GenAI, in many contexts it usually includes reliance on LLMs and Deep Learning as well. We will describe the important roles of GenAI in the economic research process. These are probably only interesting examples. They do not cover all uses of GenAI and LLMs in economic work.

GenAI as a literature review assistant

GenAI can assist fairly well in the literature review stage and in finding information. For example, if we ask which articles on the use of GenAI in economic research have been published in leading economics journals, GenAI can give an answer as in Figure 2.

Figure 2: Example of using GenAI to help with a literature review. The figure is in the Thai original.

The answer above shows that GenAI can reasonably analyze what the leading economics journals are and can summarize articles. It also answers what the user is likely to want to know even when not asked directly. For example, it also gives examples of applied work published in the Quarterly Journal of Economics in 2025. The answer may not cover all of the literature. For example, it does not refer to Korinek (2024), which is the most recent version of that work. Even so, it is likely a good start for researchers.

In addition, Korinek (2024) describes using GenAI to brainstorm, to make a research question clearer, or to help find counterarguments. However, researchers should be careful about hallucination. This means that the model makes up answers that do not exist. For example, it may give the correct title of an article but the wrong publication details. At first glance the answer may look right, because the journal really exists and seems likely to be related to the title of the article (example Chat21 in Korinek, 2024).

GenAI for converting vast volumes of text or images into data that researchers can use easily

Data are an important part of research. In the past, data that could be analyzed usually had to be stored in a structured format (structured data), such as a table, XML (eXtensible Markup Language) or CSV (comma-separated values). Today, however, technology can help convert raw and unstructured data into structured data for further analysis.

We give examples of two groups of work. The first group uses GenAI to classify or extract information from large volumes of text, such as conversations on social media and meeting minutes. The second group uses GenAI to convert image data, such as satellite images, pictures and scanned documents. All of these data have the potential to be used to study many topics.

Classifying or extracting information from large volumes of text

This work grew out of Natural Language Processing (NLP), which started with counting words, such as bag-of-words and TF-IDF, and looking at sentence patterns. At that stage the models could not yet learn meaning in context. This developed into LLMs, which understand more complex context. Today, LLMs are used to extract feelings or attitudes from various documents (sentiment analysis), and to sort them into categories or types (classification), in order to create the variables that researchers are interested in. We describe some interesting work in this group.

Sentiment analysis is often used to analyze central bank statements to see whether the overall picture of the economy is positive or negative, in order to predict whether the central bank is likely to conduct tighter or looser monetary policy in the future, or to extract topics of interest, such as inflation and employment. Pfeifer & Marohl (2023) developed CentralBankRoBERTa from a database of English-language central bank statements. It separates the parties involved in a statement according to whether the statement talks about the government, the central bank, the public, businesses or financial institutions. Silva et al. (2025) used LLMs (a fine-tuned multilingual LLM) to study more than 74,000 central bank documents, collected from 169 central banks from 1884 to 2025. They found that central bank communication has changed. In the past it mostly explained past policy on exchange rates. It has become more forward-looking, whether on inflation or on interest rates.

Besides central bank communication, there are also models trained specifically to extract topics or feelings in each context, such as FinBERT for news or conversations about finance, and ClimateBERT for contexts about climate change.

In classification, GenAI is increasingly used to create variables that economists are interested in. For example, Eloundou et al. (2024) tried using humans and GPT-4 to classify work activities, in order to study which types of work are at risk of being replaced by AI. They used the Occupational Information Network (O*NET) database of the United States (almost 1,000 occupations and almost 20,000 types of tasks).3 They found that the answers from humans and GPT-4 were fairly consistent, and that about 46% of all occupations have at least half of their tasks in which GenAI can play a role. Meanwhile, Kazinnik & Brynjolfsson (2025) studied only the positions at the Federal Reserve Banks and also found that GenAI can play a role in half of the work. However, about half of the positions still need communication, interaction with others and highly specialized expertise, which AI still has difficulty replacing.

An important question is how we can know whether LLMs classify the data correctly. Fang et al. (2025) used LLMs to classify more than 3 million Chinese government policy documents. They shared this concern, because each document is fairly long and the quality of LLM answers is often not very good when they have to read very long text. The research team solved this problem with a multi-step prompting method. For example, they separated the documents by whether they are industrial policy, extracted the target industries, and classified other details such as the tools used and the related rules. They gave clear definitions, asked guiding questions, gave counterexamples, had the LLMs report a confidence score, and drew random samples for humans to check, in order to adjust the prompt method over several rounds. The work mainly used Gemini-1.5-flash. It also used more advanced LLMs, Gemini-1.5-pro and GPT4o-mini, which would probably have different perspectives, to evaluate the results once more.

Classifying or extracting information from images or scanned documents

Many offline documents from the past were stored by scanning. Deep Learning technology helps researchers convert these vast amounts of data so that they are easier to use. Examples of applying the Transformer include Optical Character Recognition (OCR), which extracts text from scanned documents, and the Vision Transformer, which is used to classify images.

The article American Stories (Dell et al., 2023) converted data from articles in old newspapers that had been scanned and stored, more than 20 million issues from 1774 to 1963, which also contain 1.14 billion smaller columns in total, into a new database. The images could be separated into 438 million articles, as well as other items such as advertisements or sports results. For each article, details such as headline, date, place and newspaper name were classified. This work designed a workflow that recommends starting with object/layout detection, to see what elements each page of a document contains, and then sending each element to OCR according to its type. LayoutParser and EfficientOCR were also developed and handle this type of data well. Interested readers can read more in Dell (2025) and Dell’s EconDL blog.

This database helps interested researchers quickly find the biggest news story of the year. It also helps them study the spread of news, both across media and across time. Franklin et al. (2024) used this database and developed a model in which users can enter the text of current news and retrieve past news with a similar “context/storyline”, to help in the study of historical economics. This work had to mask the names of persons, organizations and places in the news, so that the model would learn only the context of the news and build connections.

In addition, GenAI can be used to summarize the content of videos. Korinek (2024) gives an example of a prompt that has Google DeepMind’s Gemini summarize the content of a YouTube video, and Gemini did this fairly well. In remote sensing work, Deep Learning is also increasingly used for analysis. For example, d’Aspremont et al. (2024) used satellite images in several countries to detect heat emitted from cement production plants, in order to create a real-time index of economic activity in the construction industry. They found that this index measures construction activity better than traditional indices built from permit data or from surveys about orders or inventories. Transformer models trained specifically on geography can distinguish well different patterns in images, such as building surfaces, crop characteristics, roads/networks and shadows.

GenAI as a technical assistant

GenAI can help with coding and with solving math problems. Users can instruct LLMs to write, edit or explain code, help find errors (debug), convert code from one language to another, and also create graphs or additional statistics from data.

The example in Figure 3 asks ChatGPT to write Python to solve the Ramsey growth model. When used with Chat-GPT5, the answer includes full Python code with a loop to find the solution. It also has an explanation of each step and a plot of the output, ready to run immediately (Figure 3).

Figure 3: Example of using GenAI to help with writing code. The figure is in the Thai original.

In addition, LLMs can help with mathematics to some extent, but there are still limitations, because most of the training data is general text and contains less mathematical data. LLMs can help set up the equations of a model, solve equations to find a solution or steady state, and explain theoretical models (Korinek, 2024). Figure 4 shows an example in which GPT-5 is asked to help write the equations of a consumer optimization problem in LaTeX and to solve them for the demand function, together with an explanation of the steps of the solution.

Figure 4: Example of using GenAI to help with mathematics by setting up model equations. The figure is in the Thai original.

GenAI as a communication assistant

GenAI can make the process of communicating research faster and more efficient. This applies especially to writing. GenAI can create new content from bullet points, and can help adjust tone and writing style to suit each group of readers, whether for writing academic articles, opinion pieces (op-ed) or summaries for social media. It can check language and make long documents more concise. It can also write scripts for podcasts or produce podcasts.

In actual use, the European Central Bank has used GenAI to help with translation, so that communication can take place across more than 24 languages between countries that use different languages. The German central bank has also used AI to critique messages that it communicates to the public and to help adjust the language so that communication is more effective (Kazinnik & Brynjolfsson, 2025).

In addition, LLMs can convert text into a desired format, whether LaTeX, Markdown or HTML, or convert Excel data into a table in LaTeX format. However, models such as GPT are not good at everything.

Figure 5 is an example from Korinek (2024) in which GPT-4 was asked to convert an equation from handwriting into LaTeX. The result was that GPT-4 did not include the parentheses and turned the CES function into a Cobb-Douglas function instead. Thus, users should check carefully.

Figure 5: Example of using GenAI for formatting, by converting an image of an equation into LaTeX. The figure is in the Thai original.

Source: Korinek (2024)

However, for this type of work, some GenAI tools, such as MathPix.com, which were trained specifically in this area, would probably do better than other models. Meanwhile, the o1-series and Wolfram GPT have outstanding mathematical capabilities, and GitHub Copilot and Claude 3.5 were developed to help with writing code. Korinek (2024) shows details of the specific capabilities of the various models.

GenAI as synthetic agents for pilot experiments or for answering questionnaires

Researchers have begun to experiment with having GenAI play various groups of people (synthetic agents), to see how they would behave. Horton (2023) sees GenAI as computational models of humans. They are trained on vast amounts of data covering law, the attitudes of people in society, and decision making based on what is familiar. Thus, they can simulate the behavior of diverse people closer to reality. Researchers can use GenAI agents to test pilot experiments at low cost and in little time, and can test hypotheses before going on to experiment with real human samples. Researchers may also gain additional perspectives.

Horton (2023) had GenAI agents play games in classic experiments of behavioral economics, and the results were close to existing findings. For example, GenAI also has status quo bias like humans. In another example, GenAI agents were made to play the role of a restaurant manager, and a minimum wage increase was introduced. The result was that the managers that were created chose to hire applicants with more experience, which is consistent with past empirical studies. The work of Hansen et al. (2024) had GenAI agents act as professional forecasters. They gave the agents the profile data of this group and various economic data, and had them answer questions in the Survey of Professional Forecasters.4 They found that these agents forecast close to the experts and in fact do better for medium-term and long-term forecasts. This work mainly used GPT-4o-mini. The work of Faria-e Castro & Leibovici (2024) has similar findings. It prompted Google’s PaLM to forecast US CPI inflation from 2019 to 2023, and found that the result was more accurate than the Survey of Professional Forecasters. However, using LLMs for forecasting still raises academic doubts, especially the “black box” nature of the models and the limits on checking the source of the training data. It cannot be clearly verified whether the test is truly out of sample.

Argyle et al. (2023) proposed the idea of silicon sampling. They created a simulated population with GenAI agents that have the basic background of real survey respondents, and had the model answer attitude questions of the subgroups of the population of interest. This work used data from the American National Election Studies (ANES), which has the backgrounds of several thousand real survey respondents, to create the simulated population. They found that the election results of the silicon samples in 2012, 2016 and 2020 matched the real data very closely (correlation 0.9 to 0.94). Argyle et al. (2023) see another benefit of silicon sampling. Researchers can use GenAI to test answering a questionnaire in advance, to see how each group of respondents would understand and answer the questions.

Concluding remarks

GenAI has developed considerably in the past 2 to 3 years and can be a “research assistant” that researchers can ask for help quickly and at a fairly low cost. However, as with a human research assistant, the results can still contain errors. These could come from GenAI not understanding the instructions well enough, not having been trained in the context that the researchers are interested in, having bias, or making up content or creating stereotypes on its own (hallucination). This is because the training and evaluation of GenAI so far have often rewarded guessing more than admitting not knowing (Kalai et al., 2025). Researchers themselves still need to check carefully the accuracy of the content and the logic of every step. In addition, for transparency, Chang et al. (2024) also recommend that researchers report which processes used GenAI and how prompts were used, so that the work can be reproduced (reproducibility), and that they must also take into account the security of data when using public APIs.

Work on GenAI is advancing rapidly. The limitations that we discuss in this article may be resolved in the future, but at the same time new points of caution may appear. Thus, even though GenAI is a good and low-cost research assistant, researchers need to learn the “habits” and “capabilities” of this research assistant, so that they can adapt, improve efficiency in the work process, and reduce the risk of errors.

References

  • Argyle, L. P., Busby, E. C., Fulda, N., Gubler, J. R., Rytting, C., & Wingate, D. (2023). Out of one, many: Using language models to simulate human samples. Political Analysis, 31(3), 337-351.
  • Athey, S., & Imbens, G. W. (2019). Machine Learning Methods That Economists Should Know About. Annual Review of Economics, 11, 685-725. https://doi.org/10.1146/annurev-economics-080217-053433
  • Bank for International Settlements. (2024). Artificial intelligence and the economy: implications for central banks. In BIS Annual Economic Report 2024 (pp. 91-127). Bank for International Settlements. https://www.bis.org/publ/arpdf/ar2024e3.pdf
  • Chang, S., Kennedy, A., Leonard, A., & List, J. (2024). 12 Best Practices for Leveraging Generative AI in Experimental Research (Artefactual Field Experiments No. 00796). The Field Experiments Website.
  • d’Aspremont, A., Ben Arous, S., Bricongne, J.-C., Lietti, B., & Meunier, B. (2024). Satellites turn “concrete”: tracking cement with satellite data and neural networks (Working Paper Series No. 2900). European Central Bank. https://www.ecb.europa.eu/pub/pdf/scpwps/ecb.wp2900~8d3e38004d.en.pdf
  • Dell, M. (2025). Deep Learning for Economists. Journal of Economic Literature, 63(1), 5-58. https://doi.org/10.1257/jel.20241733
  • Dell, M., Carlson, J., Bryan, T., Silcock, E., Arora, A., Shen, Z., D’Amico-Wong, L., Le, Q., Querubin, P., & Heldring, L. (2023). American Stories: A Large-Scale Structured Text Dataset of Historical US Newspapers. Advances in Neural Information Processing Systems, Datasets and Benchmarks Track.
  • Eloundou, T., Manning, S., Mishkin, P., & Rock, D. (2024). GPTs are GPTs: Labor market impact potential of LLMs. Science, 384(6702), 1306-1308.
  • Fang, H., Li, M., & Lu, G. (2025). Decoding China’s Industrial Policies. National Bureau of Economic Research.
  • Faria-e Castro, M., & Leibovici, F. (2024). Artificial Intelligence and Inflation Forecasts. Federal Reserve Bank of St. Louis Review, 106(12), 1-14.
  • Financial Stability Board. (2024). The Financial Stability Implications of Artificial Intelligence [Report]. Financial Stability Board. https://www.fsb.org/uploads/P14112024.pdf
  • Franklin, B., Silcock, E., Arora, A., Bryan, T., & Dell, M. (2024). News Déjà Vu: Connecting Past and Present with Semantic Search. https://arxiv.org/abs/2406.15593
  • Hansen, A. L., Horton, J. J., Kazinnik, S., Puzzello, D., & Zarifhonarvar, A. (2024). Simulating the survey of professional forecasters. Available at SSRN.
  • Horton, J. J. (2023). Large language models as simulated economic agents: What can we learn from homo silicus?. National Bureau of Economic Research.
  • Kalai, A. T., Nachum, O., Vempala, S. S., & Zhang, E. (2025). Why Language Models Hallucinate. arXiv Preprint arXiv:2509.04664.
  • Kazinnik, S., & Brynjolfsson, E. (2025). AI and the Fed. National Bureau of Economic Research.
  • Korinek, A. (2024). LLMs Learn to Collaborate and Reason: December 2024 Update to “Generative AI for Economic Research: Use Cases and Implications for Economists,” Published in the Journal of Economic. Journal of Economic Literature, 61(4).
  • Kwon, B., Park, T., Perez-Cruz, F., & Rungcharoenkitkul, P. (2024). Large language models: a primer for economists. BIS Quarterly Review. https://www.bis.org/publ/qtrpdf/r_qt2412b.htm
  • Mullainathan, S., & Spiess, J. (2017). Machine Learning: An Applied Econometric Approach. Journal of Economic Perspectives, 31(2), 87-106. https://doi.org/10.1257/jep.31.2.87
  • Pfeifer, M., & Marohl, V. P. (2023). CentralBankRoBERTa: A fine-tuned large language model for central bank communications. The Journal of Finance and Data Science, 9, 100114. https://doi.org/10.1016/j.jfds.2023.100114
  • Silva, T. C., Moriya, K., & Veyrune, R. (2025). From Text to Quantified Insights. IMF Working Papers, 2025(109), 1. https://doi.org/10.5089/9798229013802.001
  • Varian, H. R. (2014). Big Data: New Tricks for Econometrics. Journal of Economic Perspectives, 28(2), 3-28. https://doi.org/10.1257/jep.28.2.3

The opinions expressed in this article are those of the authors and do not necessarily reflect the views of the Puey Ungphakorn Institute for Economic Research (PIER) or the Bank of Thailand.

Footnotes

  1. Many other DL models have been invented for different types of tasks. Examples are the Feedforward Neural Network for simple problems such as separating spam email, the Convolutional Neural Network for learning from images, and the Recurrent Neural Network and Long-Short Term Memory. The last two have memory of previous inputs. As a result, they can process language and forecast time-series data well. ↩

  2. See also the PIER blog Generative AI: Time for High-Skilled Workers to Adapt (Generative AI: ถึงเวลาที่แรงงานทักษะสูงจะต้องปรับตัว) and Bank for International Settlements (2024). ↩

  3. O*NET OnLine. For example, the job description of the occupation of economist includes: study economic and statistical data in area of specialization; compile, analyze, and report data; study the socioeconomic impacts of new public policies ↩

  4. Survey of Professional Forecasters by Federal Reserve Bank of Philadelphia ↩

Read the Thai original at PIER