• About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
Wednesday, October 8, 2025
mGrowTech
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
No Result
View All Result
mGrowTech
No Result
View All Result
Home Al, Analytics and Automation

University of Michigan Researchers Propose G-ACT: A Scalable Machine Learning Framework to Steer Programming Language Bias in LLMs

Josh by Josh
June 30, 2025
in Al, Analytics and Automation
0
University of Michigan Researchers Propose G-ACT: A Scalable Machine Learning Framework to Steer Programming Language Bias in LLMs
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter


LLMs and the Need for Scientific Code Control

LLMs have rapidly evolved into complex natural language processors, enabling the development of agentic systems that manage complex workflows. However, the use of LLM agents for generating scientific code is unexplored. Scientific software primarily depends on C++, CUDA, and other low-level languages, which are underrepresented in most pretraining datasets. As a result, implementations generated by LLMs contain syntactic or semantic errors, which lead to compilation issues or unstable runtime behavior. Existing agents rely heavily on user-specified control primitives and carefully crafted prompts, which are prone to misinterpretation and can lead to erratic execution flows.

Limitations of Existing Steering Methods

Recent approaches have been developed to tackle LLM steering challenges by uncovering causal links within model activations and facilitating precise neuron-level interventions. SFT, weight modulation techniques, and RLHF represent direct intervention for model steering, but they have significant computational overhead and may reduce the model’s robustness and general performance. Activation Patching, which uses corrupted inputs as a baseline distribution, is widely adopted for fine-grained output control. However, these methods demand extensive model sweeps involving millions of evaluations and are used on multiple-choice question benchmarks, rather than real-world deployment scenarios.

Introduction of G-ACT Framework

Researchers from the University of Michigan have proposed a gradient-refined adaptive activation steering framework (G-ACT) to address the challenge of steering scientific code generation toward specific programming languages in LLMs. It arises from evaluating five causal LLMs on scientific coding prompts. G-ACT clusters per-prompt activation differences into steering directions and uses lightweight per-layer probes that are trained and refined online to select suitable steering vectors. The framework supports concept-level control while ensuring scalability and interpretability, providing a practical method for achieving reproducible behavior in agentic systems that require consistent programming language choices for scientific computing tasks.

Model Evaluation and Baseline Biases

Researchers evaluate five instruction-tuned LLMs, including Llama-3.2-3B-Instruct, Llama-3.3-70B-Instruct, Qwen2.5-Coder-32B-Instruct, Qwen2.5-14B-Instruct-1M, and QwQ-32B. Each model is tested on 84 benchmark questions with 25 repetitions per prompt at sampling temperature 1.0 to ensure statistical stability. Results for language preferences reveal that Llama-3.2-3B strongly defaults to Java (76.2%), while Llama-3.3-70B favors Python (73.8%). Qwen models show different biases with Qwen2.5-Coder preferring Python (59.5%) and Qwen2.5-14B favoring Julia (66.7%). These baseline measurements show that model scale, architectural design, and fine-tuning data collectively create reproducible biases.

Static Neuron Activation and Language Biasing

Static method analysis involves inducing language preference bias and code generation testing. Results for preference bias show that selective activation of individual MLP neurons in baseline tests with Llama-3.2-3B-Instruct gains strong causal control over programming language selection. When targeting CPP generation, results show nearly 100% CPP output across most problems, virtually eliminating Python, Java, and Julia outputs. Moreover, code generation testing reveals two distinct behavioral regimes: Python-leaning tasks show 40-80% Python outputs for high-level operations, while CPP-dominant tasks exhibit 60-90% CPP preference for performance-critical routines. The model achieves ~73% CPP generation more often than Python, but still defaults to Python for a significant portion of prompts.

Gradient-Refined Activation Steering Results

In this paper, researchers present a gradient-refined adaptive activation steering that can control programming language selection in scientific code generation. The framework achieves substantial improvements, increasing probe classification accuracy from 0% to 61.5% in early layers of LLaMA-3.2 3B. Despite a modest runtime overhead of 1.3-1.4 times slower generation, the framework remains practical through selective layer steering and caching optimizations. G-ACT offers a scalable and interpretable approach for concept-level control that goes beyond programming languages by embedding persistent transformation matrices. This ensures consistent model behavior across users and introduces a new standard for reliable LLM steering in scientific computing contexts.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, feel free to follow us on Twitter and don’t forget to join our 100k+ ML SubReddit and Subscribe to our Newsletter.


