Logic-VLA

Requirement-aware post-training●Signal Temporal Logic

Logic-VLA

A temporal logic conditioned vision-language-action model.

Celina Shiyu Wang1 Yiqi Zhao1,† Junjie Ye1 Yue Wang1 Jyotirmoy V. Deshmukh1,†

1Thomas Lord Department of Computer Science, University of Southern California  ·  †Equal advising

policy  πθ̃( a | o, ℓ, φ )
input   o : camera observation
input   ℓ : natural-language task
input   φ : STL requirement, supplied at inference
goal    s ⊨ φ  ∧  s completes ℓ

One policy. The formal requirement is an input, not a training target, so it can change from one deployment to the next without retraining.

§ 1Problem

Language says what. Logic says exactly how.

A vision-language-action model will happily fly a drone to the cardboard boxes. It will not, on its own, promise to stay three meters from the forklift for the first eight seconds, or to arrive within a deadline. Those are trajectory-level requirements, and natural language is a poor instrument for stating them precisely or checking whether they were met.

Signal Temporal Logic (STL) is the standard formal language for exactly this class of requirement, with a robust semantics ρφ(s) that scores how strongly a trajectory satisfies or violates a formula. Logic-VLA makes the STL formula a first-class input to a pre-trained flow-matching policy, so that the same network changes its behavior when the requirement changes.

Problem 3.1

Consider a well-trained VLA πθ with task distribution L and environment distribution E. Design a post-training procedure θ̃ = A(θ) such that, at inference time, πθ̃(· | o, ℓ, φ) jointly conditions on the observation o, the natural-language task ℓ ∼ L, and the STL requirement φ, and produces a trajectory s satisfying both s ⊨ φ and ℓ.

STL satisfaction vs. STL-blind base +40.7 ppseen formulas +24.8 ppunseen parameters +25.2 ppunseen structures Percentage-point gain on each simulation split.
Cost to the language task ≤ 1.8 pp Largest drop in natural-language task success in any split. Direct robust semantics maximization loses up to 48 pp.
Physical robot 161 / 165 Retained trials satisfying the specified formula on a Toyota HSR. Every violation was a timing miss on a 22 s deadline.
§ 2Specification

The requirement is a formula, and the formula is a graph.

An STL formula is built from predicates over the state, Boolean connectives, and bounded temporal operators. Logic-VLA does not read the formula as text. It parses it into its syntax graph, encodes the graph with a graph convolutional network in the style of TeLoGraF, and pre-trains that encoder to predict robust semantics before the policy ever sees it. Select a formula to see the structure the policy actually conditions on.

φ  :=  True  |  πμ  |  ¬φ  |  φ1 ∧ φ2  |  φ1 U[a,b] φ2 core grammar πμ(st)  :=  μ(st) ≥ 0 predicate, e.g. μ(s) = ‖s − O‖ − dmin for obstacle clearance F[a,b] φ  :=  True U[a,b] φ eventually: φ holds at some time in [a, b] G[a,b] φ  :=  ¬F[a,b] ¬φ globally: φ holds at every time in [a, b] s ⊨ φ  ⇔  ρφ(s) ≥ 0 robust semantics decides satisfaction
§ 3Method

Pre-train the encoder. Then imitate. Then prefer.

Logic-VLA is built on π0.5. The STL encoder emits Nspec specification tokens that are appended to the vision-language prefix after the image and text tokens, where bidirectional attention fuses them with the scene. The backbone is unchanged and initialized from the pre-trained weights. The recipe applies to any flow-matching VLA.

Overview diagram. Left: logic encoder pre-training from trajectories and syntax graphs to predicted robust semantics. Right: post-training, where camera observations, a language instruction, and the encoded logic formula condition a pre-trained VLA whose action expert outputs continuous actions.
Figure 1. The logic encoder is pre-trained from trajectory–formula pairs (left). During post-training (right) the encoded formula enters the VLA prefix alongside camera observations and the language instruction. Reproduced from the paper.
  1. Step 0

    Give the encoder semantics before it meets the policy

    For trajectory–formula pairs (p(i), φ(j)), a monitor computes the true robust semantics. The graph encoder and an auxiliary trajectory encoder are trained to predict it. The trajectory encoder is then discarded. Only the symbolic requirement is encoded; the scene is grounded through the cameras, so the logic representation is independent of any particular environment.

    Lpre = 𝔼 [ Hδ( r̂(i,j) − tanh( ρ(i,j) / c ) ) ] Huber loss on the normalized robust semantics. This one choice lifts seen-formula satisfaction from 46.7% to 61.7% under otherwise identical supervised fine-tuning.
  2. Stage 1

    STL-conditioned supervised fine-tuning

    From an in-domain rollout dataset and a bank of sampled formulas, the monitor picks executions that clearly satisfy each formula. The policy imitates those action chunks under the context ξ = (o, ℓ, φ) with the standard conditional flow-matching objective and no STL-specific loss. The encoder and policy are fine-tuned jointly; a frozen copy of the result becomes the reference policy for Stage 2.

  3. Stage 2

    Trajectory-level preference optimization

    Satisfying and violating rollouts of the same task, formula, and comparable initial conditions are paired. Because satisfaction is a property of whole trajectories, flow-matching losses are averaged over sampled temporal windows and their differences to the reference act as a likelihood-ratio surrogate for Identity Preference Optimization. A one-sided anchor stops the policy from winning the margin by getting worse at the satisfying rollout.

    q±i = ℓ̄±θSFT,i − ℓ̄±θ̃,i ,   Δi = β ( q+i − q−i ) ,   Ai = [ ℓ̄+θ̃,i − sg( ℓ̄+θref,i ) ]+
    Lpref = 𝔼i [ ℓIPO,i + λ Ai ] The preference term learns which of two comparable executions the formula favors. The anchor is active only when the current policy fits the satisfying rollout worse than the Stage-1 reference.
