Goto

Collaborating Authors

 Deep Learning


CIAO - Code In Architecture Out - Automated Software Architecture Documentation with Large Language Models

arXiv.org Artificial Intelligence

Software architecture documentation is essential for system comprehension, yet it is often unavailable or incomplete. While recent LLM-based techniques can generate documentation from code, they typically address local artifacts rather than producing coherent, system-level architectural descriptions. This paper presents a structured process for automatically generating system-level architectural documentation directly from GitHub repositories using Large Language Models. The process, called CIAO (Code In Architecture Out), defines an LLM-based workflow that takes a repository as input and produces system-level architectural documentation following a template derived from ISO/IEC/IEEE 42010, SEI Views \& Beyond, and the C4 model. The resulting documentation can be directly added to the target repository. We evaluated the process through a study with 22 developers, each reviewing the documentation generated for a repository they had contributed to. The evaluation shows that developers generally perceive the produced documentation as valuable, comprehensible, and broadly accurate with respect to the source code, while also highlighting limitations in diagram quality, high-level context modeling, and deployment views. We also assessed the operational cost of the process, finding that generating a complete architectural document requires only a few minutes and is inexpensive to run. Overall, the results indicate that a structured, standards-oriented approach can effectively guide LLMs in producing system-level architectural documentation that is both usable and cost-effective.


Practical Scaling Laws: Converting Compute into Performance in a Data-Constrained World

arXiv.org Artificial Intelligence

The scaling laws guiding modern model training were calibrated for a single regime: data-rich, single-epoch pretraining. The dominant such scaling law form, Chinchilla's $L = E + A/N^ฮฑ+ B/D^ฮฒ$, has three structural limitations outside that regime: it diverges as unique data shrinks instead of saturating at the uninformed baseline; it cannot represent overfitting when capacity exceeds the data; and it conflates total examples seen with unique examples available. We propose a closed-form extension, $L(N, D, T) = E + (L_0 - E)\,h/(1+h)$ with $h = a/N^ฮฑ+ b/T^ฮฒ+ c\,N^ฮณ/D^ฮด$, that decomposes loss into undercapacity, undertraining, and overfitting terms. It saturates between the irreducible loss $E$ and an uninformed baseline $L_0$ fixed by the loss type, and reduces to Chinchilla in the data-rich, single-epoch limit. We validate it on four multi-epoch experiments spanning four architecture families (MLPs, ResNets, Fourier neural operators, and transformers) across vision, scientific ML, and language domains, and refit it to five published LLM scaling-law grids. Extrapolating to higher compute and larger unique data than seen at fit time, our form achieves state-of-the-art RMSE on every published LLM grid we evaluate and on most cells of our constructed experiments. Once calibrated, the form admits a cost-aware allocation that recovers Chinchilla's optimum when data is free and shifts toward smaller corpora and more epochs as data grows expensive.


A Resilient Solution for Sewer Overflow Monitoring across Cloud and Edge

arXiv.org Artificial Intelligence

Combined Sewer Systems (CSS), which transport stormwater 2 System Framework and wastewater through shared pipe networks, remain common in many historical cities but are increasingly stressed This decisions system by supports integrating timely cloudrisk and aw edge-based areness and forecasting preventive by extreme rainfall events driven by climate change [Allard, into simulated operational settings. Two deployment assump2021; Hannah Ritchie and Roser, 2024; Wilbanks and Fer-tions reflect realistic monitoring conditions (see Figure 1): nandez, 2014]. During heavy precipitation, CSS can exceed their hydraulic capacity, leading to Combined Sewer Over-Under standard operation, stable cloud connectivity flows (CSO) that discharge untreated wastewater into the en-and full sensor availability are assumed. In this mode, vironment with serious ecological and public health conse-filling-level forecasts are computed on the cloud using a quences [Bolan et al., 2024; Botturi et al., 2021]. To mitigateglobal view of the system state to facilitate both shortpeak loads, many cities adopt overflow basins as temporary buffers [Baneerjee et al., 2024]. However, without reliable estimates of current and future filling-levels, it remains difficult to trigger timely preventive actions such as flow diversion or operational adjustments before critical thresholds are reached. Forecasting filling dynamics has therefore become a key requirement for proactive CSS management under increasingly volatile weather conditions. Recent work has shown that data-driven forecasting models settings can support with full CSO sensor management access [Singh in both et al. centralized, 2024; Singh cloud et al., 2025] and decentralized edge deployments designed to tolerate network or infrastructure failures [Ling et al., 2025]. These approaches, however, are typically developed and eval-Figure 1: System architecture highlighting operational redundancy uated under separate deployment assumptions.


