{"id":{"repo_id":"gatech","oai_identifier":"oai:repository.gatech.edu:1853/77839"},"canonical_url":"https://search.ndltd.org/etd/gatech/oai:repository.gatech.edu:1853/77839","repository":{"repo_id":"gatech","name":"Georgia Tech","base_url":"https://repository.gatech.edu/server/oai/request"},"display":{"title":"On the Efficiency and Steerability of Self-Attention Mechanism of Large Language Models","abstract":"Large language models (LLMs) have revolutionized natural language processing through their powerful self-attention mechanisms. In this thesis, we focus on two crucial aspects of self-attention: efficiency and steerability, and explore innovative prompting techniques to improve contextual understanding and complex reasoning. Mixed attention span for efficient long squence modeling. The full attention mechanism in transformers incurs quadratic computational costs, severely limiting scalability for long sequences. Sparse attention mechanisms reduce complexity but struggle to capture intricate dependencies. In chapter 2, we propose MASFormer, a easy-to-implement transformer variant equipping full attention in a few top layers and sparse attention in remaining layers. MASFormer effectively captures both short-range and sparse long-range dependencies, significantly enhancing computational efficiency without compromising performance. Near-lossless KV cache compression for efficient generative inference. Generative inference in LLMs depends heavily on Key-Value (KV) caches, which can become memory-intensive as sequence length grows, leading to memory-bound inference and significantly reduced throughput. Existing compression methods, such as token dropping and quantization, introduce substantial approximation errors, resulting in substantial accuracy degeneration. In chapter 3, we introduce GEAR, an efficient error-reduction framework that augments ultra-low precision quantization with two error-reduction techniques. GEAR achieves near-lossless performance while significantly reducing memory consumption and improving inference throughput. Post-hoc attention steering to guide model attention. In human-written articles, we frequently relies on textual emphasis to direct reader's attention. However, existing LLMs typically process plain text without explicit mechanisms for attention guidance, limiting users' ability to steer model focus effectively. In chapter 4, we develop PASTA, a method allowing users to guide LLM attention through post-hoc attention steering. Without requiring retraining, PASTA significantly improves models' adherence to user instructions and integration of specified contextual information, enhancing model controllability and performance. Steerable prompting to imprve reading comprehension. LLMs often struggle with accurately comprehending extensive or complex contexts, leading to erroneous or hallucinated responses, especially problematic in open-book QA tasks. In chapter 5, we propose SteerPrompt, an inference-time prompting method that automatically identifies important contexts and explicitly highlights them by attention steering. SteerPrompt significantly improve model reading comprehension and accuracy in openbook QA tasks. Symphony of thoughts prompting to imporve mathematical reasoning. Existing reasoning methods in LLMs, like chain-of-thought prompting, sequentially solve subproblems, which can propagate errors and undermine accuracy, particularly in intricate mathematical modeling and optimization (MMO) problems. In chapter 6, we introduce Symphony of Thoughts (SoT), a parallel reasoning strategy that decomposes problems into simultaneously solvable subproblems, minimizing error propagation. SoT, validated through the newly proposed GEMMO benchmark, achieves greater robustness and accuracy in solving complex mathematical reasoning tasks.","abstract_html":"Large language models (LLMs) have revolutionized natural language processing through their powerful self-attention mechanisms. In this thesis, we focus on two crucial aspects of self-attention: efficiency and steerability, and explore innovative prompting techniques to improve contextual understanding and complex reasoning. Mixed attention span for efficient long squence modeling. The full attention mechanism in transformers incurs quadratic computational costs, severely limiting scalability for long sequences. Sparse attention mechanisms reduce complexity but struggle to capture intricate dependencies. In chapter 2, we propose MASFormer, a easy-to-implement transformer variant equipping full attention in a few top layers and sparse attention in remaining layers. MASFormer effectively captures both short-range and sparse long-range dependencies, significantly enhancing computational efficiency without compromising performance. Near-lossless KV cache compression for efficient generative inference. Generative inference in LLMs depends heavily on Key-Value (KV) caches, which can become memory-intensive as sequence length grows, leading to memory-bound inference and significantly reduced throughput. Existing compression methods, such as token dropping and quantization, introduce substantial approximation errors, resulting in substantial accuracy degeneration. In chapter 3, we introduce GEAR, an efficient error-reduction framework that augments ultra-low precision quantization with two error-reduction techniques. GEAR achieves near-lossless performance while significantly reducing memory consumption and improving inference throughput. Post-hoc attention steering to guide model attention. In human-written articles, we frequently relies on textual emphasis to direct reader&#x27;s attention. However, existing LLMs typically process plain text without explicit mechanisms for attention guidance, limiting users&#x27; ability to steer model focus effectively. In chapter 4, we develop PASTA, a method allowing users to guide LLM attention through post-hoc attention steering. Without requiring retraining, PASTA significantly improves models&#x27; adherence to user instructions and integration of specified contextual information, enhancing model controllability and performance. Steerable prompting to imprve reading comprehension. LLMs often struggle with accurately comprehending extensive or complex contexts, leading to erroneous or hallucinated responses, especially problematic in open-book QA tasks. In chapter 5, we propose SteerPrompt, an inference-time prompting method that automatically identifies important contexts and explicitly highlights them by attention steering. SteerPrompt significantly improve model reading comprehension and accuracy in openbook QA tasks. Symphony of thoughts prompting to imporve mathematical reasoning. Existing reasoning methods in LLMs, like chain-of-thought prompting, sequentially solve subproblems, which can propagate errors and undermine accuracy, particularly in intricate mathematical modeling and optimization (MMO) problems. In chapter 6, we introduce Symphony of Thoughts (SoT), a parallel reasoning strategy that decomposes problems into simultaneously solvable subproblems, minimizing error propagation. SoT, validated through the newly proposed GEMMO benchmark, achieves greater robustness and accuracy in solving complex mathematical reasoning tasks.","abstract_has_math":false,"creators":["Zhang, Qingru"],"institution":"Georgia Institute of Technology","degree_name":null,"degree_level":"Doctoral","degree_discipline":null,"degree_department":"Computational Science and Engineering","school":null,"contributors":[],"advisors":["Zhao, Tuo"],"committee_chairs":[],"committee_members":["Zhang, Chao","Wu, Anqi","Liu, Xiaodong","Dai, Bo"],"year":2025,"date_issued":"2025-04-23","date_published":"2025-04-23","updated_at":"2026-11-19T06:02:44Z","subjects":["Large Language Model","Self Attention Mechanism","Efficiency","Steerability","Reading Comprehension","Reasoning"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1853/77839","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1853/77839","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.gatech.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.gatech.edu%3A1853%2F77839","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Zhao, Tuo"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Zhang, Chao","Wu, Anqi","Liu, Xiaodong","Dai, Bo"]},{"key":"dc:contributor.department","label":"Department","values":["Computational Science and Engineering"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["College of Computing","School of Computational Science and Engineering"]},{"key":"dc:creator","label":"Author","values":["Zhang, Qingru"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-06-23T15:22:10Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-06-23T15:22:10Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2025-05"]},{"key":"dc:date.issued","label":"Date","values":["2025-04-23"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2025"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2025-06-23T15:22:10Z"]},{"key":"dc:publisher","label":"Institution","values":["Georgia Institute of Technology"]},{"key":"dc:relation.advisorentity","label":"Dc Relation Advisorentity","values":["f1ca0ec4-da94-4fab-8a2f-3e6ae1f9b90b"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","01ab2ef1-c6da-49c9-be98-fbd1d840d2b1"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_program","label":"Thesis Degree Program","values":["Machine Learning"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Large Language Model","Self Attention Mechanism","Efficiency","Steerability","Reading Comprehension","Reasoning"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1853/77839"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Large language models (LLMs) have revolutionized natural language processing through their powerful self-attention mechanisms. In this thesis, we focus on two crucial aspects of self-attention: efficiency and steerability, and explore innovative prompting techniques to improve contextual understanding and complex reasoning. Mixed attention span for efficient long squence modeling. The full attention mechanism in transformers incurs quadratic computational costs, severely limiting scalability for long sequences. Sparse attention mechanisms reduce complexity but struggle to capture intricate dependencies. In chapter 2, we propose MASFormer, a easy-to-implement transformer variant equipping full attention in a few top layers and sparse attention in remaining layers. MASFormer effectively captures both short-range and sparse long-range dependencies, significantly enhancing computational efficiency without compromising performance. Near-lossless KV cache compression for efficient generative inference. Generative inference in LLMs depends heavily on Key-Value (KV) caches, which can become memory-intensive as sequence length grows, leading to memory-bound inference and significantly reduced throughput. Existing compression methods, such as token dropping and quantization, introduce substantial approximation errors, resulting in substantial accuracy degeneration. In chapter 3, we introduce GEAR, an efficient error-reduction framework that augments ultra-low precision quantization with two error-reduction techniques. GEAR achieves near-lossless performance while significantly reducing memory consumption and improving inference throughput. Post-hoc attention steering to guide model attention. In human-written articles, we frequently relies on textual emphasis to direct reader's attention. However, existing LLMs typically process plain text without explicit mechanisms for attention guidance, limiting users' ability to steer model focus effectively. In chapter 4, we develop PASTA, a method allowing users to guide LLM attention through post-hoc attention steering. Without requiring retraining, PASTA significantly improves models' adherence to user instructions and integration of specified contextual information, enhancing model controllability and performance. Steerable prompting to imprve reading comprehension. LLMs often struggle with accurately comprehending extensive or complex contexts, leading to erroneous or hallucinated responses, especially problematic in open-book QA tasks. In chapter 5, we propose SteerPrompt, an inference-time prompting method that automatically identifies important contexts and explicitly highlights them by attention steering. SteerPrompt significantly improve model reading comprehension and accuracy in openbook QA tasks. Symphony of thoughts prompting to imporve mathematical reasoning. Existing reasoning methods in LLMs, like chain-of-thought prompting, sequentially solve subproblems, which can propagate errors and undermine accuracy, particularly in intricate mathematical modeling and optimization (MMO) problems. In chapter 6, we introduce Symphony of Thoughts (SoT), a parallel reasoning strategy that decomposes problems into simultaneously solvable subproblems, minimizing error propagation. SoT, validated through the newly proposed GEMMO benchmark, achieves greater robustness and accuracy in solving complex mathematical reasoning tasks."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["On the Efficiency and Steerability of Self-Attention Mechanism of Large Language Models"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Zhao, Tuo"],"dc:contributor.committeemember":["Zhang, Chao","Wu, Anqi","Liu, Xiaodong","Dai, Bo"],"dc:contributor.department":["Computational Science and Engineering"],"dc:contributor.other":["College of Computing","School of Computational Science and Engineering"],"dc:creator":["Zhang, Qingru"],"dc:date.accessioned":["2025-06-23T15:22:10Z"],"dc:date.available":["2025-06-23T15:22:10Z"],"dc:date.created":["2025-05"],"dc:date.issued":["2025-04-23"],"dc:date.submitted":["May 2025"],"dc:date.updated":["2025-06-23T15:22:10Z"],"dc:description.abstract":["Large language models (LLMs) have revolutionized natural language processing through their powerful self-attention mechanisms. In this thesis, we focus on two crucial aspects of self-attention: efficiency and steerability, and explore innovative prompting techniques to improve contextual understanding and complex reasoning. Mixed attention span for efficient long squence modeling. The full attention mechanism in transformers incurs quadratic computational costs, severely limiting scalability for long sequences. Sparse attention mechanisms reduce complexity but struggle to capture intricate dependencies. In chapter 2, we propose MASFormer, a easy-to-implement transformer variant equipping full attention in a few top layers and sparse attention in remaining layers. MASFormer effectively captures both short-range and sparse long-range dependencies, significantly enhancing computational efficiency without compromising performance. Near-lossless KV cache compression for efficient generative inference. Generative inference in LLMs depends heavily on Key-Value (KV) caches, which can become memory-intensive as sequence length grows, leading to memory-bound inference and significantly reduced throughput. Existing compression methods, such as token dropping and quantization, introduce substantial approximation errors, resulting in substantial accuracy degeneration. In chapter 3, we introduce GEAR, an efficient error-reduction framework that augments ultra-low precision quantization with two error-reduction techniques. GEAR achieves near-lossless performance while significantly reducing memory consumption and improving inference throughput. Post-hoc attention steering to guide model attention. In human-written articles, we frequently relies on textual emphasis to direct reader's attention. However, existing LLMs typically process plain text without explicit mechanisms for attention guidance, limiting users' ability to steer model focus effectively. In chapter 4, we develop PASTA, a method allowing users to guide LLM attention through post-hoc attention steering. Without requiring retraining, PASTA significantly improves models' adherence to user instructions and integration of specified contextual information, enhancing model controllability and performance. Steerable prompting to imprve reading comprehension. LLMs often struggle with accurately comprehending extensive or complex contexts, leading to erroneous or hallucinated responses, especially problematic in open-book QA tasks. In chapter 5, we propose SteerPrompt, an inference-time prompting method that automatically identifies important contexts and explicitly highlights them by attention steering. SteerPrompt significantly improve model reading comprehension and accuracy in openbook QA tasks. Symphony of thoughts prompting to imporve mathematical reasoning. Existing reasoning methods in LLMs, like chain-of-thought prompting, sequentially solve subproblems, which can propagate errors and undermine accuracy, particularly in intricate mathematical modeling and optimization (MMO) problems. In chapter 6, we introduce Symphony of Thoughts (SoT), a parallel reasoning strategy that decomposes problems into simultaneously solvable subproblems, minimizing error propagation. SoT, validated through the newly proposed GEMMO benchmark, achieves greater robustness and accuracy in solving complex mathematical reasoning tasks."],"dc:description.degree":["Ph.D."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1853/77839"],"dc:language.iso":["en_US"],"dc:publisher":["Georgia Institute of Technology"],"dc:relation.advisorentity":["f1ca0ec4-da94-4fab-8a2f-3e6ae1f9b90b"],"dc:relation.orgunit":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","01ab2ef1-c6da-49c9-be98-fbd1d840d2b1"],"dc:subject":["Large Language Model","Self Attention Mechanism","Efficiency","Steerability","Reading Comprehension","Reasoning"],"dc:title":["On the Efficiency and Steerability of Self-Attention Mechanism of Large Language Models"],"dc:type":["Text","Dissertation"],"dspace:entity.type":["Publication"],"thesis:degree_level":["Doctoral"],"thesis:degree_program":["Machine Learning"]},"updated_at":"2026-11-19T06:02:44Z"}