CACarolyn Jane Anderson

Carolyn Jane Anderson

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Carolyn Jane Anderson has a total of 30 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Parenthesized Modifiers in English and Korean: What They (May) Mean

    by Carolyn Jane Anderson, Yoolim Kim

    Although the semantics of some classes of parentheticals are well studied, such as appositives, there is relatively little work on parentheticals marked with parentheses. Lewen & Anderson (2022) analyze the semantics of a certain parenthesized construction they refer to as a restricted parenthesized parenthetical, and propose that the parentheses invoke and negate an alternative to the parenthesized content. This paper presents experimental evidence about the interpretation of parenthesized modifiers in Korean and English, manipulating syntactic position and modifier properties (scalar/non-scalar, categorical/continuous). In both languages, our results confirm Lewen & Anderson (2022)’s proposal that some alternative is negated; however, the impact of the modifier properties we explore is different in English and Korean. Our findings corroborate the richness of the (often neglected) semantico-pragmatic space of parenthesized content.

  • Top Cited Papers
    Open Access

    Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMs

    by Federico Cassano, John Gouwar, Francesca Lucchetti, Claire Schlesinger, Anders Freeman, Carolyn Jane Anderson, Molly Q Feldman, Michael Greenberg, Abhinav Jangda, Arjun Guha

    Over the past few years, Large Language Models of Code (Code LLMs) have started to have a significant impact on programming practice. Code LLMs are also emerging as building blocks for research in programming languages and software engineering. However, the quality of code produced by a Code LLM varies significantly by programming language. Code LLMs produce impressive results on high-resource programming languages that are well represented in their training data (e.g., Java, Python, or JavaScript), but struggle with low-resource languages that have limited training data available (e.g., OCaml, Racket, and several others). This paper presents an effective approach for boosting the performance of Code LLMs on low-resource languages using semi-synthetic data. Our approach, called M ulti PL-T, generates high-quality datasets for low-resource languages, which can then be used to fine-tune any pretrained Code LLM. M ulti PL-T translates training data from high-resource languages into training data for low-resource languages in the following way. 1) We use a Code LLM to synthesize unit tests for commented code from a high-resource source language, filtering out faulty tests and code with low test coverage. 2) We use a Code LLM to translate the code from the high-resource source language to a target low-resource language. This gives us a corpus of candidate training data in the target language, but many of these translations are wrong. 3) We use a lightweight compiler to compile the test cases generated in (1) from the source language to the target language, which allows us to filter our obviously wrong translations. The result is a training corpus in the target low-resource language where all items have been validated with test cases. We apply this approach to generate tens of thousands of new, validated training items for five low-resource languages: Julia, Lua, OCaml, R, and Racket, using Python as the source high-resource language. Furthermore, we use an open Code LLM (StarCoderBase) with open training data (The Stack), which allows us to decontaminate benchmarks, train models without violating licenses, and run experiments that could not otherwise be done. Using datasets generated with M ulti PL-T, we present fine-tuned versions of StarCoderBase and Code Llama for Julia, Lua, OCaml, R, and Racket that outperform other fine-tunes of these base models on the natural language to code task. We also present Racket fine-tunes for two very recent models, DeepSeek Coder and StarCoder2, to show that M ulti PL-T continues to outperform other fine-tuning approaches for low-resource languages. The M ulti PL-T approach is easy to apply to new languages, and is significantly more efficient and effective than alternatives such as training longer.


  • Open Access

    Evaluating Computational Representations of Character: An Austen Character Similarity Benchmark

    by Funing Yang, Carolyn Jane Anderson

    Several systems have been developed to extract information about characters to aid computational analysis of English literature. We propose character similarity grouping as a holistic evaluation task for these pipelines. We present AustenAlike, a benchmark suite of character similarities in Jane Austen's novels. Our benchmark draws on three notions of character similarity: a structurally defined notion of similarity; a socially defined notion of similarity; and an expert defined set extracted from literary criticism. We use AustenAlike to evaluate character features extracted using two pipelines, BookNLP and FanfictionNLP. We build character representations from four kinds of features and compare them to the three AustenAlike benchmarks and to GPT-4 similarity rankings. We find that though computational representations capture some broad similarities based on shared social and narrative roles, the expert pairings in our third benchmark are challenging for all systems, highlighting the subtler aspects of similarity noted by human readers.

  • Open Access

    Non-Expert Programmers in the Generative AI Future

    by Molly Q Feldman, Carolyn Jane Anderson

    Generative AI is rapidly transforming the practice of programming. At the same time, our understanding of who writes programs, for what purposes, and how they program, has been evolving. By facilitating natural-language-to-code interactions, large language models for code have the potential to open up programming work to a broader range of workers. While existing work finds productivity benefits for expert programmers, interactions with non-experts are less well-studied. In this paper, we consider the future of programming for non-experts through a controlled study of 67 non-programmers. Our study reveals multiple barriers to effective use of large language models of code for non-experts, including several aspects of technical communication. Comparing our results to a prior study of beginning programmers illuminates the ways in which a traditional introductory programming class does and does not equip students to effectively work with generative AI. Drawing on our empirical findings, we lay out a vision for how to empower non-expert programmers to leverage generative AI for a more equitable future of programming.


  • Top Cited Papers
    Open Access

    How Beginning Programmers and Code LLMs (Mis)read Each Other

    by Sydney Nguyen, Hannah McLean Babe, Yangtian Zi, Arjun Guha, Carolyn Jane Anderson, Molly Q Feldman

    Generative AI models, specifically large language models (LLMs), have made strides towards the long-standing goal of text-to-code generation. This progress has invited numerous studies of user interaction. However, less is known about the struggles and strategies of non-experts, for whom each step of the text-to-code problem presents challenges: describing their intent in natural language, evaluating the correctness of generated code, and editing prompts when the generated code is incorrect. This paper presents a large-scale controlled study of how 120 beginning coders across three academic institutions approach writing and editing prompts. A novel experimental design allows us to target specific steps in the text-to-code process and reveals that beginners struggle with writing and editing prompts, even for problems at their skill level and when correctness is automatically determined. Our mixed-methods evaluation provides insight into student processes and perceptions with key implications for non-expert Code LLM use within and outside of education.


  • Open Access

    Evaluating Computational Representations of Character: An Austen Character Similarity Benchmark

    by Funing Yang, Carolyn Jane Anderson

    Funing Yang, Carolyn Jane Anderson. Proceedings of the 4th International Conference on Natural Language Processing for Digital Humanities. 2024.


  • Open Access

    A Prompting Assignment for Exploring Pretrained LLMs

    by Carolyn Anderson

    Carolyn Anderson. Proceedings of the Sixth Workshop on Teaching NLP. 2024.


  • Open Access

    Exploring Language Representation through a Resource Inventory Project

    by Carolyn Anderson

    Carolyn Anderson. Proceedings of the Sixth Workshop on Teaching NLP. 2024.

  • Open Access

    StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Code

    by Hannah Babe, Sydney Nguyen, Yangtian Zi, Arjun Guha, Molly Feldman, Carolyn Anderson

    Hannah Babe, Sydney Nguyen, Yangtian Zi, Arjun Guha, Molly Feldman, Carolyn Anderson. Findings of the Association for Computational Linguistics ACL 2024. 2024.