IDEAS home Printed from https://ideas.repec.org/p/mpg/wpaper/2025_14.html
   My bibliography  Save this paper

LLM as a law professor: Having a large language model write a commentary on freedom of assembly

Author

Listed:
  • Johannes Kruse

    (Max Planck Institute for Research on Collective Goods, Bonn)

  • Christoph Engel

    (Max Planck Institute for Research on Collective Goods, Bonn)

Abstract

In many jurisdictions, academia is at the service of legal practice. Law professors write commentaries that summarize the state of the art of doctrine, chiefly of jurisprudence. In the spirit of a proof of concept, using the guarantee of freedom of assembly in the European Convention on Human Rights, we show that this task can be completely outsourced to large language models. Using standard NLP metrics and an LLM as a judge approach, we develop an evaluation pipeline that works without costly human annotation. The commentaries fully written by GPT 4o, Gemini 2.5 flash or Kimi K2 Instruct are on par with their best human written competitor, the Guide provided by the Court itself.

Suggested Citation

  • Johannes Kruse & Christoph Engel, 2025. "LLM as a law professor: Having a large language model write a commentary on freedom of assembly," Discussion Paper Series of the Max Planck Institute for Research on Collective Goods 2025_14, Max Planck Institute for Research on Collective Goods.
  • Handle: RePEc:mpg:wpaper:2025_14
    as

    Download full text from publisher

    File URL: https://www.coll.mpg.de/pdf_dat/2025_14online.pdf
    Download Restriction: no
    ---><---

    More about this item

    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:mpg:wpaper:2025_14. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Marc Martin (email available below). General contact details of provider: https://edirc.repec.org/data/mppggde.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.