[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-469926-105":59,"doc-detail-469926-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","athena-adaptive-test-time-steering-for-improving-count-fidelity-in-diffusion-models-469926","ATHENA - Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Models","","Text-to-image diffusion models often produce systematic numerical control failures when prompts specify explicit object counts, generating missing instances, duplicated objects, or ambiguous merges that hide instance boundaries. ATHENA introduces 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. The method improves count fidelity without retraining or architectural changes, offering three progressively adaptive variants with strong accuracy–runtime trade-offs across diffusion backbones and benchmarks.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/athena-adaptive-test-time-steering-for-improving-count-fidelity-in-diffusion-models-469926/469926/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/athena-adaptive-test-time-steering-for-improving-count-fidelity-in-diffusion-models-469926/469926.png","ImageObject",300,407,{"name":92,"@type":93},"kopisore","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-24","2026-09-30",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the main limitation ATHENA addresses in diffusion models?","Question",{"text":112,"@type":113},"Diffusion models show systematic failures in numerical control when prompts require explicit object counts, often causing missing, duplicated, or merged instances that obscure boundaries.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does ATHENA improve object count fidelity without retraining?",{"text":117,"@type":113},"ATHENA estimates object counts from intermediate representations during sampling and uses count-aware noise corrections early in the denoising process to steer generation before structural decisions become hard to revise.",{"name":119,"@type":110,"acceptedAnswer":120},"What are the three ATHENA variants and how do they differ?",{"text":121,"@type":113},"ATHENA-Static uses fixed steering, ATHENA-Feedback introduces count-aware conditional steering based on intermediate estimates, and ATHENA-Adaptive further adjusts steering strength online in response to persistent count errors.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},469926,1791152584,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":26,"preview_page_count":19,"preview_urls":145},962090880963,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","ATHENA: Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Models  \nMohammad Shahab Sepehri* Asal Mehradfar* Berk Tinaz  \nSalman Avestimehr Mahdi Soltanolkotabi Department of Electrical and Computer Engineering University of Southern California, Los Angeles, CA, USA  \n{sepehri, mehradfa, tinaz, avestime, [soltanol](soltanol}@usc.edu)[}](soltanol}@usc.edu)[@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 count-aware 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/](https://github.com/MShahabSepehri/)[ ](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 [33] . Despite their strong generative capabilities, diffusion models continue to exhibit systematic failures in numerical control when prompts specify explicit object counts. Even for visually simple and well-defined categories, prompts  \n*Equal contribution.  \nFigure 1 . Count fidelity failures in T2I generative models.  \nsuch as “a photo of eight cows in a field” or “ten appleson 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 [32] . As illustrated in Figure 1, these counting errors persist across multiple state-of-the-art T2I 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 [29, 39] and simulation environments for robotics and embodied agents [28] rely on faithful instance-level control. In these settings, counting errors can propagate to downstream perception and decision-making, reducing the reliability of diffusion-based generation.  \nFrom a modeling perspective, object counting poses a natural challenge for diffusion-based generation. Diffusion models rely on a continuous denoising process without explicit mechanisms for enforcing discrete numerical constraints [13, 14] . Early stochastic decisions in the sam-  \npling trajectory largely determine object multiplicity and spatial structure, while later steps primarily refine local appearance [10, 23, 27, 30, 38] . As a result, counting errors become difficult to correct once they emerge, motivating intervention mechanisms that act before structural decisions become effectively irreversible [20] .  \nSeveral recent works have explored","cbCaia54y7SFsRIf","https://ap.wps.com/l/cbCaia54y7SFsRIf","pdf",16708357,24,"English","# Introduction\n## Problem: Numerical control failures in count prompts\n## Importance of accurate object counting\n## Why counting is hard for diffusion sampling\n## Related work and limitations\n## ATHENA approach and variants","[{\"question\":\"What is the main limitation ATHENA addresses in diffusion models?\",\"answer\":\"Diffusion models show systematic failures in numerical control when prompts require explicit object counts, often causing missing, duplicated, or merged instances that obscure boundaries.\"},{\"question\":\"How does ATHENA improve object count fidelity without retraining?\",\"answer\":\"ATHENA estimates object counts from intermediate representations during sampling and uses count-aware noise corrections early in the denoising process to steer generation before structural decisions become hard to revise.\"},{\"question\":\"What are the three ATHENA variants and how do they differ?\",\"answer\":\"ATHENA-Static uses fixed steering, ATHENA-Feedback introduces count-aware conditional steering based on intermediate estimates, and ATHENA-Adaptive further adjusts steering strength online in response to persistent count errors.\"}]","ATHENA - Adaptive Test-Time Steering for Improving Count Fidelity in Diffusion Models | PDF",1790776459,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/0bb498faab0192a7ce069f08d48450a7.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8535684b8369c7e12277c5d764fb3dce.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d19acb864737d95d15d29c0900a49157.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c8c1aa28069558712dedc042929c315c.webp",980,1268]