Abstract
Some of the most powerful language models currently are proprietary systems, accessible only via (typically restrictive) web or software programming interfaces. This is the Language-Models-as-a-Service (LMaaS) paradigm. In contrast with scenarios where full model access is available, as in the case of open-source models, such closed-off language models present specific challenges for evaluating, benchmarking, and testing them. This paper has two goals: on the one hand, we delineate how the aforementioned challenges act as impediments to the accessibility, replicability, reliability, and trustworthiness of LMaaS. We systematically examine the issues that arise from a lack of information about language models for each of these four aspects. We conduct a detailed analysis of existing solutions and put forth a number of considered recommendations, and highlight the directions for future advancements. On the other hand, it serves as a comprehensive resource for existing knowledge on current, major LMaaS, offering a synthesized overview of the licenses and capabilities their interfaces offer.
The Shift to Language-Models-as-a-Service
In the early days of the Transformer revolution, researchers typically enjoyed full access to model weights, training details, and infrastructure. Today, the state-of-the-art has moved behind paywalled APIs, ushering in the Language-Models-as-a-Service (LMaaS) paradigm. This shift creates a massive transparency gap: users often lack knowledge of the underlying architecture, training data, or even the specific version of the model being queried at any given moment.
This "black box" approach undermines core scientific tenets. If a model's behavior changes silently or if test sets are leaked into training data without disclosure, the validity of benchmarks is called into question. This paper formalizes these difficulties through the ARRT framework—Accessibility, Replicability, Reliability, and Trustworthiness—to offer a path forward for the research community.
The ARRT Framework: Challenges and Mitigations
To systematically address the LMaaS landscape, the challenges are grouped into four pillars:
- Accessibility: Legal and financial barriers, including the "Tokenization Tax" where pricing models based on tokens disproportionately penalize low-resource languages (costing up to 15x more than English for the same semantic content).
- Replicability: Issues with non-determinism and silent versioning. Even at zero "temperature," many models remain non-deterministic due to hardware optimizations or Sparse Mixture of Experts (MoE) architectures.
- Reliability: The pervasive issue of data contamination. Because LMaaS providers scrape the web, standard benchmark questions (e.g., HELM, BIG-bench) are likely already in the training sets.
- Trustworthiness: The lack of true interpretability. In LMaaS, an "explanation" is often just more text generated by the model (conditioned prompts) rather than a look at internal logic.
Data Contamination and Benchmarking
The paper highlights a growing crisis in evaluation. Beyond standard contamination, the authors identify "user contamination," where researcher prompts sent to an API are used to train subsequent model versions, further muddying evaluation results. Furthermore, the cost of benchmarking is growing at a cubic rate relative to the number of models, datasets, and metrics, making traditional evaluation unsustainable for many labs.
License Dominance and Industry Trends
A systematic analysis of the current landscape reveals a significant shift in how AI is shared. While approximately 50% of models on platforms like HuggingFace utilize permissive Apache-2.0 licenses, the most commercially impactful models are increasingly moving toward restrictive, proprietary "available-weights" or API-only models.
Provider transparency remains fragmented. While some entities like OpenAI and Google allow data opt-outs for certain users, others maintain rigid data collection policies for training. This "continuous delivery" model leads to the "GPT-4 Unicorn" effect, where a benchmark result from one month may be irreproducible just weeks later due to silent updates.
Recommendations and Future Directions
To ensure proprietary models remain scientifically accountable, the authors propose a tentative research agenda:
- Model Commits: Implementing a system where every API response includes a unique hash representing the exact model state.
- Contamination Registries: Creating a centralized, vetted repository where researchers can check if their test data has been ingested without requiring access to private training sets.
- Uncertainty-Aware Evaluation: Developing new statistical methods to evaluate non-deterministic models that account for the inherent "noise" in API responses.
While these solutions currently rely on the voluntary cooperation of major providers, they represent necessary steps toward restoring transparency and reliability in the era of LMaaS.
Summary updated