Evolutionary Multi-Objective Optimization of Large Language Model Prompts for Balancing Sentiments

Jill Baumann, Oliver Kramer
1/18/2024
cs.NEcs.AIcs.CL

No confident code implementation found for this paper. 6 possible matches can be shown below.

Abstract

The advent of large language models (LLMs) such as ChatGPT has attracted considerable attention in various domains due to their remarkable performance and versatility. As the use of these models continues to grow, the importance of effective prompt engineering has come to the fore. Prompt optimization emerges as a crucial challenge, as it has a direct impact on model performance and the extraction of relevant information. Recently, evolutionary algorithms (EAs) have shown promise in addressing this issue, paving the way for novel optimization strategies. In this work, we propose a evolutionary multi-objective (EMO) approach specifically tailored for prompt optimization called EMO-Prompts, using sentiment analysis as a case study. We use sentiment analysis capabilities as our experimental targets. Our results demonstrate that EMO-Prompts effectively generates prompts capable of guiding the LLM to produce texts embodying two conflicting emotions simultaneously.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 6 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{baumann2024evolutionary,
  title  = {Evolutionary Multi-Objective Optimization of Large Language Model Prompts for Balancing Sentiments},
  author = {Jill Baumann and Oliver Kramer},
  year   = {2024},
  eprint = {2401.09862},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.09862v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.09862.svg)](https://codeofpaper.com/paper/2401.09862)

Discussion