Hard Rules, Soft Preferences: Bridging Reasoning, Learning, and Optimization for Personalized Packing Checklist Generation
This paper proposes a three-stage reasoning-guided learning framework that integrates a symbolic engine, a preference learner, and a CP-SAT optimizer to generate personalized, regulation-compliant packing checklists, significantly outperforming existing LLMs and greedy methods in accuracy and constraint satisfaction while demonstrating real-world efficacy in a production travel app.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to build the perfect playlist for a road trip. You want songs that fit the mood, but you also have a hard limit: your phone's battery might die if you stream too much, and you can't play a heavy metal song if your grandma is in the car. This is the daily struggle of "constrained personalization." In the world of computer science, this is a tricky puzzle where a machine must learn what you like (your soft preferences) while obeying a strict set of unbreakable laws (hard rules), like safety regulations or physical space limits. Usually, computers are great at guessing what you like, but terrible at following strict rules, or vice versa. They might suggest a song you love, but forget that it's too long for your battery, or they might follow the rules so strictly that the playlist is boring. The big question scientists have been asking is: How do we build a system that is both a fun, personal DJ and a strict, rule-following bouncer at the same time?
This paper introduces a clever three-step "brain" designed to solve exactly that problem, specifically for packing your suitcase for a plane trip. The authors, working with a travel app called FlyEnJoy, realized that existing packing assistants were either too generic (giving everyone the same list) or too risky (suggesting items that might get you stopped at security). To fix this, they built a system that acts like a team of three specialists working in a relay race.
First, there's the Rulebook Robot. Before thinking about what you like, this stage uses a massive, human-written list of 226 rules to generate a "seed" checklist. It's like a super-cautious friend who knows every TSA regulation, safety rule, and travel dependency (like "if you pack a camera, you must pack a charger"). This robot doesn't worry about your personal style; it just makes sure the list is safe, legal, and complete. It creates a huge list of 49 items on average, ensuring that nothing essential is missed, even if you've never traveled before.
Next, the Taste-Maker steps in. This is where the machine learning happens. The system looks at how real people edit those huge, safe lists. Did they throw away the heavy winter coat for a beach trip? Did they add a specific type of hiking boot? The system learns two things separately: first, whether an item should be in the bag at all (inclusion), and second, how important it is compared to other items (ranking). By splitting these tasks, the system avoids a common trap called "survivorship bias," where it might think an item is great just because it survived the editing process, ignoring the fact that many people might have deleted it entirely. This stage learns your personal style with high accuracy, acting like a smart stylist who knows exactly what you prefer.
Finally, the Optimizer takes the stage. This is the math wizard. It takes the personalized list from the Taste-Maker and the strict rules from the Rulebook Robot and solves a complex puzzle. It has to fit your favorite items into your bags without breaking the weight limit, violating liquid rules, or separating items that need to stay together (like a camera and its lens). It uses a powerful math tool called CP-SAT to find the perfect combination. Unlike other methods that just guess and check (which often fail), this optimizer guarantees that 100% of the time, the final list is physically possible and legally compliant.
The results are impressive. When tested on 604 different trip scenarios, the Rulebook Robot remembered 99.7% of the items people actually wanted. The Taste-Maker learned to predict what people would keep with 94.3% accuracy. Most importantly, the Optimizer succeeded in packing everything perfectly every single time, whereas simpler methods failed to follow the rules 72% of the time. When this system was deployed in a real travel app, users finished their packing lists twice as fast and made fewer edits, proving that this mix of strict rules and smart learning actually works in the real world. The paper suggests that this three-part team approach could be used for other tricky problems where safety and personal taste collide, like planning a hospital discharge or organizing immigration paperwork, but for now, it's just making sure you don't forget your toothbrush or get stopped at security.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.