atlas

Research map / Large language models / Instruction and fine-tuning

CodeSteer: Symbolic-Augmented Language Models via Code/Text Guidance

ICML 2025 · Large language models › Instruction and fine-tuning · approach: Gradient-free adaptation and merging · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Trains a Llama-3.1-8B-based guide (CodeSteerLLM) with multi-turn SFT and DPO on synthesized SymBench trajectories to steer GPT-4o's code/text generation across 37 symbolic tasks.

Problem

LLMs struggle to decide when to reason in text versus generate code for symbolic tasks, and existing steering methods (Code Interpreter, AutoGen, multi-agent summarization) underuse symbolic computation.

Approach

A small fine-tuned guide model reviews the TaskLLM's answers over multiple turns and provides code/text guidance, trained with multi-turn SFT (double weight on final two turns) and tree-sampled multi-turn DPO scored by a turn-penalized performance score, plus symbolic and self-answer checkers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add CodeSteer guidance to GPT-4oGPT-4o · SymBench totalAverage normalized score: 53.3 -> 86.4Helped
Add CodeSteer guidance to GPT-4oGPT-4o · SymBench unseenAverage normalized score: 72.1 -> 81.3Helped
Add CodeSteer guidanceClaude-3-5-Sonnet · Five representative tasksAverage normalized score: 29.1 -> 92.0Helped
Add CodeSteer guidanceMistral-Large · Five representative tasksAverage normalized score: 31.0 -> 59.8Helped
Add CodeSteer guidanceGPT-3.5 · Five representative tasksAverage normalized score: 8.6 -> 42.3Helped
Add CodeSteer guidanceo1 · CryptanalysisTask success rate (%): 60 -> 73Helped
Add DPO fine-tuning (ablation)CodeSteer SFT model · SymBench totalAverage normalized score: 79.1 -> 86.4Helped
Add last-two-turn data augmentation (ablation)CodeSteer SFT model without DPO · SymBench totalAverage normalized score: 77.6 -> 79.1Helped
Add Symbolic Checker (ablation)CodeSteer · SymBench totalAverage normalized score: 77.3 -> 86.4Helped
Add Self-answer Checker (ablation)CodeSteer · SymBench totalAverage normalized score: 75.0 -> 86.4Helped
Add Symbolic Checker (ablation)Symbolic Agent · SymBench totalAverage normalized score: 69.5 -> 74.8Helped
Add Self-answer Checker (ablation)Symbolic Agent · SymBench totalAverage normalized score: 67.0 -> 74.8Helped

Surprising findings

Limitations

Experimental setup

Datasets: SymBench (synthesized) GSM-Hard MATH Big-Bench Hard tasks LogicGame tasks

Benchmarks: SymBench

Metrics: task success rate average normalized score

Baselines: o1 o1-preview DeepSeek R1 Code Interpreter AutoGen Conca. Code/Text Choice Code + Text + Sum.2 Symbolic Agent All Text + CoT All Code + CoT

Builds on: DPO AutoGen Code Interpreter LogicGame

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