MCP
YY

Yanfeng Yang

16 papers in the library

Papers

16
Enhancing Mixed Oil Length Prediction through Graph Representation Learning
Xinyi HongHai ShuZhaoyang ZhangLei ChenYanfeng YangZiqi Chen
Accurately predicting the length of mixed oil segments formed during refined-oil pipeline transport is economically important, yet existing machine- and deep-learning methods overlook the statistical dependencies among real-world samples, which degrades accuracy. The authors propose Sample Dependencies Incorporated Graph Representation Learning (SDI-GRL), which represents samples and pipeline features as graph nodes and connects dependent samples through their shared features, so that message passing propagates information across related samples and captures dependencies absent in prior work. In a case study on a mixed oil dataset, SDI-GRL outperformed the strongest existing approach, reducing both RMSE and MAE by more than 10%.
arXivarXiv · · November 16, 2026
0
0
Two-Sample Testing via Path-based Inference
Eshant EnglishWei-Cheng LaiYanfeng YangKenji FukumizuTaiji SuzukiChristoph Lippert
This paper introduces a two-sample testing framework built on generative stochastic interpolants. Both distributions are connected to a shared Gaussian bottleneck, making each path half a Gaussian channel. The authors prove the null hypothesis holds iff the population denoiser, or equivalently, the velocity fields, coincide at any noise level, a reflection symmetry. Deviations yield a continuum of witnesses, estimated via held-out regression risks and aggregated under information-theoretic weighting, equaling the Jeffreys divergence between smoothed distributions. Permutation-calibrated tests are valid in finite samples and consistent with accurate field learning. Tests improve power over the strongest baseline by up to 33 percentage points on synthetic and image benchmarks.
arXivarXiv · · October 5, 2026
0
0
Cognitive Chunking for Soft Prompts: Accelerating Compressor Learning via Block-wise Causal Masking
Guojie LiuYiqi WangYanfeng YangWenqi FanSonglei JianJianfeng ZhangJie Yu
Providing extensive context via prompting is vital for leveraging the capabilities of Large Language Models (LLMs). However, lengthy contexts significantly increase inference latency. To mitigate this issue, context compression—particularly soft prompt compression—has emerged as a widely studied solution, which converts long contexts into shorter memory embeddings via a trained compressor. Existing methods typically compress the entire context indiscriminately into a set of memory tokens, requiring the compressor to capture global dependencies and necessitating extensive pre-training data to learn effective patterns. Inspired by the chunking mechanism in human working memory and our empirical observation of spatial specialization within memory embeddings, we propose Parallelized Iterative Compression (PIC). By simply modifying the Transformer’s attention mask, PIC explicitly restricts the receptive field of memory tokens to sequential local chunks, thereby significantly reducing the difficulty of compressor training. Experiments across multiple downstream tasks demonstrate that PIC outperforms competitive baselines while dramatically expediting the training process. Finally, we provide an investigation into the emergence of spatial specialization, revealing how tuning strategies and explicit structural priors shape the latent structure of the memory embeddings.
ACL AnthologyACL Anthology · October 2026
0
Two Sample Testing via Path-based Inference
Eshant EnglishWei-Cheng LaiYanfeng YangChristoph Lippert
The paper turns the generative dynamics of stochastic-interpolant models into a tool for two-sample testing. By linking both distributions to a shared Gaussian bottleneck, each half of the resulting path becomes a Gaussian channel acting on one population, and the null hypothesis is shown to hold if and only if the population denoiser, equivalently the velocity fields of the two halves, coincide at any single noise level—a reflection symmetry of the path about the bottleneck. Deviations from this symmetry give a continuum of two-sample witnesses, estimated via held-out regression risks on learned denoisers and velocities and aggregated along the path; under an information-theoretic weighting this aggregated discrepancy equals the Jeffreys divergence between the noise-smoothed distributions. Permutation calibration yields tests valid in finite samples for any trained networks and consistent when the fields are learned accurately, improving power over the strongest baseline by up to 33 percentage points on a synthetic and three image benchmarks.
OpenReviewOpenReview · · September 7, 2026
0
Reusable Conditional Resampling via Flow Matching for Constraint-Based Causal Discovery
SHUNYU ZHAOYanfeng YangShuai LiKenji Fukumizu
Constraint-based causal discovery requires a large number of conditional independence (CI) tests. Generative CI tests are attractive in nonlinear and high-dimensional settings because they can model complex conditional distributions, but often suffer from high per test cost and limited reusability across the many query dependent conditional resampling tasks arising in graph search. We propose a generative nonlinear CI testing and graph search framework for PC-style causal discovery. We first propose the Langevin-RePaint algorithm for conditional imputation. Building on Langevin-RePaint and joint flow matching modeling, we propose the Flow Matching based Conditional Independence Test (FMCIT), which reformulates generative CI testing from query-specific conditional modeling into a reusable conditional resampling framework. We further establish theoretical guarantees for the Type-I error control of FMCIT. FMCIT allows a single trained generative model to repeatedly generate the randomized copies required for CI testing throughout the entire graph search procedure. We then introduce GPC‑FMCIT, which embeds FMCIT into a guided PC pipeline with screening, guidance, refinement, and orientation. By using low-cost screening to shrink the search space, constructing edge-specific candidate conditioning sets from local graph structure, and invoking FMCIT only in a budget-controlled refinement stage, GPC-FMCIT reduces both the deployment cost of individual nonlinear CI queries and the overall query complexity. Experiments on synthetic datasets and real-data analyses show that the proposed method achieves a strong accuracy--efficiency trade-off under nonlinear and high-dimensional structures. Overall, our results suggest that, through the joint design of reusable conditional resampling and controlled graph search, generative nonlinear CI testing can become a practical component of PC-style causal discovery.
OpenReviewOpenReview · · April 27, 2026
0
Cognitive Chunking for Soft Prompts: Accelerating Compressor Learning via Block-wise Causal Masking
Guojie LiuYiqi WangYanfeng YangWenqi FanSonglei JianJianfeng ZhangJie Yu
This paper proposes Parallelized Iterative Compression (PIC), a method that accelerates soft-prompt compiler learning by restricting memory tokens' receptive field to sequential local chunks via a modified Transformer attention mask. This reduces the difficulty of capturing global dependencies, enabling faster training and better performance, especially at high compression ratios. On QA tasks at 64x compression, PIC achieves 29.8% relative F1 improvement and 40.7% EM improvement, while reducing training time by about 40% for a 16x compressor.
arXivarXiv · · February 15, 2026
0
0
Reusable Conditional Resampling via Flow Matching for Constraint-Based Causal Discovery
Shunyu ZhaoYanfeng YangShuai LiKenji Fukumizu
The paper proposes FMCIT, a generative nonlinear conditional independence test that recasts query-specific conditional modeling as reusable conditional resampling, built on joint flow matching and a Langevin-RePaint conditional imputation scheme, with theoretical guarantees for type-I error control. A single trained model then generates randomized copies throughout graph search. Embedding FMCIT in GPC-FMCIT, a guided PC pipeline with screening, guidance, refinement, and orientation, reduces both per-query deployment cost and overall query complexity. On synthetic nonlinear structural equation models GPC-FMCIT improves CPDAG recovery over PC-stable baselines with far fewer FMCIT queries than direct FMCIT-based PC search, and on hESC gene-expression data it yields smaller graphs than PC/FisherZ in a descriptive comparison.
arXivarXiv · · February 9, 2026
0
1
Flow Matching based Conditional Independence Tests and Causal Structure Learning
SHUNYU ZHAOYanfeng YangShuai LiKenji Fukumizu
We propose the Flow Matching-based Conditional Independence Test (FMCIT) for constraint-based causal discovery. It controls type I error while maintaining high power under alternatives, even with high-dimensional conditioning sets. Leveraging flow matching's efficiency, it trains the model only once across the discovery procedure. Integrating FMCIT into GPC-FMCIT, a two-stage guided PC skeleton learning framework combining fast screening with budgeted refinement, yields explicit bounds on the number of CI queries. Experiments on synthetic and real data show favorable accuracy-efficiency trade-offs versus existing CI tests and PC variants.
OpenReviewOpenReview · January 18, 2026
0
0
Diffusion Models with Double Guidance
Yanfeng YangKenji Fukumizu
This paper proposes a diffusion model with double guidance to address block-wise missing conditions when merging datasets with inconsistent attribute sets for conditional generation. The method decomposes the score function into text- and intraphase-based guidance, enabling controlled sampling even when no training sample contains all conditions jointly. It achieves precise conditional generation, outperforming baselines in alignment with target distributions and controllability in molecular and image generation tasks.
OpenReviewOpenReview · January 15, 2026
0
0
Conditionally Whitened Generative Models for Probabilistic Time Series Forecasting
Yanfeng YangSiwei ChenPingping HuZhaotong ShenYingjie ZhangZhuoran SunShuai LiZiqi ChenKenji Fukumizu
Conditionally Whitened Generative Models (CW-Gen) improve probabilistic time-series forecasting by replacing the standard normal terminal distribution of diffusion models with a multivariate normal conditioned on estimated mean and covariance. The authors establish sufficient conditions for this substitution to improve sample quality and design a Joint Mean-Covariance Estimator (JMCE) that learns both quantities. This framework is instantiated as CW-Diff and CW-Flow, which consistently outperform prior-free generative models on five real-world datasets by better capturing non-stationary dynamics and mitigating distribution shifts.
arXivarXiv · · September 25, 2025
0
6
Conditionally Whitened Generative Models for Probabilistic Time Series Forecasting
Yanfeng YangSiwei ChenPingping HuZhaotong ShenYingjie ZhangZhuoran SunShuai LiZiqi ChenKenji Fukumizu
CW-Gen is a framework for probabilistic multivariate time-series forecasting that incorporates prior information—conditional means and covariances—via conditional whitening. The authors establish sufficient conditions under which replacing the standard multivariate normal terminal distribution in diffusion models with one parameterized by estimators of conditional mean and covariance improves sample quality. They design a Joint Mean-Covariance Estimator (JMCE) to learn these jointly, yielding Conditionally Whitened Diffusion (CW-Diff) and Flow Matching (CW-Flow) models. Experiments on five datasets with six baselines show consistent performance gains, capturing non-stationarity and inter-variable correlations, and mitigating distribution shifts.
OpenReviewOpenReview · · September 15, 2025
0
Diffusion Models with Double Guidance: Generate with aggregated datasets
Yanfeng YangKenji Fukumizu
The paper proposes a Diffusion Model with Double Guidance that enables precise conditional generation when training samples never contain all attributes jointly. By aggregating datasets with inconsistent attribute sets, the method avoids expensive joint annotation. It outperforms existing baselines in molecular and image generation tasks, improving alignment with target conditional distributions and controllability under missing conditions.
arXivarXiv · · May 19, 2025
0
0
Conditional Diffusion Models Based Conditional Independence Testing
Yanfeng YangShuai LiYingjie ZhangZhuoran SunHai ShuZiqi ChenRenming Zhang
This paper addresses conditional independence (CI) testing by proposing a new conditional randomization test (CRT) that uses a conditional diffusion model (CDM) to learn the unknown distribution $X|Z$. The CDM approximates $X|Z$ more accurately than GANs, leading to a CRT that performs better. A classifier-based conditional mutual information estimator serves as the test statistic, handling mixed-type variables. The test controls type I error theoretically and empirically, even in high dimensions.
arXivarXiv · · December 16, 2024
0
16
Confidence interval estimation of mixed oil length with conditional diffusion model
Yanfeng YangLihong ZhangZiqi ChenMiaomiao YuLei Chen
This paper proposes a conditional diffusion model to learn the distribution of mixed oil length given pipeline features, then estimates a confidence interval for the length using generated pseudo-samples. By using the interval's upper bound as a cutoff reference, the probability of underestimation drops from about 50% to as low as 5%. The method is the first to account for statistical variability in mixed oil length estimation, and its mean estimate improves prediction accuracy by at least 10% over common methods.
arXivarXiv · · June 19, 2024
0
3
K-Nearest-Neighbor Local Sampling Based Conditional Independence Testing
Shuai LiYingjie ZhangHongtu ZhuChristina Dan WangHai ShuZiqi ChenZhuoran SunYanfeng Yang
This article introduces a classifier-based conditional mutual information (CMI) estimator for conditional independence testing, using $k$-nearest-neighbor local sampling to approximate the null distribution. Without assumptions on distribution form or feature dependencies, it avoids deriving asymptotic null distributions and dataset splitting, suiting small samples. The method achieves asymptotic type I error control and consistency. Experiments show computational efficiency and outperformance of state-of-the-art methods on type I/II errors, including high-dimensional settings and heavy-tailed data.
OpenReviewOpenReview · May 4, 2023
0
20
Conditional Diffusion Models Based Conditional Independence Testing
Yanfeng YangShuai Li 0020Yingjie Zhang 0004Zhuoran SunHai ShuZiqi Chen 0002Renming Zhang
DBLP · AAAI 2025
0
Authors with the same name
Yanfeng Yang · 6 papers
Yanfeng Yang #0001 · 1 papers
Frequent collaborators
Kenji Fukumizu (8)
Shuai Li (7)
Ziqi Chen (6)
Zhuoran Sun (5)
Hai Shu (4)
Yingjie Zhang (4)
Lei Chen (2)
Eshant English (2)
Wei-Cheng Lai (2)
Christoph Lippert (2)
Guojie Liu (2)
Yiqi Wang (2)