Account

Posts of RIML Lab

newest first

#283Text

📈 Uncertainty Quantification Journal Club — Sixth Session 🔹 Topic: Gaussian Process Regression 📖 Reading: Continuing Chapter 2 of Gaussian Processes for Machine Learning 🔸 Presenter: Prof. Mohammad Hossein Rohban 📅 Date: Wednesday (چهارشنبه) 🕒 Time: 13:00–14:00 🌐 Location: Hybrid — in person (Prof. Rohban’s Office) and online: https://vc.sharif.edu/rohban In our previous session, we explored Gaussian processes as distributions over functions and worked through how conditioning on observations produces a predictive mean and variance. For the sixth session of our uncertainty quantification journal club, we will continue with a practical question: What determines a Gaussian process model’s predictions and uncertainty, and how can we use data to choose its parameters? Building on the previous discussion, we will further examine the predictive distribution, the role of the kernel and observation noise, and how marginal likelihood helps us choose model hyperparameters. Who is this session for? Anyone interested in understanding how probabilistic models express uncertainty about their predictions. Basic familiarity with regression, probability, and linear algebra will be helpful. This session builds on our earlier Gaussian process discussions, so reviewing the previous recordings and notes is recommended. Reviewing Section 2.2 and reading ahead into Section 2.3 is encouraged, but you are welcome to join without doing so. 📄 Source book: Chapter 2: Regression — Gaussian Processes for Machine Learning, Carl Edward Rasmussen and Christopher K. I. Williams, MIT Press, 2006 https://gaussianprocess.org/gpml/chapters/RW2.pdf 🎥 Related recordings on Prof. Rohban’s Aparat channel: • Bayesian inference in function space: https://www.aparat.com/v/wrram9m • Interpreting the GP posterior mean and variance, and introducing marginal likelihood: https://www.aparat.com/v/qav622n If you have missed the previous sessions, we recommend reviewing the recordings and notes: 📺 Club’s playlist: https://www.aparat.com/playlist/28155953/ 📝 Notes and announcements: @RIML_Uncertainty_Club There will be time for questions and discussion...

Open in Telegram
Views917−64%vs avg
Forwards—
Reactions—
Comments—
#282Link preview

