SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.10139 · NeurIPS · 2025

Conditional Distribution Compression via the Kernel Conditional Mean Embedding

Robert Allison, Dominic Broadbent, Nick Whiteley, Tom Lovett

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
conditionaldummy/dummy_repo canonical 1 of 3
FunctionStatusWhere it lives
apply_negative_precision_threshold Ran conditionaldummy/dummy_repo/coreax/util.py
code served (permissive licence) · get_code("796bbfb55ce83e77")
as_data Not yet run conditionaldummy/dummy_repo/coreax/data.py
code served (permissive licence) · get_code("9c590429668a2d4d")
as_supervised_data Not yet run conditionaldummy/dummy_repo/coreax/data.py
code served (permissive licence) · get_code("4860404c9e242b11")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Existing distribution compression methods, like Kernel Herding (KH), were originally developed for unlabelled data. However, no existing approach directly compresses the conditional distribution of labelled data. To address this gap, we first introduce the Average Maximum Conditional Mean Discrepancy (AMCMD), a metric for comparing conditional distributions, and derive a closed form estimator. Next, we make a key observation: in the context of distribution compression, the cost of constructing a compressed set targeting the AMCMD can be reduced from O(n 3 ) to O(n). Leveraging this, we extend KH to propose Average Conditional Kernel Herding (ACKH), a linear-time greedy algorithm for constructing compressed sets that target the AMCMD. To better understand the advantages of directly compressing the conditional distribution rather than doing so via the joint distribution, we introduce Joint Kernel Herding (JKH), an adaptation of KH designed to compress the joint distribution of labelled data. While herding methods provide a simple and interpretable selection process, they rely on a greedy heuristic. To explore alternative optimisation strategies, we also propose Joint Kernel Inducing Points (JKIP) and Average Conditional Kernel Inducing Points (ACKIP), which jointly optimise the compressed set while maintaining linear complexity. Experiments show that directly preserving conditional distributions with ACKIP outperforms both joint distribution compression and the greedy selection used in ACKH. Moreover, we see that JKIP consistently outperforms JKH. 39th Conference on Neural Information Processing Systems (NeurIPS 2025).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2504.10139")
get_code_for_paper("2504.10139")
have("2504.10139")

Connect an agent — have() is free.