← Search

Afra Amini

13 accepted papers

2025

Syntactic Control of Language Models by Posterior Inference

ACL 2025finding

Controlling the syntactic structure of text generated by language models is valuable for applications requiring clarity, stylistic consistency, or interpretability, yet it remains a challenging task. In this paper, we argue that sampling algorithms based on the posterior inference can effectively en…

2024

Assessing Large Language Models on Climate Information

ICML 2024poster

As Large Language Models (LLMs) rise in popularity, it is necessary to assess their capability in critically relevant domains. We present a comprehensive evaluation framework, grounded in science communication research, to assess LLM responses to questions about climate change. Our framework emphasi…

Cited by 28SourcePDFScholar
2024

Principled Gradient-Based MCMC for Conditional Sampling of Text

ICML 2024poster

We consider the problem of sampling text from an energy-based model. This arises, for example, when sampling text from a neural language model subject to soft constraints. Although the target distribution is discrete, the internal computations of the energy function (given by the language model) are…

Cited by 1SourcePDFScholar
2024

Reverse-Engineering the Reader

EMNLP 2024main

Numerous previous studies have sought to determine to what extent language models, pretrained on natural language text, can serve as useful models of human cognition.In this paper, we are interested in the opposite question: whether we can directly optimize a language model to be a useful cognitive…

2024

The Role of n-gram Smoothing in the Age of Neural Networks

NAACL 2024long

For nearly three decades, language models derived from the n-gram assumption held the state of the art on the task. The key to their success lay in the application of various smoothing techniques that served to combat overfitting. However, when neural language models toppled n-gram models as the bes…

2023

Linear-Time Modeling of Linguistic Structure: An Order-Theoretic Perspective

EMNLP 2023long main

Tasks that model the relation between pairs of tokens in a string are a vital part of understanding natural language. Such tasks, in general, require exhaustive pair-wise comparisons of tokens, thus having a quadratic runtime complexity in the length of the string. We show that these exhaustive comp…

Cited by 0SourceScholar