Neural Estimation of Pairwise Mutual Information in Masked Discrete Sequence Models

· Source: cs.LG updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Life Sciences & Biology · Depth: Expert, long

Summary

A neural framework is proposed for estimating pairwise conditional mutual information (MI) directly from the hidden states of pretrained masked diffusion models (MDMs). This framework uses ground-truth MI, computed from the MDM's own conditional distributions, for supervision. The resulting estimator captures the model's internal belief about dependency structure and predicts the full MI matrix in a single forward pass. This enables MI-guided parallel decoding, identifying conditionally independent variable subsets. The approach was evaluated on Sudoku and protein sequence generation with ESM-C, demonstrating a 3-5x magnitude reduction in inference-time forward passes compared to sequential decoding. It preserves generative quality and outperforms entropy-based parallelization methods. For Sudoku, a model with 4,158,346 parameters and a 99,969-parameter MI predictor head was trained over 10 epochs. For proteins, ESM-Cambrian (300M parameters) was used with an ~810K-parameter predictor head trained over 10000 proteins and 5 epochs.

Key takeaway

For machine learning engineers optimizing discrete sequence generation with masked diffusion models, you should consider integrating MI-guided parallel sampling. This method significantly reduces inference-time forward passes by 3-5x while maintaining generative quality, outperforming simpler entropy-based approaches. Implement a neural MI estimator to dynamically identify conditionally independent tokens, enabling more efficient and consistent parallel decoding in applications like protein design or structured data generation.

Key insights

A neural estimator can predict pairwise mutual information from MDM hidden states for efficient, interpretable parallel decoding.

Principles

Method

Train a lightweight neural estimator on MDM hidden states to predict pairwise MI, using brute-force conditional probing to generate ground truth MI matrices for supervision.

In practice

Topics

Best for: AI Scientist, Machine Learning Engineer, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.LG updates on arXiv.org.