🧠 Local Learning Sessions  3️⃣ Third Session 🔹 Title: How Important Is Weight Symmetry in Backpropagation?  🔸 Presenter: Mohammad Ali Momen 🌀 Abstract When a neural network makes a mistake, how does a hidden neuron know which of its connections to strengthen or weaken? Standard backpropagation answers this question by sending error signals backward using the same weights that carried activity forward. For a biological circuit, that poses a puzzle: how could a feedback connection know the exact strength of its forward counterpart? This is the *weight transport problem*. In this session, we’ll compare two papers that ask how much of that precision learning actually needs. Lillicrap and colleagues introduce feedback alignment: they replace the backward weights with random values and keep them fixed throughout training. The surprising result is that the forward network can adapt, so that signals arriving through this unchanging feedback pathway come to point in a useful direction for learning. Liao, Leibo, and Poggio take the question a step further: what matters more, the *magnitude* of a feedback weight or its *sign*? Across 15 classification datasets, they found that learning generally improved as more forward and feedback connections agreed in sign. With full sign agreement and techniques such as Batch Normalization or the Batch Manhattan update rule to stabilize training, networks could match standard backpropagation even when feedback magnitudes were random. We’ll close by connecting these findings to local learning: both approaches still rely on an error signal from the output, but neither requires an exact copy of every forward weight. What does that distinction tell us about which parts of backpropagation a brain-inspired learning rule might keep—and which it can do without? 📚 Papers Discussed 1️⃣ Random feedback weights support learning in deep neural networks (https://arxiv.org/abs/1411.0247v1)  Authors: Timothy P. Lillicrap, Daniel Cownden, Douglas B. Tweed, and Colin J. Akerman 2️⃣ How Important Is Weight Symmetry in Backpropagation? (https://arxiv.org/abs/1510.05067v4)  Authors: Qianli Liao, Joel Z. Leibo, and Tomaso Poggio Session Details  📅 Day: Monday / دوشنبه  🕙 Time: 10:00–11:00 AM  🌐 Location: Online at [vc.sharif.edu/rohban](https://vc.sharif.edu/rohban) Anyone interested in deep learning or brain-inspired AI is welcome. No prior knowledge of feedback alignment is required. Join us for the discussion! 🤝

Open in Telegram
Views1,680−34%vs avg
Forwards—
Reactions—
Comments—
#281Link preview
Views1,570−38%vs avg
Forwards—
Reactions—
Comments—
#280Link preview
Views2,220−13%vs avg
Forwards—
Reactions—
Comments—
#279Text

🧠 Local Learning Sessions 1️⃣ First Session 🔹 Title: Problem Statement and Status 🔸 Presenter: Mohammad Ali Momen 🌀 Abstract: Modern AI systems achieve remarkable performance, but training deep neural networks remains computationally expensive, memory-intensive, and fundamentally dependent on global backpropagation. Unlike the brain, conventional learning algorithms require storing intermediate activations and propagating error signals backward through the entire network, creating major challenges for scalable, energy-efficient, and brain-inspired computing. Can deep neural networks learn meaningful representations without global backpropagation? And more importantly, can locally trained networks preserve the underlying structure of the world as effectively as globally trained models? Local Learning offers a promising alternative by allowing network blocks to update their parameters using locally available information and limited communication between layers. Recent advances in Self-Supervised Learning, including CLAPP, predictive learning approaches, and other local learning rules, have demonstrated encouraging results, challenging the assumption that globally propagated gradients are always necessary for learning useful deep representations. However, significant open questions remain. Can local learning scale to complex models? How can independently trained layers coordinate their objectives? Can these methods prevent representation collapse and preserve the latent variables underlying observed data? Strong performance on downstream tasks does not necessarily guarantee that a model has learned the underlying generative structure. In this first session, we will explore the motivations behind local learning, its connection to Neuromorphic Computing, In-Memory Computing, and Brain-Inspired AI, and review major methodological developments and the current state of research. We will then introduce a central research direction: investigating the possibilities and limitations of local self-supervised representation learning, particularly its ability to preserve and recover latent factors such as object position, velocity, and shape. We will discuss how controlled experiments and comparisons with global backpropagation can help identify the conditions under which local learning succeeds or fails. Session Details: 📅 Date: Monday / دوشنبه 🕙 Time: 10:00 – 11:00 AM 🌐 Location: Online at vc.sharif.edu/rohban The session is open to anyone interested in Deep Learning, Self-Supervised Learning, Brain-Inspired AI, and Neuromorphic Computing. No prior expertise in local learning is required. We look forward to your participation and discussion! 🤝

Open in Telegram
Views2,890+14%vs avg
Forwards—
Reactions—
Comments—
#278Text

🔐 ML Security Journal Club ✅ This Week's Presentation: 🔹 Title: Alignment Collapse Under KV Cache Quantization: Diagnosis and Mitigation 🔸 Authors: Bruce Changlong Xu, Adarsh Kumarappan, Mu Zhou 🌀 Abstract: KV cache quantization is widely used to reduce the memory footprint of Large Language Model inference, but most evaluations focus only on efficiency, perplexity, and task accuracy. This paper shows that low-bit KV cache quantization can silently degrade safety alignment, even when standard performance metrics appear almost unchanged. Across 11 instruction-tuned models ranging from 3.8B to 72B parameters and five safety benchmarks, the authors find sharp, model-specific alignment failures under quantization. For example, Mistral-7B loses 15.2% of its refusals while perplexity increases by only 1.03×, showing that conventional metrics can completely miss important safety regressions. The paper traces this failure to the geometry of model representations: safety-related features lie in a low-dimensional activation subspace that can be orders of magnitude more sensitive to quantization noise than the overall representation space. Based on this insight, the authors introduce Per-Channel Reduction (PCR), a diagnostic that identifies three distinct failure modes: outlier-crushes-safety, outlier-as-safety, and multi-layer dilution. Using only a small calibration set, PCR predicts which mitigation strategy is appropriate for a given model and generalizes across unseen prompts, models, and production quantization methods. The proposed training-free mitigation protocol recovers up to 97% of lost alignment with minimal memory overhead. 📄 Paper: Alignment Collapse Under KV Cache Quantization: Diagnosis and Mitigation Session Details: - 📅 Date: Thursday / پنج‌شنبه - 🕘 Time: 9:00 – 10:00 AM - 🌐 Location: Online at vc.sharif.edu/ch/rohban We look forward to your participation! ✌️

Open in Telegram
Views1,940−24%vs avg
Forwards—
Reactions—
Comments—
#277Link preview

📈 Uncertainty Quantification Journal Club — Third Session 🔹 Topic: Gaussian Process Regression 📖 Reading: Chapter 2 of Gaussian Processes for Machine Learning 🔸 Presenter: Prof. Mohammad Hossein Rohban Many different curves can fit the same observations. How should a model make predictions between those observations, and how uncertain should it be where data are scarce? For the fourth session of our uncertainty quantification journal club, we will continue to answer a foundational question: what does it mean to place a probability distribution over functions? We will continue on Chapter 2, Regression, which develops Gaussian process regression by connecting Bayesian linear models with a view of learning directly in the space of functions. We will also consider what these uncertainty estimates depend on, including the model’s assumptions, and the computational limitations of Gaussian process regression. Who is this session for? Anyone interested in understanding how probabilistic models express uncertainty about their predictions. Basic familiarity with regression, probability, and linear algebra will be helpful; no prior knowledge of Gaussian processes is required. Reading the chapter beforehand is encouraged, but you are welcome to join without doing so. - If you have missed the third session, it is highly suggested to watch its record and review the notes from Uncertainty Quantification Club’s channel at: @RIML_Uncertainty_Club 📄 Chapter: [Chapter 2: Regression](https://gaussianprocess.org/gpml/chapters/RW2.pdf) — Gaussian Processes for Machine Learning, MIT Press, 2006 - 📅 Date: Wednesday (چهارشنبه) - 🕒 Time: 13:00–14:00 - 🌐 Location: Hybrid — in person and online at [vc.sharif.edu/rohban](https://vc.sharif.edu/rohban) There will be time for questions and discussion, including connections to your own research and suggestions for future sessions.

Open in Telegram
Views1,830−28%vs avg
Forwards—
Reactions—
Comments—
#276Link preview

🔐 LLM Faithfulness Journal Club ✅ This Week's Presentation: 🔹 Title: Is Chain-of-Thought Really Not Explainability? Chain-of-Thought Can Be Faithful without Hint Verbalization 🔸 Presenter: Farzan Rahmani https://www.linkedin.com/in/farzan-rahmani-51128b201 🌀 Abstract: Does a chain-of-thought (CoT) that never mentions an injected hint count as unfaithful? Recent work using the Biasing Features metric says yes. This paper argues that this view is too narrow and confuses unfaithfulness with incompleteness: a linear natural-language narrative is necessarily a lossy summary of distributed transformer computation. On multi-hop reasoning tasks, many CoTs flagged as unfaithful by Biasing Features are judged faithful by other metrics (over 50% in some models). The authors also introduce faithful@k, showing that larger inference-time budgets greatly increase hint verbalization (up to 90% in some settings), so much of the apparent unfaithfulness comes from tight token limits. Finally, causal mediation analysis shows that even non-verbalized hints can causally influence predictions through the CoT. The paper advocates a broader interpretability toolkit, including causal mediation and corruption-based metrics, rather than relying on hint-based evaluations alone. 📄 Paper: Is Chain-of-Thought Really Not Explainability? Chain-of-Thought Can Be Faithful without Hint Verbalization (ACL 2026) https://aclanthology.org/2026.acl-long.2217/ Session Details: * 📅 Date: Saturday (شنبه), November 7 * 🕔 Time: 5:00 - 6:00 PM * 🌐 Location: Online at http://vc.sharif.edu/ch/rohban We look forward to your participation! ✌️

Open in Telegram
Views2,180−14%vs avg
Forwards—
Reactions—
Comments—
#275Text
Views7,640+201%vs avg
Forwards—
Reactions—
Comments—
#274Link preview

📈 Uncertainty Quantification Journal Club — Third Session 🔹 Topic: Gaussian Process Regression 📖 Reading: Chapter 2 of Gaussian Processes for Machine Learning 🔸 Presenter: Proff. Rohban Many different curves can fit the same observations. How should a model make predictions between those observations, and how uncertain should it be where data are scarce? For the third session of our uncertainty quantification journal club, we will explore a foundational question: what does it mean to place a probability distribution over functions? We will discuss Chapter 2, Regression, which develops Gaussian process regression by connecting Bayesian linear models with a view of learning directly in the space of functions. We will also consider what these uncertainty estimates depend on, including the model’s assumptions, and the computational limitations of Gaussian process regression. Who is this session for? Anyone interested in understanding how probabilistic models express uncertainty about their predictions. Basic familiarity with regression, probability, and linear algebra will be helpful; no prior knowledge of Gaussian processes is required. Reading the chapter beforehand is encouraged, but you are welcome to join without doing so. 📄 Chapter: [Chapter 2: Regression](https://gaussianprocess.org/gpml/chapters/RW2.pdf) — Gaussian Processes for Machine Learning, MIT Press, 2006 - 📅 Date: Wednesday (چهارشنبه) - 🕒 Time: 13:00–14:00 - 🌐 Location: Hybrid — in person and online at [vc.sharif.edu/rohban](https://vc.sharif.edu/rohban) There will be time for questions and discussion, including connections to your own research and suggestions for future sessions.

Open in Telegram
Views4,910+93%vs avg
Forwards—
Reactions—
Comments—
#273Link preview
Views3,040+20%vs avg
Forwards—
Reactions—
Comments—
#272Text

🔐 ML Security Journal Club ✅ This Week's Presentation: 🔹 Title: Q-resafe: Assessing Safety Risks and Quantization-aware Safety Patching for Quantized Large Language Models 🔸 Presenter: Arian Komaei 🌀 Abstract: Quantized large language models (LLMs) have gained increasing attention and significance for enabling deployment in resource-constrained environments. However, emerging studies on a few calibration dataset-free quantization methods suggest that quantization may compromise the safety capabilities of LLMs, underscoring the urgent need for systematic safety evaluations and effective mitigation strategies. In this paper, we present comprehensive safety evaluations across various mainstream quantization techniques and diverse calibration datasets, utilizing widely accepted safety benchmarks. To address the identified safety vulnerabilities, we propose a quantization-aware safety patching framework, Q-resafe, to efficiently restore the safety capabilities of quantized LLMs while minimizing any adverse impact on utility. Extensive experimental results demonstrate that Q-resafe successfully re-aligns the safety of quantized LLMs with their pre-quantization counterparts, even under challenging evaluation scenarios. Project page is available at: this https URL. 📄 Papers: Q-resafe: Assessing Safety Risks and Quantization-aware Safety Patching for Quantized Large Language Models Session Details: 📅 Date: Sunday یک‌شنبه 🕒 Time: 6:00 – 7:00 PM 🌐 Location: Online at vc.sharif.edu/ch/rohban We look forward to your participation! ✌️

Open in Telegram
Views3,070+21%vs avg
Forwards—
Reactions—
Comments—
#271Link preview

📈 Uncertainty Quantification Journal Club — First Session 🔹 Paper: On Calibration of Modern Neural Networks 🔸 Presenter: Amir Qeysarbeigi A model can achieve high accuracy and still be confidently wrong. When we use its predictions to decide whether to act, request more information, or involve a human, the quality of its confidence estimates matters. For the first session of our uncertainty quantification journal club, we will start with a practical question: when a model reports 90% confidence, how often is it actually correct? We will discuss *On Calibration of Modern Neural Networks*, which examines why neural-network confidence can be misleading and how temperature scaling can improve calibration with a simple adjustment to a trained model. What we will cover: We will use concrete examples to distinguish accuracy from calibration, learn how to read reliability diagrams, and work through the intuition and mathematics behind temperature scaling. We will also discuss the method’s limitations and what they mean for using confidence in AI systems. This session will introduce the club’s broader direction: reading foundational and recent papers on how to measure uncertainty and use it in prediction and decision-making, including applications in deep learning, LLMs, and reinforcement learning. Who is this session for? Anyone interested in understanding when to trust a model’s predictions. Basic familiarity with neural networks and probability is enough; no prior background in uncertainty quantification is required. Reading the paper beforehand is helpful, but you are welcome to join without doing so. 📄 Article: [*On Calibration of Modern Neural Networks*](https://proceedings.mlr.press/v70/guo17a.html)[ — ICML 2017](https://proceedings.mlr.press/v70/guo17a.html) - 📅 Date: Wednesday (چهارشنبه) - 🕒 Time: 13:00-14:00 - 🌐 Location: Hybrid — in person and online at [vc.sharif.edu/rohban](https://vc.sharif.edu/rohban) There will be time for questions and discussion, including suggestions for topics to explore in future sessions.

Open in Telegram
Views3,500+38%vs avg
Forwards—
Reactions—
Comments—
#270Text

🔐 ML Security Journal Club ✅ This Week's Presentation: 🔹 Title: Widening the Gap: Exploiting LLM Quantization via Outlier Injection & Mind the Gap: A Practical Attack on GGUF Quantization 🔸 Presenter: Arian Komaei 🌀 Abstract: These two papers study the security implications of quantization in large language models (LLMs), demonstrating how models that appear benign in full precision can exhibit malicious behavior after quantization. “Mind the Gap” introduces a practical attack on the GGUF quantization family used in ollama and llama.cpp. By exploiting the difference between full-precision and quantized weights, the authors construct models whose malicious behavior remains hidden in full precision but emerges after quantization. They demonstrate the attack on three popular LLMs across nine GGUF quantization data types, covering insecure code generation, targeted content injection, and benign instruction refusal. “Widening the Gap” extends this threat to a broader range of advanced quantization techniques, including AWQ, GPTQ, and GGUF I-quants. Its key insight is that injecting large outliers into specific weight blocks can cause other weights to be rounded to zero, inducing predictable weight collapse that activates malicious behavior. Together, these papers show that quantization-induced security risks extend beyond simple rounding-based schemes to complex, widely used methods, and that quantization complexity alone is insufficient as a defense. 📄 Papers: Widening the Gap: Exploiting LLM Quantization via Outlier Injection Mind the Gap: A Practical Attack on GGUF Quantization Session Details: 📅 Date: Sunday یک‌شنبه 🕒 Time: 6:00 – 7:00 PM 🌐 Location: Online at vc.sharif.edu/ch/rohban We look forward to your participation! ✌️

Open in Telegram
Views3,360+32%vs avg
Forwards—
Reactions—
Comments—
#269Text
Views5,840+130%vs avg
Forwards—
Reactions—
Comments—
#268Text

🔐 ML Security Journal Club ✅ This Week's Presentation: 🔹 Title: Exploiting LLM Quantization 🔸 Presenter: Arian Komaei 🌀 Abstract: This paper studies the security implications of quantization in large language models (LLMs). While quantization is widely used to reduce memory usage and enable deployment on commodity hardware, its adverse effects from a security perspective have been largely unexplored. The authors reveal that widely used quantization methods can be exploited to produce a harmful quantized LLM, even though the full-precision counterpart appears benign, potentially tricking users into deploying the malicious quantized model. They demonstrate this threat using a three-staged attack framework: (i) first, obtaining a malicious LLM through fine-tuning on an adversarial task; (ii) next, quantizing the malicious model and calculating constraints that characterize all full-precision models that map to the same quantized model; (iii) finally, using projected gradient descent to tune out the poisoned behavior from the full-precision model while ensuring that its weights satisfy the constraints computed in step (ii). This procedure results in an LLM that exhibits benign behavior in full precision but when quantized, it follows the adversarial behavior injected in step (i). Experiments demonstrate the feasibility and severity of such an attack across three diverse scenarios: vulnerable code generation, content injection, and over-refusal attack. In practice, the adversary could host the resulting full-precision model on an LLM community hub such as Hugging Face, exposing millions of users to the threat of deploying its malicious quantized version on their devices. 📄 Paper: Exploiting LLM Quantization Session Details: 📅 Date: Sunday یک‌شنبه 🕒 Time: 6:00 – 7:00 PM 🌐 Location: Online at vc.sharif.edu/ch/rohban We look forward to your participation! ✌️

Open in Telegram
Views3,890+53%vs avg
Forwards—
Reactions—
Comments—
#267Text

we are looking for Teaching Assistants to join the Multi-Agent Reinforcement Learning (MARL) course team for Fall 2026. 1. Homework TAs Responsibilities - Assist in designing, reviewing, and grading homework assignments. - Prepare and review homework solutions. Requirements - Successful completion of both Reinforcement Learning and Game Theory courses. 2. Project TAs Responsibilities - Guide students throughout their research projects in MARL. - Select relevant topics, papers, and materials for different project phases. - Help students read, understand, and discuss research papers. - Support students in developing and refining research ideas. Requirements - Strong interest in research in Multi-Agent Reinforcement Learning. - Successful completion of an RL course. - Previous research experience in RL or related areas. - Familiarity with Game Theory and/or agentic systems. - Mandatory attendance at course lectures throughout the semester and continuous engagement with the course material. 3. Quiz TAs Responsibilities - Design and prepare quizzes based on the course material. Requirements - Strong knowledge of Reinforcement Learning and Game Theory. - Successful completion of an RL course. - Mandatory attendance at course lectures throughout the semester and continuous engagement with the course material. If you are interested, please fill out the application form. If you have any questions, feel free to contact me. For course updates and announcements, join the course channel.

Open in Telegram
Views4,310+70%vs avg
Forwards—
Reactions—
Comments—
#266Text

🔐 ML Security Journal Club ✅ This Week's Presentation: 🔹 Title: Robust Machine Unlearning for Quantized Neural Networks via Adaptive Gradient Reweighting with Similar Labels 🔸 Presenter: Arian Komaei 🌀 Abstract: This paper studies machine unlearning (MU) in quantized neural networks, where conventional unlearning methods designed for full-precision models can become significantly less effective. The authors identify two key challenges introduced or amplified by quantization: noise from randomly relabeling forgotten samples and gradient imbalance between forgotten and retained data. Because quantized models operate in a constrained, discrete parameter space, these effects can lead to unstable updates and poorer approximation of a model retrained from scratch. To address these issues, the authors propose Q-MUL, a quantization-aware unlearning framework with two main components. Similar Labels (SL) replaces random labels for forgotten samples with alternative labels selected according to the model's current output distribution, reducing disruptive noise during unlearning. Adaptive Gradient Reweighting (AGR) dynamically balances the contributions of forgotten and retained data according to their gradient norms. Experiments on datasets including CIFAR-10, CIFAR-100, SVHN, and Tiny-ImageNet, using quantized ResNet-18 and MobileNetV2, show that Q-MUL generally produces models whose forgetting, retention, test accuracy, and membership-inference behavior are closer to those of models retrained from scratch than existing approximate-unlearning baselines. 📄 Paper: Robust Machine Unlearning for Quantized Neural Networks via Adaptive Gradient Reweighting with Similar Labels Session Details: 📅 Date: Sunday یک‌شنبه 🕒 Time: 6:00 – 7:00 PM 🌐 Location: Online at vc.sharif.edu/ch/rohban We look forward to your participation! ✌️

Open in Telegram
Views3,020+19%vs avg
Forwards—
Reactions—
Comments—
#264Text
Views3,410+34%vs avg
Forwards—
Reactions—
Comments—
#263Link preview
Views4,230+66%vs avg
Forwards—
Reactions—
Comments—