SWI: Speaking with Intent in Large Language Models

Yuwei Yin, EunJeong Hwang, Giuseppe Carenini
3/27/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: YuweiYin/SWI (6 stars, MIT, last commit 2025-11-10).

Abstract

Intent, typically clearly formulated and planned, functions as a cognitive framework for communication and problem-solving. This paper introduces the concept of Speaking with Intent (SWI) in large language models (LLMs), where the explicitly generated intent encapsulates the model's underlying intention and provides high-level planning to guide subsequent analysis and action. By emulating deliberate and purposeful thoughts in the human mind, SWI is hypothesized to enhance the reasoning capabilities and generation quality of LLMs. Extensive experiments on text summarization, multi-task question answering, and mathematical reasoning benchmarks consistently demonstrate the effectiveness and generalizability of Speaking with Intent over direct generation without explicit intent. Further analysis corroborates the generalizability of SWI under different experimental settings. Moreover, human evaluations verify the coherence, effectiveness, and interpretability of the intent produced by SWI. The promising results in enhancing LLMs with explicit intents pave a new avenue for boosting LLMs' generation and reasoning abilities with cognitive notions.

View on arXivView PDF

Code Implementations(1)

YuweiYin/SWICommunity100%
MIT

SWI: Speaking with Intent in Large Language Models

60HTML, ShellMar 18, 202511 months agoMIT
intentlarge-language-modelsplanningreasoning

Similar Papers

Cite this paper

@article{yin2025swi,
  title  = {SWI: Speaking with Intent in Large Language Models},
  author = {Yuwei Yin and EunJeong Hwang and Giuseppe Carenini},
  year   = {2025},
  eprint = {2503.21544},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.21544v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.21544.svg)](https://codeofpaper.com/paper/2503.21544)

Discussion