Co-FactChecker: A Framework for Human-AI Collaborative Claim Verification Using Large Reasoning Models

arXiv.org Artificial Intelligence

Professional fact-checkers rely on domain knowledge and deep contextual understanding to verify claims. Large language models (LLMs) and large reasoning models (LRMs) lack such grounding and primarily reason from available evidence alone, creating a mismatch between expert-led and fully automated claim verification. To mitigate this gap, we posit human-AI collaboration as a more promising path forward, where expert feedback, grounded in real-world knowledge and domain expertise, guides the model's reasoning. However, existing LRMs are hard to calibrate to natural language feedback, particularly in a multi-turn interaction setup. We propose Co-FactChecker, a framework for human-AI collaborative claim verification. We introduce a new interaction paradigm that treats the model's thinking trace as a shared scratchpad. Co-FactChecker translates expert feedback into trace-edits that introduce targeted modifications to the trace, sidestepping the shortcomings of dialogue-based interaction. We provide theoretical results showing that trace-editing offers advantages over multi-turn dialogue, and our automatic evaluations demonstrate that Co-FactChecker outperforms existing autonomous and human-AI collaboration approaches. Human evaluations further show that Co-FactChecker is preferred over multi-turn dialogue, producing higher quality reasoning and verdicts along with relatively easier to interpret and more useful thinking traces.


S$^4$R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Caching

arXiv.org Artificial Intelligence

The growth of context window lengths in Large Language Models (LLMs) significantly enhances their long-context capabilities but incurs prohibitive memory costs due to the Key-Value (KV) cache. Although low-rank compression of KV cache is a promising remedy, existing methods face a dilemma: offline approaches depend on external calibration data, whereas online approaches incur substantial compute for full-prompt decomposition and reconstruction. In this paper, we propose S$^4$R, which builds low-rank subspaces from selectively sampled tokens and computes attention over a sparsely reconstructed KV representation. S$^4$R uses prompt-aware initialization to build initial key/value bases from a representative prompt subset, trading off calibration-data dependence against prefilling cost. Because fully reconstructing the cache at every decoding step is prohibitively expensive and hurts throughput, we further adopt sparse reconstruction to retain only informative positions during decoding. Extensive experiments on LongBench and RULER with Llama and Qwen model families show that S$^4$R achieves up to 5$\times$ KV compression with near full-cache accuracy, combining the efficiency of fixed compression with the adaptability of prompt-dependent methods.


Physics-guided deep metric learning with continuous time embeddings for open-world radar pulse de-interleaving

arXiv.org Artificial Intelligence

Electronic Support Measures (ESM) and Electronic Intelligence (ELINT) systems play a critical role in modern electronic warfare by intercepting and analysing electromagnetic emissions from non-cooperative radar transmitters [3]. The first and most critical stage of ESM signal processing is radar pulse de-interleaving--the process of sorting a chronologically interleaved stream of received pulses into distinct subsets corresponding to their respective source emitters. Accurate de-interleaving enables downstream radar signal analysis tasks including target characterisation, threat assessment, and platform recognition [4], [5], [6]. Once sorted, individual pulse trains can be used for emitter identification, location tracking, threat assessment, and electronic countermeasure generation. Intercepted pulses are typically represented as high-dimensional tabular records known as Pulse Description Words (PDWs). A standard PDW includes Time-of-Arrival (ToA), Radio Frequency (RF), Pulse Width (PW), Angle-of-Arrival (AoA), and Pulse Amplitude (PA). Modern dense radar environments pose substantial challenges for classical algorithms like Cumulative Difference Histograms [7] or standard PRI transforms [8]). These are mainly due to three obstacles: agile pulse modulation (such as stagger or jitter modulation schemes) that break periodic assumptions, severe signal degradation consisting of missing pulses (pulse loss) and spurious background pulses (clutter injection), and significant spatial-temporal overlaps in dense emitter environments. Deep learning treatments usually rely on recurrent neural networks or standard sequence-to-sequence transformers [9].


Converge to Surprise: Evolutionary Self-supervised Image Clustering

arXiv.org Artificial Intelligence

