Publikasjoner
-
Grundetjern, Morten; Voigt, Jakob; Andersen, Per-Arne & Goodwin, Morten
(2026).
DESS: A Robust Uncertainty Layer for Embedding-Space Models.
Künstliche Intelligenz.
ISSN 0933-1875.
doi:
10.1007/s13218-026-00919-x.
Fulltekst i vitenarkiv
Vis sammendrag
Embedding-space systems usually retrieve, rank, or recommend from a single point representation, even when the task would benefit from uncertainty or controlled diversity. We introduce DESS, a lightweight uncertainty layer that augments an existing embedding model with a predicted mean vector and an independent per-dimension spread vector. DESS is trained with deterministic element-wise losses, requires no sampling during training, and maps inference-time samples back to available outputs by nearest-neighbor selection, leaving the trained predictor decoupled from a fixed output dictionary. The central question is whether such a simple diagonal uncertainty layer is meaningful and safe in high-dimensional embedding spaces. We show that the learned spread captures real local geometry: on 20 Newsgroups sentence-transformer embeddings, it is strongly rank-correlated with empirical within-class variation (Spearman $$\rho = 0.94$$ ). However, it is not epistemic uncertainty: the spread norm performs at chance for held-out-class OOD detection (AUROC 0.49). We then show that inference-time sampling is governed by concentration of measure, with sample displacement concentrating near the spread-vector norm. This yields a training-set geometric rule for choosing the spread multiplier $$\beta $$ , which predicts the safe sampling regime on AG News. On SQID/ESCI reranking, the strongest DESS variant preserves the frozen SBERT query embedding as the mean and learns only local spread; with $$\beta = 0.09$$ , sampled reranking matches the SBERT-text baseline without surpassing multimodal fusion or cross-encoder systems. DESS therefore provides a modular, geometry-aware uncertainty layer for embedding-space models, provided its spread is calibrated to local embedding geometry.
-
Voigt, Jakob Michael; Grundetjern, Morten; Andersen, Per-Arne & Goodwin, Morten
(2025).
DESS: Dimensional-PDFs for Embedding Space Sampling.
Lecture Notes in Computer Science (LNCS).
ISSN 0302-9743.
16301,
s. 3–17.
doi:
10.1007/978-3-032-11402-0_1.
Fulltekst i vitenarkiv
Vis sammendrag
Probabilistic sampling in machine learning models is a technique for introducing beneficial randomness and variability during output generation. It enhances output diversity and creativity, particularly in tasks where slight variations can lead to novel and interesting results. Large Language Models (LLMs), for instance, use this technique to generate varied, contextually appropriate responses that mirror the flexibility of human language. This paper presents a novel method for training a neural network to output the defining parameters of one Probability Density Function (PDF) for each dimension in an embedding space. Our approach, Dimensional-PDFs for Embedding Space Sampling (DESS), leverages these PDFs at inference time to sample from an embedding space, offering a new approach to probabilistic sampling in model outputs. Our method employs simple loss functions and a multi-step loss computation to learn both mean and variance parameters without requiring sampling during training, making it computationally efficient and easy to integrate with existing architectures. We validate DESS through controlled experiments on synthetic datasets, demonstrating accurate approximations of ground-truth distribution parameters across varying Gaussian target distributions. The framework has potential applications in large-vocabulary models where it could enable significant parameter reductions while maintaining calibrated uncertainty estimates. We present DESS using normal distributions, though the approach can be extended to other distribution types for specific sampling requirements.
Se alle arbeider i NVA
-
Saplacan, Diana; Foldnes, Njål; Aune, Erlend; Dahl, Ida; Voigt, Jakob Michael & Goodwin, Morten
(2021).
AI & pedagogics.
[Internet].
Webinar - Norwegian Consortium of Artificial Intelligence .
Fulltekst i vitenarkiv
Se alle arbeider i NVA
Publisert
14. mars 2025 05:53
- Sist endret
19. okt. 2026 10:05