Skip to main content
NC State Home

A Narrative Walkthrough of the LLMming Explorer Prototype (with Videos)

Rockfish Research logo and Kip the agentic assistant lemming mascot wearing a backpack and holding a walking stick

Project team members:

  • Chris Argenta (Rockfish Research)
  • Aaron W., Emily D., Irene B., Mike G., and Steven S., Jascha Swisher, John Slankas (Laboratory for Analytic Sciences)

LLMming Explorer is a tool for performing robust validation of large language models for use in specific applications. It helps evaluators find conditions where an LLM exhibits unexpected or undesirable behaviors before they deploy it to production. During your first time using LLMming Explorer, it will automatically start the new project wizard. This wizard can walk you through the entire LLMming process in these steps: 

  1. Project Overview – Naming your project and add a description. This information is only used to distinguish your projects and inform users of the purpose of that project. You can think of a project as the experiment that you are setting up.
  2. Models and Model Services – This is where you will configuration the various servers, LLM models, and configuration options that you will be evaluating in this project. You should plan to configure at least two (a basis model and the comparate model), but you can add more. In experimental terms, these are your independent variables.
  3. Create a Domain – Domains are trees that represent the concepts and prompts that are relevant for your specific application. You will have the option to start with a blank domain, use AI to generate a domain based on your seed concepts, import a domain from a file, or reuse an existing domain from a different project. You can have more than one domain, and that is recommended if you have a lot of concepts to evaluate. Domains are your experiment’s moderating variables; they clarify where behaviors occur conceptually.
  4. Select Analytics – Here you select the scores and comparisons that you want to compute to compare the performance of models on your domain. Some analytics require your select an LLM model to use as-a-judge. Each analytic includes several analytic factors, each of which is a single test with measure between zero (low in that factor) and one (high in that factor) or not applicable (NA). Experimentally, these are the dependent variables.
  5. Execute Sampling – At this step you can start running the data collection process of sampling each combination of model configuration and domain prompt, and your analytics will automatically run afterwards. This will usually take a long time to complete.

After these five steps of the wizard are complete, you will have a completed project with results, and you will see the domain tree in LLMming Explorer’s main window. At the top, you will see the currently selected project, domain, basis model, comparate model selections. You can begin analyzing the results by selecting any node in the tree, which opens a details panel that includes actions you can perform on that node and the analytic results for that node. You could also recolor the tree based on analytic differences between the basis and comparate models to make it easy to locate significant differences. Finally, you can use Kip (LLMmings integrated agentic AI assistant) to help you analyze, fix, and summarize your project.

Getting started with a Project

LLMming Explorer organizes your work into individual projects, each an experiment. You can have multiple projects, each groups the relevant domains, model configurations, data, and results. One project is active at a time, and you select it with the project (flask icon) Under the maintenance tools (wrench icon in top menu) there is modify projects tool to help you manage the currently selected project to modify/delete the components of a project.

Figure 1: The project-related items in the top menu of LLMming Explorer user interface.

Projects can be imported and exported in JSON.gz or Excel formats for archiving or moving between systems. Since LLMming Explorer can run as both a browser-local application or backed by a shared LLMming server, projects provide an excellent method for archiving and sharing projects. The first time you start LLMming Explorer, you will automatically be presented by a project creation wizard. This wizard can walk you through the entire validation process – or you can drop out any time to manually create the project you want.

Domain trees: conceptually organizing prompts and tailoring to what is covered

In LLMming, you describe your application’s subject area as a “domain” which is a hierarchy of topics with prompts about that concept (Figure 2). More abstraction towards the top, and more detail towards the bottom. The hierarchy allows every score and comparison to aggregate up that tree. Instead of reporting “the model scored a 72% overall,” a domain tree shows you how a model behaves when working with given topics. A built-in semantic check helps you optimize your domain tree, ensuring reasonable abstractions.

Figure 2: A domain tree colored by node type. Blue square is the root/top of domain, yellow diamonds are domain concepts, red circles are prompts, and green circles are responses (outline colored for if response is for basis (blue) or comparate model (orange))

