Saved in:
Bibliographic Details
Main Authors: Bae, Henry, Deeb, Aghyad, Fleury, Alex, Zhu, Kehang
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.11511
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909348620402688
author Bae, Henry
Deeb, Aghyad
Fleury, Alex
Zhu, Kehang
author_facet Bae, Henry
Deeb, Aghyad
Fleury, Alex
Zhu, Kehang
contents We present ComplexityNet, a streamlined language model designed for assessing task complexity. This model predicts the likelihood of accurate output by various language models, each with different capabilities. Our initial application of ComplexityNet involves the Mostly Basic Python Problems (MBPP) dataset. We pioneered the creation of the first set of labels to define task complexity. ComplexityNet achieved a notable 79% accuracy in determining task complexity, a significant improvement over the 34% accuracy of the original, non fine-tuned model. Furthermore, ComplexityNet effectively reduces computational resource usage by 90% compared to using the highest complexity model, while maintaining a high code generation accuracy of 86.7%. This study demonstrates that fine-tuning smaller models to categorize tasks based on their complexity can lead to a more balanced trade-off between accuracy and efficiency in the use of Large Language Models. Our findings suggest a promising direction for optimizing LLM applications, especially in resource-constrained environments.
format Preprint
id arxiv_https___arxiv_org_abs_2312_11511
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle ComplexityNet: Increasing LLM Inference Efficiency by Learning Task Complexity
Bae, Henry
Deeb, Aghyad
Fleury, Alex
Zhu, Kehang
Computation and Language
Artificial Intelligence
Machine Learning
We present ComplexityNet, a streamlined language model designed for assessing task complexity. This model predicts the likelihood of accurate output by various language models, each with different capabilities. Our initial application of ComplexityNet involves the Mostly Basic Python Problems (MBPP) dataset. We pioneered the creation of the first set of labels to define task complexity. ComplexityNet achieved a notable 79% accuracy in determining task complexity, a significant improvement over the 34% accuracy of the original, non fine-tuned model. Furthermore, ComplexityNet effectively reduces computational resource usage by 90% compared to using the highest complexity model, while maintaining a high code generation accuracy of 86.7%. This study demonstrates that fine-tuning smaller models to categorize tasks based on their complexity can lead to a more balanced trade-off between accuracy and efficiency in the use of Large Language Models. Our findings suggest a promising direction for optimizing LLM applications, especially in resource-constrained environments.
title ComplexityNet: Increasing LLM Inference Efficiency by Learning Task Complexity
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2312.11511