Sajjad Ansari is a final year undergraduate from IIT Kharagpur. As a Tech enthusiast, he delves into the practical applications of AI with a focus on understanding the impact of AI technologies and their real-world implications. He aims to articulate complex AI concepts in a clear and accessible manner.



Source_link

READ ALSO

Ai Flirt Chat Generator With Photos

Fighting for the health of the planet with AI | MIT News

Related Posts

Ai Flirt Chat Generator With Photos
Al, Analytics and Automation

Ai Flirt Chat Generator With Photos

October 8, 2025
Fighting for the health of the planet with AI | MIT News
Al, Analytics and Automation

Fighting for the health of the planet with AI | MIT News

October 8, 2025
Building a Human Handoff Interface for AI-Powered Insurance Agent Using Parlant and Streamlit
Al, Analytics and Automation

Building a Human Handoff Interface for AI-Powered Insurance Agent Using Parlant and Streamlit

October 7, 2025
How OpenAI’s Sora 2 Is Transforming Toy Design into Moving Dreams
Al, Analytics and Automation

How OpenAI’s Sora 2 Is Transforming Toy Design into Moving Dreams

October 7, 2025
Printable aluminum alloy sets strength records, may enable lighter aircraft parts | MIT News
Al, Analytics and Automation

Printable aluminum alloy sets strength records, may enable lighter aircraft parts | MIT News

October 7, 2025
Google DeepMind Introduces CodeMender: A New AI Agent that Uses Gemini Deep Think to Automatically Patch Critical Software Vulnerabilities
Al, Analytics and Automation

Google DeepMind Introduces CodeMender: A New AI Agent that Uses Gemini Deep Think to Automatically Patch Critical Software Vulnerabilities

October 7, 2025
Next Post
Does ChatGPT suffer? If AI becomes conscious, it could.

Does ChatGPT suffer? If AI becomes conscious, it could.

POPULAR NEWS

Communication Effectiveness Skills For Business Leaders

Communication Effectiveness Skills For Business Leaders

June 10, 2025
15 Trending Songs on TikTok in 2025 (+ How to Use Them)

15 Trending Songs on TikTok in 2025 (+ How to Use Them)

June 18, 2025
Trump ends trade talks with Canada over a digital services tax

Trump ends trade talks with Canada over a digital services tax

June 28, 2025
App Development Cost in Singapore: Pricing Breakdown & Insights

App Development Cost in Singapore: Pricing Breakdown & Insights

June 22, 2025
7 Best EOR Platforms for Software Companies in 2025

7 Best EOR Platforms for Software Companies in 2025

June 21, 2025

EDITOR'S PICK

Website Maintenance Services

Marketing Audit Services Calgary

June 30, 2025
How To Master Australia Post Bulk Mail Outs

How To Master Australia Post Bulk Mail Outs

May 28, 2025
3 Questions: On biology and medicine’s “data revolution” | MIT News

3 Questions: On biology and medicine’s “data revolution” | MIT News

September 2, 2025
Why and When to Use Sentence Embeddings Over Word Embeddings

Why and When to Use Sentence Embeddings Over Word Embeddings

October 6, 2025

About

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow us

Categories

  • Account Based Marketing
  • Ad Management
  • Al, Analytics and Automation
  • Brand Management
  • Channel Marketing
  • Digital Marketing
  • Direct Marketing
  • Event Management
  • Google Marketing
  • Marketing Attribution and Consulting
  • Marketing Automation
  • Mobile Marketing
  • PR Solutions
  • Social Media Management
  • Technology And Software
  • Uncategorized

Recent Posts

  • How does the TikTok algorithm work in 2025? Tips to boost visibility
  • The best Amazon deals on Kindles, Echo speakers, Fire TV devices and more for Prime Day
  • Ai Flirt Chat Generator With Photos
  • 7 Keys To Crafting Sustainability Stories
  • About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?