Research
Making AI more reliable starts with understanding what goes wrong.
At Nugen, we investigate the signals behind hallucinations, factuality, and domain drift to understand how language models can produce more reliable responses at inference time.
Explore Our ResearchNugen's AI scientists ship their research to the API continuously.
How It Works
Nugen builds on three research areas: representation engineering, mechanistic interpretability and inference-time control. They show up as two layers of alignment.
Train-Time Alignment
Gradient-free and gradient-based methods align a base model to your knowledge, through continued pre-training, supervised learning and reinforcement learning.
Inference-Time Alignment
Nugen measures each step of generation, flags out-of-domain spans, corrects them after each span and returns a confidence score.
Our team of AI scientists from Stanford University and IIT Bombay has published at ICLR, NeurIPS and ICML.
Inference-Time Trajectory Selection for Truthful Generation
Research TeamLarge language models produce factually incorrect statements even when they hold the correct knowledge in their parameters. Seven inference-time control approaches were tested before one passed with a bootstrap confidence interval reliably above zero. The final design keeps the model's near-greedy output and only swaps to a sampled alternative when a per-layer factuality probe confirms the alternative is clearly better by a margin. No hidden states or logits are perturbed.
The LongFact++ Real-Hallucination Probe
Research TeamSynthetic hallucination benchmarks are convenient but their probes do not transfer to real model outputs. A direct test confirmed this. A probe trained on V3 synthetic mutations achieved Area Under the Receiver Operating Characteristic curve (AUROC) 0.79 to 0.82 on synthetic data but produced null Pearson correlation against Natural Language Inference (NLI) factuality on real generations. The V3 training distribution did not match real failure modes. This triggered a full pipeline rebuild on real hallucinations using the LongFact++ benchmark.
The Tree-Haar Multi-Resolution Domain Manifold
Research TeamThe domain detection manifold uses a mathematical insight more commonly found in statistical physics. The Haar-like wavelet basis of Gavish, Nadler, and Coifman (2010, ICML 2010) decomposes a linguistic tree (paragraph, sentence, token) into multi-resolution components without discarding structural information the way mean-pooling does.
The HARP Reasoning Subspace - Unsupervised Detection Matching Supervised Baselines
Research TeamThe domain manifold uses the Hidden Activation Reasoning Projection (HARP) of Hu et al. (2025, arXiv 2509.11536) to decompose the unembedding matrix into a token-prediction surface and an orthogonal reasoning subspace. At each transformer layer, hidden states are projected into this subspace and a per-layer Gaussian with full precision matrix is fitted on calibration corpus paragraphs.
References
- Hu, Li, Liu, Jin, Xie, Chen, and Gao (2025). HARP: Uncovering Human-Like Reasoning Subspace in Hidden States of Language Models. arXiv 2509.11536
- Obeso, Nandakumar, Ahmad, Sukumaran, Khetan, Oyedele, and Bhat (2025). PD-LLR: Prompt-Driven Multi-Level Hallucination Detection for LLMs. arXiv 2509.03531
- Min, Krishna, Lyu, Lewis, Yih, Koh, Iyyer, Hajishirzi, and others (2023). FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation. arXiv 2305.14251
- Gavish, Nadler, and Coifman (2010). Multiscale Wavelets on Trees. ICML 2010