SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.19474 · NeurIPS · 2025

Causal-LLaVA: Causal Disentanglement for Mitigating Hallucination in Multimodal Large Language Models

Sheng Zhou, Xinmiao Hu, Chun Wang, Ruihe An, Chenyu Shao, Xiaojun Ye, Liangcheng Li

arXiv · PDF · Open in the Atlas

Code that ran

8 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 4 failures of our instrument; 11 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2505.19474.json · badge: /api/ran/2505.19474.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ignisavium/causal-llava canonical (classifier label)
classifier basis: classifier_2025
8 ran · 11 no recorded run
FunctionStatusWhere it lives
CausalInterventionLinearProjector Ran
ran on a synthesized input
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("96f810f349fa18ec")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class ConfounderCrossAttention(nn.Module):

    def __init__(self, hidden_size: int, num_heads: int):
        super().__init__()
        self.hidden_size = hidden_size
        self.num_heads = num_heads
        self.head_dim = hidden_size // num_heads
        assert self.head_dim * num_heads == hidden_size, 'hidden_size must be divisible by num_heads'
        self.kv_proj = nn.Linear(hidden_size, hidden_size)

    def forward(self, query, key, value, attention_mask=None):
        batch_size, seq_len, _ = query.size()
        key = self.kv_proj(key)
        value = self.kv_proj(value)
        q = query.view(batch_size, seq_len, self.num_heads, self.head_dim).transpose(1, 2)
        k = key.view(batch_size, key.size(1), self.num_heads, self.head_dim).transpose(1, 2)
        v = value.view(batch_size, value.size(1), self.num_heads, self.head_dim).transpose(1, 2)
        scores = torch.matmul(q, k.transpose(-2, -1)) / self.head_dim ** 0.5
        if attention_mask is not None:
            scores += attention_mask
        attn_weights = torch.softmax(scores, dim=-1)
        attn_output = torch.matmul(attn_weights, v)
        attn_output = attn_output.transpose(1, 2).contiguous().view(batch_size, seq_len, self.hidden_size)
        return attn_output

class CausalInterventionLinearProjector(nn.Module):

    def __init__(self, config):
        super().__init__()
        self.linear = nn.Linear(config.mm_hidden_size, config.hidden_size)
        self.visual_cross_attn = ConfounderCrossAttention(hidden_size=config.hidden_size, num_heads=config.num_attention_heads)
        self.visual_confounders = nn.Parameter(torch.zeros(80, config.hidden_size), requires_grad=False)

    def forward(self, x):
        linear_output = self.linear(x)
        batch_size = x.size(0)
        visual_confounders_expanded = self.visual_confounders.unsqueeze(0).expand(batch_size, -1, -1)
        visual_attn_output = self.visual_cross_attn(query=linear_output, key=visual_confounders_expanded, value=visual_confounders_expanded)
        return linear_output + visual_attn_output

    def forward_linear_only(self, x):
        return self.linear(x)


class Config:
    def __init__(self, mm_hidden_size, hidden_size, num_attention_heads):
        self.mm_hidden_size = mm_hidden_size
        self.hidden_size = hidden_size
        self.num_attention_heads = num_attention_heads


INIT_ARGS = {
    'config': Config(mm_hidden_size=4, hidden_size=8, num_attention_heads=2)
}

ARGS = {
    'x': torch.randn(2, 3, 4)
}

