• Home
  • Search
  • ICAM-Trans: Implicit-Context-Aware Multi-Agent Framework for Function-Level Code Translation
  • https://doi.org/10.1145/3810952Copy DOI Icon

ICAM-Trans: Implicit-Context-Aware Multi-Agent Framework for Function-Level Code Translation

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

With the rapid advancement of large language models (LLMs), code translation has become a critical yet challenging task in software engineering. Existing evaluations of this task remain unreliable due to two key limitations: the absence of specialized function-level code translation benchmarks and flawed evaluation pipelines. Specifically, current pipelines lack post-processing mechanisms to extract target code from LLMs’ inherently unstable output formats, directly resulting in non-executable translations and false negatives in evaluation. To address these issues, we introduce FuncTransEval, an enhanced multilingual benchmark. It comprises 400×4 functions across four programming languages (Python, C++, Java, and JavaScript) and 12 bidirectional translation pairs, each paired with executable unit tests for fine-grained functional validation. Using FuncTransEval, we systematically assess LLMs’ true capabilities in code translation and identify their core limitations: inadequate understanding of the implicit information such as function logic, type specifications, and cross-language differences. To mitigate these shortcomings, we propose ICAM-Trans (Implicit-Context-Aware Multi-Agent Framework for function-level code translation). ICAM-Trans is a hierarchical, autonomous multi-agents architecture that explicitly uncovers and leverages these implicit contextual information during translation. It employs a Translation Orchestrate Agent (TOA) to autonomously coordinate four specialized Context Analysis Agents (CAAs), which conduct pre-translation analyses on different aspects. Insights from these analyses guide a Context-Aware Translation Agent (CTA) to generate semantically faithful target code. Experiments on FuncTransEval demonstrate that ICAM-Trans consistently outperforms strong baselines, validating its effectiveness in achieving high-fidelity and interpretable function-level code translation.

Similar Papers
  • Research Article

Is AI Really Intelligent? Practical Insights from Real-World Use of Generative AI

  • Apr 20, 2026
  • International Journal of Arts, Humanities & Social Science
  • Dr Khaled El Tannir
  • Conference Article

Utilizing Chain of Thought to Generate Code from Challenging Programming Requirements

  • Feb 03, 2026
  • Emanalofi +2
  • Research Article
  • Citations27

Revisiting Sentiment Analysis for Software Engineering in the Era of Large Language Models

  • Feb 23, 2025
  • ACM Transactions on Software Engineering and Methodology
  • Ting Zhang +3
  • Research Article

Research and selection of Large Learning Models for automation of ABAP-code migration

  • Sep 24, 2025
  • Management of Development of Complex Systems
  • Oleg Pozdnyakov +1
  • Research Article

Cloud-assisted LLM-enhanced datasets for AST hierarchy-aware code summarization model

  • Feb 14, 2026
  • Journal of Cloud Computing
  • Junsan Zhang +5
  • Research Article
  • Citations56

Generative AI in cybersecurity: A comprehensive review of LLM applications and vulnerabilities

  • Jan 01, 2025
  • Internet of Things and Cyber-Physical Systems
  • Mohamed Amine Ferrag +7
  • Research Article

AdaptTrans: a complexity-aware iterative optimisation framework for efficient code translation

  • Jan 01, 2026
  • International Journal of Information and Communication Technology
  • Minshan Lin +2
  • Research Article

A Study on ChatGPT-Based Code Translation from Python to Java

  • Feb 27, 2025
  • Applied and Computational Engineering
  • Xiling Gao
  • Research Article

LLM-Enhanced Failure Localization in Microservices: Integrating Multi-Modal Data and Expert Interpretation

  • Jan 01, 2026
  • IEEE Transactions on Services Computing
  • Zhenyu Zhong +6
  • Research Article

Security and Quality in LLM-Generated Code: a Multi-Language, Multi-Model Analysis

  • Jan 01, 2026
  • IEEE Transactions on Dependable and Secure Computing
  • Mohammed Kharma +3
  • Research Article

Self-bootstrapping automated program repair: using LLMs to generate and evaluate synthetic training data for bug repair

  • Jul 01, 2026
  • Expert Systems with Applications
  • David De-Fitero-Dominguez +2
  • Conference Article
  • Citations129

Benchmarking Large Language Models for Automated Verilog RTL Code Generation

  • Apr 01, 2023
  • Shailja Thakur +7
  • Conference Article

Generative AI for Code Translation: A Systematic Mapping Study

  • Oct 15, 2025
  • Aymane Rgaguena +2
  • Conference Article

Enhancing Code Translation in Language Models with Few-Shot Learning via Retrieval-Augmented Generation

  • Sep 25, 2024
  • Manish Bhattarai +5
  • Preprint Article

Augmenting Local LLMs with Specialized Tools for Scientific Workflows

  • Mar 18, 2025
  • Mirko Mälicke +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.