Basil Khwaja

Learningtolivelife.
Teachingmachinestolivelikeonetoo.
Me.
Hello! I'm Basil Khwaja, an aspiring AI/ML Engineer and researcher. I recently completed my Master's in Electrical and Computer Engineering at Purdue University, where my thesis explored adaptive edge model predictive control for autonomous systems, reformulated through the lens of non-stationary contextual bandits. My research spans reinforcement learning, AI safety and alignment, and mechanistic interpretability—including a paper on pharmacological knowledge in biomedical LLMs accepted to an ICLR 2026 workshop.
Born and raised in Bangalore, India, I moved to America at the age of seven. My interests extend well beyond technology—I'm an aspiring dancer exploring contemporary and hip-hop styles, and I play guitar in my band, Holladaze!, where I'm currently building out an ambient, texture-heavy pedalboard. Recently, I've taken up bouldering, and I'm excited to see where that journey takes me.
Education:
  • Bachelor's Degree in Computer Engineering, Purdue University (2022 – 2025)
  • Master's Degree in Electrical and Computer Engineering, Purdue University (2025 – 2026)
Basil Khwaja
Publications.
cs.CLarXiv:2603.03407· August 2026

SycEval-EA: Relational Framing and Memory Policy on Contamination

Ancil Crayton, Nathan Batty, Neil Pendyala, Basil Hasan Khwaja, Jess Bergs

SycEval-EA studies how sycophantic responses can turn into persistent misinformation in LLM memory. Across 352,800 trials involving seven models and 200 algebra and medical questions, the study distinguishes between caving to false corrections, valid revision, and whether admitted errors are later stored and reproduced. The results show that framing can influence caving, with reality-testing generally reducing it and contingent approval increasing it, while structured memory records reduce false admissions and contamination compared with naive summaries.

Submitted · NeurIPS 2026 WorkshopMechanistic InterpretabilitySycophancyJudging
View on arXiv →
Master's ThesisPurdue University · July 2026

AEM : Adaptive Edge Model Predictive Control via Contextual Neural Bandtis

Basil Hasan Khwaja, Yuan-Yao Lou, Jonathan Spencer, Kwang Taik Kim

Real-time autonomous vehicle (AV) local planning demands low-latency, safe, and compute-efficient trajectory generation. While offloading Model Predictive Control (MPC) rollouts to edge servers expands the planning search space, intermittent wireless downlinks and transmission errors create critical latency bottlenecks. Different rules that govern edge servers can not all prove to benefit the agent at all times. Existing frameworks remain agnostic to historical execution patterns and spatial context because of large overhead computation that exists with brute-force recommendation systems...

Submitted · IEEE INFOCOM 2027Computer EngineeringAutonomous VehiclesModel Predictive ControlContextual BanditsTrajectory Planning
cs.CLarXiv:2603.03407· Mar 2026

Tracing Pharmacological Knowledge In Large Language Models

Basil Hasan Khwaja, Dylan Chen, Guntas Toor, Anastasiya Kuznetsova

We investigate how drug-group semantics are represented and retrieved within Llama-based biomedical language models using causal and probing-based interpretability methods. Our results demonstrate that early layers play a key role in encoding drug-group knowledge, with pharmacological semantics distributed across tokens rather than localized to single positions.

Accepted @ LMRL Workshop · ICLR 2026Mechanistic InterpretabilityLLMsPharmacology
View on arXiv →
Music.
Holladaze b2b set
Holladaze Inspirasian performance
Night Market grid performance
Night Market solo
Night Market stage

Juxtaposed

Lost Keys

Suffocate

Space

Quotes I love
"Medicine, law, business, engineering—these are noble pursuits and necessary to sustain life, but poetry, beauty, romance, love—these are what we stay alive for."

- Dead Poet's Society

"But how could you live and have no story to tell?"

- White Nights

"One could not count the moons that shimmer on her roofs, or the thousand splendid suns that hide behind her walls"

- A Thousand Splendid Suns

© 2026 Basil K.