Search arXiv⌕ Search

arXiv subjects

Yousaf Raza

Publications and source records attributed to Yousaf Raza.

2 recordsLinked to original sources

Same Component, Different Role: Automatic Role-Aware Circuit Discovery

Circuit discovery seeks sparse subcircuits that preserve a language model's behavior on a target task. Standard node and edge pruning learn one mask per component and apply it uniformly across token positions. As a result, components needed at only a few positions must be retained throughout the prompt, limiting sparsity. Existing position/role-aware methods instead rely on predefined token roles that must be specified before circuit discovery. We introduce automated role-aware circuit discovery (ARACD), a circuit discovery method that jointly learns token roles and role-specific masks in a single optimization. A learned router assigns tokens to latent roles using only the circuit discovery objective, without role annotations or a predefined schema. Across two language models and three tasks, ARACD increases the token-weighted pruning rate over standard pruning by 9.6 percentage points for nodes and 2.8 points for edges on average, with lower KL divergence in 10 of 12 settings. It prunes more than a fixed equal-spacing baseline in 11 of 12 settings. On indirect object identification, ARACD achieves pruning rates close to those of human-defined roles without role supervision. Our results show that learned roles concentrate circuit computation at a small set of task-relevant positions and improve localization without predefined roles.

cs.AI↗

RESCAST-100K: A Comprehensive Dataset for Cross-Domain Residential Load and Indoor Temperature Forecasting

Accurate short-term forecasting of residential energy load and indoor temperature is essential for home energy management systems, grid-level demand response, and community energy efficiency efforts. Domain adaptation and transfer learning have shown promise for improving forecasting accuracy under data heterogeneity and scarcity commonly seen in residential settings. However, progress is limited by the lack of comprehensive residential datasets: existing benchmarks are narrow in target coverage and rarely support structured cross-domain evaluation. We introduce RESCAST-100K, a large-scale residential forecasting benchmark for studying cross-domain generalization. It provides a configuration-driven interface that instantiates source and target domains along interpretable axes, including geography, climate zone, wall construction, and heating equipment, enabling systematic evaluation of transfer learning, domain adaptation, and zero-shot generalization under controlled domain shifts. The benchmark covers approximately 100,000 EnergyPlus-simulated U.S. homes derived from ResStock, with 15-minute time series for three coupled targets per home: total load, HVAC load, and indoor temperature. These are paired with weather channels, HVAC setpoints, and over 40 static building covariates. RESCAST-100K also integrates five real-world residential datasets under a unified schema, supporting sim-to-real evaluation on the same tasks. We benchmark recurrent, attention-based, and MLP-mixer architectures for zero-shot performance across domains, missing-input conditions, and forecasting tasks. Cross-attention and MLP-mixer models consistently outperform recurrent and classical transformer baselines under domain shift. RESCAST-100K is intended to aid the machine learning and building analytics communities advance cross-domain residential forecasting at home, community, and grid scale.

cs.LG↗