atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

Rectified Lagrangian for Out-of-Distribution Detection in Modern Hopfield Networks

AAAI 2025 · Label-efficient and robust learning › OOD and anomaly detection · approach: Uncertainty and misclassification detection · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RegLag (rectified Lagrangian) for memory neurons in modern Hopfield networks, creating a trivial point attractor for OOD samples and training the interaction matrix via probabilistic interaction, evaluated for OOD detection on CIFAR-10/100 against energy-based baselines.

Problem

Modern Hopfield networks assume all inputs are in-distribution, so every test sample, including OOD samples, falls into an ID memory attractor; existing Hopfield-energy OOD detectors lack a probabilistic foundation.

Approach

A ReLU-rectified Lagrangian for memory neurons (log-sum-exp with inverse memory strength gamma, clipped at zero) creates a trivial point attractor at the origin for any interaction matrix, so samples falling into it are flagged OOD; the interaction matrix is trained via a stochastic feedforward network objective so that the basin equals low-probability-density regions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RecLag instead of MHEResNet18 OOD detection · CIFAR-10 ID, nine OOD datasets (average)FPR95 (%): 7.41 -> 5.85Helped
Use RecLag instead of MHEResNet34 OOD detection · CIFAR-10 ID, nine OOD datasets (average)FPR95 (%): 6.41 -> 5.14Helped
Use RecLag instead of MHEWRN40-2 OOD detection · CIFAR-10 ID, nine OOD datasets (average)FPR95 (%): 9.70 -> 7.47Helped
Use RecLag instead of SHEWRN40-2 OOD detection · CIFAR-100 ID, nine OOD datasets (average)FPR95 (%): 35.61 -> 35.29Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 SVHN LSUN-C LSUN-R iSUN Places365 DTD TinyImageNet SUN iNaturalist

Benchmarks: CIFAR-10 OOD benchmark (SVHN, LSUN-C, LSUN-R, iSUN, Places, DTD, TIN, SUN, iNaturalist) CIFAR-100 OOD benchmark

Metrics: FPR95 AUC

Baselines: MSP Energy ReAct MHE SHE

Builds on: modern Hopfield networks dense associative memory energy-based OOD detection stochastic feedforward neural network ReAct

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy