{
 "uuid": "01ab7d84-8363-4447-9da7-4616b0c46f9b",
 "handle": "uniba/93873",
 "type": "Publication",
 "name": "Emotion-Conditioned Text Generation through Automatic Prompt Optimization",
 "url": "/entities/publication/01ab7d84-8363-4447-9da7-4616b0c46f9b/",
 "lastModified": "2025-06-25T01:30:57.246+00:00",
 "metadata": {
  "cris.virtual.author-orcid": [
   {
    "value": null
   },
   {
    "value": "0000-0002-2014-6619"
   }
  ],
  "cris.virtualsource.author-orcid": [
   {
    "value": "d98d9cbc-8f02-46bf-9e84-74797e598233"
   },
   {
    "value": "a2a36d65-e914-48fb-8e87-a2796ce66cb3"
   }
  ],
  "dc.contributor.author": [
   {
    "value": "Menchaca Resendiz, Yarik",
    "authority": "d98d9cbc-8f02-46bf-9e84-74797e598233"
   },
   {
    "value": "Klinger, Roman",
    "authority": "a2a36d65-e914-48fb-8e87-a2796ce66cb3"
   }
  ],
  "dc.date.accessioned": [
   {
    "value": "2024-03-07T13:44:33Z"
   }
  ],
  "dc.date.available": [
   {
    "value": "2024-03-07T13:44:33Z"
   }
  ],
  "dc.date.issued": [
   {
    "value": "2023"
   }
  ],
  "dc.description.abstract": [
   {
    "value": "Conditional natural language generation methods often require either expensive fine-tuning or training a large language model from scratch. Both are unlikely to lead to good results without a substantial amount of data and computational resources. Prompt learning without changing the parameters of a large language model presents a promising alternative. It is a cost-effective approach, while still achieving competitive results. While this procedure is now established for zero- and few-shot text classification and structured prediction, it has received limited attention in conditional text generation. We present the first automatic prompt optimization approach for emotion-conditioned text generation with instruction-fine-tuned models. Our method uses an iterative optimization procedure that changes the prompt by adding, removing, or replacing tokens. As objective function, we only require a text classifier that measures the realization of the conditional variable in the generated text. We evaluate the method on emotion-conditioned text generation with a focus on event reports and compare it to manually designed prompts that also act as the seed for the optimization procedure. The optimized prompts achieve 0.75 macro-average F1 to fulfill the emotion condition in contrast to manually designed seed prompts with only 0.22 macro-average F1."
   }
  ],
  "dc.identifier.uri": [
   {
    "value": "https://fis.uni-bamberg.de/handle/uniba/93873"
   }
  ],
  "dc.identifier.url": [
   {
    "value": "https://aclanthology.org/2023.tllm-1.3/"
   }
  ],
  "dc.language.iso": [
   {
    "value": "eng"
   }
  ],
  "dc.publisher": [
   {
    "value": "Association for Computational Linguistics"
   }
  ],
  "dc.publisher.place": [
   {
    "value": "Prag"
   }
  ],
  "dc.relation.authororgunit": [
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   },
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   }
  ],
  "dc.subject": [
   {
    "value": "Emotion-Conditioned Text Generation"
   }
  ],
  "dc.subject.ddc": [
   {
    "value": "004",
    "authority": "ddc:004"
   }
  ],
  "dc.title": [
   {
    "value": "Emotion-Conditioned Text Generation through Automatic Prompt Optimization"
   }
  ],
  "dc.type": [
   {
    "value": "conferenceobject"
   }
  ],
  "dspace.entity.type": [
   {
    "value": "Publication"
   }
  ],
  "ubg.conference.name": [
   {
    "value": "1st Workshop on Taming Large Language Models : Controllability in the era of Interactive Assistants!, September 2023"
   }
  ],
  "ubg.conference.place": [
   {
    "value": "Prag"
   }
  ],
  "ubg.editor.articlecollection": [
   {
    "value": "Hazarika, Devamanyu"
   },
   {
    "value": "Tang, Xiangru Robert"
   },
   {
    "value": "Jin, Di"
   }
  ],
  "ubg.fulltexticon": [
   {
    "value": "true"
   }
  ],
  "ubg.generated.csl": [
   {
    "value": "<div class=\"csl-bib-body\">\n  <div class=\"csl-entry\">Menchaca Resendiz, Yarik; Klinger, Roman (2023): Emotion-Conditioned Text Generation through Automatic Prompt Optimization, in: Devamanyu Hazarika, Xiangru Robert Tang, Di Jin, u. a. (Hrsg.), <i>Proceedings of the 1st Workshop on Taming Large Language Models : Controllability in the era of Interactive Assistants!</i>, Prag: Association for Computational Linguistics, S. 24–30.</div>\n</div>"
   }
  ],
  "ubg.generated.cslContainerTitle": [
   {
    "value": "Proceedings of the 1st Workshop on Taming Large Language Models : Controllability in the era of Interactive Assistants!"
   }
  ],
  "ubg.generated.cslEditor": [
   {
    "value": "Hazarika, Devamanyu",
    "authority": "0aff6887-ff74-448f-9b29-3aadf5718d72"
   },
   {
    "value": "Tang, Xiangru Robert",
    "authority": "594fa823-4a02-44a3-b4eb-7cae7b881180"
   },
   {
    "value": "Jin, Di",
    "authority": "550a0352-724c-4da8-869c-0afdbac0230d"
   },
   {
    "value": "Hazarika, Devamanyu",
    "authority": "0aff6887-ff74-448f-9b29-3aadf5718d72"
   },
   {
    "value": "Tang, Xiangru Robert",
    "authority": "594fa823-4a02-44a3-b4eb-7cae7b881180"
   },
   {
    "value": "Jin, Di",
    "authority": "550a0352-724c-4da8-869c-0afdbac0230d"
   },
   {
    "value": "Hazarika, Devamanyu",
    "authority": "0aff6887-ff74-448f-9b29-3aadf5718d72"
   },
   {
    "value": "Tang, Xiangru Robert",
    "authority": "594fa823-4a02-44a3-b4eb-7cae7b881180"
   },
   {
    "value": "Jin, Di",
    "authority": "550a0352-724c-4da8-869c-0afdbac0230d"
   },
   {
    "value": "Hazarika, Devamanyu",
    "authority": "0aff6887-ff74-448f-9b29-3aadf5718d72"
   },
   {
    "value": "Tang, Xiangru Robert",
    "authority": "594fa823-4a02-44a3-b4eb-7cae7b881180"
   },
   {
    "value": "Jin, Di",
    "authority": "550a0352-724c-4da8-869c-0afdbac0230d"
   },
   {
    "value": "Hazarika, Devamanyu"
   },
   {
    "value": "Tang, Xiangru Robert"
   },
   {
    "value": "Jin, Di"
   }
  ],
  "ubg.intern.vonfeld": [
   {
    "value": "",
    "language": "de_DE"
   }
  ],
  "ubg.intern.vonfeldeditor": [
   {
    "value": "",
    "language": "de_DE"
   }
  ],
  "ubg.internatorientation": [
   {
    "value": "Ja"
   }
  ],
  "ubg.openaccess": [
   {
    "value": "Ja"
   }
  ],
  "ubg.pages.range": [
   {
    "value": "24-30"
   }
  ],
  "ubg.peerreview": [
   {
    "value": "Ja"
   }
  ],
  "ubg.relation.project": [
   {
    "value": "Interactive Prompt Optimization with the Human in the Loop for Natural Language Understanding Model Development and Intervention",
    "authority": "098980c8-a33f-4560-8f62-0ebe368d248f"
   }
  ],
  "ubg.subject.gndsw": [
   {
    "value": "Maschinelles Lernen"
   },
   {
    "value": "Generierung <Sprache>"
   },
   {
    "value": "Gefühl"
   },
   {
    "value": "Prompt Engineering"
   }
  ],
  "ubg.subject.rvk": [
   {
    "value": "ST 306"
   }
  ],
  "ubg.submission.type": [
   {
    "value": "title"
   }
  ],
  "ubg.titleparent.articlecollection": [
   {
    "value": "Proceedings of the 1st Workshop on Taming Large Language Models : Controllability in the era of Interactive Assistants!"
   }
  ],
  "ubg.version.hasversions": [
   {
    "value": "uniba/95827",
    "authority": "6d0b7cc6-36da-4ee0-b0b4-60da175d4dbd"
   }
  ]
 },
 "relations": {},
 "files": []
}