Search arXiv⌕ Search

arXiv subjects

Shahzeb Khan

Publications and source records attributed to Shahzeb Khan.

3 recordsLinked to original sources

Dual-Loop Active Learning for Low-Data De Novo Molecular Generation under CNS and Docking Constraints

In drug discovery, designing new molecules for CNS targets is challenging when target-specific data is scarce and desirable properties cannot be reduced to a single reward. We study whether a pretrained chemical language model can be adapted under a constrained regime using nested active learning (AL). Starting with $138$ Salt-Inducible Kinase~3 (SIK3) related molecules, the inner loop filters new chemical entities (NCEs) for drug-likeness, synthetic accessibility (SA), novelty, and BBB-relevant descriptors; an outer loop uses Glide Standard Precision docking to select molecules and write them back into the training corpus. Across six iterations, the model repeatedly improves within fixed constraint levels: property-filter pass rates increase from $54.3\%$ to $60.9\%$ and docking-hit rates from $6.4\%$ to $7.4\%$ in the first iteration pair, with analogous recovery under stricter cutoffs. A fixed-corpus control does not show this recovery, supporting a role for iterative training corpus updating in guiding the search toward the desired chemical space. An alternative Chemformer setup with beam search decoding loses diversity under the same schedule. We therefore present AL as a promising low-data strategy for computationally constrained tasks such as CNS molecular design, while emphasising that the reported evidence is computational and requires experimental validation.

q-bio.BM↗

Securing Agent-Generated Code with Its Own Development History

Pull requests written by coding agents can pass a project's test suite while omitting a guard or a validation step. To find the missing condition, a reviewer currently relies on static analysis of the final code. An agent-generated change, however, is accompanied by a development history that a human commit does not provide. The agent's trajectory records each edit together with the agent's stated assumptions, and structural differencing shows how each changed function evolved. We present TRACER, a workflow that uses this development history as evidence for security review. TRACER tracks changes at the symbol level, treats the agent's recorded rationale as claims to be verified against the current code, accepts a repair only after assessment and functional validation, and attaches to each accepted repair an executable check that later changes must satisfy. On the SusVibes benchmark, symbol-level tracking places the vulnerable symbol in the review scope for 94.6% of agent patches, compared with 13.4% for the primary scanner warning. With two investigator models, the configuration that includes the agent's rationale yields the largest number of verified security repairs while preserving functionality, and adding AST history to it does not increase that number. A funnel analysis identifies where the remaining candidates are lost. In a study of structural-biology software, the combination of repair memory and a boundary check allows a subsequent feature request to succeed in nine of ten tasks without reintroducing the repaired vulnerability, whereas functional feedback alone succeeds in four and reintroduces the vulnerability in three.

cs.SE↗

Seeing Structural Failure Before it Happens: An Image-Based Physics-Informed Neural Network (PINN) for Spaghetti Bridge Load Prediction

Physics Informed Neural Networks (PINNs) are gaining attention for their ability to embed physical laws into deep learning models, which is particularly useful in structural engineering tasks with limited data. This paper aims to explore the use of PINNs to predict the weight of small scale spaghetti bridges, a task relevant to understanding load limits and potential failure modes in simplified structural models. Our proposed framework incorporates physics-based constraints to the prediction model for improved performance. In addition to standard PINNs, we introduce a novel architecture named Physics Informed Kolmogorov Arnold Network (PIKAN), which blends universal function approximation theory with physical insights. The structural parameters provided as input to the model are collected either manually or through computer vision methods. Our dataset includes 15 real bridges, augmented to 100 samples, and our best model achieves an $R^2$ score of 0.9603 and a mean absolute error (MAE) of 10.50 units. From applied perspective, we also provide a web based interface for parameter entry and prediction. These results show that PINNs can offer reliable estimates of structural weight, even with limited data, and may help inform early stage failure analysis in lightweight bridge designs. The complete data and code are available at https://github.com/OmerJauhar/PINNS-For-Spaghetti-Bridges.

cs.LG↗