Manuscript Offprint

arXiv:2610.36595

Learning to Formalize: Bridging Open-Ended Workloads and Fast Decision Models

Chengxuan Pei, Ziyao Wang, Teng Mei, Zhe Li

Abstract

Decision models offer fast choices over supplied alternatives, while general-purpose large language models interpret open-ended tasks through flexible generation and reasoning at the cost of sequential decoding. Many workloads expect a generative backend to determine what can be done and therefore provide no well-defined candidate list. We bridge this interface gap with a small candidate formalizer trained on offline teacher-generated lists. The formalizer constructs explicit, validated alternatives from task context, and a frozen decision model selects an entry. A motivating comparison with official TypeSafe Jev-1.13.0 on 200 CALVIN-D test episodes reports 11% success with generic motions versus 46.5% with DeepSeek V4 Flash pose candidates. Separately, a six-arm privileged-state evaluation on 1,011 CALVIN-D validation annotations finds that a locally deployed decision model can achieve at most 52.6% task success rate with the fine-tuned formalizer, compared with 11.8% without it, and the end-to-end latency is kept to 2.09 s, whereas Qwen3.5-27B is 3.67 s with the exact experiment setting.

1 Introduction

Many workloads delegate an open-ended instruction to a backend language model and expect it to determine the next action. A tool-using assistant must infer an operation and its arguments; a workflow system must turn a request into an actionable next step; a robot must translate a goal into a control target. In these settings, the workload supplies context and an execution interface, while useful alternatives remain implicit or loosely described. The backend is expected to analyze the situation, construct alternatives, and return a decision.

General-purpose large language models (LLMs) are attractive backends because they can interpret open-ended requests and support multi-step reasoning (Brown et al., 2020; Wei et al., 2022). This flexibility has a latency cost: autoregressive decoding produces successive output tokens, and explicit intermediate reasoning can lengthen that sequence. Decision models offer a complementary interface. Their fast decision mode evaluates supplied alternatives and returns a typed choice without generating an extended answer (Almeida, 2026; AutoTrust AI Lab, 2026). However, this mode requires the application to specify what can be chosen. It does not automatically construct a missing list of executable alternatives, and benchmark evidence for Jev identifies weaknesses on some multi-step reasoning tasks (Li et al., 2026).

This creates an interface gap (Figure 1). A workload built around an LLM may provide an instruction, state, and action schema without a ready-to-use choice list. The schema defines admissible operations, but a useful candidate set must instantiate task-relevant operations and parameters for the current state. Turning an action space into such a list requires semantic construction; listing generic primitives alone does not ensure useful choices. Even a strong selector cannot recover an action omitted from its candidate interface. The problem is therefore how to construct effective alternatives for a fast selector without paying for a large generative model at every request.

A matched test comparison makes this gap concrete (Section 4.3). The native Jev baseline uses the official Jev-1.13.0 API to select among up to 34 generic motion choices. It succeeds on 22/200 CALVIN-D episodes (11%). When DeepSeek V4 Flash generates three pose candidates for the same Jev selector, success rises to 93/200 (46.5%), a gain of 35.5 percentage points. Both workflows use the same initial test episodes, observations, action budget, and success oracle. This supports the importance of task-conditioned candidate construction beyond exposing generic operations.

We address this problem with a small learned candidate formalizer followed by a frozen deci-

Figure

Figure 1: The candidate-interface gap, illustrated with manipulation. The upper row sketches generic action primitives; task-conditioned candidates must instantiate useful next actions from the current state. The lower panels show a generative LLM workflow with explicit reasoning and a decision model selecting among supplied alternatives. Steps denote environment interactions; state observations are omitted for clarity. The distinction concerns the decision interface, without assuming that the selector lacks internal reasoning.

sion model. The formalizer interprets the workload context, organizes any available suggestions, and constructs a compact list of explicit alternatives in the application’s schema. It supplies missing parameters when needed; a validator checks the resulting interface. The selector then compares these alternatives and returns an entry for the application to consume. This division assigns context interpretation and candidate construction to a small generative component, while retaining the short-output decision interface of a decision model.

The formalizer is trained through candidate-list distillation. An offline teacher supplies structured candidate lists, and a smaller student learns to produce those lists from task context. The supervision captures the teacher's candidate-construction behavior. At deployment, the student need not generate a full reasoning transcript or make the final choice. Its task is narrower than solving the entire workload through unrestricted answer generation, although it still requires semantic interpretation rather than only JSON formatting. The intended benefit is useful decision quality with lower end-to-end latency than a large generative backend. Whether that benefit holds depends on both stages' costs and the quality of the exposed alternatives.

The interface is independent of a particular application: schemas can describe tool calls, workflow operations, control targets, or other structured choices. Existing options can be normalized when available; implicit options must be proposed when absent. Robotic manipulation is one example of the latter, rather than a definition of the method. Datasets, formalizer backbones, frozen selectors, and candidate counts are independent evaluation factors.

Our contributions are the candidate-interface gap as a deployment problem, a learned formalization stage trained on teacher candidate lists, and a six-arm evaluation of decision quality, latency, and resource use at two formalizer sizes. On all 1,011 CALVIN-D validation annotations, SFT Qwen3-4B and Qwen3-1.7B with frozen AutoTrust JEV-27B achieve 52.6% and 52.1% success, versus 11.8% and 4.5% for their base counterparts. The 1.7B pipeline takes 1.826 s per decision, compared with 3.670 s and 31.8% success for direct Qwen3.5-27B generation: a 20.3-point success gain and 50.2% lower mean decision latency. It also uses 14.2% fewer reserved GPU-hours during evaluation. These results support the design in a privileged-state manipulation setting; broader datasets and controlled component ablations remain necessary to establish generality and attribute the gains.