Skip to content

Menu

WorksComputer Science

JAMS: Optimizing Training-Free Decision Models with Judge-Gated Agentic Middleware Search

View on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_m3y4msn7. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Decision models map an input and a predefined set of options to a probability distribution over those options; they power classification, routing, scoring, and verification in software systems, and the recent release of Jev has drawn wide attention to this model class. Training-free methods build such models directly from off-the-shelf language models, so that practitioners can use increasingly capable base models immediately, without collecting data or training. Existing training-free methods, however, only adapt the base model to the decision format through a fixed, hand-designed procedure and leave the procedure itself unoptimized, although this choice alone substantially changes decision quality and cost. We propose Judge-gated Agentic Middleware Search (JAMS), which treats the decision procedure as the object of optimization: a coding agent iteratively proposes and refines candidate procedures, an independent judge admits only candidates that genuinely rely on the model rather than on task-specific rules, and the search retains the candidates with the best quality-efficiency trade-offs. A single procedure discovered on one model transfers unchanged to five open models and six unseen tasks, raising the average score from 51.9% for LLM2Jev to 60.0% while running 5.3 times faster, and attains the highest average score among all evaluated training-free methods on every model.

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

License
arXiv nonexclusive license
Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type