Creating a domain tree is easy, you can:

  • Generate it with AI: LLMming Explorer incorporates a domain generation wizard that walks you through the process of specifying a few seed concepts and desired sizing, and then automatically generates a domain tree to your specification – complete with semantically organized subtopics and prompts while automatically avoiding duplicates and overlapping branches. Generating a domain automates the slowest part of validation, assembling a test set. In minutes, you can go from a blank page and a few general concepts to a fully built out domain that you start using, editing, or expanding.
  • Bring your own data: LLMming Explorer can automatically import existing data into a domain. Already have benchmarks or curated question sets? LLMming Explorer parses Inspect AI Sample format files (https://inspect.aisi.org.uk/) sample files in JSON, JSONL or CSV directly. It creates one topic per category, and each sample’s target answer is retained and used in the “correctness” analytics. Your existing evaluation assets become validation assets, and you can measure correctness and behavior side by side in one project.

For any data not in a known format, such as a bespoke spreadsheet, a excel file, or a text Q&A dump, the import wizard hands the file to LLMming Explorer’s own agentic AI, Kip. Kip reads it, proposes a column mapping and a hierarchy, waits for confirmation, and then builds the tree.

Compare anything: model families, versions, options, personas and languages

In LLMming Explorer, a “model configuration” combines a model hosted by a model service, a persona (system prompt), a set of sampling options with a sample size, and optionally a language (translation happens automatically before and after LLM calls, so native data is stored in English and can be translated to a range of languages as needed). You can connect OpenAI-compatible REST services or locally hosted Ollama services straight from your browser. One project handles many parametric runs with the same prompts and evaluates them all with the same analytics.

For comparative validation, we are always comparing two model configurations – the “basis” is usually the baseline or previous model, and the “comparate” model is the one we want to compare to that basis model. A project can include many model configurations, but to get started selecting two is enough to start doing for comparisons.

Each model configuration includes:

  • A user defined name, so outputs reflect something that makes sense in your project. This is how LLMming Explorer will refer to this model configuration in all graphs and outputs.
  • An LLM model that is available through any of the model services that you have setup. After configuring a model service, the available models will automatically be populated in the drop down menu for model (and grouped by model service).
  • A set of LLM options, that tune your LLM model as you wish, for example setting a temperature. Saving a set of options ensures they stay the same when reused.
  • A persona (or system prompt) that allows you to direct the LLM’s behavior in context. Once a persona is created, it can also be reused in multiple model configurations.
  • A language translation can also be set. By default, LLMming uses English, but by setting a translation language, all text will automatically be translated before being sending it to the LLM, and the responses will be translated back to English for analysis. The translated versions of prompts and responses are also stored, and prompts can be edited and resent if needed. For details on LLMming Translation Services, see the full server guides.

Analytics to Evaluate and Compare Behaviors

LLMming Explorer ships with 20 built in analytics (general types of behaviors) with well over a hundred total individual factors (specific evaluation measures for that behavior). They are a mix of algorithmic and LLM-as-judge analytics and include scores (evaluates each response individually) and comparisons (evaluates the comparate response with respect to the basis response). 

  • Algorithmic factors run deterministically as pure code, cost no tokens, and give exactly repeatable results. For example: readability formulas and phrase-repetition ratios, PII pattern detection and code hygiene checks, embedding similarity, exact-match and edit-distance correctness against a reference answer
  • LLM-as-a-judge factors use a judge model you choose to score qualities that are difficult to evaluate algorithmically. For example: evasiveness, reasoning, domain knowledge, bias, and more.
  • Alignment Axes are a unique way to define new analytic factors by defining two example responses (zero and one) around which the analytic builds an axis in embedding space and maps any response to where they map between those semantic poles.

Analytic Results that explain themselves

LLMming Explorer manages prompts, responses, models, and analytics. Clicking on the domain tree shows analytic results for the selected node. Clicking on analytics drills down the scores for the contributing factors. To see where and how configurations differ, you can:

  • Color the domain tree by any factor’s basis-versus-comparate difference, so problem areas stand out. (Figure 3)
  • For a give domain concept or prompt, compare model-to-model and model-to-domain differences as heatmaps (or radar charts) to investigate what contributed to aggregated results. (Figure 4)
  • Review responses side by side to compare text or render a heatmap over response text to show where the analytic flagged various behaviors.
Figure 3: A domain tree colored by an analytic result difference. This colors the nodes (red, orange, and yellow) based on differences or grey if not applicable.
Figure 4: Screen capture of some analytic results for the selected domain node. The heatmaps show the overall comparison between basis and comparate and the aggregated scores for any child domain. The comparison plot shows the analytics run (sorted with largest differences first), these show the comparate has higher evasiveness and bias. Selecting either bar will show the results for the individual factors under each analytic.
Figure 5: Screen capture showing the responses side by side (basis on left, comparate on right). Individual responses can also be examined with a Markup Map to see how individual sentences scored on specific analytic factors.

Kip: a built-in agentic AI validation partner that knows its way around

Kip is an agentic assistant that runs inside LLMming Explorer. You can configure which LLM model it uses, and it has a variety of built-in skills and application-specific tools. For example, Kip can be very helpful in:

  • Generating domain trees and optimizing their structure and meaning
  • Importing data from other sources
  • Searching for and editing prompts
  • Explaining analytics results
  • Finding and reporting on examples based on your criteria

Kip has access to LLMming Explorer’s full documentation. This includes processes related to comparative validation and details about each analytic. Kip knows what each factor measures and how to interpret it. An icon is located near each analytic result to “Ask Kip to explain these”. Kip ranks the differences, explains what they mean, and points you to the responses that best illustrate them. It checks the database before claiming something is done, and it asks for your approval before deleting or moving anything. Kip gives you expert guidance on structuring a domain and reading the results without having to become an expert in evaluation methodology.

Figure 6: Kip is LLMming Explorer’s build-in agentic AI assistant. Kip has access to documentation about comparative validation, details of the analytics, and a variety of skills and tools designed to interoperate seamlessly with LLMming Explorer. You can configure which LLM model Kip uses, export conversations as Markdown to include in write-ups, and even teach it new skills to better suite your validation process.

This material is based upon work supported in whole or in part with funding from the Department of Defense (DoD). Any opinions, findings, conclusions, or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the DoD and/or any agency or entity of the United States Government.