Mathematical Derivations

The ability of general-purpose LLMs to perform mathematical derivations are growing but still limited at this point. The reasons for the relatively poor performance include that the training data for current LLMs is mostly text-based and includes comparatively little math, and that math requires high-level abstractions that are still difficult for current systems. Frieder et al. (2023)Frieder, S., Pinchetti, L., Griffiths, R.-R., Salvatori,
T., Lukasiewicz, T., Petersen, P. C., Chevalier,
A., and Berner, J. (2023). Mathematical
capabilities of ChatGPT. arXiv:2301.13867
.
develop a dataset of graduate-level mathematical questions and show that GPT3.5\textquoteright s mathematical abilities are significantly below those of an average mathematics graduate student — perhaps providing some solace for the short term. However, Noorbakhsh et al. (2021)Noorbakhsh, K., Sulaiman, M., Sharifi, M., Roy,
K., and Jamshidi, P. (2021). Pretrained
language models are symbolic mathematics solvers too!
arXiv:2110.03501
.
show that LLMs can also be fine-tuned for mathematical tasks. Moreover, there have been noticable performance gains in math going from GPT-3.5 to GPT-4, as documented, e.g., by Bubeck et al. (2023)Bubeck, S., Chandrasekaran, V., Eldan, R., Gehrke,
J., Horvitz, E., and others (2023).
Sparks of artificial general intelligence: Early experiments
with GPT-4. arXiv:2303.12712
.
. Moreover, datasets like the one created by Frieder et al. (2023)Frieder, S., Pinchetti, L., Griffiths, R.-R., Salvatori,
T., Lukasiewicz, T., Petersen, P. C., Chevalier,
A., and Berner, J. (2023). Mathematical
capabilities of ChatGPT. arXiv:2301.13867
.
will certainly be useful for making future LLMs better at math. This is an area in which further progress would be very valuable for researchers.

Setting up models

The following prompt is an example of how LLMs can be useful for setting up economic models. I prompted the LLM to generate LaTeX code that I could directly paste into my editor, generating the results shown below.

At the time of writing, cutting-edge LLMs were capable of generating the type of model setups that are commonly used in, for example, undergraduate problem sets. This is useful because the results appear in seconds and save time typing.

Deriving equations







Explaining models

Current LLMs also have some ability to explain simple models. This may be useful — but also risky — for students. In the following example, I pasted LaTeX code into the LLM and asked it to explain the underlying model and the steps in deriving a solution:




From: Generative AI for Economic Research: Use Cases and Implications for Economists
by Anton Korinek, Journal of Economic Literature, Vol. 61, No. 4, December 2023.
Copyright (c) by American Economic Association. Reproduced with permission.