Octopus v4: Graph of language models
Not on the map. Why?
Abstract (arXiv)
Language models have been effective in a wide range of applications, yet the most sophisticated models are often proprietary. For example, GPT-4 by OpenAI and various models by Anthropic are expensive and consume substantial energy. In contrast, the open-source community has produced competitive models, like Llama3. Furthermore, niche-specific smaller language models, such as those tailored for legal, medical or financial tasks, have outperformed their proprietary counterparts. This paper introduces a novel approach that employs functional tokens to integrate multiple open-source models, each optimized for particular tasks. Our newly developed Octopus v4 model leverages functional tokens to intelligently direct user queries to the most appropriate vertical model and reformat the query to achieve the best performance. Octopus v4, an evolution of the Octopus v1, v2, and v3 models, excels in selection and parameter understanding and reformatting. Additionally, we explore the use of graph as a versatile data structure that effectively coordinates multiple open-source models by harnessing the capabilities of the Octopus model and functional tokens. Use our open-sourced GitHub (https://www.nexa4ai.com/) to try Octopus v4 models (https://huggingface.co/NexaAIDev/Octopus-v4), and contrite to a larger graph of language models. By activating models less than 10B parameters, we achieved SOTA MMLU score of 74.8 among the same level models.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 28 of its 50 references that are in the map. First posted on arXiv 30 Apr 2024.
Builds on
28 of 50 references.
References · 28
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2017Graph Attention Networkscited by 8,923
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2023Qwen Technical Reportcited by 3,344
- 2023Mistral 7Bcited by 3,164
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
- 2019Simplifying Graph Convolutional Networkscited by 1,477
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
16 more
- 2023BloombergGPT: A Large Language Model for Financecited by 939
- 2021How Attentive are Graph Attention Networks?cited by 835
- 2024Yi: Open Foundation Models by 01.AIcited by 719
- 2024OLMo: Accelerating the Science of Language Modelscited by 613
- 2024Smaug: Fixing Failure Modes of Preference Optimisation with DPO-Positivecited by 241
- 2023SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scalingcited by 172
- 2023The Science of Detecting LLM-Generated Textscited by 128
- 2023Chatlaw: A Multi-Agent Legal Assistant based on a Role-Aligned Mixture-of-Experts Architecturecited by 122
- 2024OpenELM: An Efficient Language Model Family with Open Training and Inference Frameworkcited by 75
- 2023Adapting Large Language Models to Domains via Reading Comprehensioncited by 50
- 2024Octopus v2: On-device language model for super agentcited by 47
- 2024sDPO: Don't Use Your Data All at Oncecited by 46
- 2020Mind Your Weight(s): A Large-scale Study on Insufficient Machine Learning Model Protection in Mobile Appscited by 36
- 2024Octopus: On-device language model for function calling of software APIscited by 27
- 2024Octopus v3: Technical Report for On-device Sub-billion Multimodal AI Agentcited by 7
- 2023Multi-Agent Reinforcement Learning: Methods, Applications, Visionary Prospects, and Challengescited by 5
Built on by
Citing papers per year: 2024: 7; 2025: 3; 2026: 1.
11 papers.
- 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasetscited by 198
- 2024Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaborationcited by 189
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 162
- 2024On-Device Language Models: A Comprehensive Reviewcited by 104
- 2024Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuningcited by 42
- 2025AutoNeural: Co-Designing Vision-Language Models for NPU Inferencecited by 17
- 2024Exposing the Achilles' Heel: Evaluating LLMs Ability to Handle Mistakes in Mathematical Reasoningcited by 13
- 2024Harnessing Business and Media Insights with Large Language Modelscited by 7
- 2025Quality-of-Service Aware LLM Routing for Edge Computing with Multiple Expertscited by 7
- 2026OmniScience: A Large-scale Multi-modal Dataset for Scientific Image Understandingcited by 5
- 2025Towards Pervasive Distributed Agentic Generative AI -- A State of The Artcited by 4
- 2026OmniScience: A Large-scale Multi-modal Dataset for Scientific Image Understanding14 Feb 2026
- 2025AutoNeural: Co-Designing Vision-Language Models for NPU Inference2 Dec 2025
- 2025Quality-of-Service Aware LLM Routing for Edge Computing with Multiple Experts1 Aug 2025
- 2025Towards Pervasive Distributed Agentic Generative AI -- A State of The Art16 Jun 2025
- 2024Large Language Model-Brained GUI Agents: A Survey27 Nov 2024
- 2024Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning16 Oct 2024
- 2024On-Device Language Models: A Comprehensive Review26 Aug 2024
- 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets26 Jun 2024
- 2024Exposing the Achilles' Heel: Evaluating LLMs Ability to Handle Mistakes in Mathematical Reasoning16 Jun 2024
- 2024Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaboration3 Jun 2024
- 2024Harnessing Business and Media Insights with Large Language Models2 Jun 2024