AI Paper Atlas

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

Prompting with Pseudo-Code Instructions

Mayank Mishra, Prince Kumar, Riyaz Bhat, Rudra Murthy V, Danish Contractor, Srikanth Tamilselvam

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: In-context learning analysis25 citations (OpenAlex)

IBM

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

14measured effects
8improved
1no clear effect
5hurt

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
prompt with pseudo-code instructions instead of NL instructionsCodeGen 6B · classification tasks (0-shot)weighted F1: 0.215 -> 0.375Improved
prompt with pseudo-code instructions instead of NL instructionsBLOOM 7B · classification tasks (0-shot)weighted F1: 0.203 -> 0.285Improved
prompt with pseudo-code instructions instead of NL instructionsCodeGen 6B · All tasks (0-shot)ROUGE-L: 0.257 -> 0.354Improved
prompt with pseudo-code instructions instead of NL instructionsBLOOM 3B / BLOOM 7B · QA tasks (0-shot)ROUGE-L: BLOOM 3B 0.159 -> 0.147; BLOOM 7B 0.156 -> 0.150Hurt
prompt with pseudo-code instructions instead of NL instructionsCodeGen 6B · MCQ tasks (0-shot)ROUGE-L: 0.106 -> 0.213Improved
add docstrings and comments to pseudo-code instructions (ablation)CodeGen 6B · All tasks (0-shot)ROUGE-L: 0.335 -> 0.354Improved
add docstrings and comments to pseudo-code instructions (ablation)BLOOM 7B · classification tasks (0-shot)weighted F1: 0.247 -> 0.285Improved
add pseudo-code docstrings and comments to NL instructions (ablation)CodeGen 6B · All tasks (0-shot)ROUGE-L: 0.257 -> 0.275Improved
add pseudo-code docstrings and comments to NL instructions (ablation)BLOOM 3B · All tasks (0-shot)ROUGE-L: 0.250 -> 0.213Hurt
use only the function declaration instead of full pseudo-code (ablation)CodeGen 6B · classification tasks (0-shot)weighted F1: 0.375 -> 0.109Hurt
use 2-shot prompts instead of 0-shot for pseudo-code instructionsCodeGen 6B · classification tasksweighted F1: 0.375 -> 0.292Hurt
use 2-shot examples only (NL examples, no instructions) instead of pseudo-code (ablation)CodeGen 6B · classification tasksweighted F1: 0.375 -> 0.001Hurt

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