[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-469914-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-469914-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","athena-adaptive-test-time-steering-for-improving-count-fidelity-in-diffusion-models","ATHENA - Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Models","","Text-to-image diffusion models deliver strong visual realism, yet show systematic failures when prompts specify exact object counts. ATHENA is introduced as a model-agnostic test-time adaptive steering framework that estimates object counts from intermediate sampling representations and applies count-aware noise corrections early in denoising. Three progressively advanced variants trade compute for improved numerical accuracy, consistently increasing count fidelity, especially at higher target counts, across multiple diffusion backbones while preserving useful accuracy–runtime trade-offs.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/athena-adaptive-test-time-steering-for-improving-count-fidelity-in-diffusion-models/469914/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/athena-adaptive-test-time-steering-for-improving-count-fidelity-in-diffusion-models/469914.png","ImageObject",300,407,{"name":42,"@type":43},"Guten tag","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-10","2026-09-30",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does ATHENA target in text-to-image diffusion models?","Question",{"text":63,"@type":64},"ATHENA targets systematic failures in numerical control: generated images often contain missing, duplicated, or merged instances when prompts specify explicit object counts.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does ATHENA improve object count fidelity during sampling?",{"text":68,"@type":64},"ATHENA estimates object counts from intermediate representations and applies count-aware noise corrections early in the denoising process to steer generation before structural errors become hard to revise.",{"name":70,"@type":61,"acceptedAnswer":71},"Is ATHENA tied to a specific diffusion model architecture?",{"text":72,"@type":64},"No. ATHENA is model-agnostic and requires no architectural modifications or retraining, allowing it to be applied across diverse diffusion backbones.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},469914,1791109462,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},687212321768,"https://ap-avatar.wpscdn.com/avatar/a0010bdbe886d2fe77?x-image-process=image/resize,m_fixed,w_180,h_180&k=1789897067658708522","arXiv :2603 . 19676v1 [ cs .CV] 20 Mar 2026  \nATHENA: ADAPTIVE TEST-TIME STEERING FOR IMPROVING COUNT FIDELITY IN DIFFUSION MODELS  \nMohammad Shahab Sepehri∗ Asal Mehradfar∗ Berk Tinaz Salman Avestimehr Mahdi Soltanolkotabi  \nDepartment of Electrical and Computer Engineering  \nUniversity of Southern California, Los Angeles, CA, USA  \n{sepehri, mehradfa, tinaz, avestime, [soltanol}@usc.edu](soltanol}@usc.edu)  \nABSTRACT  \nText-to-image diffusion models achieve high visual fidelity but surprisingly exhibit systematic failures in numerical control when prompts specify explicit object counts. To address this limitation, we introduce ATHENA, a model-agnostic, test-time adaptive steering framework that improves object count fidelity without modifying model architectures or requiring retraining. ATHENA leverages intermediate representations during sampling to estimate object counts and applies countaware noise corrections early in the denoising process, steering the generation trajectory before structural errors become difficult to revise. We present three progressively more advanced variants of ATHENA that trade additional computation for improved numerical accuracy, ranging from static prompt-based steering to dynamically adjusted count-aware control. Experiments on established benchmarks and a new visually and semantically complex dataset show that ATHENA consistently improves count fidelity, particularly at higher target counts, while maintaining favorable accuracy– runtime trade-offs across multiple diffusion backbones. Our code and data are publicly available at [https://github.com/MShahabSepehri/ATHENA](https://github.com/MShahabSepehri/ATHENA).  \n1 Introduction  \nText-to-image (T2I) diffusion models have gained huge popularity and become the dominant paradigm for high-quality image generation, driven by their ability to synthesize images from natural language prompts with strong visual realism, semantic alignment, and compositional expressiveness [29] .  \nDespite their advances in generating high-quality images with fine details, diffusion models continue to exhibit systematic failures in numerical control when prompts specify explicit object counts. This limitation is particularly striking given the remarkable generative capabilities of modern diffusion models, which can synthesize complex scenes with rich semantics and fine-grained details. Even for visually simple and well-defined categories, prompts such as “a photo of eight cows in a field” or “ten apples on a table” often produce images with missing instances, duplicated objects, or ambiguous merges that obscure instance boundaries. While prompt sensitivity can influence generation outcomes and has motivated prompt optimization strategies [8], such interventions remain insufficient for reliably enforcing quantitative constraints [28] . As illustrated in Figure 1, these counting errors persist across multiple state-of-the-art T2I generative models, indicating a general limitation rather than a model-specific shortcoming.  \nAccurate object counting is important beyond visual plausibility. Downstream applications such as synthetic data generation for object detection and segmentation [25, 35] and simulation environments for robotics and embodied agents [24] rely on faithful instance-level control. In these settings, counting errors can propagate to subsequent perception or decision-making stages, undermining the reliability of diffusion-based generators when used as components within larger systems.  \nFrom a modeling perspective, object counting poses a natural challenge for diffusion-based generation. Diffusion models rely on a continuous denoising process without explicitly representing discrete object instances or enforcing  \nglobal numerical constraints [11, 10] . Early stochastic decisions in the sampling trajectory largely determine object ∗Equal contribution.  \nFigure 1: Count fidelity failures in T2I generative models. Despite explicit numerical specifications in t","cbCais4LGmGHfB8x","https://ap.wps.com/l/cbCais4LGmGHfB8x","pdf",15597789,21,"English","# Introduction\n## Problem: numerical control failures in object counting\n## Importance: downstream tasks and propagation of errors\n## Modeling challenge in diffusion generation\n## Related work: counting improvements and their limitations\n## Proposed method: ATHENA and its adaptive steering strategy","[{\"question\":\"What problem does ATHENA target in text-to-image diffusion models?\",\"answer\":\"ATHENA targets systematic failures in numerical control: generated images often contain missing, duplicated, or merged instances when prompts specify explicit object counts.\"},{\"question\":\"How does ATHENA improve object count fidelity during sampling?\",\"answer\":\"ATHENA estimates object counts from intermediate representations and applies count-aware noise corrections early in the denoising process to steer generation before structural errors become hard to revise.\"},{\"question\":\"Is ATHENA tied to a specific diffusion model architecture?\",\"answer\":\"No. ATHENA is model-agnostic and requires no architectural modifications or retraining, allowing it to be applied across diverse diffusion backbones.\"}]","ATHENA - Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Models | PDF",1790776447,53,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/83e1fa05517a776b4428ad8b6d936121.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9c97c413e1f538970a480b5f9e0c0604.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ca1747688a432ff2b4ff206dc871ed0d.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/72fa5c394b66f696d9e7583ad9bbae8e.webp",980,1268]