Abstract

For small merchant businesses (SMBs) whose catalogs fit within a long-context LLM, full-catalog prompting offers a compelling alternative to multi-stage retrieval designed primarily for large marketplaces with millions of items. However, fitting the full catalog into the context window does not ensure that the model can use it effectively, since LLMs do not exploit long contexts uniformly. We therefore study in-context catalog search through two complementary questions: (1) how to curate and present catalogs to the LLM, and (2) how to adapt the LLM for product selection on curated contexts. We propose RPTune, an end-to-end framework that couples learned catalog curation with LLM post-training using automatically generated, catalog-grounded supervision. An encoder-reorganizer curator orders and prunes products guided by downstream LLM feedback, while the resulting curated catalogs in turn improve the effectiveness of LLM post-training with a context-relative reward. We evaluate RPTune on 7 real merchants spanning distinct retail verticals, using 100 complex conversational queries per merchant. RPTune consistently improves search accuracy across both proprietary and open-weight LLMs, with context curation yielding gains of up to 31.4 percentage points and post-training adding a further 10.3 points on average.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Hu, C., Cui, H., Huang, N., Bharti, S. K., Tan, W. C., & Arık, S. Ö. (2026). RPTune: Learned Context Curation for LLM Catalog Search. https://omanscience.com/en/articles/rptune-learned-context-curation-for-llm-catalog-search

MLA 9

Hu, Chuxuan, et al. "RPTune: Learned Context Curation for LLM Catalog Search." https://omanscience.com/en/articles/rptune-learned-context-curation-for-llm-catalog-search.

Chicago (author–date)

Hu, Chuxuan, Hejie Cui, Norman Huang, Shubham Kumar Bharti, Wang-Chiew Tan, and Sercan Ö. Arık. 2026. "RPTune: Learned Context Curation for LLM Catalog Search." https://omanscience.com/en/articles/rptune-learned-context-curation-for-llm-catalog-search.

Harvard

Hu, C., Cui, H., Huang, N., Bharti, S. K., Tan, W. C. and Arık, S. Ö. (2026) 'RPTune: Learned Context Curation for LLM Catalog Search', Available at: https://omanscience.com/en/articles/rptune-learned-context-curation-for-llm-catalog-search.

Vancouver

Hu C, Cui H, Huang N, Bharti SK, Tan WC, Arık SÖ. RPTune: Learned Context Curation for LLM Catalog Search. https://omanscience.com/en/articles/rptune-learned-context-curation-for-llm-catalog-search

IEEE

C. Hu, H. Cui, N. Huang, S. K. Bharti, W. C. Tan, and S. Ö. Arık, "RPTune: Learned Context Curation for LLM Catalog Search," https://omanscience.com/en/articles/rptune-learned-context-curation-for-llm-catalog-search.