paper-with-me

홈 › Papers

Concise Thoughts: Impact of Output Length on LLM Reasoning and Cost

2024-07-29 · Sania Nayab, Giulio Rossolini, Marco Simoni, Andrea Saracino, Giorgio Buttazzo, Nicolamaria Manes, Fabrizio Giacomelli

Today's large language models (LLMs) can solve challenging question-answering tasks, and prompt engineering techniques, such as chain-of-thought (CoT), have gained attention for enhancing the explanation and correctness of outputs. However, many models and techniques tend to produce excessively verbose and lengthy answers, leading to issues with both conciseness and generation time. To address this, this paper analyzes the impact of output lengths on LLM inference pipelines by introducing and proposing novel metrics to evaluate the \textit{correct conciseness} of a model and related prompting techniques. Then, we examine the impact of controlling output length through a refined prompt engineering strategy, Constrained-CoT (CCoT), which encourages the model to produce more concise outputs. To better understand the effects of such a prompt, we also introduce two additional scores for analyzing the conciseness, measured in terms of redundancy and information flow in generated answers. Experiments on pretrained LLMs and multiple datasets demonstrate the benefits of the proposed metrics and the effectiveness of CCoT across different models.

📄 PDF Abstract BibTeX arXiv:2407.19825

Code (0)

등록된 구현이 없습니다.

Tasks

GSM8KPrompt EngineeringQuestion Answering

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Think, Verbalize, then Speak: Bridging Complex Thoughts and Comprehensible Speech

2025-09-19 · Sang Hoon Woo, Sehun Lee, Kang-wook Kim, Gunhee Kim arxiv

Spoken dialogue systems increasingly employ large language models (LLMs) to leverage their advanced reasoning capabilities. However, direct application of LLMs in spoken communication often yield suboptimal results due t…

Visual Thoughts: A Unified Perspective of Understanding Multimodal Chain-of-Thought

2025-05-21 · Zihui Cheng, Qiguang Chen, Xiao Xu, Jiaqi Wang 외

Large Vision-Language Models (LVLMs) have achieved significant success in multimodal tasks, with multimodal chain-of-thought (MCoT) further enhancing performance and interpretability. Recent MCoT methods fall into two ca…

Scalable Chain of Thoughts via Elastic Reasoning

2025-05-08 · Yuhui Xu, Hanze Dong, Lei Wang, Doyen Sahoo 외

Large reasoning models (LRMs) have achieved remarkable progress on complex tasks by generating extended chains of thought (CoT). However, their uncontrolled output lengths pose significant challenges for real-world deplo…

Not All Thoughts are Generated Equal: Efficient LLM Reasoning via Multi-Turn Reinforcement Learning

2025-05-17 · Yansong Ning, Wei Li, Jun Fang, Naiqiang Tan 외

Compressing long chain-of-thought (CoT) from large language models (LLMs) is an emerging strategy to improve the reasoning efficiency of LLMs. Despite its promising benefits, existing studies equally compress all thought…

AllChunking

Overclocking LLM Reasoning: Monitoring and Controlling Thinking Path Lengths in LLMs

2025-06-08 · Roy Eisenstadt, Itamar Zimerman, Lior Wolf

Recently, techniques such as explicit structured reasoning have demonstrated strong test-time scaling behavior by enforcing a separation between the model's internal "thinking" process and the final response. A key facto…