Research map / Large language models / Language, safety and interpretability
LLM-Supported Natural Language to Bash Translation
Finnian Westenfelder, Erik Hemberg, Miguel Tulla, Stephen Moskal, Una-May O'Reilly, Silviu Chiricescu
Massachusetts Institute of Technology · Draper Scholar · The Charles Stark Draper Laboratory
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| execute commands before LLM comparison (exec + gpt-4-0613) | gpt-4-0613 FEH · FEH evaluation | accuracy: 0.76 -> 0.95 | Improved |
| execute commands before comparison (exec + tfidf) | tfidf FEH · FEH evaluation | accuracy: 0.73 -> 0.82 | Improved |
| use an LLM instead of tfidf on execution outputs | exec FEH · FEH evaluation | recall: 0.65 -> 0.91 (gpt-4-0613) | Improved |
| LLM judging without execution | llama-3.1-8b-inst, gpt-3.5, gpt-4 · FEH evaluation | accuracy: 0.53, 0.69, 0.76 vs bleu 0.69, tfidf 0.73 | No clear effect |
| add markdown parser | small Llama/Qwen models · NL2SH translation | accuracy: llama-3.2-1b 0.12 -> 0.32; qwen2.5-coder-1.5b 0.21 -> 0.50 | Improved |
| add markdown parser | gpt-4o-2024-08-06 · NL2SH translation | accuracy: 0.74 -> 0.73 | No clear effect |
| add 25 in-context examples | llama-3.1-8b-instruct · NL2SH translation | accuracy: 0.46 -> 0.56 | Improved |
| add 25 in-context examples | gpt-4-0613 · NL2SH translation | accuracy: 0.68 -> 0.73 | Improved |
| add constrained decoding of first token | Llama models · NL2SH translation | accuracy: llama-3.2-3b 0.17 -> 0.39; llama-3.1-8b 0.46 -> 0.51 | Improved |
| add constrained decoding of first token | Qwen2.5-coder models · NL2SH translation | accuracy: qwen2.5-coder-7b 0.61 -> 0.08 | Hurt |
| LoRA fine-tune on NL2SH-ALFA train | small models · NL2SH translation | accuracy: llama-3.2-1b 0.12 -> 0.37; qwen2.5-coder-0.5b 0.10 -> 0.27 | Improved |
| LoRA fine-tune on NL2SH-ALFA train | llama-3.1-8b-instruct, qwen2.5-coder-7b-instruct · NL2SH translation | accuracy: 0.46 -> 0.40; 0.61 -> 0.51 | Hurt |
Open problems in multilingual LLM data and culture
Which languages, model sizes and evaluation methods are still missing from multilingual LLM and translation studies?
- Only a few languages are covered and low-resource ones are mostly missing. · 42 papers state it
- Only small models are tested, and larger ones are left untested. · 21 papers state it
- Data is machine-translated or LLM-generated and may carry artifacts. · 15 papers state it
Closest papers by meaning
- Function-to-Style Guidance of LLMs for Code Translation (ICML 2025 · similarity 0.84)
- ToolACE: Winning the Points of LLM Function Calling (ICLR 2025 · similarity 0.84)
- On Data Engineering for Scaling LLM Terminal Capabilities (NeurIPS 2026 · similarity 0.82)
- LLM Augmented LLMs: Expanding Capabilities through Composition (ICLR 2024 · similarity 0.82)
- kGym: A Platform and Dataset to Benchmark Large Language Models on Linux Kernel Crash Resolution (NeurIPS 2024 · similarity 0.82)
- Can LLMs Really Learn to Translate a Low-Resource Language from One Grammar Book? (ICLR 2025 · similarity 0.82)
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.