Skip to main content
QUICK REVIEW

[Paper Review] LogicEnvGen: Task-Logic Driven Generation of Diverse Simulated Environments for Embodied AI

Jianan Wang, Siyang Zhang|arXiv (Cornell University)|Jan 20, 2026
Artificial Intelligence in GamesComputer Science0 citations
TL;DR

LogicEnvGen is an LLM-driven framework that generates logically diverse, physically plausible simulated environments as test cases for embodied AI by deriving task-specific behavior plans, collecting logical trajectories, and constructing constrained environmental layouts; it introduces LogicEnvEval as a benchmark with four metrics.

ABSTRACT

Simulated environments play an essential role in embodied AI, functionally analogous to test cases in software engineering. However, existing environment generation methods often emphasize visual realism (e.g., object diversity and layout coherence), overlooking a crucial aspect: logical diversity from the testing perspective. This limits the comprehensive evaluation of agent adaptability and planning robustness in distinct simulated environments. To bridge this gap, we propose LogicEnvGen, a novel method driven by Large Language Models (LLMs) that adopts a top-down paradigm to generate logically diverse simulated environments as test cases for agents. Given an agent task, LogicEnvGen first analyzes its execution logic to construct decision-tree-structured behavior plans and then synthesizes a set of logical trajectories. Subsequently, it adopts a heuristic algorithm to refine the trajectory set, reducing redundant simulation. For each logical trajectory, which represents a potential task situation, LogicEnvGen correspondingly instantiates a concrete environment. Notably, it employs constraint solving for physical plausibility. Furthermore, we introduce LogicEnvEval, a novel benchmark comprising four quantitative metrics for environment evaluation. Experimental results verify the lack of logical diversity in baselines and demonstrate that LogicEnvGen achieves 1.04-2.61x greater diversity, significantly improving the performance in revealing agent faults by 4.00%-68.00%.

Motivation & Objective

  • Motivate the need for logically diverse simulated environments to evaluate agent adaptability and planning robustness.
  • Develop a top-down framework that derives behavior plans from task logic and instantiates diverse environments accordingly.
  • Ensure physical plausibility through constraint solving during object placement and layout design.
  • Provide a benchmark (LogicEnvEval) and metrics to quantify physical plausibility, logical diversity, and fault-revealing efficacy.

Proposed method

  • Phase 1: Behavior Plan Derivation uses LLMs to decompose a task into independent subtasks and generate a decision-tree structured behavior plan for each subtask.
  • Phase 2: Logical Trajectory Collection synthesizes distinct logical trajectories by combining decision paths from subtasks, using a Minimal Trajectory Selection heuristic to prune redundancy.
  • Phase 3: Simulated Environment Construction instantiates concrete environments for each trajectory via floor plan design, object selection from asset libraries, and CSP-based constraint solving to arrange objects physically plausibly.
  • Enforce physical plausibility by modeling object placement as a Constraint Satisfaction Problem (CSP) solved with Z3, with a relaxation mechanism for infeasible peripheral relations.
  • Introduce LogicEnvEval, a 25-task household benchmark with four agent policies (one correct, three faulty) and four evaluation metrics.
  • Employ a constrained trajectory prompt design to guide LLMs and reduce hallucinations during environment generation.

Experimental results

Research questions

  • RQ1How can task execution logic be transformed into diverse, logically distinct test environments for embodied agents?
  • RQ2To what extent does a top-down, logic-driven generation process improve logical coverage and fault detection compared to baseline methods?
  • RQ3What role do constraint solving and trajectory pruning play in ensuring physical plausibility and efficiency?
  • RQ4How effective is LogicEnvEval in measuring physical plausibility, logical diversity, scenario validity, and fault detection?
  • RQ5Can the approach generalize across different LLMs and maintain performance with varying model capabilities?

Key findings

  • LogicEnvGen achieves 1.04–2.61x greater logical coverage than baselines.
  • LogicEnvGen improves fault detection rate by 4.00%–68.00% on faulty policies compared to baselines.
  • Enforcing constraint-based object arrangement (via CSP and Z3) markedly improves physical plausibility (PhyPR) across dimensions.
  • The Minimal Trajectory Selection algorithm reduces redundancy and maintains high coverage with lower computational cost.
  • LogicEnvEval provides a four-maceted benchmark (PhyPR, LogCov, SceVR, FauDR) grounded in 25 long-horizon tasks with both correct and faulty policies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.