DigestAI news desk

Cut through the AI noise.

Research

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.

2 sources primary source

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.

Read the original at arXiv cs.CL · by Georgos Dikaios, Isidoros Perikos, Ioannis Hatzilygeroudis primary sourceOpen source ↗

Coverage and discussion

2sources
Topics · follow one to build your own front page

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.

Comments

via GitHub Discussions

More in Research

All →

Related stories