From User Preferences to Optimization Constraints Using Large Language Models

Manuela Sanguinetti, Alessandra Perniciano, Luca Zedda, Andrea Loddo, Cecilia Di Ruberto +1 more
3/27/2025
cs.CL

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

Abstract

This work explores using Large Language Models (LLMs) to translate user preferences into energy optimization constraints for home appliances. We describe a task where natural language user utterances are converted into formal constraints for smart appliances, within the broader context of a renewable energy community (REC) and in the Italian scenario. We evaluate the effectiveness of various LLMs currently available for Italian in translating these preferences resorting to classical zero-shot, one-shot, and few-shot learning settings, using a pilot dataset of Italian user requests paired with corresponding formal constraint representation. Our contributions include establishing a baseline performance for this task, publicly releasing the dataset and code for further research, and providing insights on observed best practices and limitations of LLMs in this particular domain

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. 2 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{sanguinetti2025from,
  title  = {From User Preferences to Optimization Constraints Using Large Language Models},
  author = {Manuela Sanguinetti and Alessandra Perniciano and Luca Zedda and Andrea Loddo and Cecilia Di Ruberto and Maurizio Atzori},
  year   = {2025},
  eprint = {2503.21360},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.21360v1}
}

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/2503.21360.svg)](https://codeofpaper.com/paper/2503.21360)

Discussion