Pith. sign in

REVIEW 5 cited by

Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agents

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2402.00798 v4 pith:3SC5YDED submitted 2024-02-01 cs.LG cs.AIcs.CLcs.FL

classification cs.LGcs.AIcs.CLcs.FL
keywords agentslanguagellm-basedcontrollableformal-llmplansprocessframework
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Recent advancements on Large Language Models (LLMs) enable AI Agents to automatically generate and execute multi-step plans to solve complex tasks. However, since LLM's content generation process is hardly controllable, current LLM-based agents frequently generate invalid or non-executable plans, which jeopardizes the performance of the generated plans and corrupts users' trust in LLM-based agents. In response, this paper proposes a novel "Formal-LLM" framework for LLM-based agents by integrating the expressiveness of natural language and the precision of formal language. Specifically, the framework allows agent developers to express their requirements or constraints for the planning process as an automaton. A stack-based LLM plan generation process is then conducted under the supervision of the automaton to ensure that the generated plan satisfies the constraints, making the planning process controllable. We conduct experiments on both benchmark tasks and practical real-life tasks, and our framework achieves over 50% overall performance increase, which validates the feasibility and effectiveness of employing Formal-LLM to guide the plan generation of agents, preventing the agents from generating invalid and unsuccessful plans. Further, more controllable LLM-based agents can facilitate the broader utilization of LLM in application scenarios where high validity of planning is essential. The source code of this work is available at https://github.com/agiresearch/Formal-LLM.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 5 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Integrating Large Language Models into Text Animation: An Intelligent Editing System with Inline and Chat Interaction

    cs.HC 2025-06 conditional novelty 6.0 of 10

    A text-animation editor with inline and chat LLM agents was rated usable (SUS 75) by 11 non-professional testers.

  2. PGPO: Enhancing Agent Reasoning via Pseudocode-style Planning Guided Preference Optimization

    cs.AI 2025-06 conditional novelty 6.0 of 10

    Pseudocode-structured plans paired with preference optimization improve LLM agent success rates and generalization across interactive benchmarks.

  3. A Formal Hierarchical Architecture for Agentic Orchestration with Stack-Based Execution and Lazy Discovery

    cs.AI 2026-07 conditional novelty 5.5 of 10

    A rooted skill tree with LIFO stack execution and lazy child-manifest discovery bounds per-step schema tokens independent of global tool count N while supporting nested resumption and branch isolation.

  4. CodeGrad: Integrating Multi-Step Verification with Gradient-Based LLM Refinement

    cs.SE 2025-08 reject novelty 4.0 of 10

    CodeGrad improves code generation by routing structured critic feedback into up to two refinement rounds, but its formal-verification claim rests on AI-written proofs judged by the AI.

  5. Logical Reasoning in Large Language Models: A Survey

    cs.AI 2025-02 conditional novelty 4.0 of 10

    A survey of logical reasoning in large language models that organizes benchmarks, evaluations, and enhancement methods around formal and symbolic logic.

Pith tools