Dual-chamber implantable cardioverter-defibrillators ( ICDs ) may improve specificity and reduce the risk of inappropriate shocks , and enhance atrial arrhythmia ( AT/AF ) detection to permit stroke prevention compared with single-chamber ICDs , but at additional expense and risk .