Logic Meets Automation: DSPy Boosted GPT-3.5 Accuracy by 19.5%
summary
Claims a 19.5% accuracy gain for GPT‑3.5 by auto‑optimising prompts with the DSPy framework and a five‑step Prolog‑style prompting pipeline (facts, rules, query, verification, answer). Uses GSM8K arithmetic benchmarks, a prompt optimiser that applies backprop to prompt weights, and a verification step that catches calculation errors, reducing mistakes ≈20%. Reports combined runs (zero/few/COT/self‑consistency) reaching higher accuracy and a reproducible GitHub pipeline.
AI-written summary · about
