From user preferences to optimization constraints using large language models

Manuela Sanguinetti
;
Alessandra Perniciano;Luca Zedda;Andrea Loddo;Cecilia Di Ruberto;Maurizio Atzori
2025-01-01

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.
2025
Inglese
ITADATA 2024: The 3rd Italian Conference on Big Data and Data Science
Nicola Bena, Claudia Diamantini, Michela Natilli, Luigi Romano, Giovanni Stilo, Valentina Pansanella, Claudio A. Ardagna, Anna Monreale, Roberto Trasarti
12
https://arxiv.org/abs/2503.21360
ITADATA2024: The 3rd Italian Conference on Big Data and Data Science
Comitato scientifico
September 17-19, 2024
Pisa, Italy
scientifica
Computer Science; Computation and Language; natural language; energy optimization; large language models
no
4 Contributo in Atti di Convegno (Proceeding)::4.1 Contributo in Atti di convegno
Sanguinetti, Manuela; Perniciano, Alessandra; Zedda, Luca; Loddo, Andrea; Di Ruberto, Cecilia; Atzori, Maurizio
273
6
4.1 Contributo in Atti di convegno
open
info:eu-repo/semantics/conferencePaper
Files in This Item:
File Size Format  
2503.21360v1.pdf

open access

Description: AAM
Type: Author’s Accepted Manuscript AAM, Post-print, (version accepted by the publisher)
Size 516.24 kB
Format Adobe PDF
516.24 kB Adobe PDF View/Open

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Questionnaire and social

Share on:
Impostazioni cookie