AdaMenu: Query-Adaptive Menus for Decision Models over Large Label Spaces
Jiangze Yan, Yi Shen, Jieyun Huang, Wenjing Zhang, Zhaoxiang Liu, Ning Wang, Kai Wang, Shiguo Lian
Abstract
Decision models such as Jev return probabilities over caller-defined options and are increasingly used for classification. Large label spaces challenge both accuracy and scalability: larger menus can impair decisions, increase input costs, and exceed option limits. Hierarchical classification reduces menu size but introduces serial calls and error propagation. We propose AdaMenu, which builds a compact candidate menu from retrieved labeled examples and makes a single decision-model request. Its candidate labels adapt to the query, and its default setting also adjusts menu size using aggregated retrieval scores. We evaluate AdaMenu with open and closed decision models on four label sets containing up to 1,016 labels. It outperforms TypeSafe's beam-search baseline on all 16 model and label-set pairs where both methods run, improving accuracy by 16.6-34.3 percentage points. Relative to the full menu on the three smaller label sets, accuracy differences range from -0.5 to +7.2 percentage points, while input token usage falls by factors of 3.2-22.9. AdaMenu also runs when option limits exclude the full menu, including settings where the hierarchical baseline is unavailable.
Create a lesson
Related papers
Large Reported CHB-MIT Adaptation Gains Disappear with Pretrained Encoders and Matched Probes
Shared title terminology · Joseph Sankoorikal Johny, Antony J. Sankoorikal
Elicited Adaptation: Auditable Localized Fairness via Pairwise Queries
Shared title terminology · Shrey Shah
When Does Oversampling Help? A Decision Framework for Imbalanced Data Streams Under Label Delay and Concept Drift
Shared title terminology · Ahmed Awad, Anirudh Sengar
Beyond Sample Hardness: Adaptive Data Selection through Learning Dynamics
Shared title terminology · Hai Gan, Suorong Yang, Guang Li et al.
Adapting AI Weather Foundation Models to a Changing Climate
Shared title terminology · Xinlei Xiong, Wenbo Hu, Shuxun Zhou et al.
Turnout: Adaptive Attention Switching for Efficient Reasoning
Shared title terminology · Anna Kuzina, Mart van Baalen, Paul N. Whatmough et al.