scimeatlas

Research map / Large language models / Reasoning and chain of thought

Exploring the Effectiveness of Prompt Engineering for Legal Reasoning Tasks

Fangyi Yu, Lee Quartey, Frank Schilder

ACL 2023Large language models › Reasoning and chain of thoughtapproach: Chain-of-thought training and analysisopen problems in this approach110 citations (OpenAlex)

Thomson Reuters Labs

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

15measured effects
8improved
2no clear effect
4hurt
1mixed

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.

This paper tried a common change: Chain-of-thought prompting

add chain-of-thought two-stage prompting · COLIEE 2021 test · accuracy: 0.7160 -> 0.7284 Improved

What 2,675 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add 'following' to the instructive prompt (prompt2 vs prompt1) (ablation)GPT-3 zero-shot · COLIEE 2021 testaccuracy: 0.7160 -> 0.7407Improved
replace 'the given premise' with 'Japanese civil code statutes' (ablation)GPT-3 zero-shot · COLIEE 2021 testaccuracy: 0.7407 -> 0.7037Hurt
upgrade model from text-davinci-002 to text-davinci-003zero-shot prompt2 · COLIEE 2021 testaccuracy: 0.7407 -> 0.7160Hurt
upgrade model from text-davinci-002 to text-davinci-003zero-shot CoT · COLIEE 2021 testaccuracy: 0.6296 -> 0.7284Improved
add instructive prompt to fine-tuning input (ablation)fine-tuned GPT-3.5 (labels) · COLIEE 2021 testaccuracy: 0.6173 -> 0.7654Improved
add pseudo-explanation to fine-tuning completion (ablation)fine-tuned GPT-3.5 with prompt · COLIEE 2021 testaccuracy: 0.7654 -> 0.7160Hurt
replace label completion with GPT-3.5-generated explanations (ablation)fine-tuned GPT-3.5 with prompt · COLIEE 2021 testaccuracy: 0.7654 -> 0.6667Hurt
use pseudo-explanations instead of self-generated explanations for fine-tuning (ablation)fine-tuned GPT-3.5 · COLIEE 2021 testaccuracy: 0.6667 -> 0.7160Improved
add legal reasoning prompt (TREACC) to zero-shotGPT-3.5 zero-shot · COLIEE 2021 testaccuracy: 0.7160 -> 0.8025Improved
add legal reasoning prompt (TREACC)GPT-3.5 zero-shot · COLIEE 2022 testaccuracy: 0.7156 (fourth highest approach in 2022)Mixed
select 8 shots by clustering training data instead of external examples (ablation)GPT-3.5 few-shot · COLIEE 2022 testaccuracy: 0.7615 -> 0.789Improved
select 8 shots by clustering training data instead of external examples (ablation)GPT-3.5 few-shot · COLIEE 2021 testaccuracy: 0.7654 vs 0.7654No clear effect

Open problems in chain-of-thought training and analysis

Do chain-of-thought findings hold beyond math, small open models and synthetic tasks?

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