A Framework for Personalized Recommendation Based on LLMs with Constrained Combinatorial Optimization

Naoki Ishii and Keita Higuchi

Abstract

This work proposes a personalized recommendation framework that satisfies individual user preferences and quantitative constraints through conversation with a large language model (LLM). Recent studies have applied LLMs to personalized recommendations, but they sometimes recommend non-existent items (hallucination) or cannot strictly adhere to user-specific constraints. The proposed framework replaces recommended items from LLMs with existing items to prevent hallucination. The recommender satisfies user constraints expressed as inequalities by a combination set of recommended items. We applied our framework to a diet recommendation system that outputs a list of dishes to eat during a day through three meals, considering prompts and nutritional goals of users. In our user study, all of the recommendations from our framework satisfied specified nutritional goals. The dishes recommended by our framework reflected user preferences at the same level as a baseline which ignores nutritional constraints and recommends the closest existing dishes to those in the LLM’s response. Our framework extends the use cases of LLM-based conversational interfaces to tasks with quantitative constraints.

Venue
CHI 2025
Volume
Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3706599.3719960
PDF
https://dl.acm.org/doi/pdf/10.1145/3706599.3719960
Anthology ID
2025.chi-ea.470

Cite

@inproceedings{ishii-higuchi-2025-framework,
    title = {{A Framework for Personalized Recommendation Based on LLMs with Constrained Combinatorial Optimization}},
    author = {Naoki Ishii and Keita Higuchi},
    booktitle = {Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400713958},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3706599.3719960},
    url = {https://doi.org/10.1145/3706599.3719960},
    abstract = {This work proposes a personalized recommendation framework that satisfies individual user preferences and quantitative constraints through conversation with a large language model (LLM). Recent studies have applied LLMs to personalized recommendations, but they sometimes recommend non-existent items (hallucination) or cannot strictly adhere to user-specific constraints. The proposed framework replaces recommended items from LLMs with existing items to prevent hallucination. The recommender satisfies user constraints expressed as inequalities by a combination set of recommended items. We applied our framework to a diet recommendation system that outputs a list of dishes to eat during a day through three meals, considering prompts and nutritional goals of users. In our user study, all of the recommendations from our framework satisfied specified nutritional goals. The dishes recommended by our framework reflected user preferences at the same level as a baseline which ignores nutritional constraints and recommends the closest existing dishes to those in the LLM’s response. Our framework extends the use cases of LLM-based conversational interfaces to tasks with quantitative constraints.}
}