Doctoral Thesis: Building Efficient Language Model Systems Across Training, Inference, and Human Interaction

Wednesday, December 2
2:00 pm - 3:00 pm

45-500A

Doctoral Thesis Title: Building Efficient Language Model Systems Across Training, Inference, and Human Interaction

Presenter: Lucas Torroba-Hennigen

Presenter’s affiliation: CSAIL

Thesis supervisor: Yoon Kim

Date: Wednesday, Dec 2

Time: 2pm

Location: 45-500A

Abstract:

Language models are powerful tools, but they are expensive to develop and use. This has created strong incentives to make them more efficient. However, the stages of the language model lifecycle—training, inference, and human interaction—are intertwined, so it is possible for an efficiency gain in one stage to re-emerge as an additional cost in another stage, and it is often hard to tell which improvements yield true end-to-end savings.

This talk covers three efficiency-focused modifications to language model systems, each targeting a different layer of the system: the optimizer, the model architecture, and the interface through which people use the system. For training, we prove that optimization under linear gradient transformations and optimization with additive linear adapters are equivalent, which lets techniques transfer between the two and suggests memory-efficient implementations for single-GPU as well as distributed pretraining. For inference, we propose token-gated sparse attention, which introduces learned gates that select a variable number of tokens to attend to, alongside kernels that translate this sparsity into up to 3.5× the decode throughput of dense attention, at the cost of additional compute during training. For human interaction, we propose SymGen, which generates text with symbolic references to structured source data; when coupled with a suitable user interface, this reduces the time that end users spend verifying generations by 20%. Together, these results show that efficiency gains are available at multiple layers of the system, and that judging them often requires looking at the language model lifecycle as a whole.

Details

  • Date: Wednesday, December 2
  • Time: 2:00 pm - 3:00 pm
  • Category:
  • Location: 45-500A