# Universal Hardness From Masking Channels

DevFeed: [Universal Hardness From Masking Channels](<https://devfeed.tech/articles/universal-hardness-from-masking-channels-117053.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05296>)

Author: Parikshit Gopalan, Manoj Prabhakaran, Pranay Tankala

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [boolean](<https://devfeed.tech/tags/boolean.md>), [channel](<https://devfeed.tech/tags/channel.md>), [characterization](<https://devfeed.tech/tags/characterization.md>), [coin](<https://devfeed.tech/tags/coin.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [convex](<https://devfeed.tech/tags/convex.md>), [cs-cc](<https://devfeed.tech/tags/cs-cc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [duality](<https://devfeed.tech/tags/duality.md>), [framework](<https://devfeed.tech/tags/framework.md>), [function](<https://devfeed.tech/tags/function.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [masking](<https://devfeed.tech/tags/masking.md>), [random](<https://devfeed.tech/tags/random.md>), [randomness](<https://devfeed.tech/tags/randomness.md>)

## AI overview

The paper generalizes the hardcore lemma by treating input-dependent masking channels as a way to characterize learning hardness. A channel adds randomness to a function's outputs until they are indistinguishable from random noise to a hypothesis class; its fidelity measures how much masking is possible. Using convex duality, the authors connect the maximum achievable fidelity to the difficulty of learning non-Boolean functions under convex losses. They derive multiclass variants, describe subtleties for larger output alphabets, and construct a universal masking channel for multiple notions of hardness. They also relate masking channels to omnipredictors and pseudoentropy, giving a tight pseudoentropy characterization using the MaxEnt algorithm.

## Source excerpt

arXiv:2611.05296v1 Announce Type: new Abstract: We prove a broad learning-theoretic generalization of the celebrated hardcore lemma concerning the average-case complexity of computing a Boolean function (Impagliazzo, 1995). Our starting point is the observation that the classic notion of a hardcore measure, which reweights a function's input distribution, is equivalent to an input-dependent masking channel that injects randomness into the function's output distribution until it appears fully pseudorandom. The analogue of density of the measure is the fidelity of the channel. From this viewpoint, we develop a general framework for certifying hardness that allows for non-Boolean functions $f$ and a wide range of notions of hardness besides the classic 0-1 loss, by choosing the right notion of fidelity via convex duality. We show the difficulty of learning $f$ using a class $\mathcal{C}$ to minimize a convex loss is tightly characterized by the maximum fidelity possible for a masking channel, which measures the least amount of noise the channel must add to hide the structure of $f$ and make it $\mathcal{C}$-indistinguishable from random noise. Using our framework, we derive a number of multiclass generalizations of the hardcore lemma, and reveal some unexpected subtleties in going to larger alphabets. We construct a universal masking channel that applies to many natural notions of hardness simultaneously. Such channels are dual to omnipredictors, which optimize multiple losses at once (Gopalan, Kalai, Reingold, Sharan, and Wieder, 2022). We observe a symmetry between masking channels and generalizations of the hardcore lemma using pseudoentropy. We present a tight characterization of pseudoentropy using the MaxEnt algorithm from machine learning. A long line of research has shown that learning and hardness are two sides of the same coin; our framework gives a crisp and general formulation of this principle via convex duality.