A variety of self-supervised image clustering approaches are invented in the past years. However, all dominant approaches are exploitative: The direction of parameter updates is determined by known states (observed input samples and existing parameters). We propose an explorative self-supervised learning framework that steps out of this zone. We define a surprise score that measures how unlikely the model's output representation is, assuming that all pixels are i.i.d. random noise. Maximizing the surprise score forces the deep learning model to reject the random noise null hypothesis, or equivalently, to discover non-randomness from data. Also, we propose a fundamental assumption: a surprise score cannot, in general, be fully optimized by exploitative optimization approaches. Thus, we propose the converge-to-surprise scheme to optimize a model: an evolution-strategy (ES) outer loop, which maximizes the surprise score using the mutation-selection mechanism, paired with a periodic gradient-descent inner loop, which uses the surprising clusters already discovered by ES as surrogate targets. On simple image benchmarks, our framework trained from scratch achieves new state-of-the-art results in non-parametric self-supervised image clustering --- the strictest deep-clustering setting, where the number of classes is unknown during training.


Retrieved-Span Training for Efficient Query-Focused Meeting Summarization on QMSum

arXiv.org Artificial Intelligence

QMSum provides no scorer, making query-focused meeting summarization results difficult to compare. We rescore or generate 15 systems under one implementation. Through a common inference port, a released 406M Fusion-in-Decoder specialist loses 6.30 ROUGE-1 when moved from capped long input to 2,000-word retrieved spans. Fine-tuning it on this span regime recovers the loss. On test it scores 36.33 ROUGE-1 versus 35.41 for our 1.2B system; the meeting-cluster 95% interval for the difference is [-0.27, +2.22], so QMSum does not statistically separate them. The smaller system uses about one-third as many total parameters and less than half the peak inference memory. Within the fixed 1.2B base, span-regime fine-tuning adds 5.29 [+4.02, +6.56], while replacing the first 4,500 transcript words with 2,000 retrieved words adds 1.55 on test and 0.29 on validation. Separately, under one concise prompt and reference-overlap scorer, a released 406M specialist exceeds five proprietary hosted models by at least 6.2 ROUGE-1, but output length and absent human or factuality evaluation limit this ordering. Conclusions are limited to QMSum and automatic metrics.


AI Writers Have a Consistent Stylometric Footprint, but AI Editors Do Not

arXiv.org Artificial Intelligence

Text generated by large language models (LLMs) has been shown to be stylometrically distinct from human-written text (Andre et al., 2023; Shah et al., 2023; Opara, 2024; Soto et al., 2024; Li and Zhang, 2025; Selvioglu et al., 2025). But LLMs are increasingly used not only to generate text but also to edit human writing, and it is unclear whether the two leave the same trace. We show that AI generation leaves a consistent "stylometric footprint": a small subset of features, primarily entropy and lexical diversity, consistently separates AI-generated text from human writing across 8 LLMs and 5 domains, while the remaining features depend heavily on the domain and generator. AI editing, however, does not reproduce the same footprint. Relative to their human- written sources, AI-edited texts show only a small increase in lexical diversity and a decrease in entropy, rather than the joint increase that characterizes AI generation. Lexical density, which contributes little to generation, instead becomes the dominant editing-associated signal. Stylometric features therefore separate AI-edited text from AI-generated text but are substantially less effective at separating it from human-written text. Our results suggest that "AI text" is not a single phenomenon: generation and editing leave qualitatively different stylometric traces and should be studied separately.


HBQ: Hierarchical Scaling Block Quantization with Hardware-Efficiency-Aware Design for Accurate LLM Inference

arXiv.org Artificial Intelligence

Block Quantization (BQ) enables efficient LLM inference by quantizing both weights and activations, but its design space remains underexplored. Through hardware-accuracy design space exploration, we identify block size as a key trade-off: larger blocks improve hardware efficiency by amortizing dequantization and accumulation costs, but degrade accuracy. Motivated by this insight, we propose Hierarchical Block Quantization (HBQ), which combines large blocks with low-overhead significand (SIG) scaling for second-level quantization. SIG scaling effectively compensates for large-block quantization errors while accounting for distinct weight and activation distributions. HBQ-A achieves W4A16-level accuracy with W4A5 and lower area than NVFP4, while HBQ-E further reduces hardware cost by 17% while outperforming existing BQ methods in accuracy. We implement HBQ for weights, activations, and KV cache in a 28nm ASIC accelerator and introduce partial-sum BQ to reduce EMA energy. At comparable accuracy, HBQ achieves 2.3x/4.6x higher area/energy efficiency than state-of-the-art weight-only quantization and 1.6-3.3x lower system energy with 1.5-3x speedup over prior BQ methods. Our implementation is publicly available at: https://github.com/SeoLabCornell/HBQ.git.