Suman Jana, Mukur Gupta, Noopur Bhatt
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
In this paper, we propose CodeSCM, a Structural Causal Model (SCM) for analyzing multimodal code generation using large language models (LLMs). By applying interventions to CodeSCM, we measure the causal effects of different prompt modalities, such as natural language, code, and input-output examples, on the model. CodeSCM introduces latent mediator variables to separate the code and natural language semantics of a multi-modal code generation prompt. Using the principles of Causal Mediation Analysis on these mediators we quantify direct effects representing the model's spurious leanings. We find that, in addition to natural language instructions, inputoutput examples significantly influence code generation.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2502.05150")
get_code_for_paper("2502.05150")
have("2502.05150")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2502.05150.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2502.05150)
Connect an agent — have() is free.