scimeatlas

Research map / Large language models / Language, safety and interpretability

Few-Shot Natural Language to First-Order Logic Translation via Code Generation

Junnan Liu

NAACL 2025Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach16 citations (OpenAlex)

Monash University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
12improved
1hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use code prompt instead of text promptGPT-3.5 · FOLIOLE: 83.53 -> 92.67Improved
use code prompt instead of text promptCodeGeeX2 · FOLIOLE: 56.71 -> 84.77Improved
training-free Code4Logic (GPT-3.5) instead of fine-tuned LogicLLaMACode4Logic · FOLIOLE: 84.90 -> 92.67Improved
Code4Logic (GPT-3.5) vs best Symbol-LLMCode4Logic · MALLSLE: 89.50 -> 90.92Improved
add comment-style instruction (ablation)Code4Logic (GPT-3.5) · FOLIOLE: 29.33 -> 92.67Improved
add basis function definition (ablation)Code4Logic (GPT-3.5) · FOLIOLE: 22.82 -> 92.67Improved
add demonstration examples (ablation)Code4Logic (GPT-3.5) · FOLIOLE: 24.91 -> 92.67Improved
use Python-comment instruction instead of text-based instruction (ablation)Code4Logic (CodeGeeX2) · FOLIOLE: 82.68 -> 84.77Improved
use code-style basis functions instead of text-based (ablation)Code4Logic (CodeGeeX2) · FOLIOLE: 20.58 -> 84.77Improved
increase number of demonstration examples (ablation)Code4Logic · FOLIO and MALLSLEImproved
use GPT-3.5 instead of CodeGeeX2 as base LLMCode4Logic · FOLIOLE: 84.77 -> 92.67Improved
use Code4Logic instead of GPT-3.5 few-shotGPT-3.5 · LogicNLIaccuracy: 82.44 -> 91.34Improved

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy