Model Evaluation | Hokstad Consulting

Model Evaluation

Blog posts in the Model Evaluation category

How RAG Systems Resolve Conflicting Source Evidence

How RAG systems detect and reconcile conflicting sources by comparing claims, grouping evidence by scope and authority, and verifying citations.

Read more

Tool Contract Tests vs End-to-End Tests for AI Agents

Catch interface drift with contract tests, then use sandboxed end-to-end tests to verify agent decisions, state and safe recovery.

Read more

Generative AI Output End-User Licence Agreements

Grant only the rights your product can actually deliver; map output, input and liability controls before UK AI launch.

Read more

Memory Retrieval Tests Track Agent Answer Quality

A correct answer doesn't prove memory retrieval — test retrieval, answers, latency and cost separately before release.

Read more

BackdoorBench: Attack and Defence Testing for AI Teams

Benchmark image-classification backdoors with repeatable tests measuring ASR, clean accuracy and compute cost across attacks and defences.

Read more

Speculative Tool Execution: When Does It Pay Off?

Speculative tool calls save latency only when slow, predictable reads outweigh wasted work—pilot read‑only tests and measure accuracy and cost.

Read more

Reflexion Memory: How Agents Store and Reuse Lessons

How agents store, select and test reusable task lessons while enforcing tenant isolation, token budgets and validation.

Read more

How Much GPU Memory Does LLM Fine-Tuning Need?

Plan VRAM for 7B–70B LLM fine-tuning: compare full fine-tuning, LoRA and QLoRA, test peak allocations and budget headroom.

Read more

Self-Questioning Prompts for RAG: Checking Evidence

15 self-questioning prompts to verify RAG sources: map claims to passages, check conflicts and decide to answer, qualify, retrieve or abstain.

Read more

Deep k-NN Flags Clean-Label Poisoning in Embeddings

Flag label–embedding mismatches with deep k‑NN, quarantine suspected samples for review, and validate settings before removing data.

Read more

AI Roadmaps: Linking Business Vision to Deployment

Start with measurable business targets, verify data and controls, run phased pilots and decision gates for safe AI deployment.

Read more

Supervisor-Led Agent Teams: Cost and Latency Trade-Offs

Measure £/successful answer and P50/P95 usable-answer time to decide when supervisor-led agent teams justify extra cost and delay.

Read more