§ 4Results

Higher satisfaction without paying for it in task success.

Closed-loop quadcopter navigation in ten randomized photorealistic warehouses with six language tasks. Formulas are drawn from 90 structural templates over F, G, FG, GF, FGF, GFG with ∧ and ∨, predicates on drone position, and integer time bounds up to 16 s. Every method starts from the same STL-blind policy. Each evaluation entry is run from 10 sampled initial states.

Warehouse simulation scene with six colored example drone trajectories, each ending at a numbered target: packing table, wet floor sign, G1 humanoid, forklift, orange barrel past a corridor, and cardboard boxes.
Figure 2. One example trajectory per task: (1) packing table, (2) wet floor sign, (3) G1 humanoid, (4) forklift, (5) through the corridor to the orange barrel, (6) cardboard boxes.
STL satisfaction rate (%)Natural-language task success (%)

Hover a bar for its value. Smooth robust semantics maximization buys satisfaction by abandoning the language task; Logic-VLA buys it from the ordering information in satisfying–violating pairs, which positive-only imitation never sees.

Seen (60 entries) Unseen parameter (99) Unseen structure (56)
Method Sat. ↑ρ meanρ min ↑Task ↑ Sat. ↑ρ meanρ min ↑Task ↑ Sat. ↑ρ meanρ min ↑Task ↑
Base (STL-blind π0.5)41.3−0.35 ± 1.33−9.1190.550.0−0.03 ± 1.26−5.8093.956.80.07 ± 1.51−6.9889.3
STL-SFT61.70.49 ± 1.57−5.0987.259.50.34 ± 1.52−5.0591.264.50.71 ± 1.86−4.6485.2
Smooth robust semantics (1×)76.21.62 ± 2.92−5.7268.571.11.24 ± 2.51−4.9475.977.52.18 ± 3.26−4.9268.6
Smooth robust semantics (2×)78.82.33 ± 3.80−5.7945.072.11.81 ± 3.19−7.3147.481.83.34 ± 4.24−3.8242.0
Logic-VLA82.00.81 ± 1.33−1.6289.074.80.89 ± 1.64−3.7992.282.01.24 ± 1.71−2.4687.5

Table I. ρ min is the worst robust semantics value over all rollouts in the split; Logic-VLA has the least severe worst case in every split. Unseen parameter covers all 87 training structures with held-out predicate and time parameters. Unseen structure covers 3 templates held out from both post-training and encoder pre-training.

Ablation A · encoder pre-training

STL-SFT only. STL satisfaction / task success (%).

SplitRandom initPre-trained
Seen46.7 / 84.561.7 / 87.2
Unseen parameter52.9 / 89.559.5 / 91.2
Unseen structure56.6 / 83.964.5 / 85.2

Ablation B · graph encoder vs. text prompt

Both with SFT + IPO. STL satisfaction / task success (%).

SplitFormula as textSyntax-graph encoder
Seen66.5 / 88.582.0 / 89.0
Unseen parameter70.1 / 89.774.8 / 92.2
Unseen structure81.4 / 85.582.0 / 87.5

Table II. Training used 1,604 formula-groups from 1,360 distinct formulas, giving 8,886 satisfying demonstrations and 13,494 preference pairs. The 2B vision-language backbone and 300M action expert were adapted with LoRA (ranks 16 and 32).

§ 5Deployment

Eleven formulas, one instruction, a real robot.

A Toyota Human Support Robot is told only "Navigate to the cabinets." The STL formula decides whether it passes the table and box on the left or right and by when it must arrive. 120 teleoperated demonstrations cover the four route families. The policy predicts 30-waypoint chunks tracked by a proportional controller at 10 Hz, with the next chunk requested 0.5 s before the current one ends. Fifteen retained trials per formula, after excluding collision-triggered emergency stops.

Overhead photo of a lab with a mobile robot at the start, a table and a cardboard box as obstacles, and four drawn routes R1 through R4 passing left or right of each obstacle toward a goal line.
Figure 3. Route families R1–R4 correspond to formulas 1–4 below. The cabinets are behind the goal line.
Named predicates hold when the measured planar position lies inside a bounding box (m):
at table left
x ∈ [−2.20, −0.92], y ∈ [0.00, 0.50]
at table right
x ∈ [−0.92, 0.00], y ∈ [0.00, 0.50]
at box left
x ∈ [−2.60, −1.56], y ∈ [2.00, 2.50]
at box right
x ∈ [−1.56, −0.10], y ∈ [2.00, 2.50]
at cabinets
x ∈ [−2.20, −0.20], y ∈ [3.50, 4.30]
trial satisfied φtrial violated φ

    Table IV. 161 of 165 trials satisfied (97.6%). The eight formulas without a cabinet deadline were satisfied 120/120. The three with the 22 s deadline reached 41/45; end-to-end inference latency is the likely cause of the four timing misses.

    § 6Citation

    Cite

    @article{wang2026logicvla,
      title   = {Logic-VLA: A Temporal Logic Conditioned Vision-Language-Action Model},
      author  = {Wang, Celina Shiyu and Zhao, Yiqi and Ye, Junjie and Wang, Yue and Deshmukh, Jyotirmoy V.},
      journal = {arXiv preprint arXiv:2608.20556},
      year    = {2026}
    }