if __name__ == '__main__':
    model = CausalInterventionLinearProjector(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 3, 8) — shape (2, 3, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
CausalInterventionProjector Ran
ran on a synthesized input
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("afc33375986733f9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 5, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class ConfounderCrossAttention(nn.Module):

    def __init__(self, hidden_size: int, num_heads: int):
        super().__init__()
        self.hidden_size = hidden_size
        self.num_heads = num_heads
        self.head_dim = hidden_size // num_heads
        assert self.head_dim * num_heads == hidden_size, 'hidden_size must be divisible by num_heads'
        self.kv_proj = nn.Linear(hidden_size, hidden_size)

    def forward(self, query, key, value, attention_mask=None):
        batch_size, seq_len, _ = query.size()
        key = self.kv_proj(key)
        value = self.kv_proj(value)
        q = query.view(batch_size, seq_len, self.num_heads, self.head_dim).transpose(1, 2)
        k = key.view(batch_size, key.size(1), self.num_heads, self.head_dim).transpose(1, 2)
        v = value.view(batch_size, value.size(1), self.num_heads, self.head_dim).transpose(1, 2)
        scores = torch.matmul(q, k.transpose(-2, -1)) / self.head_dim ** 0.5
        if attention_mask is not None:
            scores += attention_mask
        attn_weights = torch.softmax(scores, dim=-1)
        attn_output = torch.matmul(attn_weights, v)
        attn_output = attn_output.transpose(1, 2).contiguous().view(batch_size, seq_len, self.hidden_size)
        return attn_output

class CausalInterventionProjector(nn.Module):

    def __init__(self, config):
        super().__init__()
        self.mlp = nn.Sequential(nn.Linear(config.mm_hidden_size, config.hidden_size), nn.GELU(), nn.Linear(config.hidden_size, config.hidden_size))
        self.visual_cross_attn = ConfounderCrossAttention(hidden_size=config.hidden_size, num_heads=config.num_attention_heads)
        self.visual_confounders = nn.Parameter(torch.zeros(80, config.hidden_size), requires_grad=False)

    def forward(self, x):
        mlp_output = self.mlp(x)
        batch_size = x.size(0)
        visual_confounders_expanded = self.visual_confounders.unsqueeze(0).expand(batch_size, -1, -1)
        visual_attn_output = self.visual_cross_attn(query=mlp_output, key=visual_confounders_expanded, value=visual_confounders_expanded)
        return mlp_output + visual_attn_output

    def forward_mlp_only(self, x):
        return self.mlp(x)


class Config:
    def __init__(self, mm_hidden_size, hidden_size, num_attention_heads):
        self.mm_hidden_size = mm_hidden_size
        self.hidden_size = hidden_size
        self.num_attention_heads = num_attention_heads


INIT_ARGS = {
    'config': Config(mm_hidden_size=6, hidden_size=4, num_attention_heads=2)
}

ARGS = {
    'x': torch.randn(2, 5, 6)
}

if __name__ == '__main__':
    model = CausalInterventionProjector(**INIT_ARGS)
    output = model(**ARGS)
    print("Output shape:", output.shape)
    print("Output:", output)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 5, 4) — shape (2, 5, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ConfounderCrossAttention Ran
ran on a synthesized input
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("b2f68c17571a1924")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 5, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class ConfounderCrossAttention(nn.Module):

    def __init__(self, hidden_size: int, num_heads: int):
        super().__init__()
        self.hidden_size = hidden_size
        self.num_heads = num_heads
        self.head_dim = hidden_size // num_heads
        assert self.head_dim * num_heads == hidden_size, 'hidden_size must be divisible by num_heads'
        self.kv_proj = nn.Linear(hidden_size, hidden_size)

    def forward(self, query, key, value, attention_mask=None):
        batch_size, seq_len, _ = query.size()
        key = self.kv_proj(key)
        value = self.kv_proj(value)
        q = query.view(batch_size, seq_len, self.num_heads, self.head_dim).transpose(1, 2)
        k = key.view(batch_size, key.size(1), self.num_heads, self.head_dim).transpose(1, 2)
        v = value.view(batch_size, value.size(1), self.num_heads, self.head_dim).transpose(1, 2)
        scores = torch.matmul(q, k.transpose(-2, -1)) / self.head_dim ** 0.5
        if attention_mask is not None:
            scores += attention_mask
        attn_weights = torch.softmax(scores, dim=-1)
        attn_output = torch.matmul(attn_weights, v)
        attn_output = attn_output.transpose(1, 2).contiguous().view(batch_size, seq_len, self.hidden_size)
        return attn_output


INIT_ARGS = {
    'hidden_size': 8,
    'num_heads': 2,
}

ARGS = {
    'query': torch.randn(2, 5, 8),
    'key': torch.randn(2, 7, 8),
    'value': torch.randn(2, 7, 8),
    'attention_mask': None,
}

if __name__ == '__main__':
    model = ConfounderCrossAttention(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: (2, 5, 8)")
    assert output.shape == (2, 5, 8), f"Shape mismatch: {output.shape}"
    print("Test passed!")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 5, 8) — shape (2, 5, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
build_vision_projector Ran
ran; our contract draft was wrong, not the code
ignisavium/causal-llava/llava/model/multimodal_projector/builder.py
code served (permissive licence) · get_code("544bc3a3805f703a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned CausalInterventionLinearProjector. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class MockConfig:
    def __init__(self, projector_type='linear'):
        self.mm_projector_type = projector_type
        self.mm_hidden_size = 4
        self.hidden_size = 8
        self.num_attention_heads = 2

# Test with 'linear' projector type
config_linear = MockConfig(projector_type='linear')

ARGS = {
    'config': config_linear,
    'delay_load': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CausalInterventionLinearProjector — a CausalInterventionLinearProjector output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CausalInterventionLinearProjector output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_vision_projector Ran
ran; our contract draft was wrong, not the code
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("9d0bc30615da7d73")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned CausalInterventionLinearProjector. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class MockConfig:
    def __init__(self):
        self.mm_hidden_size = 4
        self.hidden_size = 8
        self.num_attention_heads = 2
        self.mm_projector_type = 'linear'

ARGS = {
    'config': MockConfig(),
    'delay_load': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CausalInterventionLinearProjector — a CausalInterventionLinearProjector output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CausalInterventionLinearProjector output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calculate_average_category_hidden_state Ran
ran; our contract draft was wrong, not the code
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("1a16d865c0be9197")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Set up global state that the function uses
NUM_LAYER = 33
hidden_size = 4

# Populate the global dictionaries that the function reads from
category_counts = {
    'cat_0': 2,
    'cat_1': 3,
    'cat_2': 0,
}

category_hidden_states_sum = {
    'cat_0': torch.randn((NUM_LAYER, hidden_size), dtype=torch.float64),
    'cat_1': torch.randn((NUM_LAYER, hidden_size), dtype=torch.float64),
}

# Create the category_mapping argument
category_mapping = {
    'cat_0': 0,
    'cat_1': 1,
    'cat_2': 2,
}

ARGS = {
    'category_mapping': category_mapping,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_image Ran
ran, honoured the contract we drafted
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("aa077d1ca4abcd21")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os
from PIL import Image

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_image.png")

# Create a simple RGB image and save it
test_image = Image.new('RGB', (100, 100), color=(73, 109, 137))
test_image.save(temp_image_path)

# Define arguments for the load_image function
ARGS = {
    'image_file': temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL, requests — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_mm_projector_weights Ran
ran; our contract draft was wrong, not the code
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("13577bab4f0169ac")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import os
import tempfile

torch.manual_seed(0)

# Create a temporary directory and file for the projector weights
temp_dir = tempfile.mkdtemp()
projector_weight_path = os.path.join(temp_dir, "mm_projector_weights.pt")

# Create sample mm_projector weights (a simple dict with tensors)
mm_projector_weights = {
    "linear1.weight": torch.randn(8, 4),
    "linear1.bias": torch.randn(8),
    "linear2.weight": torch.randn(4, 8),
    "linear2.bias": torch.randn(4),
}

# Save the weights to the temporary file
torch.save(mm_projector_weights, projector_weight_path)

ARGS = {
    "projector_weight_path": projector_weight_path,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
CLIPVisionTower Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("cedb1eb9694b29ff")
How it ran

no invocation recorded.

ProjectorConfig Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("2db73c54632ddd6e")
How it ran

no invocation recorded.

VisionTowerConfig Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("4d6834c552a7ec14")
How it ran

no invocation recorded.

build_vision_tower Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("50280faddf30baf6")
How it ran

no invocation recorded.

extract_category_hidden_state Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("cb6652b7fe967db1")
How it ran

no invocation recorded.

load_vision_components Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("c964b0e19df5a559")
How it ran

no invocation recorded.

main Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("4a7d0d350746fb32")
How it ran

no invocation recorded.

parse_arguments Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("84ace2bb0fd9aaff")
How it ran

no invocation recorded.

process_category_hidden_states Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("d0420de5fae26e00")
How it ran

no invocation recorded.

run_inference_and_process Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("2c1d97cc7ca7b729")
How it ran

no invocation recorded.

save_category_hidden_states_as_bin Not yet run
unverified (harvested, no recorded run)
ignisavium/causal-llava/confounders/get_projector_confounders.py
code served (permissive licence) · get_code("be5b16d33e19c008")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 2 later) and 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_image
brick of this paper's assembly: helper
85 other papers
74 dated earlier, 3 the same month, 5 later, 3 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2305.10973 (2023-05)
Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 82 more not named here
CLIPVisionTower
brick of this paper's assembly: helper
9 other papers
7 dated earlier, 1 the same month, 1 later · 7 only as an assembly brick
2301.12597 (2023-01)
BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
2304.08485 (2023-04)
Visual Instruction Tuning
2402.18695 (2024-02)
Grounding Language Models for Visual Entity Recognition
and 6 more not named here
build_vision_tower
brick of this paper's assembly: helper
9 other papers
8 dated earlier, 1 same year, order not determinable · 4 only as an assembly brick
2301.12597 (2023-01)
BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
2304.08485 (2023-04)
Visual Instruction Tuning
2402.11684 (2024-02)
ALLaVA: Harnessing GPT4V-Synthesized Data for Lite Vision-Language Models
and 6 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Multimodal Large Language Models (MLLMs) perform well on visual understanding tasks, but they suffer from object hallucination and generating inconsistent or nonexistent object descriptions due to the dataset biases. This paper explores how dataset biases affect object hallucinations in MLLMs on feature space, revealing that biased object co-occurrences lead to entangled semantic representations across modalities. Thus, the model mistakenly activates the representation of an object that often appears with the input object but is absent, leading to hallucinations. To address this, we propose a causality-based disentanglement framework using causal intervention to deconfound the biases introduced by frequent object co-occurrences in the data. Specifically, we introduce a Causal-Driven Projector in the visual pathway and a Causal Intervention Module in the final LLM transformer layer, which work together to mitigate spurious correlations. Our experiments show a notable reduction in hallucinations while preserving strong performance across several benchmarks, along with visualization analysis confirming improved representation separability. Our code is available at https://github.com/IgniSavium/Causal-LLaVA.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.19474")
get_code_for_paper("2505.19474")
have("2505.19474")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2505.19474.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2505.19474.svg)](https://syntology.ai/paper/2505.19474)

Connect an agent — have() is free.