paper-with-me

홈 › Papers

Algorithmic Language Models with Neurally Compiled Libraries

2024-07-06 · Lucas Saldyt, Subbarao Kambhampati

Important tasks such as reasoning and planning are fundamentally algorithmic, meaning that solving them robustly requires acquiring true reasoning or planning algorithms, rather than shortcuts. Large Language Models lack true algorithmic ability primarily because of the limitations of neural network optimization algorithms, their optimization data and optimization objective, but also due to architectural inexpressivity. To solve this, our paper proposes augmenting LLMs with a library of fundamental operations and sophisticated differentiable programs, so that common algorithms do not need to be learned from scratch. We add memory, registers, basic operations, and adaptive recurrence to a transformer architecture built on LLaMA3. Then, we define a method for directly compiling algorithms into a differentiable starting library, which is used natively and propagates gradients for optimization. In this preliminary study, we explore the feasability of augmenting LLaMA3 with a differentiable computer, for instance by fine-tuning small transformers on simple algorithmic tasks with variable computational depth.

📄 PDF Abstract BibTeX arXiv:2407.04899

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

Leveraging Language to Learn Program Abstractions and Search Heuristics

2021-06-18 · Catherine Wong, Kevin Ellis, Joshua B. Tenenbaum, Jacob Andreas

Inductive program synthesis, or inferring programs from examples of desired behavior, offers a general paradigm for building interpretable, robust, and generalizable machine learning systems. Effective program synthesis …

Program Synthesis

Learning Libraries of Subroutines for Neurally–Guided Bayesian Program Induction

2018-12-01 · NeurIPS 2018 12 · Kevin Ellis, Lucas Morales, Mathias Sablé-Meyer, Armando Solar-Lezama 외

Successful approaches to program induction require a hand-engineered domain-specific language (DSL), constraining the space of allowed programs and imparting prior knowledge of the domain. We contribute a program …

Program inductionregressionSymbolic Regression

Assessing the Stylistic Properties of Neurally Generated Text in Authorship Attribution

2017-08-18 · E. Manjavacas, J. de Gussem, W. Daelemans, M. Kestemont

Recent applications of neural language models have led to an increased interest in the automatic generation of natural language. However impressive, the evaluation of neurally generated text has so far remained rather in…

AttributeAuthorship AttributionText Generation

Assessing the Stylistic Properties of Neurally Generated Text in Authorship Attribution

2017-09-01 · WS 2017 9 · Enrique Manjavacas, Jeroen De Gussem, Walter Daelemans, Mike Kestemont

Recent applications of neural language models have led to an increased interest in the automatic generation of natural language. However impressive, the evaluation of neurally generated text has so far remained rather in…

AttributeAuthorship AttributionData AugmentationLanguage Modeling+2

DeepDSL: A Compilation-based Domain-Specific Language for Deep Learning

2017-01-09 · Tian Zhao, Xiaobing Huang, Yu Cao

In recent years, Deep Learning (DL) has found great success in domains such as multimedia understanding. However, the complex nature of multimedia data makes it difficult to develop DL-based software. The state-of-the ar…

Deep LearningGPU