BiCP: Reasoning-Prefix Deconfounding for Dual-Axis Counterfactual Probing and Operation-Risk Routing

Abstract Tool-using language-model agents can select the intended tool while executing an injected argument. Counterfactual guards also lose source sensitivity when they condition on reasoning that already encodes the injected decision. We present BiCP (bilateral counterfactual probing), an execution-time defense combining reasoning-prefix removal, complementary tool-name and complete-call probes, and operation-risk routing. Equal-token controls over 69 fixed proposals raise tool-name macro area under the receiver operating characteristic curve from 0.7164 to 1.0000. On these fixed proposals, a second model family (Mistral-7B-Instruct-v0.3) independently reproduces both prefix deconfounding (0.6509 to 1.0000) and five-domain source reversals (joint p = 0.03125). After independent calibration, progressive component ablations on 922 fixed replay cases reduce confirmed InjecAgent attacks from 83/682 to 0/682 and unsafe conditional executions from 33/240 to 0/240, while increasing benign task success from 66/120 to 78/120. All five malicious argument substitutions adopted by the original model are blocked. A paired prompt-contract comparison increases the unchanged policy's retention of verified legal protected calls from 30/47 to 43/47. Among 47 paired attack proposals, deterministic anchoring stops 40 unsupported substitutions, while both probe variants stop all seven observation-supported injected targets. Complete-call prefix slicing yields a 1.95-1.96-fold scoring-stage speedup on T4 graphics processing units; authorized discovery requires no additional model forwards. Together, these findings demonstrate that deconfounded dual-axis probing and deterministic evidence anchoring provide practical, complementary execution-time protection with a positive net security-utility gain.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-02
DOI
https://doi.org/10.21203/rs.3.rs-11536275/v1
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

BiCP: Reasoning-Prefix Deconfounding for Dual-Axis Counterfactual Probing and Operation-Risk Routing

Zida Hao, Yubo Li
1 links
Research Square
Adversarial Robustness in Machine Learning
preprint

BiCP: Reasoning-Prefix Deconfounding for Dual-Axis Counterfactual Probing and Operation-Risk Routing

Zida Hao, Yubo Li
preprint en

Abstract

Abstract Tool-using language-model agents can select the intended tool while executing an injected argument. Counterfactual guards also lose source sensitivity when they condition on reasoning that already encodes the injected decision. We present BiCP (bilateral counterfactual probing), an execution-time defense combining reasoning-prefix removal, complementary tool-name and complete-call probes, and operation-risk routing. Equal-token controls over 69 fixed proposals raise tool-name macro area under the receiver operating characteristic curve from 0.7164 to 1.0000. On these fixed proposals, a second model family (Mistral-7B-Instruct-v0.3) independently reproduces both prefix deconfounding (0.6509 to 1.0000) and five-domain source reversals (joint p = 0.03125). After independent calibration, progressive component ablations on 922 fixed replay cases reduce confirmed InjecAgent attacks from 83/682 to 0/682 and unsafe conditional executions from 33/240 to 0/240, while increasing benign task success from 66/120 to 78/120. All five malicious argument substitutions adopted by the original model are blocked. A paired prompt-contract comparison increases the unchanged policy's retention of verified legal protected calls from 30/47 to 43/47. Among 47 paired attack proposals, deterministic anchoring stops 40 unsupported substitutions, while both probe variants stop all seven observation-supported injected targets. Complete-call prefix slicing yields a 1.95-1.96-fold scoring-stage speedup on T4 graphics processing units; authorized discovery requires no additional model forwards. Together, these findings demonstrate that deconfounded dual-axis probing and deterministic evidence anchoring provide practical, complementary execution-time protection with a positive net security-utility gain.

Research Square
Xinjiang University (CN)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
BiCP: Reasoning-Prefix Deconfounding for Dual-Axis Counterfactual Probing and Operation-Risk Routing — Zida Hao, Yubo Li · Research Square (2026) | TGRS Research Map | TGRS