<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Projects | Yik Yu Ng</title><link>https://yyn-anson.github.io/project/</link><atom:link href="https://yyn-anson.github.io/project/index.xml" rel="self" type="application/rss+xml"/><description>Projects</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 31 May 2026 00:00:00 +0000</lastBuildDate><image><url>https://yyn-anson.github.io/media/icon_hu7729264130191091259.png</url><title>Projects</title><link>https://yyn-anson.github.io/project/</link></image><item><title>Privacy-Preserving Multimodal AI for MS Prognosis</title><link>https://yyn-anson.github.io/project/multimodal-ms-prognosis/</link><pubDate>Sun, 31 May 2026 00:00:00 +0000</pubDate><guid>https://yyn-anson.github.io/project/multimodal-ms-prognosis/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>This research develops a privacy-preserving multimodal large language model system for personalized multiple-sclerosis lesion-activity prognosis. The system combines clinical narratives and MRI while keeping model inference local.&lt;/p>
&lt;h2 id="research-direction">Research direction&lt;/h2>
&lt;ul>
&lt;li>A retrieval-synthesis-critique workflow assembles grounded evidence for the final assessment.&lt;/li>
&lt;li>The design emphasizes privacy, traceability, and cautious use in a clinical decision-support setting.&lt;/li>
&lt;li>Current work studies systematic failure subgroups through multimodal decision embeddings.&lt;/li>
&lt;/ul>
&lt;p>This project is conducted at Mila - Quebec AI Institute under the supervision of Professor Tal Arbel.&lt;/p></description></item><item><title>Honour Research Project: Bias Detection through Unsupervised Learning</title><link>https://yyn-anson.github.io/project/honour-research/</link><pubDate>Thu, 01 May 2025 00:00:00 +0000</pubDate><guid>https://yyn-anson.github.io/project/honour-research/</guid><description>&lt;h1 id="bias-detection-through-unsupervised-learning">Bias Detection through Unsupervised Learning&lt;/h1>
&lt;p>&lt;em>30 Nov 2024 – Current&lt;/em>&lt;/p>
&lt;h2 id="executive-summary">Executive Summary&lt;/h2>
&lt;p>This innovative research project addresses a critical challenge in today&amp;rsquo;s digital information ecosystem: detecting and quantifying political bias in news articles and social media content without requiring labeled training data. The framework introduces a novel fully unsupervised pipeline that combines geometric embedding-based techniques with a multi-agent evaluation system to provide a comprehensive, nuanced assessment of media bias across two dimensions - political leaning and rhetorical bias intensity.&lt;/p>
&lt;p>Note: This work is still in progress, we hope to push it to a formal conference paper. Proposal can be found here
&lt;/p>
&lt;h2 id="problem-statement">Problem Statement&lt;/h2>
&lt;p>In today&amp;rsquo;s digital landscape, social media platforms have become the primary source of news for billions worldwide, fundamentally altering information flow and public discourse. This shift presents unprecedented challenges as algorithms selectively amplify content, often prioritizing engagement over accuracy and potentially exposing users to increasingly polarized and biased information. Such bias can profoundly influence public opinion formation, policy preferences, and voting behavior in democratic societies.&lt;/p>
&lt;p>While traditional approaches to media bias detection typically rely on supervised learning with large labeled datasets, our research introduces a framework that eliminates this dependency, making bias detection more scalable, adaptable, and transparent.&lt;/p>
&lt;h2 id="methodology-a-two-component-approach">Methodology: A Two-Component Approach&lt;/h2>
&lt;p>Our framework consists of two complementary components that work together to provide a comprehensive bias assessment:&lt;/p>
&lt;h3 id="1-embedding-based-political-leaning-estimation">1. Embedding-Based Political Leaning Estimation&lt;/h3>
&lt;p>This component quantifies the political orientation of articles on a continuous left-right spectrum through several innovative techniques:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Article Embedding&lt;/strong>: Content is transformed into dense vector representations using INSTRUCTOR, an instruction-finetuned text embedding model that captures semantic information relevant to political analysis.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Pseudo-Topic Clustering&lt;/strong>: Articles are grouped into clusters based on topical similarity to normalize for content variation, ensuring political leaning is assessed within comparable contexts rather than across disparate subjects.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Contrastive Adversarial Fine-Tuning&lt;/strong>: Embeddings are enhanced through triplet learning, where semantically aligned articles are pulled closer together while divergent articles are pushed further apart, amplifying fine-grained ideological distinctions within topical groups.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Directional Vector-Based Scoring&lt;/strong>: A political spectrum axis is defined within the embedding space using prototypical left-leaning and right-leaning seed articles. Each article&amp;rsquo;s political leaning score is computed as the normalized projection onto this axis, ranging from -1 (strongly left-leaning) to +1 (strongly right-leaning).&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h3 id="2-multi-agent-llm-based-rhetorical-bias-analysis">2. Multi-Agent LLM-Based Rhetorical Bias Analysis&lt;/h3>
&lt;p>This component evaluates the presence of biased rhetorical techniques regardless of political orientation:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Agent Configuration&lt;/strong>: Rather than simulating political diversity, three specialized agents examine different aspects of bias:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Structural Analysis Agent&lt;/strong>: Examines article organization, framing, headline analysis, and source selection&lt;/li>
&lt;li>&lt;strong>Content Analysis Agent&lt;/strong>: Evaluates language choice, fact-opinion separation, and evidence assessment&lt;/li>
&lt;li>&lt;strong>Contextual Analysis Agent&lt;/strong>: Focuses on omissions, historical patterns, and comparison to mainstream reporting&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Evaluation Protocol&lt;/strong>: The process occurs in three sequential phases:&lt;/p>
&lt;ol>
&lt;li>Independent article analysis by each specialized agent&lt;/li>
&lt;li>Structured deliberation facilitated by a moderator agent&lt;/li>
&lt;li>Consensus formation, producing a five-point rhetorical bias rating (1=minimal bias, 5=extreme bias) with supporting evidence&lt;/li>
&lt;/ol>
&lt;/li>
&lt;/ul>
&lt;h2 id="integrated-bias-assessment">Integrated Bias Assessment&lt;/h2>
&lt;p>The outputs from both components are combined into a two-dimensional bias representation:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>X-axis&lt;/strong>: Political leaning from -1 (strongly left) to +1 (strongly right)&lt;/li>
&lt;li>&lt;strong>Y-axis&lt;/strong>: Rhetorical bias intensity from 0 (minimal bias) to 1 (extreme bias)&lt;/li>
&lt;/ul>
&lt;p>This representation allows for nuanced distinctions between different bias profiles. For example, an article might be identified as strongly right-leaning but employing relatively few biased rhetorical techniques, while another might be moderately left-leaning but using highly biased rhetorical devices.&lt;/p>
&lt;h2 id="visualization">Visualization&lt;/h2>
&lt;p>Our framework generates several types of visualizations to help users understand and interpret bias profiles:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>2D Bias Maps&lt;/strong>: Plot media outlets in a two-dimensional space showing both political leaning and rhetorical bias intensity&lt;/li>
&lt;li>&lt;strong>Score Distributions&lt;/strong>: Histograms showing the distribution of political leaning scores across all articles&lt;/li>
&lt;li>&lt;strong>Source Comparisons&lt;/strong>: Bar charts comparing mean political leaning scores across different media outlets&lt;/li>
&lt;li>&lt;strong>Beeswarm Plots&lt;/strong>: SHAP-like visualizations showing individual article distributions by source&lt;/li>
&lt;li>&lt;strong>Violin Plots&lt;/strong>: Probability density visualizations showing the distribution shape for each source&lt;/li>
&lt;/ul>
&lt;h2 id="key-contributions">Key Contributions&lt;/h2>
&lt;p>Our framework offers several significant advantages over existing approaches:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>No Labeled Data Requirement&lt;/strong>: Eliminates the need for expensive human-annotated datasets, enabling analysis at scale&lt;/li>
&lt;li>&lt;strong>Domain Generalizability&lt;/strong>: Can be applied to any domain with opposing viewpoints, not limited to political content&lt;/li>
&lt;li>&lt;strong>Transparent Assessment&lt;/strong>: Provides explicit reasoning and evidence for bias evaluations, fostering trust&lt;/li>
&lt;li>&lt;strong>Bias Mitigation&lt;/strong>: Combines geometric methods with deliberative LLM analysis to reduce potential biases inherent in either approach alone&lt;/li>
&lt;/ol>
&lt;h2 id="applications-and-impact">Applications and Impact&lt;/h2>
&lt;p>This research contributes to several important objectives:&lt;/p>
&lt;ul>
&lt;li>Providing tools for media literacy and critical information consumption&lt;/li>
&lt;li>Enabling more balanced content recommendation systems&lt;/li>
&lt;li>Supporting researchers and policymakers with insights into information flow&lt;/li>
&lt;li>Strengthening democratic discourse by helping citizens identify bias in an increasingly complex digital information ecosystem&lt;/li>
&lt;/ul>
&lt;h2 id="future-directions">Future Directions&lt;/h2>
&lt;p>Future work will address several promising avenues:&lt;/p>
&lt;ul>
&lt;li>Expanding the framework to incorporate multimodal analysis of visual and textual elements&lt;/li>
&lt;li>Developing methods for continuous learning and adaptation to evolving political discourse&lt;/li>
&lt;li>Exploring cross-cultural adaptations for international media analysis&lt;/li>
&lt;li>Further optimizing the multi-agent protocol to reduce computational requirements&lt;/li>
&lt;/ul>
&lt;p>By providing accessible tools for bias detection without relying on costly labeled data or domain-specific customization, this project aims to contribute to a more informed and discerning public discourse in the digital age.&lt;/p>
&lt;!-- &lt;iframe src="uploads/COMP400_Bias_Rating.pdf" width="100%" height="600px">&lt;/iframe> --></description></item><item><title>Parameter-Efficient Reinforcement Learning via Dynamic Sparse Training</title><link>https://yyn-anson.github.io/project/rl_a2c_dapd/</link><pubDate>Sun, 08 Dec 2024 00:00:00 +0000</pubDate><guid>https://yyn-anson.github.io/project/rl_a2c_dapd/</guid><description>&lt;h1 id="enhancing-a2c-with-dapd-across-classic-control-and-atari-environments">Enhancing A2C with DAPD across Classic Control and Atari Environments&lt;/h1>
&lt;p>&lt;em>1 Oct 2024 – 10 Dec 2024&lt;/em>&lt;/p>
&lt;h2 id="project-overview">Project Overview&lt;/h2>
&lt;p>This project investigates parameter-efficient reinforcement learning through the integration of Dynamic Sparse Training with Pathways (DAPD) into the Advantage Actor-Critic (A2C) algorithm. We compare A2C+DAPD against standard dense A2C and Proximal Policy Optimization (PPO) across three benchmark environments—LunarLander-v2, Breakout, and Pong—to evaluate trade-offs between computational efficiency and learning reliability.&lt;/p>
&lt;h2 id="full-report">Full Report&lt;/h2>
&lt;p>Access the full details about the project and result on the
.&lt;/p>
&lt;h2 id="presentation">Presentation&lt;/h2>
&lt;iframe
src="https://1drv.ms/v/c/891814256f52dec4/IQR9BlTeSsQdQ7ZWnndV-xzfATA8fk1T9Z-vk3O7rcD_LRk"
width="720"
height="540"
frameborder="0"
scrolling="no"
allowfullscreen>
&lt;/iframe>
&lt;h2 id="objectives">Objectives&lt;/h2>
&lt;ul>
&lt;li>Assess the impact of DAPD on A2C’s training speed and parameter footprint.&lt;/li>
&lt;li>Compare performance and stability of sparse and dense agents across classic and visual control tasks.&lt;/li>
&lt;li>Derive empirical insights into the trade-offs inherent in dynamic sparse training within RL.&lt;/li>
&lt;/ul>
&lt;h2 id="technical-approach">Technical Approach&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>A2C&lt;/strong>: Advantage Actor-Critic with actor and critic networks sharing a two-layer feed-forward architecture (64 ReLU units), optimized via Adam.&lt;/li>
&lt;li>&lt;strong>PPO&lt;/strong>: Dense baseline using a clipped objective for enhanced stability and sample efficiency.&lt;/li>
&lt;li>&lt;strong>A2C+DAPD&lt;/strong>: Incorporates a binary mask to maintain 90% sparsity, updating prune–regrow operations periodically (every 1,000 steps for LunarLander; 100,000 for Atari).&lt;/li>
&lt;/ul>
&lt;p>Agents are trained for 10,000 episodes in each environment, recording episodic rewards, average performance over the last 100 episodes, and wall-clock training time. Reward curves are smoothed using a 100-episode moving average.&lt;/p>
&lt;h2 id="experiments">Experiments&lt;/h2>
&lt;p>We evaluate:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>LunarLander-v2&lt;/strong>: Classic control task, low-dimensional state space.&lt;/li>
&lt;li>&lt;strong>Breakout &amp;amp; Pong&lt;/strong>: Visual environments from the Atari suite.&lt;/li>
&lt;/ul>
&lt;p>Key findings:&lt;/p>
&lt;ul>
&lt;li>DAPD reduces wall-clock training time by approximately 30–40%, converging in ~8,000–14,000 seconds versus ~14,000–25,000 seconds for dense A2C.&lt;/li>
&lt;li>Sparse training introduces significant variance and instability, particularly in control tasks.&lt;/li>
&lt;li>PPO consistently outperforms both A2C variants in final reward and stability across all environments.&lt;/li>
&lt;/ul>
&lt;h2 id="outcomes-and-future-work">Outcomes and Future Work&lt;/h2>
&lt;p>Our results highlight the computational advantages of dynamic sparse training at the expense of convergence reliability. While DAPD accelerates early learning, its instability underscores the need for sparsity-aware optimization strategies. Future directions include:&lt;/p>
&lt;ul>
&lt;li>Thorough evaluation of the Policy Pruning and Shrinking (PoPS) method.&lt;/li>
&lt;li>Exploration of structured sparsity, adaptive pruning schedules, and hybrid dense–sparse models.&lt;/li>
&lt;li>Deployment studies on resource-constrained hardware for real-time applications.&lt;/li>
&lt;/ul></description></item><item><title>Medial Axis Transform: Geometric Cues in Scene Categorization</title><link>https://yyn-anson.github.io/project/medial-axis-transform/</link><pubDate>Fri, 01 Nov 2024 00:00:00 +0000</pubDate><guid>https://yyn-anson.github.io/project/medial-axis-transform/</guid><description>&lt;h1 id="medial-axis-transform">Medial Axis Transform&lt;/h1>
&lt;p>&lt;em>1 Nov 2024 – 15 Dec 2024&lt;/em>&lt;/p>
&lt;h2 id="project-overview">Project Overview&lt;/h2>
&lt;p>The Medial Axis Transform project is a final project for COMP 558 (Computer Vision) at McGill University. The main goal is to replicate and build upon the findings of the paper &amp;ldquo;Shape-Based Measures Improve Scene Categorization&amp;rdquo; by exploring additional geometric properties in images.&lt;/p>
&lt;h2 id="full-report-and-source-code">Full Report and source code&lt;/h2>
&lt;p>For a comprehensive project overview, please
.
Source code would be available at
.&lt;/p>
&lt;h2 id="project-presentation">Project Presentation&lt;/h2>
&lt;iframe
src="https://1drv.ms/v/c/891814256f52dec4/IQQCOq46xEw9TLVKlc3aGLXgAV2-1ni4hzt2EtV_htxriDE"
width="640"
height="360"
frameborder="0"
scrolling="no"
allowfullscreen>
&lt;/iframe>
&lt;h2 id="objectives">Objectives&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Replication&lt;/strong>: Recreate the experiments from the referenced paper to establish a baseline.&lt;/li>
&lt;li>&lt;strong>Innovation&lt;/strong>: Propose a new geometric property, Convexity, to complement traditional Gestalt cues.&lt;/li>
&lt;li>&lt;strong>Evaluation&lt;/strong>: Investigate the impact of these geometry cues on enhancing CNN model performance through rigorous experiments.&lt;/li>
&lt;/ul>
&lt;h2 id="technical-approach">Technical Approach&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Data Analysis&lt;/strong>: Employ image processing techniques to extract and analyze relevant geometric features.&lt;/li>
&lt;li>&lt;strong>Model Training&lt;/strong>: Integrate the new geometric property into CNN models and evaluate performance gains.&lt;/li>
&lt;li>&lt;strong>Comparative Study&lt;/strong>: Compare results with baseline approaches to ascertain the effectiveness of the proposed cue.&lt;/li>
&lt;/ul>
&lt;h2 id="outcomes">Outcomes&lt;/h2>
&lt;p>This project aims to bridge theoretical insights and practical implementation, ultimately contributing to the field of computer vision by offering improved methods for scene categorization.&lt;/p></description></item><item><title>Quick Draw: Interactive Animal Recognition Web App</title><link>https://yyn-anson.github.io/project/quick-draw/</link><pubDate>Sun, 01 Oct 2023 00:00:00 +0000</pubDate><guid>https://yyn-anson.github.io/project/quick-draw/</guid><description>&lt;h1 id="quick-draw">Quick Draw&lt;/h1>
&lt;p>&lt;em>1 Oct 2023 – 25 Nov 2023&lt;/em>&lt;/p>
&lt;h2 id="project-overview">Project Overview&lt;/h2>
&lt;p>The Quick Draw project is a collaborative initiative developed during the MAIS202 Bootcamp. The project focuses on implementing a machine learning model capable of predicting animal labels based on user-uploaded images. Leveraging the Google Quick Draw dataset, the application accurately classifies images into 10 distinct animal categories.&lt;/p>
&lt;h2 id="demo">Demo&lt;/h2>
&lt;iframe
src="https://1drv.ms/v/c/891814256f52dec4/IQTE3lJvJRQYIICJpxQAAAAAAR4Qr2RjQvGbjIFmN2lFUBo"
width="640"
height="360"
frameborder="0"
scrolling="no"
allowfullscreen>
&lt;/iframe>
&lt;h2 id="key-features">Key Features&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Real-Time Prediction&lt;/strong>: Upload an image and receive immediate, accurate predictions of the animal depicted.&lt;/li>
&lt;li>&lt;strong>High Accuracy&lt;/strong>: Achieves approximately 83% accuracy across 10 animal classes.&lt;/li>
&lt;li>&lt;strong>Collaborative Development&lt;/strong>: Developed by a two-member team, integrating strong model development with full-stack web application expertise.&lt;/li>
&lt;/ul>
&lt;h2 id="technical-approach">Technical Approach&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Model Development&lt;/strong>: Utilized CNN architecture, training on the Quick Draw dataset to optimize performance.&lt;/li>
&lt;li>&lt;strong>Web Integration&lt;/strong>: Engineered a responsive and user-friendly web interface that seamlessly integrates with the machine learning model for real-time predictions.&lt;/li>
&lt;li>&lt;strong>Optimization&lt;/strong>: Fine-tuned both the model and web application to ensure efficient and smooth operation under live conditions.&lt;/li>
&lt;/ul>
&lt;h2 id="contributions">Contributions&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Machine Learning&lt;/strong>: Contributed 50% towards model development, ensuring robust performance and accuracy.&lt;/li>
&lt;li>&lt;strong>Web Application&lt;/strong>: Took full responsibility for designing and implementing the web app, from UI/UX design to backend integration.&lt;/li>
&lt;/ul></description></item></channel></rss>