Saved in:
Bibliographic Details
Main Author: Wang, Libo
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.09111
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911048121974784
author Wang, Libo
author_facet Wang, Libo
contents In order to address the chain of thought in the large language model inference cost surge, this research proposes to use a sparse attention mechanism that only focuses on a few relevant tokens. The researcher constructed a new attention mechanism and used GiantRabbit trained with custom GPTs as an experimental tool. The experiment tested and compared the reasoning time, correctness score and chain of thought length of this model and o1 Preview in solving the linear algebra test questions of MIT OpenCourseWare. The results show that GiantRabbit's reasoning time and chain of thought length are significantly lower than o1 Preview. It verifies the feasibility of sparse attention mechanism for optimizing chain of thought reasoning. Detailed architectural details and experimental process have been uploaded to Github, the link is:https://github.com/brucewang123456789/GeniusTrail.git.
format Preprint
id arxiv_https___arxiv_org_abs_2411_09111
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reducing Reasoning Costs: The Path of Optimization for Chain of Thought via Sparse Attention Mechanism
Wang, Libo
Machine Learning
In order to address the chain of thought in the large language model inference cost surge, this research proposes to use a sparse attention mechanism that only focuses on a few relevant tokens. The researcher constructed a new attention mechanism and used GiantRabbit trained with custom GPTs as an experimental tool. The experiment tested and compared the reasoning time, correctness score and chain of thought length of this model and o1 Preview in solving the linear algebra test questions of MIT OpenCourseWare. The results show that GiantRabbit's reasoning time and chain of thought length are significantly lower than o1 Preview. It verifies the feasibility of sparse attention mechanism for optimizing chain of thought reasoning. Detailed architectural details and experimental process have been uploaded to Github, the link is:https://github.com/brucewang123456789/GeniusTrail.git.
title Reducing Reasoning Costs: The Path of Optimization for Chain of Thought via Sparse Attention Mechanism
topic Machine Learning
url https://arxiv.org/abs/2411.09111