Skip to content
#

transformer-analysis

Here is 1 public repository matching this topic...

Layer-wise Semantic Dynamics (LSD) is a model-agnostic framework for hallucination detection in Large Language Models (LLMs). It analyzes the geometric evolution of hidden-state semantics across transformer layers, using contrastive alignment between model activations and ground-truth embeddings to detect factual drift and semantic inconsistency.

  • Updated Oct 28, 2025
  • Python

Improve this page

Add a description, image, and links to the transformer-analysis topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the transformer-analysis topic, visit your repo's landing page and select "manage topics."

Learn more