MétaCan
Menu
Back to cohort
Record W6991580861

High-level static optimizations for efficient differentiable programming in MLIR

2023· dissertation· en· W6991580861 on OpenAlexaff

Bibliographic record

VenueeScholarship@McGill (McGill) · 2023
Typedissertation
Languageen
FieldComputer Science
TopicAdvanced Database Systems and Queries
Canadian institutionsMcGill University
Fundersnot available
KeywordsSet (abstract data type)Differentiable functionSoftwareComputation
DOInot available

Abstract

fetched live from OpenAlex

Automatic differentiation (AD) is ubiquitous in the training of deep neural networks and other machine learning tasks.The emerging field of differentiable programming has recently found success in generalizing deep learning by applying gradient-based optimization via AD to increasingly sophisticated applications in a diverse array of fields [1][2][3][4][5].However, the most popular tools for AD are hyper-specialized to deep learning workloads.The performance of both the AD process itself and the resulting differentiated code suffer as applications veer further away from deep neural networks.The most popular AD tools also perform differentiation at runtime, which incurs runtime overhead with each of the potential millions of gradient descent steps.Some of these issues can be mitigated through performing ahead-of-time AD in a compiler.However, existing compiler-based methods predominantly operate on low-level compiler intermediate representations (IRs) that lose context and information after being lowered from the original program.Additionally, the most common form of AD incurs an asymptotically large memory cost relative to the original program, regardless of if the AD procedure is done at compile time or run time.To address these challenges, this thesis introduces LAGrad, a reverse-mode, compile time AD system that leverages high-level information in MLIR to produce efficient differentiated code.LAGrad employs a collection of novel static optimizations that benefit from the semantics of high-level MLIR dialects to exploit the sparsity and structured control flow of generated code.Using these, LAGrad is able to achieve speedups of up to 2.8 and use 35 less memory relative to state of the art AD systems on real-world machine learning and computer vision benchmarks.LAGrad is the first tool to the authors' knowledge to exploit the structure and sparsity inherent in AD through static optimizations in a compiler.I would like to extend my deepest gratitude to my advisor, Professor Christophe Dubach, for his wisdom and continued support throughout my Master's degree.His guidance was instrumental in shaping me into the researcher that I am today,

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame distilled prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. Learned from the 10,348 direct Codex labels and 10,348 direct Gemma labels. Candidate is the union of thresholded teacher heads; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels or direct frontier model labels.

metaresearch head score (Codex)0.001
metaresearch head score (Gemma)0.001
Version: codex-gemma-dda1882f352aValidation status: machine_predicted_unvalidated
Candidate categoriesMeta-epidemiology (narrow)
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Theoretical or conceptual · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: none
Teacher disagreement score0.743
Threshold uncertainty score1.000

Codex and Gemma teacher scores by category

CategoryCodexGemma
Metaresearch0.0010.001
Meta-epidemiology (narrow)0.0010.001
Meta-epidemiology (broad)0.0010.000
Bibliometrics0.0010.001
Science and technology studies0.0010.000
Scholarly communication0.0000.001
Open science0.0010.000
Research integrity0.0000.001
Insufficient payload (model declined to judge)0.0000.000

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.028
GPT teacher head0.266
Teacher spread0.237 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one teacher head, not a consensus.

Study designTheoretical or conceptual
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2023
Admission routes1
Has abstractyes

Explore more

Same venueeScholarship@McGill (McGill)Same topicAdvanced Database Systems and QueriesFrench-language works237,207