Sitemap
A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.
Pages
Posts
blog
LaTeXbangla - Bangla in LaTeX
Published:
A package for seemless integration of Bangla fonts in large LaTeX projects.
Prime Counting Function and Chebyshev Bounds
Published:
A simple proof bounding the prime counting function using Chebyshev’s technique.
ML Augmented Binary Heap
Published:
We sped-up binary heap operations 55% using ML.
I looked into 16 Million Futures and Saw Argentina Win against Australia in 11 Million of Them
Published:
Predicting FIFA World Cup 2022 match outcomes using Bayesian inference on Poisson processes. The model treats each team’s latent strength as evolving stochastically over time, with observations generated via a Poisson likelihood. This design prioritizes posterior interpretability and uncertainty quantification over raw predictive performance.
VITA: Variational Inference Transformer for Asymmetric Data
Published:
A decoder-free variational pretraining framework for time-series forecasting under feature asymmetry. VITA learns latent representations that bridge the gap between rich training features and limited deployment features, using a transformer encoder with a seasonal prior. Applied to agricultural yield forecasting, VITA achieves R² = 0.726 on extreme weather years, training in <2.5 hours on a single GPU.
Linear Regression as a System of Linear Equations
Published:
A systematic treatment of linear regression from the perspective of solving linear systems. We characterize when exact solutions exist based on rank conditions and derive the closed-form solution ($X^T X)^{-1} X^T y$. In the regression setting with noise, this formula emerges as both the least-squares minimizer and the maximum likelihood estimator.
Schema Search MCP Server
Published:
Natural language search for relational schemas with millisecond latency.
Geometric Interpretration of the Cauchy–Schwarz Inequality
Published:
How Pythagoras and positive definiteness geometrically prove the Cauchy–Schwarz inequality. The inequality simply states that projecting a vector onto another cannot increase its length. This geometric perspective reveals that Cauchy–Schwarz represents the cosine of an angle between vectors, connecting it to the law of cosines and Pearson correlation.
When Does No Correlation Imply Independence?
Published:
Zero correlation does not always imply independence. However, if two random variables have exponentially decaying tails and all their mixed polynomial covariances vanish, then they must be independent. The proof uses moment generating functions to extend polynomial factorization to the full distribution.
Why Does Normal Distribution Show Up in Central Limit Theorem?
Published:
The Central Limit Theorem states that sums of i.i.d random variables with finite mean and variance converge in distribution to a Gaussian. But why the normal distribution specifically? This post builds intuition by showing CLT is a direct consequence of the exponential limit $(1 + x/n)^n \to e^x$.
Adam and AdamW: How They Work and When They Fail
Published:
Adam is an adaptive optimizer that rescales gradients coordinate-wise and maintains a momentum, addressing two major problems with Stochastic Gradient Descent. This post discusses why it is so effective and under what circumstances it can fail.
portfolio
publications
Graphettes: Constant-time determination of graphlet and orbit identity including (possibly disconnected) graphlets up to size 8
Published in PLoS ONE, 2017
We computed small unique subgraphs with certain properties that later became used in other biological network matching problems
Recommended citation: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0181570
Pruning for Protection: Increasing Jailbreak Resistance in Aligned LLMs Without Fine-Tuning
Published in Arxiv Preprint, 2017
We demonstrated that moderate pruning of the llms result in higher resistance against jailbreaking prompts
Recommended citation: **Adib Hasan**, Ileana Rugina, & Alex Wang. (2024). Pruning for Protection: Increasing Jailbreak Resistance in Aligned LLMs Without Fine-Tuning. https://arxiv.org/abs/2401.10862
