paper-with-me

Papers

Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Calling

2025-04-27 · Ishan Kavathekar, Raghav Donakanti, Ponnurangam Kumaraguru, Karthik Vaidhyanathan

Function calling is a complex task with widespread applications in domains such as information retrieval, software engineering and automation. For example, a query to book the shortest flight from New York to London on January 15 requires identifying the correct parameters to generate accurate function calls. Large Language Models (LLMs) can automate this process but are computationally expensive and impractical in resource-constrained settings. In contrast, Small Language Models (SLMs) can operate efficiently, offering faster response times, and lower computational demands, making them potential candidates for function calling on edge devices. In this exploratory empirical study, we evaluate the efficacy of SLMs in generating function calls across diverse domains using zero-shot, few-shot, and fine-tuning approaches, both with and without prompt injection, while also providing the finetuned models to facilitate future applications. Furthermore, we analyze the model responses across a range of metrics, capturing various aspects of function call generation. Additionally, we perform experiments on an edge device to evaluate their performance in terms of latency and memory usage, providing useful insights into their practical applicability. Our findings show that while SLMs improve from zero-shot to few-shot and perform best with fine-tuning, they struggle significantly with adhering to the given output format. Prompt injection experiments further indicate that the models are generally robust and exhibit only a slight decline in performance. While SLMs demonstrate potential for the function call generation task, our results also highlight areas that need further refinement for real-time functioning.

📄 PDF Abstract BibTeX arXiv:2504.19277

Code (1)

Raghav010/Small-Models-Big-Tasks 공식 구현 pytorch

Tasks

Information Retrieval

Similar Papers 제목 키워드 기반

The cognitive companion: a lightweight parallel monitoring architecture for detecting and recovering from reasoning degradation in LLM agents

2026-04-15 · Rafflesia Khan, Nafiul Islam Khan arxiv

Large language model (LLM) agents on multi-step tasks suffer reasoning degradation, looping, drift, stuck states, at rates up to 30% on hard tasks. Current solutions include hard step limits (abrupt) or LLM-as-judge moni…

Can LLMs Generate Architectural Design Decisions? -An Exploratory Empirical study

2024-03-04 · Rudra Dhar, Karthik Vaidhyanathan, Vasudeva Varma

Architectural Knowledge Management (AKM) involves the organized handling of information related to architectural decisions and design within a project or organization. An essential artifact of AKM is the Architecture Dec…

HAEPO: History-Aggregated Exploratory Policy Optimization

2025-08-26 · Gaurish Trivedi, Alakh Sharma, Kartikey Singh Bhandari, Dhruv Kumar 외 arxiv

Exploration is essential in modern learning, from reinforcement learning environments with small neural policies to large language models (LLMs). Existing work, such as DPO, leverages full sequence log-likelihoods to cap…

Reinforcement Learning

LLMParser: An Exploratory Study on Using Large Language Models for Log Parsing

2024-04-27 · Zeyang Ma, An Ran Chen, Dong Jae Kim, Tse-Hsun Chen 외

Logs are important in modern software development with runtime information. Log parsing is the first step in many log-based analyses, that involve extracting structured information from unstructured log data. Traditional…

Log Parsing

Large Language Models as Universal Predictors? An Empirical Study on Small Tabular Datasets

2025-08-24 · Nikolaos Pavlidis, Vasilis Perifanis, Symeon Symeonidis, Pavlos S. Efraimidis arxiv

Large Language Models (LLMs), originally developed for natural language processing (NLP), have demonstrated the potential to generalize across modalities and domains. With their in-context learning (ICL) capabilities, LL…