Copilots for Linguists

This is the website for Copilots for Linguists: AI, Constructions, and Frames. 2023. Cambridge University Press.

Authors: Tiago Torrent, Thomas Hoffmann, Arthur Lorenzi, and Mark Turner.

Write to the authors at copilotsforlinguists@gmail.com

This book outlines a research program: copilots for linguists. Linguists have historically used AI copilots. What is the current state of that practice, and how can we push that research program forward? Such a research program will develop very rapidly, with the advent of new machine learning techniques, new foundation models, new training of foundation models, and new APIs and plugins for existing copilots. We forecast the unification of Construction Grammar as a theoretical enterprise with the development of computational copilots derived from machine learning techniques.  We have emphasized the all-important practice of prompt engineering for copilots. As human experts devise and refine prompts, templates for prompts, and scripts for prompting; as they inch forward with one gain after another, it would be useful to share a common forum for discussion. Accordingly, to serve all those who study copilots for linguists, we have established a moderated discussion group at copilotsforlinguists@case.edu, to which you may write to share reports of progress, prospects, your participation in the project, and your request for membership. We have additionally established this website, http://copilotsforlinguists.org, where we expect to post progress and updates. 


Abstract for the Cambridge Element: AI can assist the linguist in doing research on the structure of language. In this Element, we illustrate this possibility by showing how a conversational AI based on a Large Language Model (AI LLM chatbot) can assist the Construction Grammarian, and especially the Frame Semanticist. An AI LLM chatbot is a text-generation system trained on vast amounts of text. To generate text, it must be able to find patterns in the data and mimic some linguistic capacity, at least in the eyes of a cooperative human user. We do not focus on whether AIs “understand” language. Rather, we investigate whether AI LLM chatbots are useful tools for linguists. We reframe the discussion from what AI LLM chatbots can do with language to what they can do for linguists. We find that a chatty LLM can labor usefully as an eliciting interlocutor. We present precise, scripted routines for prompting conversational LLMs.

Additional Materials for Chapters of Copilots for Linguists

Chapter 1

Chapter 2

Chapter 3

Prompts used in this chapter:




Chapter 4

Prompts used in this chapter:



Chapter 5

Chapter 6

The code used to automatically generate prompts can be found at: https://github.com/arthurlorenzi/copilot-for-linguists 

Prompt templates:



Chapter 7

Prompts used in this chapter:

Further considerations

LLMs on the English Comparative Correlative

The English Comparative Correlative has been studied in, e.g., Fillmore 1986 [Charles J Fillmore. 1986. Varieties of conditional sentences. In Eastern States Conference on Linguistics, volume 3, pages 163–182] and Hoffmann 2017 [Thomas Hoffmann. 2017. Construction Grammar as Cognitive Structuralism: the interaction of constructional networks and processing in the diachronic evolution of English comparative correlatives. English Language and Linguistics 21.2: 349–373. Cambridge University Press 2017 doi:10.1017/S1360674317000181.]


Weissweilier et al. 2022 [Weissweiler, Leonie, Valentin Hofmann, Abdullatif Köksal, & Hinrich Schütze. 2022. The Better Your Syntax, the Better Your Semantics? Probing Pretrained Language Models for the English Comparative Correlative. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. pages 10859 - 10882 December 7-11, 2022. Association for Computational Linguistics.
https://aclanthology.org/2022.emnlp-main.746.pdf
ask not how an LLM can be a copilot for construction grammarian doing linguistics, but rather, whether an LLM can recognize instances of a fully worked-out construction, state its syntax, and understand its meaning. We have accordingly asked an LLM current as of 2023-04-28 about the English Comparative Correlative.

The following is an exchange on 2023-04-28 with ChatGPT from OpenAI, running the GPT4 model.

USER: Answer as if you are a Construction Grammarian. English includes a construction called the "Comparative Correlative" construction. An example is "the more you eat, the fatter you get," In its main version, its FORM consists of two clauses, C1 followed by C2, each beginning with "the" and including a comparative adjective or a comparative adverb. Other examples include "the bigger they are, the harder they fall," "the more you yell, the hoarser you get." In its typical version, C1 presents the CAUSE and C2 presents the EFFECT produced by that CAUSE. Please present a Construction Grammar analysis of the Comparative Correlative, as a FORM-MEANING pair, giving its FORM and then its MEANING. Please elaborate as much and as specifically as you can on this construction, going beyond the analysis provided in this prompt.


ChatGPT: As a Construction Grammarian, I would analyze the Comparative Correlative construction as a form-meaning pair with a specific syntactic structure and a certain semantic function. In Construction Grammar, language is seen as a collection of constructions, which are conventionalized form-meaning pairings.

FORM:

The Comparative Correlative construction can be schematically represented as follows:
the [COMPARATIVE-ADJ/ADV] X, the [COMPARATIVE-ADJ/ADV] Y
Where X and Y are constituents of the construction, and COMPARATIVE-ADJ/ADV represents a comparative adjective or adverb.
The structure is characterized by:

MEANING:
The Comparative Correlative construction typically expresses a causal relationship between two situations or events. It indicates that an increase or decrease in the quality, state, or quantity expressed by C1 leads to a corresponding increase or decrease in the quality, state, or quantity expressed by C2. In other words, the construction highlights a proportional relationship between the two clauses, where C1 serves as the cause and C2 as the effect.

The meaning can be schematically represented as:

MORE/LESS (C1) -> MORE/LESS (C2)

Variations in the construction may alter its meaning slightly. For instance, when the Comparative Correlative is used with negative forms, it conveys a sense of impossibility or extreme difficulty:

the less you know, the better

In this case, the meaning can be interpreted as: the lesser knowledge you possess about a particular matter, the better off you are.

In summary, a Construction Grammar analysis of the Comparative Correlative construction considers both its form and meaning. The form consists of two clauses, C1 and C2, each beginning with "the" and including a comparative adjective or adverb. The meaning typically conveys a causal relationship between the two clauses, where C1 is the cause and C2 is the effect, often highlighting a proportional relationship between the situations or events described by the clauses. Variations in the construction may result in slightly different meanings, such as a sense of impossibility or extreme difficulty.

USER: Now provide 10 examples of the Comparative Correlative in English, with as much variation in the details of the example as is consistent with the specification of the construction. For each, explain as fully as possible the intended meaning.


ChatGPT:

Example: The more you practice, the better you become.

Example: The less you sleep, the more tired you feel.

Example: The faster she runs, the sooner she finishes the race.

Example: The farther you go, the more you discover.

Example: The higher the stakes, the more intense the competition.

Example: The less you know, the less you worry.

Example: The more complex the problem, the longer it takes to solve.

Example: The more crowded the room, the louder the noise.

Example: The earlier you arrive, the better your chances of getting a seat.

Example: The more ingredients you add, the more flavorful the dish becomes.

These examples showcase variations in the details of the Comparative Correlative construction while maintaining the overall structure of the construction. Each example expresses a causal relationship between two situations or events, with C1 serving as the cause and C2 as the effect. The construction highlights the proportional relationship between the two clauses, conveying the idea that an increase or decrease in the quality, state, or quantity in C1 leads to a corresponding increase or decrease in the quality, state, or quantity in C2.