{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2602-11395","title":"General and Efficient Steering of Diffusion Models","arxiv_id":"2602.11395","date":"2026-02-11","proceeding":null,"authors":["Qingsong Wang","Mikhail Belkin","Yusu Wang"],"abstract":"Steering diffusion models toward conditions unseen during training typically requires either retraining with conditional inputs or per-step gradient computations, both of which incur substantial computational overhead. We present Noise-Aligned RFM Steering (NA-RFM), a general recipe for efficiently steering diffusion models without gradient guidance during inference, enabling fast controllable generation. The method combines two offline-computed signals: noise alignment, a high-noise correction from PCA statistics of the target examples and the full data, and Recursive Feature Machine (RFM) activation steering, which learns a target-discriminative direction from labeled forward-process activations. During sampling, noise alignment provides coarse control at high noise, while the RFM direction is reused over intermediate/late timesteps through lightweight activation edits. Experiments on CIFAR-10, ImageNet, CelebA, and fine-grained bird species show improved target accuracy over gradient-based post-hoc guidance baselines, improved FID on the class-guidance benchmarks, and substantial inference speedups. Code: https://github.com/isotrivial/na-rfm.","url_abs":"https://arxiv.org/abs/2602.11395","url_pdf":"https://arxiv.org/pdf/2602.11395","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2602.11395","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.11395"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/isotrivial/na-rfm","reach":null}],"summary":{"ran":1,"ran_fixture":3,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":6,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"2b4169450641a426","entry":"LaplaceKernelGradients","repo":"isotrivial/na-rfm","repo_kind":"found_in_text","path":"na_rfm/dual_rfm.py","file_url":"https://github.com/isotrivial/na-rfm/blob/HEAD/na_rfm/dual_rfm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2b4169450641a426"}},{"code_sha256_prefix":"fe6133b67311b7d3","entry":"compute_binary_roc_auc","repo":"isotrivial/na-rfm","repo_kind":"found_in_text","path":"na_rfm/dual_rfm.py","file_url":"https://github.com/isotrivial/na-rfm/blob/HEAD/na_rfm/dual_rfm.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fe6133b67311b7d3"}},{"code_sha256_prefix":"fdcec7481e6d7669","entry":"compute_precision_recall_metrics","repo":"isotrivial/na-rfm","repo_kind":"found_in_text","path":"na_rfm/dual_rfm.py","file_url":"https://github.com/isotrivial/na-rfm/blob/HEAD/na_rfm/dual_rfm.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fdcec7481e6d7669"}},{"code_sha256_prefix":"e5dbc56768c1b62a","entry":"determine_direction_sign","repo":"isotrivial/na-rfm","repo_kind":"found_in_text","path":"na_rfm/dual_rfm.py","file_url":"https://github.com/isotrivial/na-rfm/blob/HEAD/na_rfm/dual_rfm.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e5dbc56768c1b62a"}},{"code_sha256_prefix":"ac3940dc088d1174","entry":"DualRFM","repo":"isotrivial/na-rfm","repo_kind":"found_in_text","path":"na_rfm/dual_rfm.py","file_url":"https://github.com/isotrivial/na-rfm/blob/HEAD/na_rfm/dual_rfm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ac3940dc088d1174"}},{"code_sha256_prefix":"ca85625109d287ad","entry":"DualRFMResult","repo":"isotrivial/na-rfm","repo_kind":"found_in_text","path":"na_rfm/dual_rfm.py","file_url":"https://github.com/isotrivial/na-rfm/blob/HEAD/na_rfm/dual_rfm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ca85625109d287ad"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}