Study shows simple prompts work well for nli with Llama, Mistral, Gemma, Phi 4
Natural language inference (NLI) is a key task for evaluating AI methods. A recent arXiv study benchmarked decoder‑only large language models—Llama, Mistral, Gemma, and Phi 4—on MNLI, QNLI, and SciTail datasets using zero‑shot and few‑shot prompting with plain, direct prompts.
Key points
- LLMs like llama, mistral, gemma, phi 4 perform well on nli with simple prompts
- One-shot entailment‑primed examples boost accuracy more than other labels
- Few‑shot with a few representative examples can match or exceed higher example counts
The authors found that these models perform exceptionally well when given a simple prompt, challenging the belief that complex prompting is always necessary for NLI. They also observed that in one‑shot prompting the choice of demonstration label matters, with entailment‑primed examples yielding the best results. In few‑shot settings, a small number of representative examples matched or outperformed prompts that used many more examples, though the effect varied by model and dataset.
Overall, the study shows that minimalistic prompting can achieve strong NLI performance, matching or surpassing more elaborate methods such as ICs and MCQ‑based prompting.
Coverage and discussion
2sources- Retrofitting Unbounded Context onto Stock Language ModelsPrimary source · arXiv cs.CL ·
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Research
All →- OpenAI publishes a preprint that claims to prove that the matrix multiplication exponent (ω) is exactly 9/4, addressing a major open problem in mathematics · 2 src
- Study of 58 Anthropic customers finds 80% of AI-built apps automate manual tasks · 2 src
- Anthropic researcher proves Riemann Hypothesis with Claude, verified by Lean community · 17 src
- Google DeepMind proves Signal encryption code with AlphaProof Code · 1 src
- OpenAI reports GPT-6 designs proteins with reasoning, lab tests show binding · 4 src
Comments
via GitHub Discussions