Back to search

Nanyang Technological University

Efficient learning and inference methods for large language models

Abstract

dc:description.abstract

The scale of Large Language Models (LLMs) has expanded dramatically in the recent years, with leading models now containing more than one trillion parameters. Pre-trained on vast general-domain corpora and aligned with human preferences, these models exhibit a broad understanding of language, enabling them to tackle a wide array of downstream real-world applications, from excelling in professional academic assessments to supporting complex decision-making processes in realworld production scenarios. This success has established the “pre-train, align, and apply” paradigm as the dominant framework in the Natural Language Processing (NLP) community. Despite the LLMs’ success, adapting these foundational models to specialized domains presents significant challenges. While pre-training and alignment are capitalintensive endeavors that are often undertaken by large organizations, the costs associated with applying these models to the specific real-world applications are borne by a much wider community. Specifically, the high costs of fine-tuning, inefficient adaptation to new use cases, and substantial inference latency collectively hinder their widespread adoption, particularly in resource-constrained or latency-sensitive environments. This thesis addresses these challenges by developing a series of efficient learning and inference methods for applying pre-trained LLMs. By focusing on the post-alignment application phase, we introduce novel methodologies targeting both stages of the machine learning pipeline to minimize computational overhead while preserving high task performance. In the learning stage, we address two primary challenges: the computational cost of adapting LLMs to new tasks and the tendency of models to forget pre-trained knowledge during this process (which also known as catastrophic forgetting). To address the first challenge, we propose a derivative-free optimization framework that efficiently learns both task-specific and cross-task knowledge without relying on gradient information. To mitigate the second challenge, we introduce SoftCoT, a continuous-space Chain-of-Thought (CoT) reasoning framework. SoftCoT employs a plug-in assistant model to generate soft thought tokens, transforming traditional CoT reasoning from the discrete natural language space into a continuous latent space for smoother and more flexible adaptation. In the inference stage, we tackle the following two corresponding challenges: the inefficiency of scaling reasoning capabilities at inference time and low throughput in large-batch deployment scenarios. For the first challenge, we extend our SoftCoT framework to SoftCoT++, which introduces a latent thought perturbation to enable efficient inference-time scaling directly in the continuous latent space rather than over discrete tokens. For the second challenge, we design an efficient datacentric approach that aggregates multiple samples within a batch, leveraging their reversible nature to decompose model outputs through a novel reversible adapter, thereby substantially improving inference throughput. In summary, this thesis presents a unified set of techniques for the efficient application of LLMs. Together, these contributions advance the scalable adaptation of large-scale language models in specialized domains, making powerful NLP applications more accessible and practical across a wider range of settings

Degree

thesis:*
College dc:contributor.school
College of Computing and Data Science
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Xu, Yige
Advisor dc:contributor.supervisor
  • Miao Chun Yan

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Xu, Yige. Efficient learning and inference methods for large language models. Nanyang Technological University, 2026. https://doi.org/10.32657/10356/214513