Amazon and Booking.com report that combining knowledge distillation with Medusa can substantially speed up language models for travel applications. In the described tests, a 1.1-billion-parameter model matched the quality of a 70-billion-parameter model while running 10 to 20 times faster, depending on the task.
Knowledge distillation trains a smaller model using examples and predictions from a larger one. In this work, that step closed more than 90% of the quality gap with the larger model and made inference roughly six times faster. Medusa adds prediction heads that calculate multiple tokens in parallel, providing a further 2- to 3.6-fold speedup.
The team tested the approach on three features: an AI Trip Planner, Smart Filters that turn natural-language searches into filters, and automatically generated accommodation descriptions. Smart Filters responded 15 times faster for 99% of queries. User engagement for the trip planner increased by 2.9% compared with GPT-3.5. Accommodation descriptions received 1.4% more helpful ratings and, according to the article, cost less than one-third as much as the GPT-4 comparison.
The work was presented at ACL 2025 and received the Industry Track Best Paper Award. The original article also explains the training steps and compares two Medusa variants. Source: Amazon Science
🇬🇧 https://www.amazon.science/blog/speeding-up-language-models-for-travel-applications