Evaluating Efficiency for Integrating Large Language, Small Language and Computer Vision Models into a Data Pipeline for an Autonomous Mobile Rover

An Application Programming Interface (API) is a script that connects various programs to communicate with one another through the use of endpoints. A few common APIs include: FastAPI, designed for developing high-performance, low-latency APIs; Flask, a lightweight and flexible microframework; and Bottle, an even smaller microframework without external dependencies. However, it is crucial to understand how these APIs perform in the context of LLMs, SLMs, and CV models for developing high-efficiency APIs, crucial for mobile autonomous rovers as tested in this project. To create the data pipeline, a GUI was developed using Streamlit, serving as a base for the APIs, which implemented the POST method when called by the app, thereby returning either waypoints for the rover or obstacles from the rover’s camera (APIs were used to bridge an SLM, LLM, and two CV models to the app). We use Apache’s Jmeter to stress test the APIs, where 100 virtual users were introduced over 20 seconds to perform the test 10 times. For the SLM we find response times of 2228.5 ms for BottleAPI, 145591.9 ms for FastAPI, and 156639.9 ms for FlaskAPI for the SLM, while for the YOLO model, we found response times of 1533.6 ms for BottleAPI, 15861.6 ms for FastAPI, and 12359.7 ms for FlaskAPI. However, BottleAPI was unable to handle many requests in both cases. It was therefore concluded that FastAPI and FlaskAPI seemed to be the most efficient for collecting waypoints via language models, and obstacles via Computer Visions Models, respectively.

Institutions

Publication Details

Journal
George Mason University
Published
2025-09-18
DOI
https://doi.org/10.13021/jssr2025.5280
Primary Topic
Robotics and Sensor-Based Localization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating Efficiency for Integrating Large Language, Small Language and Computer Vision Models into a Data Pipeline for an Autonomous Mobile Rover

George Mason University
Robotics and Sensor-Based Localization
article

Evaluating Efficiency for Integrating Large Language, Small Language and Computer Vision Models into a Data Pipeline for an Autonomous Mobile Rover

article en

Abstract

An Application Programming Interface (API) is a script that connects various programs to communicate with one another through the use of endpoints. A few common APIs include: FastAPI, designed for developing high-performance, low-latency APIs; Flask, a lightweight and flexible microframework; and Bottle, an even smaller microframework without external dependencies. However, it is crucial to understand how these APIs perform in the context of LLMs, SLMs, and CV models for developing high-efficiency APIs, crucial for mobile autonomous rovers as tested in this project. To create the data pipeline, a GUI was developed using Streamlit, serving as a base for the APIs, which implemented the POST method when called by the app, thereby returning either waypoints for the rover or obstacles from the rover’s camera (APIs were used to bridge an SLM, LLM, and two CV models to the app). We use Apache’s Jmeter to stress test the APIs, where 100 virtual users were introduced over 20 seconds to perform the test 10 times. For the SLM we find response times of 2228.5 ms for BottleAPI, 145591.9 ms for FastAPI, and 156639.9 ms for FlaskAPI for the SLM, while for the YOLO model, we found response times of 1533.6 ms for BottleAPI, 15861.6 ms for FastAPI, and 12359.7 ms for FlaskAPI. However, BottleAPI was unable to handle many requests in both cases. It was therefore concluded that FastAPI and FlaskAPI seemed to be the most efficient for collecting waypoints via language models, and obstacles via Computer Visions Models, respectively.

George Mason University
George Mason University (US)
Industry, innovation and infrastructure
Openalex Percentile: Top 34%
Robotics and Sensor-Based Localization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.